From 78f19be1189185e593c63ae6f5ec4b10ab12ba9f Mon Sep 17 00:00:00 2001 From: lumtis Date: Wed, 6 Nov 2024 10:46:20 +0100 Subject: [PATCH] increase gas use --- pkg/contracts/testdappv2/TestDAppV2.bin | 2 +- pkg/contracts/testdappv2/TestDAppV2.go | 2 +- pkg/contracts/testdappv2/TestDAppV2.json | 2 +- pkg/contracts/testdappv2/TestDAppV2.sol | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/contracts/testdappv2/TestDAppV2.bin b/pkg/contracts/testdappv2/TestDAppV2.bin index ad8cb15968..9982f9d180 100644 --- a/pkg/contracts/testdappv2/TestDAppV2.bin +++ b/pkg/contracts/testdappv2/TestDAppV2.bin @@ -1 +1 @@ -6080604052348015600f57600080fd5b506116428061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c40565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cbf565b610385565b60405161012f9190610d05565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e2e565b61039d565b005b61017b60048036038101906101769190610ef1565b61048b565b6040516101889190610fd0565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c40565b61059d565b6040516101c59190610d05565b60405180910390f35b6101e860048036038101906101e39190610c40565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ff2565b610609565b60405161021e9190611074565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110d4565b610669565b005b34801561025c57600080fd5b5061026561071d565b6040516102729190611074565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d9190611162565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cbf565b610890565b6040516102d891906111c6565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c40565b6108b0565b60405161031591906111c6565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190611282565b610900565b60405161035291906112da565b60405180910390f35b61036481610949565b1561036e57600080fd5b6103778161099f565b6103828160006109f3565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610949565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ff2565b610609565b5b9050610470610a35565b6104798161099f565b61048381856109f3565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ff2565b610609565b5b905061050a8161099f565b61051481346109f3565b8460000160208101906105279190610ff2565b6002826040516105379190611331565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b49190611384565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610949565b156105f357600080fd5b6105fc8161099f565b61060681346109f3565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113e3565b6040516020818303038152906040529050919050565b61067281610949565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b99392919061140b565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc919061146e565b61070557600080fd5b61070e8161099f565b61071881836109f3565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b6107b181806060019061076991906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061099f565b61080e8180606001906107c491906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109f3565b8060000160208101906108219190610ff2565b600282806060019061083391906114aa565b604051610841929190611532565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108c79190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405160200161095a90611597565b60405160208183030381529060405280519060200120826040516020016109819190611384565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109b59190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a099190611384565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000620f424090506000614e20905060008183610a5291906115db565b905060005b81811015610a955760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a57565b50600080610aa39190610aa8565b505050565b5080546000825590600052602060002090810190610ac69190610ac9565b50565b5b80821115610ae2576000816000905550600101610aca565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b4d82610b04565b810181811067ffffffffffffffff82111715610b6c57610b6b610b15565b5b80604052505050565b6000610b7f610ae6565b9050610b8b8282610b44565b919050565b600067ffffffffffffffff821115610bab57610baa610b15565b5b610bb482610b04565b9050602081019050919050565b82818337600083830152505050565b6000610be3610bde84610b90565b610b75565b905082815260208101848484011115610bff57610bfe610aff565b5b610c0a848285610bc1565b509392505050565b600082601f830112610c2757610c26610afa565b5b8135610c37848260208601610bd0565b91505092915050565b600060208284031215610c5657610c55610af0565b5b600082013567ffffffffffffffff811115610c7457610c73610af5565b5b610c8084828501610c12565b91505092915050565b6000819050919050565b610c9c81610c89565b8114610ca757600080fd5b50565b600081359050610cb981610c93565b92915050565b600060208284031215610cd557610cd4610af0565b5b6000610ce384828501610caa565b91505092915050565b6000819050919050565b610cff81610cec565b82525050565b6000602082019050610d1a6000830184610cf6565b92915050565b600080fd5b600060608284031215610d3b57610d3a610d20565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d6f82610d44565b9050919050565b610d7f81610d64565b8114610d8a57600080fd5b50565b600081359050610d9c81610d76565b92915050565b610dab81610cec565b8114610db657600080fd5b50565b600081359050610dc881610da2565b92915050565b600080fd5b600080fd5b60008083601f840112610dee57610ded610afa565b5b8235905067ffffffffffffffff811115610e0b57610e0a610dce565b5b602083019150836001820283011115610e2757610e26610dd3565b5b9250929050565b600080600080600060808688031215610e4a57610e49610af0565b5b600086013567ffffffffffffffff811115610e6857610e67610af5565b5b610e7488828901610d25565b9550506020610e8588828901610d8d565b9450506040610e9688828901610db9565b935050606086013567ffffffffffffffff811115610eb757610eb6610af5565b5b610ec388828901610dd8565b92509250509295509295909350565b600060208284031215610ee857610ee7610d20565b5b81905092915050565b600080600060408486031215610f0a57610f09610af0565b5b6000610f1886828701610ed2565b935050602084013567ffffffffffffffff811115610f3957610f38610af5565b5b610f4586828701610dd8565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f8b578082015181840152602081019050610f70565b60008484015250505050565b6000610fa282610f51565b610fac8185610f5c565b9350610fbc818560208601610f6d565b610fc581610b04565b840191505092915050565b60006020820190508181036000830152610fea8184610f97565b905092915050565b60006020828403121561100857611007610af0565b5b600061101684828501610d8d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60006110468261101f565b611050818561102a565b9350611060818560208601610f6d565b61106981610b04565b840191505092915050565b6000602082019050818103600083015261108e818461103b565b905092915050565b60006110a182610d64565b9050919050565b6110b181611096565b81146110bc57600080fd5b50565b6000813590506110ce816110a8565b92915050565b6000806000606084860312156110ed576110ec610af0565b5b60006110fb868287016110bf565b935050602061110c86828701610db9565b925050604084013567ffffffffffffffff81111561112d5761112c610af5565b5b61113986828701610c12565b9150509250925092565b60006080828403121561115957611158610d20565b5b81905092915050565b60006020828403121561117857611177610af0565b5b600082013567ffffffffffffffff81111561119657611195610af5565b5b6111a284828501611143565b91505092915050565b60008115159050919050565b6111c0816111ab565b82525050565b60006020820190506111db60008301846111b7565b92915050565b600067ffffffffffffffff8211156111fc576111fb610b15565b5b61120582610b04565b9050602081019050919050565b6000611225611220846111e1565b610b75565b90508281526020810184848401111561124157611240610aff565b5b61124c848285610bc1565b509392505050565b600082601f83011261126957611268610afa565b5b8135611279848260208601611212565b91505092915050565b60006020828403121561129857611297610af0565b5b600082013567ffffffffffffffff8111156112b6576112b5610af5565b5b6112c284828501611254565b91505092915050565b6112d481610d64565b82525050565b60006020820190506112ef60008301846112cb565b92915050565b600081905092915050565b600061130b82610f51565b61131581856112f5565b9350611325818560208601610f6d565b80840191505092915050565b600061133d8284611300565b915081905092915050565b600081905092915050565b600061135e8261101f565b6113688185611348565b9350611378818560208601610f6d565b80840191505092915050565b60006113908284611353565b915081905092915050565b60008160601b9050919050565b60006113b38261139b565b9050919050565b60006113c5826113a8565b9050919050565b6113dd6113d882610d64565b6113ba565b82525050565b60006113ef8285611353565b91506113fb82846113cc565b6014820191508190509392505050565b600060608201905061142060008301866112cb565b61142d60208301856112cb565b61143a6040830184610cf6565b949350505050565b61144b816111ab565b811461145657600080fd5b50565b60008151905061146881611442565b92915050565b60006020828403121561148457611483610af0565b5b600061149284828501611459565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114c7576114c661149b565b5b80840192508235915067ffffffffffffffff8211156114e9576114e86114a0565b5b602083019250600182023603831315611505576115046114a5565b5b509250929050565b600061151983856112f5565b9350611526838584610bc1565b82840190509392505050565b600061153f82848661150d565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611581600683611348565b915061158c8261154b565b600682019050919050565b60006115a282611574565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115e682610cec565b91506115f183610cec565b925082611601576116006115ac565b5b82820490509291505056fea2646970667358221220f5b3c00d7aa6240e25320f8d257c0f521ea258c038ba683320718ff6020b284d64736f6c634300081a0033 +6080604052348015600f57600080fd5b506116428061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c40565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cbf565b610385565b60405161012f9190610d05565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e2e565b61039d565b005b61017b60048036038101906101769190610ef1565b61048b565b6040516101889190610fd0565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c40565b61059d565b6040516101c59190610d05565b60405180910390f35b6101e860048036038101906101e39190610c40565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ff2565b610609565b60405161021e9190611074565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110d4565b610669565b005b34801561025c57600080fd5b5061026561071d565b6040516102729190611074565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d9190611162565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cbf565b610890565b6040516102d891906111c6565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c40565b6108b0565b60405161031591906111c6565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190611282565b610900565b60405161035291906112da565b60405180910390f35b61036481610949565b1561036e57600080fd5b6103778161099f565b6103828160006109f3565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610949565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ff2565b610609565b5b9050610470610a35565b6104798161099f565b61048381856109f3565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ff2565b610609565b5b905061050a8161099f565b61051481346109f3565b8460000160208101906105279190610ff2565b6002826040516105379190611331565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b49190611384565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610949565b156105f357600080fd5b6105fc8161099f565b61060681346109f3565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113e3565b6040516020818303038152906040529050919050565b61067281610949565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b99392919061140b565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc919061146e565b61070557600080fd5b61070e8161099f565b61071881836109f3565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b6107b181806060019061076991906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061099f565b61080e8180606001906107c491906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109f3565b8060000160208101906108219190610ff2565b600282806060019061083391906114aa565b604051610841929190611532565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108c79190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405160200161095a90611597565b60405160208183030381529060405280519060200120826040516020016109819190611384565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109b59190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a099190611384565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000621e848090506000614e20905060008183610a5291906115db565b905060005b81811015610a955760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a57565b50600080610aa39190610aa8565b505050565b5080546000825590600052602060002090810190610ac69190610ac9565b50565b5b80821115610ae2576000816000905550600101610aca565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b4d82610b04565b810181811067ffffffffffffffff82111715610b6c57610b6b610b15565b5b80604052505050565b6000610b7f610ae6565b9050610b8b8282610b44565b919050565b600067ffffffffffffffff821115610bab57610baa610b15565b5b610bb482610b04565b9050602081019050919050565b82818337600083830152505050565b6000610be3610bde84610b90565b610b75565b905082815260208101848484011115610bff57610bfe610aff565b5b610c0a848285610bc1565b509392505050565b600082601f830112610c2757610c26610afa565b5b8135610c37848260208601610bd0565b91505092915050565b600060208284031215610c5657610c55610af0565b5b600082013567ffffffffffffffff811115610c7457610c73610af5565b5b610c8084828501610c12565b91505092915050565b6000819050919050565b610c9c81610c89565b8114610ca757600080fd5b50565b600081359050610cb981610c93565b92915050565b600060208284031215610cd557610cd4610af0565b5b6000610ce384828501610caa565b91505092915050565b6000819050919050565b610cff81610cec565b82525050565b6000602082019050610d1a6000830184610cf6565b92915050565b600080fd5b600060608284031215610d3b57610d3a610d20565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d6f82610d44565b9050919050565b610d7f81610d64565b8114610d8a57600080fd5b50565b600081359050610d9c81610d76565b92915050565b610dab81610cec565b8114610db657600080fd5b50565b600081359050610dc881610da2565b92915050565b600080fd5b600080fd5b60008083601f840112610dee57610ded610afa565b5b8235905067ffffffffffffffff811115610e0b57610e0a610dce565b5b602083019150836001820283011115610e2757610e26610dd3565b5b9250929050565b600080600080600060808688031215610e4a57610e49610af0565b5b600086013567ffffffffffffffff811115610e6857610e67610af5565b5b610e7488828901610d25565b9550506020610e8588828901610d8d565b9450506040610e9688828901610db9565b935050606086013567ffffffffffffffff811115610eb757610eb6610af5565b5b610ec388828901610dd8565b92509250509295509295909350565b600060208284031215610ee857610ee7610d20565b5b81905092915050565b600080600060408486031215610f0a57610f09610af0565b5b6000610f1886828701610ed2565b935050602084013567ffffffffffffffff811115610f3957610f38610af5565b5b610f4586828701610dd8565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f8b578082015181840152602081019050610f70565b60008484015250505050565b6000610fa282610f51565b610fac8185610f5c565b9350610fbc818560208601610f6d565b610fc581610b04565b840191505092915050565b60006020820190508181036000830152610fea8184610f97565b905092915050565b60006020828403121561100857611007610af0565b5b600061101684828501610d8d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60006110468261101f565b611050818561102a565b9350611060818560208601610f6d565b61106981610b04565b840191505092915050565b6000602082019050818103600083015261108e818461103b565b905092915050565b60006110a182610d64565b9050919050565b6110b181611096565b81146110bc57600080fd5b50565b6000813590506110ce816110a8565b92915050565b6000806000606084860312156110ed576110ec610af0565b5b60006110fb868287016110bf565b935050602061110c86828701610db9565b925050604084013567ffffffffffffffff81111561112d5761112c610af5565b5b61113986828701610c12565b9150509250925092565b60006080828403121561115957611158610d20565b5b81905092915050565b60006020828403121561117857611177610af0565b5b600082013567ffffffffffffffff81111561119657611195610af5565b5b6111a284828501611143565b91505092915050565b60008115159050919050565b6111c0816111ab565b82525050565b60006020820190506111db60008301846111b7565b92915050565b600067ffffffffffffffff8211156111fc576111fb610b15565b5b61120582610b04565b9050602081019050919050565b6000611225611220846111e1565b610b75565b90508281526020810184848401111561124157611240610aff565b5b61124c848285610bc1565b509392505050565b600082601f83011261126957611268610afa565b5b8135611279848260208601611212565b91505092915050565b60006020828403121561129857611297610af0565b5b600082013567ffffffffffffffff8111156112b6576112b5610af5565b5b6112c284828501611254565b91505092915050565b6112d481610d64565b82525050565b60006020820190506112ef60008301846112cb565b92915050565b600081905092915050565b600061130b82610f51565b61131581856112f5565b9350611325818560208601610f6d565b80840191505092915050565b600061133d8284611300565b915081905092915050565b600081905092915050565b600061135e8261101f565b6113688185611348565b9350611378818560208601610f6d565b80840191505092915050565b60006113908284611353565b915081905092915050565b60008160601b9050919050565b60006113b38261139b565b9050919050565b60006113c5826113a8565b9050919050565b6113dd6113d882610d64565b6113ba565b82525050565b60006113ef8285611353565b91506113fb82846113cc565b6014820191508190509392505050565b600060608201905061142060008301866112cb565b61142d60208301856112cb565b61143a6040830184610cf6565b949350505050565b61144b816111ab565b811461145657600080fd5b50565b60008151905061146881611442565b92915050565b60006020828403121561148457611483610af0565b5b600061149284828501611459565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114c7576114c661149b565b5b80840192508235915067ffffffffffffffff8211156114e9576114e86114a0565b5b602083019250600182023603831315611505576115046114a5565b5b509250929050565b600061151983856112f5565b9350611526838584610bc1565b82840190509392505050565b600061153f82848661150d565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611581600683611348565b915061158c8261154b565b600682019050919050565b60006115a282611574565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115e682610cec565b91506115f183610cec565b925082611601576116006115ac565b5b82820490509291505056fea264697066735822122075df20f09674e12eef3ba57f4803705d430d254a56e5fa3aaf6bd19a78eb280364736f6c634300081a0033 diff --git a/pkg/contracts/testdappv2/TestDAppV2.go b/pkg/contracts/testdappv2/TestDAppV2.go index ef8d2d4e5e..d852b9f4b0 100644 --- a/pkg/contracts/testdappv2/TestDAppV2.go +++ b/pkg/contracts/testdappv2/TestDAppV2.go @@ -52,7 +52,7 @@ type TestDAppV2zContext struct { // TestDAppV2MetaData contains all meta data concerning the TestDAppV2 contract. var TestDAppV2MetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"NO_MESSAGE_CALL\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"amountWithMessage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"calledWithMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"erc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"erc20Call\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"gasCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"getAmountWithMessage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"getCalledWithMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"getNoMessageIndex\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"origin\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"}],\"internalType\":\"structTestDAppV2.zContext\",\"name\":\"_context\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"_zrc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"onCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"internalType\":\"structTestDAppV2.MessageContext\",\"name\":\"messageContext\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"onCall\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"revertMessage\",\"type\":\"bytes\"}],\"internalType\":\"structTestDAppV2.RevertContext\",\"name\":\"revertContext\",\"type\":\"tuple\"}],\"name\":\"onRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"senderWithMessage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"simpleCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]", - Bin: "0x6080604052348015600f57600080fd5b506116428061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c40565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cbf565b610385565b60405161012f9190610d05565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e2e565b61039d565b005b61017b60048036038101906101769190610ef1565b61048b565b6040516101889190610fd0565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c40565b61059d565b6040516101c59190610d05565b60405180910390f35b6101e860048036038101906101e39190610c40565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ff2565b610609565b60405161021e9190611074565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110d4565b610669565b005b34801561025c57600080fd5b5061026561071d565b6040516102729190611074565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d9190611162565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cbf565b610890565b6040516102d891906111c6565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c40565b6108b0565b60405161031591906111c6565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190611282565b610900565b60405161035291906112da565b60405180910390f35b61036481610949565b1561036e57600080fd5b6103778161099f565b6103828160006109f3565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610949565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ff2565b610609565b5b9050610470610a35565b6104798161099f565b61048381856109f3565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ff2565b610609565b5b905061050a8161099f565b61051481346109f3565b8460000160208101906105279190610ff2565b6002826040516105379190611331565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b49190611384565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610949565b156105f357600080fd5b6105fc8161099f565b61060681346109f3565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113e3565b6040516020818303038152906040529050919050565b61067281610949565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b99392919061140b565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc919061146e565b61070557600080fd5b61070e8161099f565b61071881836109f3565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b6107b181806060019061076991906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061099f565b61080e8180606001906107c491906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109f3565b8060000160208101906108219190610ff2565b600282806060019061083391906114aa565b604051610841929190611532565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108c79190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405160200161095a90611597565b60405160208183030381529060405280519060200120826040516020016109819190611384565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109b59190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a099190611384565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000620f424090506000614e20905060008183610a5291906115db565b905060005b81811015610a955760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a57565b50600080610aa39190610aa8565b505050565b5080546000825590600052602060002090810190610ac69190610ac9565b50565b5b80821115610ae2576000816000905550600101610aca565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b4d82610b04565b810181811067ffffffffffffffff82111715610b6c57610b6b610b15565b5b80604052505050565b6000610b7f610ae6565b9050610b8b8282610b44565b919050565b600067ffffffffffffffff821115610bab57610baa610b15565b5b610bb482610b04565b9050602081019050919050565b82818337600083830152505050565b6000610be3610bde84610b90565b610b75565b905082815260208101848484011115610bff57610bfe610aff565b5b610c0a848285610bc1565b509392505050565b600082601f830112610c2757610c26610afa565b5b8135610c37848260208601610bd0565b91505092915050565b600060208284031215610c5657610c55610af0565b5b600082013567ffffffffffffffff811115610c7457610c73610af5565b5b610c8084828501610c12565b91505092915050565b6000819050919050565b610c9c81610c89565b8114610ca757600080fd5b50565b600081359050610cb981610c93565b92915050565b600060208284031215610cd557610cd4610af0565b5b6000610ce384828501610caa565b91505092915050565b6000819050919050565b610cff81610cec565b82525050565b6000602082019050610d1a6000830184610cf6565b92915050565b600080fd5b600060608284031215610d3b57610d3a610d20565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d6f82610d44565b9050919050565b610d7f81610d64565b8114610d8a57600080fd5b50565b600081359050610d9c81610d76565b92915050565b610dab81610cec565b8114610db657600080fd5b50565b600081359050610dc881610da2565b92915050565b600080fd5b600080fd5b60008083601f840112610dee57610ded610afa565b5b8235905067ffffffffffffffff811115610e0b57610e0a610dce565b5b602083019150836001820283011115610e2757610e26610dd3565b5b9250929050565b600080600080600060808688031215610e4a57610e49610af0565b5b600086013567ffffffffffffffff811115610e6857610e67610af5565b5b610e7488828901610d25565b9550506020610e8588828901610d8d565b9450506040610e9688828901610db9565b935050606086013567ffffffffffffffff811115610eb757610eb6610af5565b5b610ec388828901610dd8565b92509250509295509295909350565b600060208284031215610ee857610ee7610d20565b5b81905092915050565b600080600060408486031215610f0a57610f09610af0565b5b6000610f1886828701610ed2565b935050602084013567ffffffffffffffff811115610f3957610f38610af5565b5b610f4586828701610dd8565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f8b578082015181840152602081019050610f70565b60008484015250505050565b6000610fa282610f51565b610fac8185610f5c565b9350610fbc818560208601610f6d565b610fc581610b04565b840191505092915050565b60006020820190508181036000830152610fea8184610f97565b905092915050565b60006020828403121561100857611007610af0565b5b600061101684828501610d8d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60006110468261101f565b611050818561102a565b9350611060818560208601610f6d565b61106981610b04565b840191505092915050565b6000602082019050818103600083015261108e818461103b565b905092915050565b60006110a182610d64565b9050919050565b6110b181611096565b81146110bc57600080fd5b50565b6000813590506110ce816110a8565b92915050565b6000806000606084860312156110ed576110ec610af0565b5b60006110fb868287016110bf565b935050602061110c86828701610db9565b925050604084013567ffffffffffffffff81111561112d5761112c610af5565b5b61113986828701610c12565b9150509250925092565b60006080828403121561115957611158610d20565b5b81905092915050565b60006020828403121561117857611177610af0565b5b600082013567ffffffffffffffff81111561119657611195610af5565b5b6111a284828501611143565b91505092915050565b60008115159050919050565b6111c0816111ab565b82525050565b60006020820190506111db60008301846111b7565b92915050565b600067ffffffffffffffff8211156111fc576111fb610b15565b5b61120582610b04565b9050602081019050919050565b6000611225611220846111e1565b610b75565b90508281526020810184848401111561124157611240610aff565b5b61124c848285610bc1565b509392505050565b600082601f83011261126957611268610afa565b5b8135611279848260208601611212565b91505092915050565b60006020828403121561129857611297610af0565b5b600082013567ffffffffffffffff8111156112b6576112b5610af5565b5b6112c284828501611254565b91505092915050565b6112d481610d64565b82525050565b60006020820190506112ef60008301846112cb565b92915050565b600081905092915050565b600061130b82610f51565b61131581856112f5565b9350611325818560208601610f6d565b80840191505092915050565b600061133d8284611300565b915081905092915050565b600081905092915050565b600061135e8261101f565b6113688185611348565b9350611378818560208601610f6d565b80840191505092915050565b60006113908284611353565b915081905092915050565b60008160601b9050919050565b60006113b38261139b565b9050919050565b60006113c5826113a8565b9050919050565b6113dd6113d882610d64565b6113ba565b82525050565b60006113ef8285611353565b91506113fb82846113cc565b6014820191508190509392505050565b600060608201905061142060008301866112cb565b61142d60208301856112cb565b61143a6040830184610cf6565b949350505050565b61144b816111ab565b811461145657600080fd5b50565b60008151905061146881611442565b92915050565b60006020828403121561148457611483610af0565b5b600061149284828501611459565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114c7576114c661149b565b5b80840192508235915067ffffffffffffffff8211156114e9576114e86114a0565b5b602083019250600182023603831315611505576115046114a5565b5b509250929050565b600061151983856112f5565b9350611526838584610bc1565b82840190509392505050565b600061153f82848661150d565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611581600683611348565b915061158c8261154b565b600682019050919050565b60006115a282611574565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115e682610cec565b91506115f183610cec565b925082611601576116006115ac565b5b82820490509291505056fea2646970667358221220f5b3c00d7aa6240e25320f8d257c0f521ea258c038ba683320718ff6020b284d64736f6c634300081a0033", + Bin: "0x6080604052348015600f57600080fd5b506116428061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c40565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cbf565b610385565b60405161012f9190610d05565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e2e565b61039d565b005b61017b60048036038101906101769190610ef1565b61048b565b6040516101889190610fd0565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c40565b61059d565b6040516101c59190610d05565b60405180910390f35b6101e860048036038101906101e39190610c40565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ff2565b610609565b60405161021e9190611074565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110d4565b610669565b005b34801561025c57600080fd5b5061026561071d565b6040516102729190611074565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d9190611162565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cbf565b610890565b6040516102d891906111c6565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c40565b6108b0565b60405161031591906111c6565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190611282565b610900565b60405161035291906112da565b60405180910390f35b61036481610949565b1561036e57600080fd5b6103778161099f565b6103828160006109f3565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610949565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ff2565b610609565b5b9050610470610a35565b6104798161099f565b61048381856109f3565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ff2565b610609565b5b905061050a8161099f565b61051481346109f3565b8460000160208101906105279190610ff2565b6002826040516105379190611331565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b49190611384565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610949565b156105f357600080fd5b6105fc8161099f565b61060681346109f3565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113e3565b6040516020818303038152906040529050919050565b61067281610949565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b99392919061140b565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc919061146e565b61070557600080fd5b61070e8161099f565b61071881836109f3565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b6107b181806060019061076991906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061099f565b61080e8180606001906107c491906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109f3565b8060000160208101906108219190610ff2565b600282806060019061083391906114aa565b604051610841929190611532565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108c79190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405160200161095a90611597565b60405160208183030381529060405280519060200120826040516020016109819190611384565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109b59190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a099190611384565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000621e848090506000614e20905060008183610a5291906115db565b905060005b81811015610a955760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a57565b50600080610aa39190610aa8565b505050565b5080546000825590600052602060002090810190610ac69190610ac9565b50565b5b80821115610ae2576000816000905550600101610aca565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b4d82610b04565b810181811067ffffffffffffffff82111715610b6c57610b6b610b15565b5b80604052505050565b6000610b7f610ae6565b9050610b8b8282610b44565b919050565b600067ffffffffffffffff821115610bab57610baa610b15565b5b610bb482610b04565b9050602081019050919050565b82818337600083830152505050565b6000610be3610bde84610b90565b610b75565b905082815260208101848484011115610bff57610bfe610aff565b5b610c0a848285610bc1565b509392505050565b600082601f830112610c2757610c26610afa565b5b8135610c37848260208601610bd0565b91505092915050565b600060208284031215610c5657610c55610af0565b5b600082013567ffffffffffffffff811115610c7457610c73610af5565b5b610c8084828501610c12565b91505092915050565b6000819050919050565b610c9c81610c89565b8114610ca757600080fd5b50565b600081359050610cb981610c93565b92915050565b600060208284031215610cd557610cd4610af0565b5b6000610ce384828501610caa565b91505092915050565b6000819050919050565b610cff81610cec565b82525050565b6000602082019050610d1a6000830184610cf6565b92915050565b600080fd5b600060608284031215610d3b57610d3a610d20565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d6f82610d44565b9050919050565b610d7f81610d64565b8114610d8a57600080fd5b50565b600081359050610d9c81610d76565b92915050565b610dab81610cec565b8114610db657600080fd5b50565b600081359050610dc881610da2565b92915050565b600080fd5b600080fd5b60008083601f840112610dee57610ded610afa565b5b8235905067ffffffffffffffff811115610e0b57610e0a610dce565b5b602083019150836001820283011115610e2757610e26610dd3565b5b9250929050565b600080600080600060808688031215610e4a57610e49610af0565b5b600086013567ffffffffffffffff811115610e6857610e67610af5565b5b610e7488828901610d25565b9550506020610e8588828901610d8d565b9450506040610e9688828901610db9565b935050606086013567ffffffffffffffff811115610eb757610eb6610af5565b5b610ec388828901610dd8565b92509250509295509295909350565b600060208284031215610ee857610ee7610d20565b5b81905092915050565b600080600060408486031215610f0a57610f09610af0565b5b6000610f1886828701610ed2565b935050602084013567ffffffffffffffff811115610f3957610f38610af5565b5b610f4586828701610dd8565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f8b578082015181840152602081019050610f70565b60008484015250505050565b6000610fa282610f51565b610fac8185610f5c565b9350610fbc818560208601610f6d565b610fc581610b04565b840191505092915050565b60006020820190508181036000830152610fea8184610f97565b905092915050565b60006020828403121561100857611007610af0565b5b600061101684828501610d8d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60006110468261101f565b611050818561102a565b9350611060818560208601610f6d565b61106981610b04565b840191505092915050565b6000602082019050818103600083015261108e818461103b565b905092915050565b60006110a182610d64565b9050919050565b6110b181611096565b81146110bc57600080fd5b50565b6000813590506110ce816110a8565b92915050565b6000806000606084860312156110ed576110ec610af0565b5b60006110fb868287016110bf565b935050602061110c86828701610db9565b925050604084013567ffffffffffffffff81111561112d5761112c610af5565b5b61113986828701610c12565b9150509250925092565b60006080828403121561115957611158610d20565b5b81905092915050565b60006020828403121561117857611177610af0565b5b600082013567ffffffffffffffff81111561119657611195610af5565b5b6111a284828501611143565b91505092915050565b60008115159050919050565b6111c0816111ab565b82525050565b60006020820190506111db60008301846111b7565b92915050565b600067ffffffffffffffff8211156111fc576111fb610b15565b5b61120582610b04565b9050602081019050919050565b6000611225611220846111e1565b610b75565b90508281526020810184848401111561124157611240610aff565b5b61124c848285610bc1565b509392505050565b600082601f83011261126957611268610afa565b5b8135611279848260208601611212565b91505092915050565b60006020828403121561129857611297610af0565b5b600082013567ffffffffffffffff8111156112b6576112b5610af5565b5b6112c284828501611254565b91505092915050565b6112d481610d64565b82525050565b60006020820190506112ef60008301846112cb565b92915050565b600081905092915050565b600061130b82610f51565b61131581856112f5565b9350611325818560208601610f6d565b80840191505092915050565b600061133d8284611300565b915081905092915050565b600081905092915050565b600061135e8261101f565b6113688185611348565b9350611378818560208601610f6d565b80840191505092915050565b60006113908284611353565b915081905092915050565b60008160601b9050919050565b60006113b38261139b565b9050919050565b60006113c5826113a8565b9050919050565b6113dd6113d882610d64565b6113ba565b82525050565b60006113ef8285611353565b91506113fb82846113cc565b6014820191508190509392505050565b600060608201905061142060008301866112cb565b61142d60208301856112cb565b61143a6040830184610cf6565b949350505050565b61144b816111ab565b811461145657600080fd5b50565b60008151905061146881611442565b92915050565b60006020828403121561148457611483610af0565b5b600061149284828501611459565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114c7576114c661149b565b5b80840192508235915067ffffffffffffffff8211156114e9576114e86114a0565b5b602083019250600182023603831315611505576115046114a5565b5b509250929050565b600061151983856112f5565b9350611526838584610bc1565b82840190509392505050565b600061153f82848661150d565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611581600683611348565b915061158c8261154b565b600682019050919050565b60006115a282611574565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115e682610cec565b91506115f183610cec565b925082611601576116006115ac565b5b82820490509291505056fea264697066735822122075df20f09674e12eef3ba57f4803705d430d254a56e5fa3aaf6bd19a78eb280364736f6c634300081a0033", } // TestDAppV2ABI is the input ABI used to generate the binding from. diff --git a/pkg/contracts/testdappv2/TestDAppV2.json b/pkg/contracts/testdappv2/TestDAppV2.json index b6c3f18fa8..7c3f1bc5bb 100644 --- a/pkg/contracts/testdappv2/TestDAppV2.json +++ b/pkg/contracts/testdappv2/TestDAppV2.json @@ -292,5 +292,5 @@ "type": "receive" } ], - "bin": "6080604052348015600f57600080fd5b506116428061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c40565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cbf565b610385565b60405161012f9190610d05565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e2e565b61039d565b005b61017b60048036038101906101769190610ef1565b61048b565b6040516101889190610fd0565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c40565b61059d565b6040516101c59190610d05565b60405180910390f35b6101e860048036038101906101e39190610c40565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ff2565b610609565b60405161021e9190611074565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110d4565b610669565b005b34801561025c57600080fd5b5061026561071d565b6040516102729190611074565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d9190611162565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cbf565b610890565b6040516102d891906111c6565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c40565b6108b0565b60405161031591906111c6565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190611282565b610900565b60405161035291906112da565b60405180910390f35b61036481610949565b1561036e57600080fd5b6103778161099f565b6103828160006109f3565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610949565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ff2565b610609565b5b9050610470610a35565b6104798161099f565b61048381856109f3565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ff2565b610609565b5b905061050a8161099f565b61051481346109f3565b8460000160208101906105279190610ff2565b6002826040516105379190611331565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b49190611384565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610949565b156105f357600080fd5b6105fc8161099f565b61060681346109f3565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113e3565b6040516020818303038152906040529050919050565b61067281610949565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b99392919061140b565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc919061146e565b61070557600080fd5b61070e8161099f565b61071881836109f3565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b6107b181806060019061076991906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061099f565b61080e8180606001906107c491906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109f3565b8060000160208101906108219190610ff2565b600282806060019061083391906114aa565b604051610841929190611532565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108c79190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405160200161095a90611597565b60405160208183030381529060405280519060200120826040516020016109819190611384565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109b59190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a099190611384565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000620f424090506000614e20905060008183610a5291906115db565b905060005b81811015610a955760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a57565b50600080610aa39190610aa8565b505050565b5080546000825590600052602060002090810190610ac69190610ac9565b50565b5b80821115610ae2576000816000905550600101610aca565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b4d82610b04565b810181811067ffffffffffffffff82111715610b6c57610b6b610b15565b5b80604052505050565b6000610b7f610ae6565b9050610b8b8282610b44565b919050565b600067ffffffffffffffff821115610bab57610baa610b15565b5b610bb482610b04565b9050602081019050919050565b82818337600083830152505050565b6000610be3610bde84610b90565b610b75565b905082815260208101848484011115610bff57610bfe610aff565b5b610c0a848285610bc1565b509392505050565b600082601f830112610c2757610c26610afa565b5b8135610c37848260208601610bd0565b91505092915050565b600060208284031215610c5657610c55610af0565b5b600082013567ffffffffffffffff811115610c7457610c73610af5565b5b610c8084828501610c12565b91505092915050565b6000819050919050565b610c9c81610c89565b8114610ca757600080fd5b50565b600081359050610cb981610c93565b92915050565b600060208284031215610cd557610cd4610af0565b5b6000610ce384828501610caa565b91505092915050565b6000819050919050565b610cff81610cec565b82525050565b6000602082019050610d1a6000830184610cf6565b92915050565b600080fd5b600060608284031215610d3b57610d3a610d20565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d6f82610d44565b9050919050565b610d7f81610d64565b8114610d8a57600080fd5b50565b600081359050610d9c81610d76565b92915050565b610dab81610cec565b8114610db657600080fd5b50565b600081359050610dc881610da2565b92915050565b600080fd5b600080fd5b60008083601f840112610dee57610ded610afa565b5b8235905067ffffffffffffffff811115610e0b57610e0a610dce565b5b602083019150836001820283011115610e2757610e26610dd3565b5b9250929050565b600080600080600060808688031215610e4a57610e49610af0565b5b600086013567ffffffffffffffff811115610e6857610e67610af5565b5b610e7488828901610d25565b9550506020610e8588828901610d8d565b9450506040610e9688828901610db9565b935050606086013567ffffffffffffffff811115610eb757610eb6610af5565b5b610ec388828901610dd8565b92509250509295509295909350565b600060208284031215610ee857610ee7610d20565b5b81905092915050565b600080600060408486031215610f0a57610f09610af0565b5b6000610f1886828701610ed2565b935050602084013567ffffffffffffffff811115610f3957610f38610af5565b5b610f4586828701610dd8565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f8b578082015181840152602081019050610f70565b60008484015250505050565b6000610fa282610f51565b610fac8185610f5c565b9350610fbc818560208601610f6d565b610fc581610b04565b840191505092915050565b60006020820190508181036000830152610fea8184610f97565b905092915050565b60006020828403121561100857611007610af0565b5b600061101684828501610d8d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60006110468261101f565b611050818561102a565b9350611060818560208601610f6d565b61106981610b04565b840191505092915050565b6000602082019050818103600083015261108e818461103b565b905092915050565b60006110a182610d64565b9050919050565b6110b181611096565b81146110bc57600080fd5b50565b6000813590506110ce816110a8565b92915050565b6000806000606084860312156110ed576110ec610af0565b5b60006110fb868287016110bf565b935050602061110c86828701610db9565b925050604084013567ffffffffffffffff81111561112d5761112c610af5565b5b61113986828701610c12565b9150509250925092565b60006080828403121561115957611158610d20565b5b81905092915050565b60006020828403121561117857611177610af0565b5b600082013567ffffffffffffffff81111561119657611195610af5565b5b6111a284828501611143565b91505092915050565b60008115159050919050565b6111c0816111ab565b82525050565b60006020820190506111db60008301846111b7565b92915050565b600067ffffffffffffffff8211156111fc576111fb610b15565b5b61120582610b04565b9050602081019050919050565b6000611225611220846111e1565b610b75565b90508281526020810184848401111561124157611240610aff565b5b61124c848285610bc1565b509392505050565b600082601f83011261126957611268610afa565b5b8135611279848260208601611212565b91505092915050565b60006020828403121561129857611297610af0565b5b600082013567ffffffffffffffff8111156112b6576112b5610af5565b5b6112c284828501611254565b91505092915050565b6112d481610d64565b82525050565b60006020820190506112ef60008301846112cb565b92915050565b600081905092915050565b600061130b82610f51565b61131581856112f5565b9350611325818560208601610f6d565b80840191505092915050565b600061133d8284611300565b915081905092915050565b600081905092915050565b600061135e8261101f565b6113688185611348565b9350611378818560208601610f6d565b80840191505092915050565b60006113908284611353565b915081905092915050565b60008160601b9050919050565b60006113b38261139b565b9050919050565b60006113c5826113a8565b9050919050565b6113dd6113d882610d64565b6113ba565b82525050565b60006113ef8285611353565b91506113fb82846113cc565b6014820191508190509392505050565b600060608201905061142060008301866112cb565b61142d60208301856112cb565b61143a6040830184610cf6565b949350505050565b61144b816111ab565b811461145657600080fd5b50565b60008151905061146881611442565b92915050565b60006020828403121561148457611483610af0565b5b600061149284828501611459565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114c7576114c661149b565b5b80840192508235915067ffffffffffffffff8211156114e9576114e86114a0565b5b602083019250600182023603831315611505576115046114a5565b5b509250929050565b600061151983856112f5565b9350611526838584610bc1565b82840190509392505050565b600061153f82848661150d565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611581600683611348565b915061158c8261154b565b600682019050919050565b60006115a282611574565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115e682610cec565b91506115f183610cec565b925082611601576116006115ac565b5b82820490509291505056fea2646970667358221220f5b3c00d7aa6240e25320f8d257c0f521ea258c038ba683320718ff6020b284d64736f6c634300081a0033" + "bin": "6080604052348015600f57600080fd5b506116428061001f6000396000f3fe6080604052600436106100c65760003560e01c8063ad23b28b1161007f578063c9028a3611610059578063c9028a361461027b578063e2842ed7146102a4578063f592cbfb146102e1578063f936ae851461031e576100cd565b8063ad23b28b146101ea578063c7a339a914610227578063c85f843414610250576100cd565b806336e980a0146100d25780634297a263146100fb5780635bcfd61614610138578063676cc054146101615780639291fe2614610191578063a799911f146101ce576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190610c40565b61035b565b005b34801561010757600080fd5b50610122600480360381019061011d9190610cbf565b610385565b60405161012f9190610d05565b60405180910390f35b34801561014457600080fd5b5061015f600480360381019061015a9190610e2e565b61039d565b005b61017b60048036038101906101769190610ef1565b61048b565b6040516101889190610fd0565b60405180910390f35b34801561019d57600080fd5b506101b860048036038101906101b39190610c40565b61059d565b6040516101c59190610d05565b60405180910390f35b6101e860048036038101906101e39190610c40565b6105e0565b005b3480156101f657600080fd5b50610211600480360381019061020c9190610ff2565b610609565b60405161021e9190611074565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906110d4565b610669565b005b34801561025c57600080fd5b5061026561071d565b6040516102729190611074565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d9190611162565b610756565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190610cbf565b610890565b6040516102d891906111c6565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190610c40565b6108b0565b60405161031591906111c6565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190611282565b610900565b60405161035291906112da565b60405180910390f35b61036481610949565b1561036e57600080fd5b6103778161099f565b6103828160006109f3565b50565b60036020528060005260406000206000915090505481565b6103ea82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610949565b156103f457600080fd5b600080838390501461044a5782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610466565b6104658660200160208101906104609190610ff2565b610609565b5b9050610470610a35565b6104798161099f565b61048381856109f3565b505050505050565b606060008084849050146104e35783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506104ff565b6104fe8560000160208101906104f99190610ff2565b610609565b5b905061050a8161099f565b61051481346109f3565b8460000160208101906105279190610ff2565b6002826040516105379190611331565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806020016040528060008152509150509392505050565b600060036000836040516020016105b49190611384565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b6105e981610949565b156105f357600080fd5b6105fc8161099f565b61060681346109f3565b50565b60606040518060400160405280601681526020017f63616c6c65642077697468206e6f206d65737361676500000000000000000000815250826040516020016106539291906113e3565b6040516020818303038152906040529050919050565b61067281610949565b1561067c57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016106b99392919061140b565b6020604051808303816000875af11580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc919061146e565b61070557600080fd5b61070e8161099f565b61071881836109f3565b505050565b6040518060400160405280601681526020017f63616c6c65642077697468206e6f206d6573736167650000000000000000000081525081565b6107b181806060019061076991906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061099f565b61080e8180606001906107c491906114aa565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505060006109f3565b8060000160208101906108219190610ff2565b600282806060019061083391906114aa565b604051610841929190611532565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60016020528060005260406000206000915054906101000a900460ff1681565b600060016000836040516020016108c79190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a900460ff169050919050565b6002818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405160200161095a90611597565b60405160208183030381529060405280519060200120826040516020016109819190611384565b60405160208183030381529060405280519060200120149050919050565b6001806000836040516020016109b59190611384565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b806003600084604051602001610a099190611384565b604051602081830303815290604052805190602001208152602001908152602001600020819055505050565b6000621e848090506000614e20905060008183610a5291906115db565b905060005b81811015610a955760008190806001815401808255809150506001900390600052602060002001600090919091909150558080600101915050610a57565b50600080610aa39190610aa8565b505050565b5080546000825590600052602060002090810190610ac69190610ac9565b50565b5b80821115610ae2576000816000905550600101610aca565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610b4d82610b04565b810181811067ffffffffffffffff82111715610b6c57610b6b610b15565b5b80604052505050565b6000610b7f610ae6565b9050610b8b8282610b44565b919050565b600067ffffffffffffffff821115610bab57610baa610b15565b5b610bb482610b04565b9050602081019050919050565b82818337600083830152505050565b6000610be3610bde84610b90565b610b75565b905082815260208101848484011115610bff57610bfe610aff565b5b610c0a848285610bc1565b509392505050565b600082601f830112610c2757610c26610afa565b5b8135610c37848260208601610bd0565b91505092915050565b600060208284031215610c5657610c55610af0565b5b600082013567ffffffffffffffff811115610c7457610c73610af5565b5b610c8084828501610c12565b91505092915050565b6000819050919050565b610c9c81610c89565b8114610ca757600080fd5b50565b600081359050610cb981610c93565b92915050565b600060208284031215610cd557610cd4610af0565b5b6000610ce384828501610caa565b91505092915050565b6000819050919050565b610cff81610cec565b82525050565b6000602082019050610d1a6000830184610cf6565b92915050565b600080fd5b600060608284031215610d3b57610d3a610d20565b5b81905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d6f82610d44565b9050919050565b610d7f81610d64565b8114610d8a57600080fd5b50565b600081359050610d9c81610d76565b92915050565b610dab81610cec565b8114610db657600080fd5b50565b600081359050610dc881610da2565b92915050565b600080fd5b600080fd5b60008083601f840112610dee57610ded610afa565b5b8235905067ffffffffffffffff811115610e0b57610e0a610dce565b5b602083019150836001820283011115610e2757610e26610dd3565b5b9250929050565b600080600080600060808688031215610e4a57610e49610af0565b5b600086013567ffffffffffffffff811115610e6857610e67610af5565b5b610e7488828901610d25565b9550506020610e8588828901610d8d565b9450506040610e9688828901610db9565b935050606086013567ffffffffffffffff811115610eb757610eb6610af5565b5b610ec388828901610dd8565b92509250509295509295909350565b600060208284031215610ee857610ee7610d20565b5b81905092915050565b600080600060408486031215610f0a57610f09610af0565b5b6000610f1886828701610ed2565b935050602084013567ffffffffffffffff811115610f3957610f38610af5565b5b610f4586828701610dd8565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f8b578082015181840152602081019050610f70565b60008484015250505050565b6000610fa282610f51565b610fac8185610f5c565b9350610fbc818560208601610f6d565b610fc581610b04565b840191505092915050565b60006020820190508181036000830152610fea8184610f97565b905092915050565b60006020828403121561100857611007610af0565b5b600061101684828501610d8d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60006110468261101f565b611050818561102a565b9350611060818560208601610f6d565b61106981610b04565b840191505092915050565b6000602082019050818103600083015261108e818461103b565b905092915050565b60006110a182610d64565b9050919050565b6110b181611096565b81146110bc57600080fd5b50565b6000813590506110ce816110a8565b92915050565b6000806000606084860312156110ed576110ec610af0565b5b60006110fb868287016110bf565b935050602061110c86828701610db9565b925050604084013567ffffffffffffffff81111561112d5761112c610af5565b5b61113986828701610c12565b9150509250925092565b60006080828403121561115957611158610d20565b5b81905092915050565b60006020828403121561117857611177610af0565b5b600082013567ffffffffffffffff81111561119657611195610af5565b5b6111a284828501611143565b91505092915050565b60008115159050919050565b6111c0816111ab565b82525050565b60006020820190506111db60008301846111b7565b92915050565b600067ffffffffffffffff8211156111fc576111fb610b15565b5b61120582610b04565b9050602081019050919050565b6000611225611220846111e1565b610b75565b90508281526020810184848401111561124157611240610aff565b5b61124c848285610bc1565b509392505050565b600082601f83011261126957611268610afa565b5b8135611279848260208601611212565b91505092915050565b60006020828403121561129857611297610af0565b5b600082013567ffffffffffffffff8111156112b6576112b5610af5565b5b6112c284828501611254565b91505092915050565b6112d481610d64565b82525050565b60006020820190506112ef60008301846112cb565b92915050565b600081905092915050565b600061130b82610f51565b61131581856112f5565b9350611325818560208601610f6d565b80840191505092915050565b600061133d8284611300565b915081905092915050565b600081905092915050565b600061135e8261101f565b6113688185611348565b9350611378818560208601610f6d565b80840191505092915050565b60006113908284611353565b915081905092915050565b60008160601b9050919050565b60006113b38261139b565b9050919050565b60006113c5826113a8565b9050919050565b6113dd6113d882610d64565b6113ba565b82525050565b60006113ef8285611353565b91506113fb82846113cc565b6014820191508190509392505050565b600060608201905061142060008301866112cb565b61142d60208301856112cb565b61143a6040830184610cf6565b949350505050565b61144b816111ab565b811461145657600080fd5b50565b60008151905061146881611442565b92915050565b60006020828403121561148457611483610af0565b5b600061149284828501611459565b91505092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126114c7576114c661149b565b5b80840192508235915067ffffffffffffffff8211156114e9576114e86114a0565b5b602083019250600182023603831315611505576115046114a5565b5b509250929050565b600061151983856112f5565b9350611526838584610bc1565b82840190509392505050565b600061153f82848661150d565b91508190509392505050565b7f7265766572740000000000000000000000000000000000000000000000000000600082015250565b6000611581600683611348565b915061158c8261154b565b600682019050919050565b60006115a282611574565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006115e682610cec565b91506115f183610cec565b925082611601576116006115ac565b5b82820490509291505056fea264697066735822122075df20f09674e12eef3ba57f4803705d430d254a56e5fa3aaf6bd19a78eb280364736f6c634300081a0033" } diff --git a/pkg/contracts/testdappv2/TestDAppV2.sol b/pkg/contracts/testdappv2/TestDAppV2.sol index 6ca43bc0c8..0cff79aeea 100644 --- a/pkg/contracts/testdappv2/TestDAppV2.sol +++ b/pkg/contracts/testdappv2/TestDAppV2.sol @@ -84,7 +84,7 @@ contract TestDAppV2 { function consumeGas() internal { // Approximate target gas consumption - uint256 targetGas = 1000000; + uint256 targetGas = 2000000; // Approximate gas cost for a single storage write uint256 storageWriteGasCost = 20000; uint256 iterations = targetGas / storageWriteGasCost;