diff --git a/go/enclave/nodetype/sequencer.go b/go/enclave/nodetype/sequencer.go index e992e0e64b..31afcac2fb 100644 --- a/go/enclave/nodetype/sequencer.go +++ b/go/enclave/nodetype/sequencer.go @@ -190,12 +190,12 @@ func (s *sequencer) createGenesisBatch(ctx context.Context, block *common.L1Bloc } if len(cb.Receipts) == 0 || cb.Receipts[0].TxHash.Hex() != msgBusTx.Hash().Hex() { - err = fmt.Errorf("message Bus contract not minted - no receipts in batch") + err = fmt.Errorf("MessageBus contract not created - no receipts in batch") s.logger.Error(err.Error()) return err } - s.logger.Info("Message Bus Contract minted successfully", "address", cb.Receipts[0].ContractAddress.Hex()) + s.logger.Info("MessageBus Contract created successfully", "address", cb.Receipts[0].ContractAddress.Hex()) return nil } diff --git a/integration/erc20contract/ObsERC20.sol b/integration/erc20contract/ObsERC20.sol index b7c632fb1a..2328249e52 100644 --- a/integration/erc20contract/ObsERC20.sol +++ b/integration/erc20contract/ObsERC20.sol @@ -27,7 +27,7 @@ interface IMessageBus { // where access to data has to be restricted. contract ObsERC20 is ERC20 { - address bridge = 0xdeB34A740ECa1eC42C8b8204CBEC0bA34FDD27f3; + address bridge = 0x0a0Aaf0A52a9FDD0b034fe9031A4880dBDC1c480; IMessageBus bus; diff --git a/integration/erc20contract/bin/ERC20.bin b/integration/erc20contract/bin/ERC20.bin index e9b20e4db2..408f69f1d0 100644 --- a/integration/erc20contract/bin/ERC20.bin +++ b/integration/erc20contract/bin/ERC20.bin @@ -1 +1 @@ -60806040523480156200001157600080fd5b50604051620017f5380380620017f58339818101604052810190620000379190620001f6565b8160039081620000489190620004c6565b5080600490816200005a9190620004c6565b505050620005ad565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620000cc8262000081565b810181811067ffffffffffffffff82111715620000ee57620000ed62000092565b5b80604052505050565b60006200010362000063565b9050620001118282620000c1565b919050565b600067ffffffffffffffff82111562000134576200013362000092565b5b6200013f8262000081565b9050602081019050919050565b60005b838110156200016c5780820151818401526020810190506200014f565b60008484015250505050565b60006200018f620001898462000116565b620000f7565b905082815260208101848484011115620001ae57620001ad6200007c565b5b620001bb8482856200014c565b509392505050565b600082601f830112620001db57620001da62000077565b5b8151620001ed84826020860162000178565b91505092915050565b6000806040838503121562000210576200020f6200006d565b5b600083015167ffffffffffffffff81111562000231576200023062000072565b5b6200023f85828601620001c3565b925050602083015167ffffffffffffffff81111562000263576200026262000072565b5b6200027185828601620001c3565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002ce57607f821691505b602082108103620002e457620002e362000286565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200034e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200030f565b6200035a86836200030f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003a7620003a16200039b8462000372565b6200037c565b62000372565b9050919050565b6000819050919050565b620003c38362000386565b620003db620003d282620003ae565b8484546200031c565b825550505050565b600090565b620003f2620003e3565b620003ff818484620003b8565b505050565b5b8181101562000427576200041b600082620003e8565b60018101905062000405565b5050565b601f82111562000476576200044081620002ea565b6200044b84620002ff565b810160208510156200045b578190505b620004736200046a85620002ff565b83018262000404565b50505b505050565b600082821c905092915050565b60006200049b600019846008026200047b565b1980831691505092915050565b6000620004b6838362000488565b9150826002028217905092915050565b620004d1826200027b565b67ffffffffffffffff811115620004ed57620004ec62000092565b5b620004f98254620002b5565b620005068282856200042b565b600060209050601f8311600181146200053e576000841562000529578287015190505b620005358582620004a8565b865550620005a5565b601f1984166200054e86620002ea565b60005b82811015620005785784890151825560018201915060208501945060208101905062000551565b8683101562000598578489015162000594601f89168262000488565b8355505b6001600288020188555050505b505050505050565b61123880620005bd6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c39190610b15565b60405180910390f35b6100e660048036038101906100e19190610bd0565b610308565b6040516100f39190610c2b565b60405180910390f35b61010461032b565b6040516101119190610c55565b60405180910390f35b610134600480360381019061012f9190610c70565b610335565b6040516101419190610c2b565b60405180910390f35b610152610364565b60405161015f9190610cdf565b60405180910390f35b610182600480360381019061017d9190610bd0565b61036d565b60405161018f9190610c2b565b60405180910390f35b6101b260048036038101906101ad9190610cfa565b6103a4565b6040516101bf9190610c55565b60405180910390f35b6101d06103ec565b6040516101dd9190610b15565b60405180910390f35b61020060048036038101906101fb9190610bd0565b61047e565b60405161020d9190610c2b565b60405180910390f35b610230600480360381019061022b9190610bd0565b6104f5565b60405161023d9190610c2b565b60405180910390f35b610260600480360381019061025b9190610d27565b610518565b60405161026d9190610c55565b60405180910390f35b60606003805461028590610d96565b80601f01602080910402602001604051908101604052809291908181526020018280546102b190610d96565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b60008061031361059f565b90506103208185856105a7565b600191505092915050565b6000600254905090565b60008061034061059f565b905061034d858285610770565b6103588585856107fc565b60019150509392505050565b60006012905090565b60008061037861059f565b905061039981858561038a8589610518565b6103949190610df6565b6105a7565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546103fb90610d96565b80601f016020809104026020016040519081016040528092919081815260200182805461042790610d96565b80156104745780601f1061044957610100808354040283529160200191610474565b820191906000526020600020905b81548152906001019060200180831161045757829003601f168201915b5050505050905090565b60008061048961059f565b905060006104978286610518565b9050838110156104dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d390610e9c565b60405180910390fd5b6104e982868684036105a7565b60019250505092915050565b60008061050061059f565b905061050d8185856107fc565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060d90610f2e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067c90610fc0565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516107639190610c55565b60405180910390a3505050565b600061077c8484610518565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107f657818110156107e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107df9061102c565b60405180910390fd5b6107f584848484036105a7565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361086b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610862906110be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190611150565b60405180910390fd5b6108e5838383610a7b565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561096b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610962906111e2565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109fe9190610df6565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a629190610c55565b60405180910390a3610a75848484610a80565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610abf578082015181840152602081019050610aa4565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ae782610a85565b610af18185610a90565b9350610b01818560208601610aa1565b610b0a81610acb565b840191505092915050565b60006020820190508181036000830152610b2f8184610adc565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610b6782610b3c565b9050919050565b610b7781610b5c565b8114610b8257600080fd5b50565b600081359050610b9481610b6e565b92915050565b6000819050919050565b610bad81610b9a565b8114610bb857600080fd5b50565b600081359050610bca81610ba4565b92915050565b60008060408385031215610be757610be6610b37565b5b6000610bf585828601610b85565b9250506020610c0685828601610bbb565b9150509250929050565b60008115159050919050565b610c2581610c10565b82525050565b6000602082019050610c406000830184610c1c565b92915050565b610c4f81610b9a565b82525050565b6000602082019050610c6a6000830184610c46565b92915050565b600080600060608486031215610c8957610c88610b37565b5b6000610c9786828701610b85565b9350506020610ca886828701610b85565b9250506040610cb986828701610bbb565b9150509250925092565b600060ff82169050919050565b610cd981610cc3565b82525050565b6000602082019050610cf46000830184610cd0565b92915050565b600060208284031215610d1057610d0f610b37565b5b6000610d1e84828501610b85565b91505092915050565b60008060408385031215610d3e57610d3d610b37565b5b6000610d4c85828601610b85565b9250506020610d5d85828601610b85565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610dae57607f821691505b602082108103610dc157610dc0610d67565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610e0182610b9a565b9150610e0c83610b9a565b9250828201905080821115610e2457610e23610dc7565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000610e86602583610a90565b9150610e9182610e2a565b604082019050919050565b60006020820190508181036000830152610eb581610e79565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000610f18602483610a90565b9150610f2382610ebc565b604082019050919050565b60006020820190508181036000830152610f4781610f0b565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000610faa602283610a90565b9150610fb582610f4e565b604082019050919050565b60006020820190508181036000830152610fd981610f9d565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611016601d83610a90565b915061102182610fe0565b602082019050919050565b6000602082019050818103600083015261104581611009565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006110a8602583610a90565b91506110b38261104c565b604082019050919050565b600060208201905081810360008301526110d78161109b565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061113a602383610a90565b9150611145826110de565b604082019050919050565b600060208201905081810360008301526111698161112d565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006111cc602683610a90565b91506111d782611170565b604082019050919050565b600060208201905081810360008301526111fb816111bf565b905091905056fea2646970667358221220ae7d364983cbb77e7f263a4269ec33c6f3bca67b248b09de59ed08bfd09efea664736f6c63430008110033 \ No newline at end of file +608060405234801562000010575f80fd5b506040516200175f3803806200175f8339818101604052810190620000369190620001e7565b8160039081620000479190620004a1565b508060049081620000599190620004a1565b50505062000585565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620000c3826200007b565b810181811067ffffffffffffffff82111715620000e557620000e46200008b565b5b80604052505050565b5f620000f962000062565b9050620001078282620000b8565b919050565b5f67ffffffffffffffff8211156200012957620001286200008b565b5b62000134826200007b565b9050602081019050919050565b5f5b838110156200016057808201518184015260208101905062000143565b5f8484015250505050565b5f620001816200017b846200010c565b620000ee565b905082815260208101848484011115620001a0576200019f62000077565b5b620001ad84828562000141565b509392505050565b5f82601f830112620001cc57620001cb62000073565b5b8151620001de8482602086016200016b565b91505092915050565b5f80604083850312156200020057620001ff6200006b565b5b5f83015167ffffffffffffffff81111562000220576200021f6200006f565b5b6200022e85828601620001b5565b925050602083015167ffffffffffffffff8111156200025257620002516200006f565b5b6200026085828601620001b5565b9150509250929050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620002b957607f821691505b602082108103620002cf57620002ce62000274565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620003337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002f6565b6200033f8683620002f6565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000389620003836200037d8462000357565b62000360565b62000357565b9050919050565b5f819050919050565b620003a48362000369565b620003bc620003b38262000390565b84845462000302565b825550505050565b5f90565b620003d2620003c4565b620003df81848462000399565b505050565b5b818110156200040657620003fa5f82620003c8565b600181019050620003e5565b5050565b601f82111562000455576200041f81620002d5565b6200042a84620002e7565b810160208510156200043a578190505b620004526200044985620002e7565b830182620003e4565b50505b505050565b5f82821c905092915050565b5f620004775f19846008026200045a565b1980831691505092915050565b5f62000491838362000466565b9150826002028217905092915050565b620004ac826200026a565b67ffffffffffffffff811115620004c857620004c76200008b565b5b620004d48254620002a1565b620004e18282856200040a565b5f60209050601f83116001811462000517575f841562000502578287015190505b6200050e858262000484565b8655506200057d565b601f1984166200052786620002d5565b5f5b82811015620005505784890151825560018201915060208501945060208101905062000529565b868310156200057057848901516200056c601f89168262000466565b8355505b6001600288020188555050505b505050505050565b6111cc80620005935f395ff3fe608060405234801561000f575f80fd5b50600436106100a7575f3560e01c8063395093511161006f578063395093511461016557806370a082311461019557806395d89b41146101c5578063a457c2d7146101e3578063a9059cbb14610213578063dd62ed3e14610243576100a7565b806306fdde03146100ab578063095ea7b3146100c957806318160ddd146100f957806323b872dd14610117578063313ce56714610147575b5f80fd5b6100b3610273565b6040516100c09190610ae6565b60405180910390f35b6100e360048036038101906100de9190610b97565b610303565b6040516100f09190610bef565b60405180910390f35b610101610325565b60405161010e9190610c17565b60405180910390f35b610131600480360381019061012c9190610c30565b61032e565b60405161013e9190610bef565b60405180910390f35b61014f61035c565b60405161015c9190610c9b565b60405180910390f35b61017f600480360381019061017a9190610b97565b610364565b60405161018c9190610bef565b60405180910390f35b6101af60048036038101906101aa9190610cb4565b61039a565b6040516101bc9190610c17565b60405180910390f35b6101cd6103df565b6040516101da9190610ae6565b60405180910390f35b6101fd60048036038101906101f89190610b97565b61046f565b60405161020a9190610bef565b60405180910390f35b61022d60048036038101906102289190610b97565b6104e4565b60405161023a9190610bef565b60405180910390f35b61025d60048036038101906102589190610cdf565b610506565b60405161026a9190610c17565b60405180910390f35b60606003805461028290610d4a565b80601f01602080910402602001604051908101604052809291908181526020018280546102ae90610d4a565b80156102f95780601f106102d0576101008083540402835291602001916102f9565b820191905f5260205f20905b8154815290600101906020018083116102dc57829003601f168201915b5050505050905090565b5f8061030d610588565b905061031a81858561058f565b600191505092915050565b5f600254905090565b5f80610338610588565b9050610345858285610752565b6103508585856107dd565b60019150509392505050565b5f6012905090565b5f8061036e610588565b905061038f8185856103808589610506565b61038a9190610da7565b61058f565b600191505092915050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6060600480546103ee90610d4a565b80601f016020809104026020016040519081016040528092919081815260200182805461041a90610d4a565b80156104655780601f1061043c57610100808354040283529160200191610465565b820191905f5260205f20905b81548152906001019060200180831161044857829003601f168201915b5050505050905090565b5f80610479610588565b90505f6104868286610506565b9050838110156104cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c290610e4a565b60405180910390fd5b6104d8828686840361058f565b60019250505092915050565b5f806104ee610588565b90506104fb8185856107dd565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036105fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f490610ed8565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361066b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066290610f66565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516107459190610c17565b60405180910390a3505050565b5f61075d8484610506565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107d757818110156107c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c090610fce565b60405180910390fd5b6107d6848484840361058f565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361084b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108429061105c565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b0906110ea565b60405180910390fd5b6108c4838383610a52565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093e90611178565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546109d59190610da7565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a399190610c17565b60405180910390a3610a4c848484610a57565b50505050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610a93578082015181840152602081019050610a78565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610ab882610a5c565b610ac28185610a66565b9350610ad2818560208601610a76565b610adb81610a9e565b840191505092915050565b5f6020820190508181035f830152610afe8184610aae565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610b3382610b0a565b9050919050565b610b4381610b29565b8114610b4d575f80fd5b50565b5f81359050610b5e81610b3a565b92915050565b5f819050919050565b610b7681610b64565b8114610b80575f80fd5b50565b5f81359050610b9181610b6d565b92915050565b5f8060408385031215610bad57610bac610b06565b5b5f610bba85828601610b50565b9250506020610bcb85828601610b83565b9150509250929050565b5f8115159050919050565b610be981610bd5565b82525050565b5f602082019050610c025f830184610be0565b92915050565b610c1181610b64565b82525050565b5f602082019050610c2a5f830184610c08565b92915050565b5f805f60608486031215610c4757610c46610b06565b5b5f610c5486828701610b50565b9350506020610c6586828701610b50565b9250506040610c7686828701610b83565b9150509250925092565b5f60ff82169050919050565b610c9581610c80565b82525050565b5f602082019050610cae5f830184610c8c565b92915050565b5f60208284031215610cc957610cc8610b06565b5b5f610cd684828501610b50565b91505092915050565b5f8060408385031215610cf557610cf4610b06565b5b5f610d0285828601610b50565b9250506020610d1385828601610b50565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610d6157607f821691505b602082108103610d7457610d73610d1d565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610db182610b64565b9150610dbc83610b64565b9250828201905080821115610dd457610dd3610d7a565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f610e34602583610a66565b9150610e3f82610dda565b604082019050919050565b5f6020820190508181035f830152610e6181610e28565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f610ec2602483610a66565b9150610ecd82610e68565b604082019050919050565b5f6020820190508181035f830152610eef81610eb6565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f610f50602283610a66565b9150610f5b82610ef6565b604082019050919050565b5f6020820190508181035f830152610f7d81610f44565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f610fb8601d83610a66565b9150610fc382610f84565b602082019050919050565b5f6020820190508181035f830152610fe581610fac565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f611046602583610a66565b915061105182610fec565b604082019050919050565b5f6020820190508181035f8301526110738161103a565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6110d4602383610a66565b91506110df8261107a565b604082019050919050565b5f6020820190508181035f830152611101816110c8565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f611162602683610a66565b915061116d82611108565b604082019050919050565b5f6020820190508181035f83015261118f81611156565b905091905056fea264697066735822122014f809ec16cf32b896d3c01df23ae2884720616ef699b911cc249c8cfb9eac0564736f6c63430008140033 \ No newline at end of file diff --git a/integration/erc20contract/bin/ObsERC20.bin b/integration/erc20contract/bin/ObsERC20.bin index f526a62174..ba8a68c7fe 100644 --- a/integration/erc20contract/bin/ObsERC20.bin +++ b/integration/erc20contract/bin/ObsERC20.bin @@ -1 +1 @@ -608060405273deb34a740eca1ec42c8b8204cbec0ba34fdd27f3600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006657600080fd5b50604051620027213803806200272183398181016040528101906200008c9190620006a7565b838381600390816200009f919062000998565b508060049081620000b1919062000998565b505050620000c633836200011160201b60201c565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000de9565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000183576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017a9062000ae0565b60405180910390fd5b62000197600083836200028960201b60201c565b8060026000828254620001ab919062000b31565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000202919062000b31565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000269919062000b7d565b60405180910390a362000285600083836200046f60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603156200046a57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200046957600060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115620003d957620003d862000b9a565b5b85604051602001620003ec919062000c33565b60405160208183030381529060405260006040518563ffffffff1660e01b81526004016200041e949392919062000d1e565b6020604051808303816000875af11580156200043e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000464919062000db7565b905050505b5b505050565b505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004dd8262000492565b810181811067ffffffffffffffff82111715620004ff57620004fe620004a3565b5b80604052505050565b60006200051462000474565b9050620005228282620004d2565b919050565b600067ffffffffffffffff821115620005455762000544620004a3565b5b620005508262000492565b9050602081019050919050565b60005b838110156200057d57808201518184015260208101905062000560565b60008484015250505050565b6000620005a06200059a8462000527565b62000508565b905082815260208101848484011115620005bf57620005be6200048d565b5b620005cc8482856200055d565b509392505050565b600082601f830112620005ec57620005eb62000488565b5b8151620005fe84826020860162000589565b91505092915050565b6000819050919050565b6200061c8162000607565b81146200062857600080fd5b50565b6000815190506200063c8162000611565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200066f8262000642565b9050919050565b620006818162000662565b81146200068d57600080fd5b50565b600081519050620006a18162000676565b92915050565b60008060008060808587031215620006c457620006c36200047e565b5b600085015167ffffffffffffffff811115620006e557620006e462000483565b5b620006f387828801620005d4565b945050602085015167ffffffffffffffff81111562000717576200071662000483565b5b6200072587828801620005d4565b935050604062000738878288016200062b565b92505060606200074b8782880162000690565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007aa57607f821691505b602082108103620007c057620007bf62000762565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200082a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007eb565b620008368683620007eb565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000879620008736200086d8462000607565b6200084e565b62000607565b9050919050565b6000819050919050565b620008958362000858565b620008ad620008a48262000880565b848454620007f8565b825550505050565b600090565b620008c4620008b5565b620008d18184846200088a565b505050565b5b81811015620008f957620008ed600082620008ba565b600181019050620008d7565b5050565b601f82111562000948576200091281620007c6565b6200091d84620007db565b810160208510156200092d578190505b620009456200093c85620007db565b830182620008d6565b50505b505050565b600082821c905092915050565b60006200096d600019846008026200094d565b1980831691505092915050565b60006200098883836200095a565b9150826002028217905092915050565b620009a38262000757565b67ffffffffffffffff811115620009bf57620009be620004a3565b5b620009cb825462000791565b620009d8828285620008fd565b600060209050601f83116001811462000a105760008415620009fb578287015190505b62000a0785826200097a565b86555062000a77565b601f19841662000a2086620007c6565b60005b8281101562000a4a5784890151825560018201915060208501945060208101905062000a23565b8683101562000a6a578489015162000a66601f8916826200095a565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000ac8601f8362000a7f565b915062000ad58262000a90565b602082019050919050565b6000602082019050818103600083015262000afb8162000ab9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000b3e8262000607565b915062000b4b8362000607565b925082820190508082111562000b665762000b6562000b02565b5b92915050565b62000b778162000607565b82525050565b600060208201905062000b94600083018462000b6c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b62000bd48162000662565b82525050565b62000be58162000607565b82525050565b60608201600082015162000c03600085018262000bc9565b50602082015162000c18602085018262000bc9565b50604082015162000c2d604085018262000bda565b50505050565b600060608201905062000c4a600083018462000beb565b92915050565b600063ffffffff82169050919050565b62000c6b8162000c50565b82525050565b600081519050919050565b600082825260208201905092915050565b600062000c9a8262000c71565b62000ca6818562000c7c565b935062000cb88185602086016200055d565b62000cc38162000492565b840191505092915050565b6000819050919050565b600060ff82169050919050565b600062000d0662000d0062000cfa8462000cce565b6200084e565b62000cd8565b9050919050565b62000d188162000ce5565b82525050565b600060808201905062000d35600083018762000c60565b62000d44602083018662000c60565b818103604083015262000d58818562000c8d565b905062000d69606083018462000d0d565b95945050505050565b600067ffffffffffffffff82169050919050565b62000d918162000d72565b811462000d9d57600080fd5b50565b60008151905062000db18162000d86565b92915050565b60006020828403121562000dd05762000dcf6200047e565b5b600062000de08482850162000da0565b91505092915050565b6119288062000df96000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c39190610eeb565b60405180910390f35b6100e660048036038101906100e19190610fa6565b610308565b6040516100f39190611001565b60405180910390f35b61010461032b565b604051610111919061102b565b60405180910390f35b610134600480360381019061012f9190611046565b610335565b6040516101419190611001565b60405180910390f35b610152610364565b60405161015f91906110b5565b60405180910390f35b610182600480360381019061017d9190610fa6565b61036d565b60405161018f9190611001565b60405180910390f35b6101b260048036038101906101ad91906110d0565b6103a4565b6040516101bf919061102b565b60405180910390f35b6101d061046c565b6040516101dd9190610eeb565b60405180910390f35b61020060048036038101906101fb9190610fa6565b6104fe565b60405161020d9190611001565b60405180910390f35b610230600480360381019061022b9190610fa6565b610575565b60405161023d9190611001565b60405180910390f35b610260600480360381019061025b91906110fd565b610598565b60405161026d919061102b565b60405180910390f35b6060600380546102859061116c565b80601f01602080910402602001604051908101604052809291908181526020018280546102b19061116c565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b6000806103136106d1565b90506103208185856106d9565b600191505092915050565b6000600254905090565b6000806103406106d1565b905061034d8582856108a2565b61035885858561092e565b60019150509392505050565b60006012905090565b6000806103786106d1565b905061039981858561038a8589610598565b61039491906111cc565b6106d9565b600191505092915050565b60008173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16036103e9576103e282610bad565b9050610467565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361042c5761042582610bad565b9050610467565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045e9061124c565b60405180910390fd5b919050565b60606004805461047b9061116c565b80601f01602080910402602001604051908101604052809291908181526020018280546104a79061116c565b80156104f45780601f106104c9576101008083540402835291602001916104f4565b820191906000526020600020905b8154815290600101906020018083116104d757829003601f168201915b5050505050905090565b6000806105096106d1565b905060006105178286610598565b90508381101561055c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610553906112de565b60405180910390fd5b61056982868684036106d9565b60019250505092915050565b6000806105806106d1565b905061058d81858561092e565b600191505092915050565b60008273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614806105ff57508173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b156106155761060e8383610bf5565b90506106cb565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061067a57508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b15610690576106898383610bf5565b90506106cb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c290611370565b60405180910390fd5b92915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073f90611402565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ae90611494565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610895919061102b565b60405180910390a3505050565b60006108ae8484610598565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610928578181101561091a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091190611500565b60405180910390fd5b61092784848484036106d9565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490611592565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0390611624565b60405180910390fd5b610a17838383610c7c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a94906116b6565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b3091906111cc565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b94919061102b565b60405180910390a3610ba7848484610e56565b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160315610e5157600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e5057600060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115610dc757610dc66116d6565b5b85604051602001610dd89190611765565b60405160208183030381529060405260006040518563ffffffff1660e01b8152600401610e089493929190611839565b6020604051808303816000875af1158015610e27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4b91906118c5565b905050505b5b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e95578082015181840152602081019050610e7a565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ebd82610e5b565b610ec78185610e66565b9350610ed7818560208601610e77565b610ee081610ea1565b840191505092915050565b60006020820190508181036000830152610f058184610eb2565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f3d82610f12565b9050919050565b610f4d81610f32565b8114610f5857600080fd5b50565b600081359050610f6a81610f44565b92915050565b6000819050919050565b610f8381610f70565b8114610f8e57600080fd5b50565b600081359050610fa081610f7a565b92915050565b60008060408385031215610fbd57610fbc610f0d565b5b6000610fcb85828601610f5b565b9250506020610fdc85828601610f91565b9150509250929050565b60008115159050919050565b610ffb81610fe6565b82525050565b60006020820190506110166000830184610ff2565b92915050565b61102581610f70565b82525050565b6000602082019050611040600083018461101c565b92915050565b60008060006060848603121561105f5761105e610f0d565b5b600061106d86828701610f5b565b935050602061107e86828701610f5b565b925050604061108f86828701610f91565b9150509250925092565b600060ff82169050919050565b6110af81611099565b82525050565b60006020820190506110ca60008301846110a6565b92915050565b6000602082840312156110e6576110e5610f0d565b5b60006110f484828501610f5b565b91505092915050565b6000806040838503121561111457611113610f0d565b5b600061112285828601610f5b565b925050602061113385828601610f5b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061118457607f821691505b6020821081036111975761119661113d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006111d782610f70565b91506111e283610f70565b92508282019050808211156111fa576111f961119d565b5b92915050565b7f4e6f7420616c6c6f77656420746f2072656164207468652062616c616e636500600082015250565b6000611236601f83610e66565b915061124182611200565b602082019050919050565b6000602082019050818103600083015261126581611229565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006112c8602583610e66565b91506112d38261126c565b604082019050919050565b600060208201905081810360008301526112f7816112bb565b9050919050565b7f4e6f7420616c6c6f77656420746f20726561642074686520616c6c6f77616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061135a602183610e66565b9150611365826112fe565b604082019050919050565b600060208201905081810360008301526113898161134d565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006113ec602483610e66565b91506113f782611390565b604082019050919050565b6000602082019050818103600083015261141b816113df565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061147e602283610e66565b915061148982611422565b604082019050919050565b600060208201905081810360008301526114ad81611471565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006114ea601d83610e66565b91506114f5826114b4565b602082019050919050565b60006020820190508181036000830152611519816114dd565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061157c602583610e66565b915061158782611520565b604082019050919050565b600060208201905081810360008301526115ab8161156f565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061160e602383610e66565b9150611619826115b2565b604082019050919050565b6000602082019050818103600083015261163d81611601565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006116a0602683610e66565b91506116ab82611644565b604082019050919050565b600060208201905081810360008301526116cf81611693565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b61170e81610f32565b82525050565b61171d81610f70565b82525050565b6060820160008201516117396000850182611705565b50602082015161174c6020850182611705565b50604082015161175f6040850182611714565b50505050565b600060608201905061177a6000830184611723565b92915050565b600063ffffffff82169050919050565b61179981611780565b82525050565b600081519050919050565b600082825260208201905092915050565b60006117c68261179f565b6117d081856117aa565b93506117e0818560208601610e77565b6117e981610ea1565b840191505092915050565b6000819050919050565b6000819050919050565b600061182361181e611819846117f4565b6117fe565b611099565b9050919050565b61183381611808565b82525050565b600060808201905061184e6000830187611790565b61185b6020830186611790565b818103604083015261186d81856117bb565b905061187c606083018461182a565b95945050505050565b600067ffffffffffffffff82169050919050565b6118a281611885565b81146118ad57600080fd5b50565b6000815190506118bf81611899565b92915050565b6000602082840312156118db576118da610f0d565b5b60006118e9848285016118b0565b9150509291505056fea264697066735822122070ad4a48d579576c33a29850a9848b40de3c6338ef1a92a842bff6fbaacae06764736f6c63430008110033 \ No newline at end of file +6080604052730a0aaf0a52a9fdd0b034fe9031a4880dbdc1c48060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801562000064575f80fd5b506040516200262a3803806200262a83398181016040528101906200008a91906200067d565b838381600390816200009d919062000958565b508060049081620000af919062000958565b505050620000c433836200010e60201b60201c565b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000d88565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200017f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001769062000a9a565b60405180910390fd5b620001925f83836200027e60201b60201c565b8060025f828254620001a5919062000ae7565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254620001f9919062000ae7565b925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200025f919062000b32565b60405180910390a36200027a5f83836200045a60201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160315620004555760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000454575f60405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115620003c857620003c762000b4d565b5b85604051602001620003db919062000be2565b6040516020818303038152906040525f6040518563ffffffff1660e01b81526004016200040c949392919062000cc4565b6020604051808303815f875af115801562000429573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200044f919062000d58565b905050505b5b505050565b505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620004c08262000478565b810181811067ffffffffffffffff82111715620004e257620004e162000488565b5b80604052505050565b5f620004f66200045f565b9050620005048282620004b5565b919050565b5f67ffffffffffffffff82111562000526576200052562000488565b5b620005318262000478565b9050602081019050919050565b5f5b838110156200055d57808201518184015260208101905062000540565b5f8484015250505050565b5f6200057e620005788462000509565b620004eb565b9050828152602081018484840111156200059d576200059c62000474565b5b620005aa8482856200053e565b509392505050565b5f82601f830112620005c957620005c862000470565b5b8151620005db84826020860162000568565b91505092915050565b5f819050919050565b620005f881620005e4565b811462000603575f80fd5b50565b5f815190506200061681620005ed565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000647826200061c565b9050919050565b62000659816200063b565b811462000664575f80fd5b50565b5f8151905062000677816200064e565b92915050565b5f805f806080858703121562000698576200069762000468565b5b5f85015167ffffffffffffffff811115620006b857620006b76200046c565b5b620006c687828801620005b2565b945050602085015167ffffffffffffffff811115620006ea57620006e96200046c565b5b620006f887828801620005b2565b93505060406200070b8782880162000606565b92505060606200071e8782880162000667565b91505092959194509250565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200077957607f821691505b6020821081036200078f576200078e62000734565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620007f37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007b6565b620007ff8683620007b6565b95508019841693508086168417925050509392505050565b5f819050919050565b5f620008406200083a6200083484620005e4565b62000817565b620005e4565b9050919050565b5f819050919050565b6200085b8362000820565b620008736200086a8262000847565b848454620007c2565b825550505050565b5f90565b620008896200087b565b6200089681848462000850565b505050565b5b81811015620008bd57620008b15f826200087f565b6001810190506200089c565b5050565b601f8211156200090c57620008d68162000795565b620008e184620007a7565b81016020851015620008f1578190505b620009096200090085620007a7565b8301826200089b565b50505b505050565b5f82821c905092915050565b5f6200092e5f198460080262000911565b1980831691505092915050565b5f6200094883836200091d565b9150826002028217905092915050565b62000963826200072a565b67ffffffffffffffff8111156200097f576200097e62000488565b5b6200098b825462000761565b62000998828285620008c1565b5f60209050601f831160018114620009ce575f8415620009b9578287015190505b620009c585826200093b565b86555062000a34565b601f198416620009de8662000795565b5f5b8281101562000a0757848901518255600182019150602085019450602081019050620009e0565b8683101562000a27578489015162000a23601f8916826200091d565b8355505b6001600288020188555050505b505050505050565b5f82825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f62000a82601f8362000a3c565b915062000a8f8262000a4c565b602082019050919050565b5f6020820190508181035f83015262000ab38162000a74565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f62000af382620005e4565b915062000b0083620005e4565b925082820190508082111562000b1b5762000b1a62000aba565b5b92915050565b62000b2c81620005e4565b82525050565b5f60208201905062000b475f83018462000b21565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b62000b85816200063b565b82525050565b62000b9681620005e4565b82525050565b606082015f82015162000bb25f85018262000b7a565b50602082015162000bc7602085018262000b7a565b50604082015162000bdc604085018262000b8b565b50505050565b5f60608201905062000bf75f83018462000b9c565b92915050565b5f63ffffffff82169050919050565b62000c178162000bfd565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f62000c438262000c1d565b62000c4f818562000c27565b935062000c618185602086016200053e565b62000c6c8162000478565b840191505092915050565b5f819050919050565b5f60ff82169050919050565b5f62000cac62000ca662000ca08462000c77565b62000817565b62000c80565b9050919050565b62000cbe8162000c8c565b82525050565b5f60808201905062000cd95f83018762000c0c565b62000ce8602083018662000c0c565b818103604083015262000cfc818562000c37565b905062000d0d606083018462000cb3565b95945050505050565b5f67ffffffffffffffff82169050919050565b62000d348162000d16565b811462000d3f575f80fd5b50565b5f8151905062000d528162000d29565b92915050565b5f6020828403121562000d705762000d6f62000468565b5b5f62000d7f8482850162000d42565b91505092915050565b6118948062000d965f395ff3fe608060405234801561000f575f80fd5b50600436106100a7575f3560e01c8063395093511161006f578063395093511461016557806370a082311461019557806395d89b41146101c5578063a457c2d7146101e3578063a9059cbb14610213578063dd62ed3e14610243576100a7565b806306fdde03146100ab578063095ea7b3146100c957806318160ddd146100f957806323b872dd14610117578063313ce56714610147575b5f80fd5b6100b3610273565b6040516100c09190610eb0565b60405180910390f35b6100e360048036038101906100de9190610f61565b610303565b6040516100f09190610fb9565b60405180910390f35b610101610325565b60405161010e9190610fe1565b60405180910390f35b610131600480360381019061012c9190610ffa565b61032e565b60405161013e9190610fb9565b60405180910390f35b61014f61035c565b60405161015c9190611065565b60405180910390f35b61017f600480360381019061017a9190610f61565b610364565b60405161018c9190610fb9565b60405180910390f35b6101af60048036038101906101aa919061107e565b61039a565b6040516101bc9190610fe1565b60405180910390f35b6101cd610461565b6040516101da9190610eb0565b60405180910390f35b6101fd60048036038101906101f89190610f61565b6104f1565b60405161020a9190610fb9565b60405180910390f35b61022d60048036038101906102289190610f61565b610566565b60405161023a9190610fb9565b60405180910390f35b61025d600480360381019061025891906110a9565b610588565b60405161026a9190610fe1565b60405180910390f35b60606003805461028290611114565b80601f01602080910402602001604051908101604052809291908181526020018280546102ae90611114565b80156102f95780601f106102d0576101008083540402835291602001916102f9565b820191905f5260205f20905b8154815290600101906020018083116102dc57829003601f168201915b5050505050905090565b5f8061030d6106c0565b905061031a8185856106c7565b600191505092915050565b5f600254905090565b5f806103386106c0565b905061034585828561088a565b610350858585610915565b60019150509392505050565b5f6012905090565b5f8061036e6106c0565b905061038f8185856103808589610588565b61038a9190611171565b6106c7565b600191505092915050565b5f8173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16036103de576103d782610b8a565b905061045c565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036104215761041a82610b8a565b905061045c565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610453906111ee565b60405180910390fd5b919050565b60606004805461047090611114565b80601f016020809104026020016040519081016040528092919081815260200182805461049c90611114565b80156104e75780601f106104be576101008083540402835291602001916104e7565b820191905f5260205f20905b8154815290600101906020018083116104ca57829003601f168201915b5050505050905090565b5f806104fb6106c0565b90505f6105088286610588565b90508381101561054d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105449061127c565b60405180910390fd5b61055a82868684036106c7565b60019250505092915050565b5f806105706106c0565b905061057d818585610915565b600191505092915050565b5f8273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614806105ee57508173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b15610604576105fd8383610bcf565b90506106ba565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061066957508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1561067f576106788383610bcf565b90506106ba565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b19061130a565b60405180910390fd5b92915050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072c90611398565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079a90611426565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161087d9190610fe1565b60405180910390a3505050565b5f6108958484610588565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461090f5781811015610901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f89061148e565b60405180910390fd5b61090e84848484036106c7565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097a9061151c565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e8906115aa565b60405180910390fd5b6109fc838383610c51565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7690611638565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610b0d9190611171565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b719190610fe1565b60405180910390a3610b84848484610e21565b50505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160315610e1c5760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e1b575f60405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115610d9657610d95611656565b5b85604051602001610da791906116e1565b6040516020818303038152906040525f6040518563ffffffff1660e01b8152600401610dd694939291906117ac565b6020604051808303815f875af1158015610df2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e169190611833565b905050505b5b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610e5d578082015181840152602081019050610e42565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610e8282610e26565b610e8c8185610e30565b9350610e9c818560208601610e40565b610ea581610e68565b840191505092915050565b5f6020820190508181035f830152610ec88184610e78565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610efd82610ed4565b9050919050565b610f0d81610ef3565b8114610f17575f80fd5b50565b5f81359050610f2881610f04565b92915050565b5f819050919050565b610f4081610f2e565b8114610f4a575f80fd5b50565b5f81359050610f5b81610f37565b92915050565b5f8060408385031215610f7757610f76610ed0565b5b5f610f8485828601610f1a565b9250506020610f9585828601610f4d565b9150509250929050565b5f8115159050919050565b610fb381610f9f565b82525050565b5f602082019050610fcc5f830184610faa565b92915050565b610fdb81610f2e565b82525050565b5f602082019050610ff45f830184610fd2565b92915050565b5f805f6060848603121561101157611010610ed0565b5b5f61101e86828701610f1a565b935050602061102f86828701610f1a565b925050604061104086828701610f4d565b9150509250925092565b5f60ff82169050919050565b61105f8161104a565b82525050565b5f6020820190506110785f830184611056565b92915050565b5f6020828403121561109357611092610ed0565b5b5f6110a084828501610f1a565b91505092915050565b5f80604083850312156110bf576110be610ed0565b5b5f6110cc85828601610f1a565b92505060206110dd85828601610f1a565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061112b57607f821691505b60208210810361113e5761113d6110e7565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61117b82610f2e565b915061118683610f2e565b925082820190508082111561119e5761119d611144565b5b92915050565b7f4e6f7420616c6c6f77656420746f2072656164207468652062616c616e6365005f82015250565b5f6111d8601f83610e30565b91506111e3826111a4565b602082019050919050565b5f6020820190508181035f830152611205816111cc565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f611266602583610e30565b91506112718261120c565b604082019050919050565b5f6020820190508181035f8301526112938161125a565b9050919050565b7f4e6f7420616c6c6f77656420746f20726561642074686520616c6c6f77616e635f8201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b5f6112f4602183610e30565b91506112ff8261129a565b604082019050919050565b5f6020820190508181035f830152611321816112e8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f611382602483610e30565b915061138d82611328565b604082019050919050565b5f6020820190508181035f8301526113af81611376565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f611410602283610e30565b915061141b826113b6565b604082019050919050565b5f6020820190508181035f83015261143d81611404565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f611478601d83610e30565b915061148382611444565b602082019050919050565b5f6020820190508181035f8301526114a58161146c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f611506602583610e30565b9150611511826114ac565b604082019050919050565b5f6020820190508181035f830152611533816114fa565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f611594602383610e30565b915061159f8261153a565b604082019050919050565b5f6020820190508181035f8301526115c181611588565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f611622602683610e30565b915061162d826115c8565b604082019050919050565b5f6020820190508181035f83015261164f81611616565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b61168c81610ef3565b82525050565b61169b81610f2e565b82525050565b606082015f8201516116b55f850182611683565b5060208201516116c86020850182611683565b5060408201516116db6040850182611692565b50505050565b5f6060820190506116f45f8301846116a1565b92915050565b5f63ffffffff82169050919050565b611712816116fa565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f61173c82611718565b6117468185611722565b9350611756818560208601610e40565b61175f81610e68565b840191505092915050565b5f819050919050565b5f819050919050565b5f61179661179161178c8461176a565b611773565b61104a565b9050919050565b6117a68161177c565b82525050565b5f6080820190506117bf5f830187611709565b6117cc6020830186611709565b81810360408301526117de8185611732565b90506117ed606083018461179d565b95945050505050565b5f67ffffffffffffffff82169050919050565b611812816117f6565b811461181c575f80fd5b50565b5f8151905061182d81611809565b92915050565b5f6020828403121561184857611847610ed0565b5b5f6118558482850161181f565b9150509291505056fea2646970667358221220eb982c9cc3f66d34a4db1596173dfe5e109c55160796f5322ab0816d6052516264736f6c63430008140033 \ No newline at end of file diff --git a/integration/erc20contract/generated/ObsERC20/ObsERC20.go b/integration/erc20contract/generated/ObsERC20/ObsERC20.go index f97eab4678..d55710bc78 100644 --- a/integration/erc20contract/generated/ObsERC20/ObsERC20.go +++ b/integration/erc20contract/generated/ObsERC20/ObsERC20.go @@ -26,12 +26,13 @@ var ( _ = common.Big1 _ = types.BloomLookup _ = event.NewSubscription + _ = abi.ConvertType ) // ObsERC20MetaData contains all meta data concerning the ObsERC20 contract. var ObsERC20MetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"initialSupply\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"busAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", - Bin: "0x608060405273deb34a740eca1ec42c8b8204cbec0ba34fdd27f3600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006657600080fd5b50604051620027213803806200272183398181016040528101906200008c9190620006a7565b838381600390816200009f919062000998565b508060049081620000b1919062000998565b505050620000c633836200011160201b60201c565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000de9565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000183576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017a9062000ae0565b60405180910390fd5b62000197600083836200028960201b60201c565b8060026000828254620001ab919062000b31565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000202919062000b31565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000269919062000b7d565b60405180910390a362000285600083836200046f60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603156200046a57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200046957600060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115620003d957620003d862000b9a565b5b85604051602001620003ec919062000c33565b60405160208183030381529060405260006040518563ffffffff1660e01b81526004016200041e949392919062000d1e565b6020604051808303816000875af11580156200043e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000464919062000db7565b905050505b5b505050565b505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004dd8262000492565b810181811067ffffffffffffffff82111715620004ff57620004fe620004a3565b5b80604052505050565b60006200051462000474565b9050620005228282620004d2565b919050565b600067ffffffffffffffff821115620005455762000544620004a3565b5b620005508262000492565b9050602081019050919050565b60005b838110156200057d57808201518184015260208101905062000560565b60008484015250505050565b6000620005a06200059a8462000527565b62000508565b905082815260208101848484011115620005bf57620005be6200048d565b5b620005cc8482856200055d565b509392505050565b600082601f830112620005ec57620005eb62000488565b5b8151620005fe84826020860162000589565b91505092915050565b6000819050919050565b6200061c8162000607565b81146200062857600080fd5b50565b6000815190506200063c8162000611565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200066f8262000642565b9050919050565b620006818162000662565b81146200068d57600080fd5b50565b600081519050620006a18162000676565b92915050565b60008060008060808587031215620006c457620006c36200047e565b5b600085015167ffffffffffffffff811115620006e557620006e462000483565b5b620006f387828801620005d4565b945050602085015167ffffffffffffffff81111562000717576200071662000483565b5b6200072587828801620005d4565b935050604062000738878288016200062b565b92505060606200074b8782880162000690565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007aa57607f821691505b602082108103620007c057620007bf62000762565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200082a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007eb565b620008368683620007eb565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000879620008736200086d8462000607565b6200084e565b62000607565b9050919050565b6000819050919050565b620008958362000858565b620008ad620008a48262000880565b848454620007f8565b825550505050565b600090565b620008c4620008b5565b620008d18184846200088a565b505050565b5b81811015620008f957620008ed600082620008ba565b600181019050620008d7565b5050565b601f82111562000948576200091281620007c6565b6200091d84620007db565b810160208510156200092d578190505b620009456200093c85620007db565b830182620008d6565b50505b505050565b600082821c905092915050565b60006200096d600019846008026200094d565b1980831691505092915050565b60006200098883836200095a565b9150826002028217905092915050565b620009a38262000757565b67ffffffffffffffff811115620009bf57620009be620004a3565b5b620009cb825462000791565b620009d8828285620008fd565b600060209050601f83116001811462000a105760008415620009fb578287015190505b62000a0785826200097a565b86555062000a77565b601f19841662000a2086620007c6565b60005b8281101562000a4a5784890151825560018201915060208501945060208101905062000a23565b8683101562000a6a578489015162000a66601f8916826200095a565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000ac8601f8362000a7f565b915062000ad58262000a90565b602082019050919050565b6000602082019050818103600083015262000afb8162000ab9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000b3e8262000607565b915062000b4b8362000607565b925082820190508082111562000b665762000b6562000b02565b5b92915050565b62000b778162000607565b82525050565b600060208201905062000b94600083018462000b6c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b62000bd48162000662565b82525050565b62000be58162000607565b82525050565b60608201600082015162000c03600085018262000bc9565b50602082015162000c18602085018262000bc9565b50604082015162000c2d604085018262000bda565b50505050565b600060608201905062000c4a600083018462000beb565b92915050565b600063ffffffff82169050919050565b62000c6b8162000c50565b82525050565b600081519050919050565b600082825260208201905092915050565b600062000c9a8262000c71565b62000ca6818562000c7c565b935062000cb88185602086016200055d565b62000cc38162000492565b840191505092915050565b6000819050919050565b600060ff82169050919050565b600062000d0662000d0062000cfa8462000cce565b6200084e565b62000cd8565b9050919050565b62000d188162000ce5565b82525050565b600060808201905062000d35600083018762000c60565b62000d44602083018662000c60565b818103604083015262000d58818562000c8d565b905062000d69606083018462000d0d565b95945050505050565b600067ffffffffffffffff82169050919050565b62000d918162000d72565b811462000d9d57600080fd5b50565b60008151905062000db18162000d86565b92915050565b60006020828403121562000dd05762000dcf6200047e565b5b600062000de08482850162000da0565b91505092915050565b6119288062000df96000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c39190610eeb565b60405180910390f35b6100e660048036038101906100e19190610fa6565b610308565b6040516100f39190611001565b60405180910390f35b61010461032b565b604051610111919061102b565b60405180910390f35b610134600480360381019061012f9190611046565b610335565b6040516101419190611001565b60405180910390f35b610152610364565b60405161015f91906110b5565b60405180910390f35b610182600480360381019061017d9190610fa6565b61036d565b60405161018f9190611001565b60405180910390f35b6101b260048036038101906101ad91906110d0565b6103a4565b6040516101bf919061102b565b60405180910390f35b6101d061046c565b6040516101dd9190610eeb565b60405180910390f35b61020060048036038101906101fb9190610fa6565b6104fe565b60405161020d9190611001565b60405180910390f35b610230600480360381019061022b9190610fa6565b610575565b60405161023d9190611001565b60405180910390f35b610260600480360381019061025b91906110fd565b610598565b60405161026d919061102b565b60405180910390f35b6060600380546102859061116c565b80601f01602080910402602001604051908101604052809291908181526020018280546102b19061116c565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b6000806103136106d1565b90506103208185856106d9565b600191505092915050565b6000600254905090565b6000806103406106d1565b905061034d8582856108a2565b61035885858561092e565b60019150509392505050565b60006012905090565b6000806103786106d1565b905061039981858561038a8589610598565b61039491906111cc565b6106d9565b600191505092915050565b60008173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16036103e9576103e282610bad565b9050610467565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff160361042c5761042582610bad565b9050610467565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045e9061124c565b60405180910390fd5b919050565b60606004805461047b9061116c565b80601f01602080910402602001604051908101604052809291908181526020018280546104a79061116c565b80156104f45780601f106104c9576101008083540402835291602001916104f4565b820191906000526020600020905b8154815290600101906020018083116104d757829003601f168201915b5050505050905090565b6000806105096106d1565b905060006105178286610598565b90508381101561055c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610553906112de565b60405180910390fd5b61056982868684036106d9565b60019250505092915050565b6000806105806106d1565b905061058d81858561092e565b600191505092915050565b60008273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614806105ff57508173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b156106155761060e8383610bf5565b90506106cb565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061067a57508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b15610690576106898383610bf5565b90506106cb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c290611370565b60405180910390fd5b92915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073f90611402565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ae90611494565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610895919061102b565b60405180910390a3505050565b60006108ae8484610598565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610928578181101561091a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091190611500565b60405180910390fd5b61092784848484036106d9565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490611592565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0390611624565b60405180910390fd5b610a17838383610c7c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a94906116b6565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b3091906111cc565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b94919061102b565b60405180910390a3610ba7848484610e56565b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160315610e5157600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e5057600060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115610dc757610dc66116d6565b5b85604051602001610dd89190611765565b60405160208183030381529060405260006040518563ffffffff1660e01b8152600401610e089493929190611839565b6020604051808303816000875af1158015610e27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4b91906118c5565b905050505b5b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e95578082015181840152602081019050610e7a565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ebd82610e5b565b610ec78185610e66565b9350610ed7818560208601610e77565b610ee081610ea1565b840191505092915050565b60006020820190508181036000830152610f058184610eb2565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f3d82610f12565b9050919050565b610f4d81610f32565b8114610f5857600080fd5b50565b600081359050610f6a81610f44565b92915050565b6000819050919050565b610f8381610f70565b8114610f8e57600080fd5b50565b600081359050610fa081610f7a565b92915050565b60008060408385031215610fbd57610fbc610f0d565b5b6000610fcb85828601610f5b565b9250506020610fdc85828601610f91565b9150509250929050565b60008115159050919050565b610ffb81610fe6565b82525050565b60006020820190506110166000830184610ff2565b92915050565b61102581610f70565b82525050565b6000602082019050611040600083018461101c565b92915050565b60008060006060848603121561105f5761105e610f0d565b5b600061106d86828701610f5b565b935050602061107e86828701610f5b565b925050604061108f86828701610f91565b9150509250925092565b600060ff82169050919050565b6110af81611099565b82525050565b60006020820190506110ca60008301846110a6565b92915050565b6000602082840312156110e6576110e5610f0d565b5b60006110f484828501610f5b565b91505092915050565b6000806040838503121561111457611113610f0d565b5b600061112285828601610f5b565b925050602061113385828601610f5b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061118457607f821691505b6020821081036111975761119661113d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006111d782610f70565b91506111e283610f70565b92508282019050808211156111fa576111f961119d565b5b92915050565b7f4e6f7420616c6c6f77656420746f2072656164207468652062616c616e636500600082015250565b6000611236601f83610e66565b915061124182611200565b602082019050919050565b6000602082019050818103600083015261126581611229565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006112c8602583610e66565b91506112d38261126c565b604082019050919050565b600060208201905081810360008301526112f7816112bb565b9050919050565b7f4e6f7420616c6c6f77656420746f20726561642074686520616c6c6f77616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061135a602183610e66565b9150611365826112fe565b604082019050919050565b600060208201905081810360008301526113898161134d565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006113ec602483610e66565b91506113f782611390565b604082019050919050565b6000602082019050818103600083015261141b816113df565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061147e602283610e66565b915061148982611422565b604082019050919050565b600060208201905081810360008301526114ad81611471565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006114ea601d83610e66565b91506114f5826114b4565b602082019050919050565b60006020820190508181036000830152611519816114dd565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061157c602583610e66565b915061158782611520565b604082019050919050565b600060208201905081810360008301526115ab8161156f565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061160e602383610e66565b9150611619826115b2565b604082019050919050565b6000602082019050818103600083015261163d81611601565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006116a0602683610e66565b91506116ab82611644565b604082019050919050565b600060208201905081810360008301526116cf81611693565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b61170e81610f32565b82525050565b61171d81610f70565b82525050565b6060820160008201516117396000850182611705565b50602082015161174c6020850182611705565b50604082015161175f6040850182611714565b50505050565b600060608201905061177a6000830184611723565b92915050565b600063ffffffff82169050919050565b61179981611780565b82525050565b600081519050919050565b600082825260208201905092915050565b60006117c68261179f565b6117d081856117aa565b93506117e0818560208601610e77565b6117e981610ea1565b840191505092915050565b6000819050919050565b6000819050919050565b600061182361181e611819846117f4565b6117fe565b611099565b9050919050565b61183381611808565b82525050565b600060808201905061184e6000830187611790565b61185b6020830186611790565b818103604083015261186d81856117bb565b905061187c606083018461182a565b95945050505050565b600067ffffffffffffffff82169050919050565b6118a281611885565b81146118ad57600080fd5b50565b6000815190506118bf81611899565b92915050565b6000602082840312156118db576118da610f0d565b5b60006118e9848285016118b0565b9150509291505056fea264697066735822122070ad4a48d579576c33a29850a9848b40de3c6338ef1a92a842bff6fbaacae06764736f6c63430008110033", + Bin: "0x6080604052730a0aaf0a52a9fdd0b034fe9031a4880dbdc1c48060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801562000064575f80fd5b506040516200262a3803806200262a83398181016040528101906200008a91906200067d565b838381600390816200009d919062000958565b508060049081620000af919062000958565b505050620000c433836200010e60201b60201c565b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000d88565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200017f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001769062000a9a565b60405180910390fd5b620001925f83836200027e60201b60201c565b8060025f828254620001a5919062000ae7565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254620001f9919062000ae7565b925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200025f919062000b32565b60405180910390a36200027a5f83836200045a60201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160315620004555760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000454575f60405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115620003c857620003c762000b4d565b5b85604051602001620003db919062000be2565b6040516020818303038152906040525f6040518563ffffffff1660e01b81526004016200040c949392919062000cc4565b6020604051808303815f875af115801562000429573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200044f919062000d58565b905050505b5b505050565b505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620004c08262000478565b810181811067ffffffffffffffff82111715620004e257620004e162000488565b5b80604052505050565b5f620004f66200045f565b9050620005048282620004b5565b919050565b5f67ffffffffffffffff82111562000526576200052562000488565b5b620005318262000478565b9050602081019050919050565b5f5b838110156200055d57808201518184015260208101905062000540565b5f8484015250505050565b5f6200057e620005788462000509565b620004eb565b9050828152602081018484840111156200059d576200059c62000474565b5b620005aa8482856200053e565b509392505050565b5f82601f830112620005c957620005c862000470565b5b8151620005db84826020860162000568565b91505092915050565b5f819050919050565b620005f881620005e4565b811462000603575f80fd5b50565b5f815190506200061681620005ed565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000647826200061c565b9050919050565b62000659816200063b565b811462000664575f80fd5b50565b5f8151905062000677816200064e565b92915050565b5f805f806080858703121562000698576200069762000468565b5b5f85015167ffffffffffffffff811115620006b857620006b76200046c565b5b620006c687828801620005b2565b945050602085015167ffffffffffffffff811115620006ea57620006e96200046c565b5b620006f887828801620005b2565b93505060406200070b8782880162000606565b92505060606200071e8782880162000667565b91505092959194509250565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200077957607f821691505b6020821081036200078f576200078e62000734565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620007f37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007b6565b620007ff8683620007b6565b95508019841693508086168417925050509392505050565b5f819050919050565b5f620008406200083a6200083484620005e4565b62000817565b620005e4565b9050919050565b5f819050919050565b6200085b8362000820565b620008736200086a8262000847565b848454620007c2565b825550505050565b5f90565b620008896200087b565b6200089681848462000850565b505050565b5b81811015620008bd57620008b15f826200087f565b6001810190506200089c565b5050565b601f8211156200090c57620008d68162000795565b620008e184620007a7565b81016020851015620008f1578190505b620009096200090085620007a7565b8301826200089b565b50505b505050565b5f82821c905092915050565b5f6200092e5f198460080262000911565b1980831691505092915050565b5f6200094883836200091d565b9150826002028217905092915050565b62000963826200072a565b67ffffffffffffffff8111156200097f576200097e62000488565b5b6200098b825462000761565b62000998828285620008c1565b5f60209050601f831160018114620009ce575f8415620009b9578287015190505b620009c585826200093b565b86555062000a34565b601f198416620009de8662000795565b5f5b8281101562000a0757848901518255600182019150602085019450602081019050620009e0565b8683101562000a27578489015162000a23601f8916826200091d565b8355505b6001600288020188555050505b505050505050565b5f82825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f62000a82601f8362000a3c565b915062000a8f8262000a4c565b602082019050919050565b5f6020820190508181035f83015262000ab38162000a74565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f62000af382620005e4565b915062000b0083620005e4565b925082820190508082111562000b1b5762000b1a62000aba565b5b92915050565b62000b2c81620005e4565b82525050565b5f60208201905062000b475f83018462000b21565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b62000b85816200063b565b82525050565b62000b9681620005e4565b82525050565b606082015f82015162000bb25f85018262000b7a565b50602082015162000bc7602085018262000b7a565b50604082015162000bdc604085018262000b8b565b50505050565b5f60608201905062000bf75f83018462000b9c565b92915050565b5f63ffffffff82169050919050565b62000c178162000bfd565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f62000c438262000c1d565b62000c4f818562000c27565b935062000c618185602086016200053e565b62000c6c8162000478565b840191505092915050565b5f819050919050565b5f60ff82169050919050565b5f62000cac62000ca662000ca08462000c77565b62000817565b62000c80565b9050919050565b62000cbe8162000c8c565b82525050565b5f60808201905062000cd95f83018762000c0c565b62000ce8602083018662000c0c565b818103604083015262000cfc818562000c37565b905062000d0d606083018462000cb3565b95945050505050565b5f67ffffffffffffffff82169050919050565b62000d348162000d16565b811462000d3f575f80fd5b50565b5f8151905062000d528162000d29565b92915050565b5f6020828403121562000d705762000d6f62000468565b5b5f62000d7f8482850162000d42565b91505092915050565b6118948062000d965f395ff3fe608060405234801561000f575f80fd5b50600436106100a7575f3560e01c8063395093511161006f578063395093511461016557806370a082311461019557806395d89b41146101c5578063a457c2d7146101e3578063a9059cbb14610213578063dd62ed3e14610243576100a7565b806306fdde03146100ab578063095ea7b3146100c957806318160ddd146100f957806323b872dd14610117578063313ce56714610147575b5f80fd5b6100b3610273565b6040516100c09190610eb0565b60405180910390f35b6100e360048036038101906100de9190610f61565b610303565b6040516100f09190610fb9565b60405180910390f35b610101610325565b60405161010e9190610fe1565b60405180910390f35b610131600480360381019061012c9190610ffa565b61032e565b60405161013e9190610fb9565b60405180910390f35b61014f61035c565b60405161015c9190611065565b60405180910390f35b61017f600480360381019061017a9190610f61565b610364565b60405161018c9190610fb9565b60405180910390f35b6101af60048036038101906101aa919061107e565b61039a565b6040516101bc9190610fe1565b60405180910390f35b6101cd610461565b6040516101da9190610eb0565b60405180910390f35b6101fd60048036038101906101f89190610f61565b6104f1565b60405161020a9190610fb9565b60405180910390f35b61022d60048036038101906102289190610f61565b610566565b60405161023a9190610fb9565b60405180910390f35b61025d600480360381019061025891906110a9565b610588565b60405161026a9190610fe1565b60405180910390f35b60606003805461028290611114565b80601f01602080910402602001604051908101604052809291908181526020018280546102ae90611114565b80156102f95780601f106102d0576101008083540402835291602001916102f9565b820191905f5260205f20905b8154815290600101906020018083116102dc57829003601f168201915b5050505050905090565b5f8061030d6106c0565b905061031a8185856106c7565b600191505092915050565b5f600254905090565b5f806103386106c0565b905061034585828561088a565b610350858585610915565b60019150509392505050565b5f6012905090565b5f8061036e6106c0565b905061038f8185856103808589610588565b61038a9190611171565b6106c7565b600191505092915050565b5f8173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16036103de576103d782610b8a565b905061045c565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036104215761041a82610b8a565b905061045c565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610453906111ee565b60405180910390fd5b919050565b60606004805461047090611114565b80601f016020809104026020016040519081016040528092919081815260200182805461049c90611114565b80156104e75780601f106104be576101008083540402835291602001916104e7565b820191905f5260205f20905b8154815290600101906020018083116104ca57829003601f168201915b5050505050905090565b5f806104fb6106c0565b90505f6105088286610588565b90508381101561054d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105449061127c565b60405180910390fd5b61055a82868684036106c7565b60019250505092915050565b5f806105706106c0565b905061057d818585610915565b600191505092915050565b5f8273ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614806105ee57508173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16145b15610604576105fd8383610bcf565b90506106ba565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061066957508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1561067f576106788383610bcf565b90506106ba565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b19061130a565b60405180910390fd5b92915050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072c90611398565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079a90611426565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161087d9190610fe1565b60405180910390a3505050565b5f6108958484610588565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461090f5781811015610901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f89061148e565b60405180910390fd5b61090e84848484036106c7565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097a9061151c565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e8906115aa565b60405180910390fd5b6109fc838383610c51565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7690611638565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610b0d9190611171565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b719190610fe1565b60405180910390a3610b84848484610e21565b50505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160315610e1c5760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e1b575f60405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381525090505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b1454caa43600180811115610d9657610d95611656565b5b85604051602001610da791906116e1565b6040516020818303038152906040525f6040518563ffffffff1660e01b8152600401610dd694939291906117ac565b6020604051808303815f875af1158015610df2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e169190611833565b905050505b5b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610e5d578082015181840152602081019050610e42565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610e8282610e26565b610e8c8185610e30565b9350610e9c818560208601610e40565b610ea581610e68565b840191505092915050565b5f6020820190508181035f830152610ec88184610e78565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610efd82610ed4565b9050919050565b610f0d81610ef3565b8114610f17575f80fd5b50565b5f81359050610f2881610f04565b92915050565b5f819050919050565b610f4081610f2e565b8114610f4a575f80fd5b50565b5f81359050610f5b81610f37565b92915050565b5f8060408385031215610f7757610f76610ed0565b5b5f610f8485828601610f1a565b9250506020610f9585828601610f4d565b9150509250929050565b5f8115159050919050565b610fb381610f9f565b82525050565b5f602082019050610fcc5f830184610faa565b92915050565b610fdb81610f2e565b82525050565b5f602082019050610ff45f830184610fd2565b92915050565b5f805f6060848603121561101157611010610ed0565b5b5f61101e86828701610f1a565b935050602061102f86828701610f1a565b925050604061104086828701610f4d565b9150509250925092565b5f60ff82169050919050565b61105f8161104a565b82525050565b5f6020820190506110785f830184611056565b92915050565b5f6020828403121561109357611092610ed0565b5b5f6110a084828501610f1a565b91505092915050565b5f80604083850312156110bf576110be610ed0565b5b5f6110cc85828601610f1a565b92505060206110dd85828601610f1a565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061112b57607f821691505b60208210810361113e5761113d6110e7565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61117b82610f2e565b915061118683610f2e565b925082820190508082111561119e5761119d611144565b5b92915050565b7f4e6f7420616c6c6f77656420746f2072656164207468652062616c616e6365005f82015250565b5f6111d8601f83610e30565b91506111e3826111a4565b602082019050919050565b5f6020820190508181035f830152611205816111cc565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f611266602583610e30565b91506112718261120c565b604082019050919050565b5f6020820190508181035f8301526112938161125a565b9050919050565b7f4e6f7420616c6c6f77656420746f20726561642074686520616c6c6f77616e635f8201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b5f6112f4602183610e30565b91506112ff8261129a565b604082019050919050565b5f6020820190508181035f830152611321816112e8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f611382602483610e30565b915061138d82611328565b604082019050919050565b5f6020820190508181035f8301526113af81611376565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f611410602283610e30565b915061141b826113b6565b604082019050919050565b5f6020820190508181035f83015261143d81611404565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f611478601d83610e30565b915061148382611444565b602082019050919050565b5f6020820190508181035f8301526114a58161146c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f611506602583610e30565b9150611511826114ac565b604082019050919050565b5f6020820190508181035f830152611533816114fa565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f611594602383610e30565b915061159f8261153a565b604082019050919050565b5f6020820190508181035f8301526115c181611588565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f611622602683610e30565b915061162d826115c8565b604082019050919050565b5f6020820190508181035f83015261164f81611616565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b61168c81610ef3565b82525050565b61169b81610f2e565b82525050565b606082015f8201516116b55f850182611683565b5060208201516116c86020850182611683565b5060408201516116db6040850182611692565b50505050565b5f6060820190506116f45f8301846116a1565b92915050565b5f63ffffffff82169050919050565b611712816116fa565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f61173c82611718565b6117468185611722565b9350611756818560208601610e40565b61175f81610e68565b840191505092915050565b5f819050919050565b5f819050919050565b5f61179661179161178c8461176a565b611773565b61104a565b9050919050565b6117a68161177c565b82525050565b5f6080820190506117bf5f830187611709565b6117cc6020830186611709565b81810360408301526117de8185611732565b90506117ed606083018461179d565b95945050505050565b5f67ffffffffffffffff82169050919050565b611812816117f6565b811461181c575f80fd5b50565b5f8151905061182d81611809565b92915050565b5f6020828403121561184857611847610ed0565b5b5f6118558482850161181f565b9150509291505056fea2646970667358221220eb982c9cc3f66d34a4db1596173dfe5e109c55160796f5322ab0816d6052516264736f6c63430008140033", } // ObsERC20ABI is the input ABI used to generate the binding from. @@ -156,11 +157,11 @@ func NewObsERC20Filterer(address common.Address, filterer bind.ContractFilterer) // bindObsERC20 binds a generic wrapper to an already deployed contract. func bindObsERC20(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { - parsed, err := abi.JSON(strings.NewReader(ObsERC20ABI)) + parsed, err := ObsERC20MetaData.GetAbi() if err != nil { return nil, err } - return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil + return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil } // Call invokes the (constant) contract method with params as input values and diff --git a/integration/simulation/transaction_injector.go b/integration/simulation/transaction_injector.go index 0b1a3ce907..a208c21ea8 100644 --- a/integration/simulation/transaction_injector.go +++ b/integration/simulation/transaction_injector.go @@ -149,6 +149,11 @@ func (ti *TransactionInjector) Start() { return nil }) + wg.Go(func() error { + ti.issueRandomL2toL1Messages() + return nil + }) + wg.Go(func() error { ti.issueRandomValueTransfers() return nil @@ -236,7 +241,6 @@ func (ti *TransactionInjector) issueRandomTransfers() { if err != nil { ti.logger.Info("Failed to issue transfer via RPC.", log.ErrKey, err) } - // todo (@pedro) - retrieve receipt go ti.TxTracker.trackTransferL2Tx(signedTx) @@ -244,6 +248,28 @@ func (ti *TransactionInjector) issueRandomTransfers() { } } +func (ti *TransactionInjector) issueRandomL2toL1Messages() { + for txCounter := 0; ti.shouldKeepIssuing(txCounter); txCounter++ { + fromWallet := ti.rndObsWallet() + toWallet := gethcommon.HexToAddress("0x0a0Aaf0A52a9FDD0b034fe9031A4880dBDC1c480") + obscuroClient := ti.rpcHandles.ObscuroWalletRndClient(fromWallet) + + tx := ti.newObscuroTransferTx(fromWallet, toWallet, testcommon.RndBtw(1, 500), testcommon.HOC) + tx = obscuroClient.EstimateGasAndGasPrice(tx) + signedTx, err := fromWallet.SignTransaction(tx) + if err != nil { + panic(err) + } + + err = obscuroClient.SendTransaction(ti.ctx, signedTx) + if err != nil { + ti.logger.Info("Failed to issue transfer via RPC.", log.ErrKey, err) + } + + sleepRndBtw(ti.avgBlockDuration/100, ti.avgBlockDuration/20) + } +} + func (ti *TransactionInjector) bridgeRandomGasTransfers() { gasWallet := ti.wallets.GasBridgeWallet @@ -315,6 +341,7 @@ func (ti *TransactionInjector) issueRandomDeposits() { } else { go ti.TxTracker.trackTransferL2Tx(signedTx) } + // todo (@pedro) - retrieve receipt sleepRndBtw(ti.avgBlockDuration/3, ti.avgBlockDuration) diff --git a/integration/simulation/validate_chain.go b/integration/simulation/validate_chain.go index 91d417472b..6192991d74 100644 --- a/integration/simulation/validate_chain.go +++ b/integration/simulation/validate_chain.go @@ -384,10 +384,11 @@ func checkBlockchainOfObscuroNode(t *testing.T, rpcHandles *network.RPCHandles, totalSuccessfullyWithdrawn := extractWithdrawals(t, obscuroClient, nodeIdx) + /* -- this doesn't work anymore; gas bridging has replaced it. totalAmountLogged := getLoggedWithdrawals(minObscuroHeight, obscuroClient, headBatchHeader) if totalAmountLogged.Cmp(totalSuccessfullyWithdrawn) != 0 { t.Errorf("Node %d: Logged withdrawals do not match!", nodeIdx) - } + } */ injectorDepositedAmt := big.NewInt(0) for _, tx := range s.TxInjector.TxTracker.GetL1Transactions() {