github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata/basic-token.json (about)

     1  {
     2      "initBalances": [{
     3          "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
     4          "rawBalance": "1000000000000000000000000000"
     5      }],
     6      "deployments": [{
     7          "rawByteCode": "608060405234801561001057600080fd5b50610205806100206000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806370a0823114610051578063a9059cbb146100a8575b600080fd5b34801561005d57600080fd5b50610092600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506100f5565b6040518082815260200191505060405180910390f35b3480156100b457600080fd5b506100f3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061013d565b005b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555050505600a165627a7a72305820bf5914d696d0145114f3d3d789bc6aef8493d1dbeaa1320b0583e28bfe50b8cb0029",
     8          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
     9          "rawAmount": "0",
    10          "rawGasLimit": 5000000,
    11          "rawGasPrice": "0",
    12          "rawExpectedGasConsumed": 168453,
    13          "expectedBalances": [],
    14          "comment": "deploy an basic token contract"
    15      }],
    16      "executions": [{
    17          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    18          "rawByteCode": "a9059cbb0000000000000000000000001e14d5373e1af9cc77f0032ad2cd0fba8be5ea2e0000000000000000000000000000000000000000000000000000000000002710",
    19          "rawAmount": "0",
    20          "rawGasLimit": 1000000,
    21          "rawGasPrice": "0",
    22          "rawExpectedGasConsumed": 57693,
    23          "expectedBalances": [],
    24          "comment": "transfer 10000 tokens from producer"
    25      }, {
    26          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    27          "rawByteCode": "70a082310000000000000000000000001e14d5373e1af9cc77f0032ad2cd0fba8be5ea2e",
    28          "rawAmount": "0",
    29          "rawGasLimit": 1000000,
    30          "rawGasPrice": "0",
    31          "rawExpectedGasConsumed": 14159,
    32          "readOnly": true,
    33          "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000002710",
    34          "expectedBalances": [],
    35          "comment": "read the balance"
    36      }]
    37  }