github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata/sha3.json (about) 1 { 2 "initBalances": [{ 3 "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms", 4 "rawBalance": "1000000000000000000000000000" 5 }], 6 "deployments": [{ 7 "rawByteCode": "608060405234801561001057600080fd5b50610ad8806100206000396000f3006080604052600436106100d0576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304d3c094146100d5578063114be5841461010857806311b405c71461013b57806344d9385f1461016e5780634c9e7ca5146101a15780635087821a146101d457806351193102146102075780635985b6241461023a5780635fdc7f651461026d5780637781deba146102a0578063c8cf44bd146102d3578063d2f8cf2414610302578063e86783a714610335578063f74d8e3214610368575b600080fd5b3480156100e157600080fd5b506100ea61039b565b60405180826000191660001916815260200191505060405180910390f35b34801561011457600080fd5b5061011d6103d8565b60405180826000191660001916815260200191505060405180910390f35b34801561014757600080fd5b50610150610415565b60405180826000191660001916815260200191505060405180910390f35b34801561017a57600080fd5b506101836105b8565b60405180826000191660001916815260200191505060405180910390f35b3480156101ad57600080fd5b506101b66105fb565b60405180826000191660001916815260200191505060405180910390f35b3480156101e057600080fd5b506101e9610853565b60405180826000191660001916815260200191505060405180910390f35b34801561021357600080fd5b5061021c610899565b60405180826000191660001916815260200191505060405180910390f35b34801561024657600080fd5b5061024f6108fc565b60405180826000191660001916815260200191505060405180910390f35b34801561027957600080fd5b5061028261093f565b60405180826000191660001916815260200191505060405180910390f35b3480156102ac57600080fd5b506102b561095d565b60405180826000191660001916815260200191505060405180910390f35b3480156102df57600080fd5b506102e861097b565b604051808215151515815260200191505060405180910390f35b34801561030e57600080fd5b50610317610a1f565b60405180826000191660001916815260200191505060405180910390f35b34801561034157600080fd5b5061034a610a3d565b60405180826000191660001916815260200191505060405180910390f35b34801561037457600080fd5b5061037d610a63565b60405180826000191660001916815260200191505060405180910390f35b600060405180807f610000000000000000000000000000000000000000000000000000000000000081525060010190506040518091039020905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff604051808281526020019150506040518091039020905090565b60008060008060007f425443000000000000000000000000000000000000000000000000000000000093507f455448000000000000000000000000000000000000000000000000000000000092507f4c5443000000000000000000000000000000000000000000000000000000000091507f444f474500000000000000000000000000000000000000000000000000000000905083838383604051808577ffffffffffffffffffffffffffffffffffffffffffffffff191677ffffffffffffffffffffffffffffffffffffffffffffffff191681526008018477ffffffffffffffffffffffffffffffffffffffffffffffff191677ffffffffffffffffffffffffffffffffffffffffffffffff191681526008018377ffffffffffffffffffffffffffffffffffffffffffffffff191677ffffffffffffffffffffffffffffffffffffffffffffffff191681526008018277ffffffffffffffffffffffffffffffffffffffffffffffff191677ffffffffffffffffffffffffffffffffffffffffffffffff19168152600801945050505050604051809103902094505050505090565b60006001604051808260ff167f01000000000000000000000000000000000000000000000000000000000000000281526001019150506040518091039020905090565b60006060600460405190808252806020026020018201604052801561062f5781602001602082028038833980820191505090505b5090507f425443000000000000000000000000000000000000000000000000000000000081600081518110151561066257fe5b9060200190602002019077ffffffffffffffffffffffffffffffffffffffffffffffff1916908177ffffffffffffffffffffffffffffffffffffffffffffffff1916815250507f45544800000000000000000000000000000000000000000000000000000000008160018151811015156106d857fe5b9060200190602002019077ffffffffffffffffffffffffffffffffffffffffffffffff1916908177ffffffffffffffffffffffffffffffffffffffffffffffff1916815250507f4c5443000000000000000000000000000000000000000000000000000000000081600281518110151561074e57fe5b9060200190602002019077ffffffffffffffffffffffffffffffffffffffffffffffff1916908177ffffffffffffffffffffffffffffffffffffffffffffffff1916815250507f444f4745000000000000000000000000000000000000000000000000000000008160038151811015156107c457fe5b9060200190602002019077ffffffffffffffffffffffffffffffffffffffffffffffff1916908177ffffffffffffffffffffffffffffffffffffffffffffffff1916815250508060405180828051906020019060200280838360005b8381101561083b578082015181840152602081019050610820565b50505050905001915050604051809103902091505090565b6000600160405180807f61000000000000000000000000000000000000000000000000000000000000008152506001018281526020019150506040518091039020905090565b600080736779913e982688474f710b47e1c0506c5dca46349050806c010000000000000000000000000260405180826bffffffffffffffffffffffff19166bffffffffffffffffffffffff19168152601401915050604051809103902091505090565b6000600a604051808260ff167f01000000000000000000000000000000000000000000000000000000000000000281526001019150506040518091039020905090565b60006001604051808281526020019150506040518091039020905090565b60006001604051808281526020019150506040518091039020905090565b600060405180807f6100000000000000000000000000000000000000000000000000000000000000815250600101807f6200000000000000000000000000000000000000000000000000000000000000815250600101905060405180910390206000191660405180807f6162000000000000000000000000000000000000000000000000000000000000815250600201905060405180910390206000191614905090565b60006064604051808281526020019150506040518091039020905090565b600068056bc75e2d63100000604051808281526020019150506040518091039020905090565b60006001604051808263ffffffff1663ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040191505060405180910390209050905600a165627a7a72305820624454705ee0c0aaff7d31b5e869611f0ed79d44283a9ddd9d739edb7ffc27e10029", 8 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 9 "rawAmount": "0", 10 "rawGasLimit": 5000000, 11 "rawGasPrice": "0", 12 "rawExpectedGasConsumed": 846587, 13 "expectedBalances": [], 14 "comment": "deploy sha3 contract" 15 }], 16 "executions": [{ 17 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 18 "rawByteCode": "4c9e7ca5", 19 "rawAmount": "0", 20 "rawGasLimit": 1000000, 21 "rawGasPrice": "0", 22 "rawExpectedGasConsumed": 11754, 23 "hasReturnValue": true, 24 "rawReturnValue": "374c0504f79c1d5e6e4ded17d488802b5656bd1d96b16a568d6c324e1c04c37b", 25 "comment": "call hashArray" 26 },{ 27 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 28 "rawByteCode": "11b405c7", 29 "rawAmount": "0", 30 "rawGasLimit": 1000000, 31 "rawGasPrice": "0", 32 "rawExpectedGasConsumed": 10936, 33 "hasReturnValue": true, 34 "rawReturnValue": "e79a6745d2205095147fd735f329de58377b2f0b9f4b81ae23e010062127f2bc", 35 "comment": "call hashPackedArray" 36 },{ 37 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 38 "rawByteCode": "51193102", 39 "rawAmount": "0", 40 "rawGasLimit": 1000000, 41 "rawGasPrice": "0", 42 "rawExpectedGasConsumed": 10876, 43 "hasReturnValue": true, 44 "rawReturnValue": "229327de236bd04ccac2efc445f1a2b63afddf438b35874b9f6fd1e6c38b0198", 45 "comment": "call hashAddress" 46 },{ 47 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 48 "rawByteCode": "c8cf44bd", 49 "rawAmount": "0", 50 "rawGasLimit": 1000000, 51 "rawGasPrice": "0", 52 "rawExpectedGasConsumed": 11051, 53 "hasReturnValue": true, 54 "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000001", 55 "comment": "call testPackedArgs" 56 },{ 57 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 58 "rawByteCode": "5985b624", 59 "rawAmount": "0", 60 "rawGasLimit": 1000000, 61 "rawGasPrice": "0", 62 "rawExpectedGasConsumed": 10873, 63 "hasReturnValue": true, 64 "rawReturnValue": "0ef9d8f8804d174666011a394cab7901679a8944d24249fd148a6a36071151f8", 65 "comment": "call hashHex" 66 },{ 67 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 68 "rawByteCode": "5fdc7f65", 69 "rawAmount": "0", 70 "rawGasLimit": 1000000, 71 "rawGasPrice": "0", 72 "rawExpectedGasConsumed": 10881, 73 "hasReturnValue": true, 74 "rawReturnValue": "b10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6", 75 "comment": "call hashInt" 76 },{ 77 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 78 "rawByteCode": "114be584", 79 "rawAmount": "0", 80 "rawGasLimit": 1000000, 81 "rawGasPrice": "0", 82 "rawExpectedGasConsumed": 10727, 83 "hasReturnValue": true, 84 "rawReturnValue": "a9c584056064687e149968cbab758a3376d22aedc6a55823d1b3ecbee81b8fb9", 85 "comment": "call hashNegative" 86 },{ 87 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 88 "rawByteCode": "44d9385f", 89 "rawAmount": "0", 90 "rawGasLimit": 1000000, 91 "rawGasPrice": "0", 92 "rawExpectedGasConsumed": 10785, 93 "hasReturnValue": true, 94 "rawReturnValue": "5fe7f977e71dba2ea1a68e21057beebb9be2ac30c6410aa38d4f3fbe41dcffd2", 95 "comment": "call hash8" 96 },{ 97 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 98 "rawByteCode": "f74d8e32", 99 "rawAmount": "0", 100 "rawGasLimit": 1000000, 101 "rawGasPrice": "0", 102 "rawExpectedGasConsumed": 11011, 103 "hasReturnValue": true, 104 "rawReturnValue": "51f81bcdfc324a0dff2b5bec9d92e21cbebc4d5e29d3a3d30de3e03fbeab8d7f", 105 "comment": "call hash32" 106 },{ 107 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 108 "rawByteCode": "7781deba", 109 "rawAmount": "0", 110 "rawGasLimit": 1000000, 111 "rawGasPrice": "0", 112 "rawExpectedGasConsumed": 10903, 113 "hasReturnValue": true, 114 "rawReturnValue": "b10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6", 115 "comment": "call hash256" 116 },{ 117 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 118 "rawByteCode": "e86783a7", 119 "rawAmount": "0", 120 "rawGasLimit": 1000000, 121 "rawGasPrice": "0", 122 "rawExpectedGasConsumed": 10969, 123 "hasReturnValue": true, 124 "rawReturnValue": "c7cc234d21c9cfbd4632749fd77669e7ae72f5241ce5895e410c45185a469273", 125 "comment": "call hashEth" 126 },{ 127 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 128 "rawByteCode": "d2f8cf24", 129 "rawAmount": "0", 130 "rawGasLimit": 1000000, 131 "rawGasPrice": "0", 132 "rawExpectedGasConsumed": 10947, 133 "hasReturnValue": true, 134 "rawReturnValue": "26700e13983fefbd9cf16da2ed70fa5c6798ac55062a4803121a869731e308d2", 135 "comment": "call hashWei" 136 },{ 137 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 138 "rawByteCode": "5087821a", 139 "rawAmount": "0", 140 "rawGasLimit": 1000000, 141 "rawGasPrice": "0", 142 "rawExpectedGasConsumed": 10844, 143 "hasReturnValue": true, 144 "rawReturnValue": "b5cafab5b83d18303877bb912b2d66ca18ab7390cfd9be8a2e66cc5096e0ea02", 145 "comment": "call hashMultipleArgs" 146 },{ 147 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 148 "rawByteCode": "04d3c094", 149 "rawAmount": "0", 150 "rawGasLimit": 1000000, 151 "rawGasPrice": "0", 152 "rawExpectedGasConsumed": 10705, 153 "hasReturnValue": true, 154 "rawReturnValue": "3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", 155 "comment": "call hashString" 156 }] 157 }