github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata/self-destruct.json (about) 1 { 2 "initBalances": [{ 3 "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms", 4 "rawBalance": "1000000000000000000000000000" 5 }], 6 "deployments": [{ 7 "rawByteCode": "608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610196806100606000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80632e64cec11461004657806343d726d6146100645780636057361d1461006e575b600080fd5b61004e61008a565b60405161005b9190610124565b60405180910390f35b61006c610094565b005b610088600480360381019061008391906100ec565b6100cd565b005b6000600154905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b8060018190555050565b6000813590506100e681610149565b92915050565b6000602082840312156100fe57600080fd5b600061010c848285016100d7565b91505092915050565b61011e8161013f565b82525050565b60006020820190506101396000830184610115565b92915050565b6000819050919050565b6101528161013f565b811461015d57600080fd5b5056fea264697066735822122060e7a28baea4232a95074b94b50009d1d7b99302ef6556a1f3ce7f46a49f8cc064736f6c63430008000033", 8 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 9 "rawAmount": "0", 10 "rawGasLimit": 5000000, 11 "rawGasPrice": "0", 12 "rawExpectedGasConsumed": 161795, 13 "expectedBalances": [], 14 "comment": "deploy array-return contract" 15 }], 16 "executions": [{ 17 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 18 "rawByteCode": "6057361d0000000000000000000000000000000000000000000000000000000000000014", 19 "rawAmount": "0", 20 "rawGasLimit": 1000000, 21 "rawGasPrice": "0", 22 "rawExpectedGasConsumed": 34042, 23 "comment": "retrieve 20" 24 },{ 25 "readOnly": true, 26 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 27 "rawByteCode": "2e64cec1", 28 "rawAmount": "0", 29 "rawGasLimit": 1000000, 30 "rawGasPrice": "0", 31 "rawExpectedGasConsumed": 10915, 32 "hasReturnValue": true, 33 "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000014", 34 "comment": "return 20" 35 },{ 36 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 37 "rawByteCode": "43d726d6", 38 "rawAmount": "0", 39 "rawGasLimit": 1000000, 40 "rawGasPrice": "0", 41 "rawExpectedGasConsumed": 5389, 42 "comment": "self destruct" 43 },{ 44 "readOnly": true, 45 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 46 "rawByteCode": "2e64cec1", 47 "rawAmount": "0", 48 "rawGasLimit": 1000000, 49 "rawGasPrice": "0", 50 "rawExpectedGasConsumed": 10400, 51 "hasReturnValue": true, 52 "rawReturnValue": "", 53 "comment": "return nil because contract is destoried" 54 }] 55 }