github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-istanbul/write-protection-010.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": "608060405234801561001057600080fd5b506109a6806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633fa4f2451461005c5780634e70b1dc1461007a57806367e404ce14610098578063c6dad082146100cc578063d1e0f308146100d6575b600080fd5b610064610138565b6040518082815260200191505060405180910390f35b61008261013e565b6040518082815260200191505060405180910390f35b6100a0610144565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100d461016a565b005b610122600480360360408110156100ec57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610209565b6040518082815260200191505060405180910390f35b60025481565b60005481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040516101769061052d565b604051809103906000f080158015610192573d6000803e3d6000fd5b50600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016004600060018152602001908152602001600020819055506002600460006002815260200190815260200160002081905550565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169250600060608473ffffffffffffffffffffffffffffffffffffffff166000604051602401808281526020019150506040516020818303038152906040527f6466414b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b6020831061030d57805182526020820191506020810190506020830392506102ea565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461036d576040519150601f19603f3d011682016040523d82523d6000602084013e610372565b606091505b50915091506004600060018152602001908152602001600020600090556004600060028152602001908152602001600020600090557f3b0a8ddef325df2bfdfa6b430ae4c8421841cd135bfa8fb5e432f200787520bb8260405180821515815260200191505060405180910390a18473ffffffffffffffffffffffffffffffffffffffff166001604051602401808281526020019150506040516020818303038152906040527f6466414b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106104b95780518252602082019150602081019050602083039250610496565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610519576040519150601f19603f3d011682016040523d82523d6000602084013e61051e565b606091505b50505060019250505092915050565b6104368061053b8339019056fe608060405234801561001057600080fd5b5060016002600060018152602001908152602001600020819055506001600260006002815260200190815260200160002081905550604051610051906100b3565b604051809103906000f08015801561006d573d6000803e3d6000fd5b50600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506100c0565b6101038061033383390190565b610264806100cf6000396000f3fe6080604052600436106100345760003560e01c80633fa4f245146100395780634e70b1dc146100645780636466414b1461008f575b600080fd5b34801561004557600080fd5b5061004e6100bd565b6040518082815260200191505060405180910390f35b34801561007057600080fd5b506100796100c3565b6040518082815260200191505060405180910390f35b6100bb600480360360208110156100a557600080fd5b81019080803590602001909291905050506100c9565b005b60015481565b60005481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681604051602401808281526020019150506040516020818303038152906040527f6466414b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106101c357805182526020820191506020810190506020830392506101a0565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610223576040519150601f19603f3d011682016040523d82523d6000602084013e610228565b606091505b5050505056fea2646970667358221220bc11e1d802fb69534917aae79a06508e1509773a5440f8b4a5ac8d43618fec8d64736f6c634300060c00336080604052348015600f57600080fd5b50600160008060018152602001908152602001600020819055506001600080600281526020019081526020016000208190555060b3806100506000396000f3fe608060405260043610601c5760003560e01c80636466414b146021575b600080fd5b604a60048036036020811015603557600080fd5b8101908080359060200190929190505050604c565b005b600080600181526020019081526020016000206000905560008060028152602001908152602001600020600090555056fea26469706673582212208ce9a8638a738a6dd816d928e61af0d183c1431f852e2b473ea29b8b5211008964736f6c634300060c0033a2646970667358221220eb50f6e03612f684fa069fb9aaee90817d4299d614d608ca3f05a11a62bad62864736f6c634300060c0033", 12 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 13 "rawAmount": "0", 14 "rawGasLimit": 5000000, 15 "rawGasPrice": "0", 16 "rawExpectedGasConsumed": 754730, 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": 395780, 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": 5964867, 41 "expectedStatus": 1, 42 "expectedLogs": [{}], 43 "hasReturnValue": true, 44 "rawReturnValue": "", 45 "comment": "call setVars" 46 }] 47 }