github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-istanbul/write-protection-003.json (about)

     1  {
     2      "initGenesis": {
     3          "isBering" : true,
     4          "isIceland" : true
     5      },
     6      "initBalances": [{
     7          "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
     8          "rawBalance": "1000000000000000000000000000"
     9      }],
    10      "deployments": [{
    11          "rawByteCode": "608060405234801561001057600080fd5b50610a3d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063167517ce146100675780633fa4f245146100b55780634e70b1dc146100d357806367e404ce146100f1578063c6dad08214610125578063d1e0f3081461012f575b600080fd5b6100b36004803603604081101561007d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610191565b005b6100bd6104da565b6040518082815260200191505060405180910390f35b6100db6104e0565b6040518082815260200191505060405180910390f35b6100f96104e6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61012d61050c565b005b61017b6004803603604081101561014557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506105c5565b6040518082815260200191505060405180910390f35b6000811415610302578173ffffffffffffffffffffffffffffffffffffffff166040516024016040516020818303038152906040527fef2d5a06000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106102675780518252602082019150602081019050602083039250610244565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146102c9576040519150601f19603f3d011682016040523d82523d6000602084013e6102ce565b606091505b5050506004600060018152602001908152602001600020600090556004600060028152602001908152602001600020600090555b6001811415610324576004600060038152602001908152602001600020600090555b600060608373ffffffffffffffffffffffffffffffffffffffff1683604051602401808281526020019150506040516020818303038152906040527f6466414b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b6020831061040057805182526020820191506020810190506020830392506103dd565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610460576040519150601f19603f3d011682016040523d82523d6000602084013e610465565b606091505b50915091507f3b0a8ddef325df2bfdfa6b430ae4c8421841cd135bfa8fb5e432f200787520bb8260405180821515815260200191505060405180910390a160008314156104b157600080fd5b60018314156104d457600073ffffffffffffffffffffffffffffffffffffffff16ff5b50505050565b60025481565b60005481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60405161051890610742565b604051809103906000f080158015610534573d6000803e3d6000fd5b50600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160046000600181526020019081526020016000208190555060026004600060028152602001908152602001600020819055506003600460006003815260200190815260200160002081905550565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561062157600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1692505b3073ffffffffffffffffffffffffffffffffffffffff1663167517ce8460006040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561069357600080fd5b505af19250505080156106a4575060015b610737573073ffffffffffffffffffffffffffffffffffffffff1663167517ce8460016040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561071a57600080fd5b505af115801561072e573d6000803e3d6000fd5b50505050610738565b5b6001905092915050565b6102b8806107508339019056fe608060405234801561001057600080fd5b50600160036000600181526020019081526020016000208190555060026003600060028152602001908152602001600020819055506003806000600381526020019081526020016000208190555061024b8061006d6000396000f3fe60806040526004361061003f5760003560e01c80633fa4f245146100445780634e70b1dc1461006f5780636466414b1461009a57806367e404ce146100c8575b600080fd5b34801561005057600080fd5b50610059610109565b6040518082815260200191505060405180910390f35b34801561007b57600080fd5b5061008461010f565b6040518082815260200191505060405180910390f35b6100c6600480360360208110156100b057600080fd5b8101908080359060200190929190505050610115565b005b3480156100d457600080fd5b506100dd6101ef565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60025481565b60005481565b600081141561014f576003600060018152602001908152602001600020600090556003600060028152602001908152602001600020600090555b6001811415610171576003600060038152602001908152602001600020600090555b8060008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550346002819055507f9f9fb434574749b74458e0ddc3cf5fd5bdb1b009c8615e825606b53724576f3560405160405180910390a150565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea264697066735822122092a13109d811cfe7f039465f8d848dff0ab184919769d4a7ef85c56798edf07264736f6c634300060c0033a26469706673582212200d799fd8d03cbe9eca8764933c074843c208fb358ba5fa6d599d47116ab396f364736f6c634300060c0033",
    12          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    13          "rawAmount": "0",
    14          "rawGasLimit": 5000000,
    15          "rawGasPrice": "0",
    16          "rawExpectedGasConsumed": 800056,
    17          "expectedStatus": 1,
    18          "expectedBalances": [],
    19          "comment": "deploy write protection contract"
    20      }],
    21      "executions": [{
    22          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    23          "rawByteCode": "c6dad082",
    24          "rawAmount": "0",
    25          "rawGasLimit": 1000000,
    26          "rawGasPrice": "0",
    27          "rawAccessList": [],
    28          "rawExpectedGasConsumed": 301830,
    29          "expectedStatus": 1,
    30          "hasReturnValue": true,
    31          "rawReturnValue": "",
    32          "comment": "call make"
    33      }, {
    34          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    35          "rawByteCode": "d1e0f30800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084",
    36          "rawAmount": "0",
    37          "rawGasLimit": 6000000,
    38          "rawGasPrice": "0",
    39          "rawAccessList": [],
    40          "rawExpectedGasConsumed": 5928187,
    41          "expectedStatus": 106,
    42          "expectedLogs": [{}],
    43          "hasReturnValue": true,
    44          "rawReturnValue": "",
    45          "comment": "call setVars"
    46      }]
    47  }