github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-shanghai/basic-token.json (about) 1 { 2 "initGenesis": { 3 "isBering" : true, 4 "isIceland" : true, 5 "isLondon" : true, 6 "isShanghai" : true 7 }, 8 "initBalances": [{ 9 "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms", 10 "rawBalance": "1000000000000000000000000000" 11 }], 12 "deployments": [{ 13 "rawByteCode": "608060405234801561001057600080fd5b506101da806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806370a082311461003b578063a9059cbb14610076575b600080fd5b610064610049366004610113565b6001600160a01b031660009081526020819052604090205490565b60405190815260200160405180910390f35b610089610084366004610135565b61008b565b005b3360009081526020819052604090205481116100c65733600090815260208190526040812080548392906100c0908490610175565b90915550505b6001600160a01b038216600090815260208190526040812080548392906100ee90849061018c565b90915550505050565b80356001600160a01b038116811461010e57600080fd5b919050565b60006020828403121561012557600080fd5b61012e826100f7565b9392505050565b6000806040838503121561014857600080fd5b610151836100f7565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b6000828210156101875761018761015f565b500390565b6000821982111561019f5761019f61015f565b50019056fea2646970667358221220df940e6c929cec5606a2caf0706e2b729904e0a4d6887c561d2dd6c976bd05a464736f6c634300080e0033", 14 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 15 "rawAmount": "0", 16 "rawGasLimit": 5000000, 17 "rawGasPrice": "0", 18 "rawExpectedGasConsumed": 155541, 19 "expectedStatus": 1, 20 "expectedBalances": [], 21 "comment": "deploy an basic token contract" 22 }], 23 "executions": [{ 24 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 25 "rawByteCode": "a9059cbb0000000000000000000000003328358128832a260c76a4141e19e2a943cd4b6d0000000000000000000000000000000000000000000000000000000000002710", 26 "rawAmount": "0", 27 "rawGasLimit": 1000000, 28 "rawGasPrice": "0", 29 "rawAccessList": [{ 30 "address": "675f1057F81e9e768e33faddbd5609C09F4c0a5C", 31 "storageKeys": [ 32 "cd7bfe84e3fe161aeb958aa899cea602147a8edb25bcc4cc49f4753fa3410c17" 33 ] 34 }], 35 "rawExpectedGasConsumed": 43909, 36 "expectedStatus": 1, 37 "expectedBalances": [], 38 "comment": "transfer 10000 tokens from producer" 39 }, { 40 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 41 "rawByteCode": "70a082310000000000000000000000003328358128832a260c76a4141e19e2a943cd4b6d", 42 "rawAmount": "0", 43 "rawGasLimit": 1000000, 44 "rawGasPrice": "0", 45 "rawAccessList": [{ 46 "address": "675f1057F81e9e768e33faddbd5609C09F4c0a5C", 47 "storageKeys": [ 48 "cd7bfe84e3fe161aeb958aa899cea602147a8edb25bcc4cc49f4753fa3410c17" 49 ] 50 }], 51 "rawExpectedGasConsumed": 18406, 52 "expectedStatus": 1, 53 "readOnly": true, 54 "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000002710", 55 "expectedBalances": [], 56 "comment": "read the balance" 57 }] 58 }