From 9d5003c4c45b5e6eb703fa34500d61dd35f967b2 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Mon, 10 Feb 2025 17:28:12 -0800 Subject: [PATCH] accounts/abi: regenerate test bindings --- .../abigen/testdata/v2/callbackparam.go.txt | 4 +- .../abi/abigen/testdata/v2/crowdsale.go.txt | 32 +++++----- accounts/abi/abigen/testdata/v2/dao.go.txt | 60 +++++++++---------- .../testdata/v2/deeplynestedarray.go.txt | 12 ++-- .../abigen/testdata/v2/eventchecker.go.txt | 10 ++-- accounts/abi/abigen/testdata/v2/getter.go.txt | 4 +- .../testdata/v2/identifiercollision.go.txt | 8 +-- .../abigen/testdata/v2/inputchecker.go.txt | 24 ++++---- .../abi/abigen/testdata/v2/interactor.go.txt | 12 ++-- .../abigen/testdata/v2/nameconflict.go.txt | 10 ++-- .../testdata/v2/numericmethodname.go.txt | 14 ++--- .../abigen/testdata/v2/outputchecker.go.txt | 28 ++++----- .../abi/abigen/testdata/v2/overload.go.txt | 12 ++-- .../abigen/testdata/v2/rangekeyword.go.txt | 4 +- accounts/abi/abigen/testdata/v2/slicer.go.txt | 16 ++--- .../abi/abigen/testdata/v2/structs.go.txt | 8 +-- accounts/abi/abigen/testdata/v2/token.go.txt | 36 +++++------ accounts/abi/abigen/testdata/v2/tuple.go.txt | 12 ++-- accounts/abi/abigen/testdata/v2/tupler.go.txt | 4 +- .../abi/abigen/testdata/v2/underscorer.go.txt | 32 +++++----- .../bind/v2/internal/contracts/db/bindings.go | 20 +++---- .../v2/internal/contracts/events/bindings.go | 20 +++---- .../contracts/nested_libraries/bindings.go | 32 +++++----- .../contracts/solc_errors/bindings.go | 12 ++-- .../contracts/uint256arrayreturn/bindings.go | 4 +- 25 files changed, 215 insertions(+), 215 deletions(-) diff --git a/accounts/abi/abigen/testdata/v2/callbackparam.go.txt b/accounts/abi/abigen/testdata/v2/callbackparam.go.txt index 076da5909f..61980f3583 100644 --- a/accounts/abi/abigen/testdata/v2/callbackparam.go.txt +++ b/accounts/abi/abigen/testdata/v2/callbackparam.go.txt @@ -51,8 +51,8 @@ func (c *CallbackParam) Instance(backend bind.ContractBackend, addr common.Addre return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Test is the Go binding used to pack the parameters required for calling -// the contract method 0xd7a5aba2. +// PackTest is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xd7a5aba2. // // Solidity: function test(function callback) returns() func (callbackParam *CallbackParam) PackTest(Callback [24]byte) []byte { diff --git a/accounts/abi/abigen/testdata/v2/crowdsale.go.txt b/accounts/abi/abigen/testdata/v2/crowdsale.go.txt index 56f8f239b7..74d6bb28a7 100644 --- a/accounts/abi/abigen/testdata/v2/crowdsale.go.txt +++ b/accounts/abi/abigen/testdata/v2/crowdsale.go.txt @@ -63,8 +63,8 @@ func (crowdsale *Crowdsale) PackConstructor(ifSuccessfulSendTo common.Address, f return enc } -// AmountRaised is the Go binding used to pack the parameters required for calling -// the contract method 0x7b3e5e7b. +// PackAmountRaised is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x7b3e5e7b. // // Solidity: function amountRaised() returns(uint256) func (crowdsale *Crowdsale) PackAmountRaised() []byte { @@ -88,8 +88,8 @@ func (crowdsale *Crowdsale) UnpackAmountRaised(data []byte) (*big.Int, error) { return out0, err } -// Beneficiary is the Go binding used to pack the parameters required for calling -// the contract method 0x38af3eed. +// PackBeneficiary is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x38af3eed. // // Solidity: function beneficiary() returns(address) func (crowdsale *Crowdsale) PackBeneficiary() []byte { @@ -113,8 +113,8 @@ func (crowdsale *Crowdsale) UnpackBeneficiary(data []byte) (common.Address, erro return out0, err } -// CheckGoalReached is the Go binding used to pack the parameters required for calling -// the contract method 0x01cb3b20. +// PackCheckGoalReached is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x01cb3b20. // // Solidity: function checkGoalReached() returns() func (crowdsale *Crowdsale) PackCheckGoalReached() []byte { @@ -125,8 +125,8 @@ func (crowdsale *Crowdsale) PackCheckGoalReached() []byte { return enc } -// Deadline is the Go binding used to pack the parameters required for calling -// the contract method 0x29dcb0cf. +// PackDeadline is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x29dcb0cf. // // Solidity: function deadline() returns(uint256) func (crowdsale *Crowdsale) PackDeadline() []byte { @@ -150,8 +150,8 @@ func (crowdsale *Crowdsale) UnpackDeadline(data []byte) (*big.Int, error) { return out0, err } -// Funders is the Go binding used to pack the parameters required for calling -// the contract method 0xdc0d3dff. +// PackFunders is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xdc0d3dff. // // Solidity: function funders(uint256 ) returns(address addr, uint256 amount) func (crowdsale *Crowdsale) PackFunders(Arg0 *big.Int) []byte { @@ -185,8 +185,8 @@ func (crowdsale *Crowdsale) UnpackFunders(data []byte) (FundersOutput, error) { } -// FundingGoal is the Go binding used to pack the parameters required for calling -// the contract method 0x7a3a0e84. +// PackFundingGoal is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x7a3a0e84. // // Solidity: function fundingGoal() returns(uint256) func (crowdsale *Crowdsale) PackFundingGoal() []byte { @@ -210,8 +210,8 @@ func (crowdsale *Crowdsale) UnpackFundingGoal(data []byte) (*big.Int, error) { return out0, err } -// Price is the Go binding used to pack the parameters required for calling -// the contract method 0xa035b1fe. +// PackPrice is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xa035b1fe. // // Solidity: function price() returns(uint256) func (crowdsale *Crowdsale) PackPrice() []byte { @@ -235,8 +235,8 @@ func (crowdsale *Crowdsale) UnpackPrice(data []byte) (*big.Int, error) { return out0, err } -// TokenReward is the Go binding used to pack the parameters required for calling -// the contract method 0x6e66f6e9. +// PackTokenReward is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x6e66f6e9. // // Solidity: function tokenReward() returns(address) func (crowdsale *Crowdsale) PackTokenReward() []byte { diff --git a/accounts/abi/abigen/testdata/v2/dao.go.txt b/accounts/abi/abigen/testdata/v2/dao.go.txt index ac89704693..787dd48159 100644 --- a/accounts/abi/abigen/testdata/v2/dao.go.txt +++ b/accounts/abi/abigen/testdata/v2/dao.go.txt @@ -63,8 +63,8 @@ func (dAO *DAO) PackConstructor(minimumQuorumForProposals *big.Int, minutesForDe return enc } -// ChangeMembership is the Go binding used to pack the parameters required for calling -// the contract method 0x9644fcbd. +// PackChangeMembership is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x9644fcbd. // // Solidity: function changeMembership(address targetMember, bool canVote, string memberName) returns() func (dAO *DAO) PackChangeMembership(TargetMember common.Address, CanVote bool, MemberName string) []byte { @@ -75,8 +75,8 @@ func (dAO *DAO) PackChangeMembership(TargetMember common.Address, CanVote bool, return enc } -// ChangeVotingRules is the Go binding used to pack the parameters required for calling -// the contract method 0xbcca1fd3. +// PackChangeVotingRules is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xbcca1fd3. // // Solidity: function changeVotingRules(uint256 minimumQuorumForProposals, uint256 minutesForDebate, int256 marginOfVotesForMajority) returns() func (dAO *DAO) PackChangeVotingRules(MinimumQuorumForProposals *big.Int, MinutesForDebate *big.Int, MarginOfVotesForMajority *big.Int) []byte { @@ -87,8 +87,8 @@ func (dAO *DAO) PackChangeVotingRules(MinimumQuorumForProposals *big.Int, Minute return enc } -// CheckProposalCode is the Go binding used to pack the parameters required for calling -// the contract method 0xeceb2945. +// PackCheckProposalCode is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xeceb2945. // // Solidity: function checkProposalCode(uint256 proposalNumber, address beneficiary, uint256 etherAmount, bytes transactionBytecode) returns(bool codeChecksOut) func (dAO *DAO) PackCheckProposalCode(ProposalNumber *big.Int, Beneficiary common.Address, EtherAmount *big.Int, TransactionBytecode []byte) []byte { @@ -112,8 +112,8 @@ func (dAO *DAO) UnpackCheckProposalCode(data []byte) (bool, error) { return out0, err } -// DebatingPeriodInMinutes is the Go binding used to pack the parameters required for calling -// the contract method 0x69bd3436. +// PackDebatingPeriodInMinutes is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x69bd3436. // // Solidity: function debatingPeriodInMinutes() returns(uint256) func (dAO *DAO) PackDebatingPeriodInMinutes() []byte { @@ -137,8 +137,8 @@ func (dAO *DAO) UnpackDebatingPeriodInMinutes(data []byte) (*big.Int, error) { return out0, err } -// ExecuteProposal is the Go binding used to pack the parameters required for calling -// the contract method 0x237e9492. +// PackExecuteProposal is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x237e9492. // // Solidity: function executeProposal(uint256 proposalNumber, bytes transactionBytecode) returns(int256 result) func (dAO *DAO) PackExecuteProposal(ProposalNumber *big.Int, TransactionBytecode []byte) []byte { @@ -162,8 +162,8 @@ func (dAO *DAO) UnpackExecuteProposal(data []byte) (*big.Int, error) { return out0, err } -// MajorityMargin is the Go binding used to pack the parameters required for calling -// the contract method 0xaa02a90f. +// PackMajorityMargin is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xaa02a90f. // // Solidity: function majorityMargin() returns(int256) func (dAO *DAO) PackMajorityMargin() []byte { @@ -187,8 +187,8 @@ func (dAO *DAO) UnpackMajorityMargin(data []byte) (*big.Int, error) { return out0, err } -// MemberId is the Go binding used to pack the parameters required for calling -// the contract method 0x39106821. +// PackMemberId is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x39106821. // // Solidity: function memberId(address ) returns(uint256) func (dAO *DAO) PackMemberId(Arg0 common.Address) []byte { @@ -212,8 +212,8 @@ func (dAO *DAO) UnpackMemberId(data []byte) (*big.Int, error) { return out0, err } -// Members is the Go binding used to pack the parameters required for calling -// the contract method 0x5daf08ca. +// PackMembers is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x5daf08ca. // // Solidity: function members(uint256 ) returns(address member, bool canVote, string name, uint256 memberSince) func (dAO *DAO) PackMembers(Arg0 *big.Int) []byte { @@ -251,8 +251,8 @@ func (dAO *DAO) UnpackMembers(data []byte) (MembersOutput, error) { } -// MinimumQuorum is the Go binding used to pack the parameters required for calling -// the contract method 0x8160f0b5. +// PackMinimumQuorum is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x8160f0b5. // // Solidity: function minimumQuorum() returns(uint256) func (dAO *DAO) PackMinimumQuorum() []byte { @@ -276,8 +276,8 @@ func (dAO *DAO) UnpackMinimumQuorum(data []byte) (*big.Int, error) { return out0, err } -// NewProposal is the Go binding used to pack the parameters required for calling -// the contract method 0xb1050da5. +// PackNewProposal is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xb1050da5. // // Solidity: function newProposal(address beneficiary, uint256 etherAmount, string JobDescription, bytes transactionBytecode) returns(uint256 proposalID) func (dAO *DAO) PackNewProposal(Beneficiary common.Address, EtherAmount *big.Int, JobDescription string, TransactionBytecode []byte) []byte { @@ -301,8 +301,8 @@ func (dAO *DAO) UnpackNewProposal(data []byte) (*big.Int, error) { return out0, err } -// NumProposals is the Go binding used to pack the parameters required for calling -// the contract method 0x400e3949. +// PackNumProposals is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x400e3949. // // Solidity: function numProposals() returns(uint256) func (dAO *DAO) PackNumProposals() []byte { @@ -326,8 +326,8 @@ func (dAO *DAO) UnpackNumProposals(data []byte) (*big.Int, error) { return out0, err } -// Owner is the Go binding used to pack the parameters required for calling -// the contract method 0x8da5cb5b. +// PackOwner is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x8da5cb5b. // // Solidity: function owner() returns(address) func (dAO *DAO) PackOwner() []byte { @@ -351,8 +351,8 @@ func (dAO *DAO) UnpackOwner(data []byte) (common.Address, error) { return out0, err } -// Proposals is the Go binding used to pack the parameters required for calling -// the contract method 0x013cf08b. +// PackProposals is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x013cf08b. // // Solidity: function proposals(uint256 ) returns(address recipient, uint256 amount, string description, uint256 votingDeadline, bool executed, bool proposalPassed, uint256 numberOfVotes, int256 currentResult, bytes32 proposalHash) func (dAO *DAO) PackProposals(Arg0 *big.Int) []byte { @@ -400,8 +400,8 @@ func (dAO *DAO) UnpackProposals(data []byte) (ProposalsOutput, error) { } -// TransferOwnership is the Go binding used to pack the parameters required for calling -// the contract method 0xf2fde38b. +// PackTransferOwnership is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xf2fde38b. // // Solidity: function transferOwnership(address newOwner) returns() func (dAO *DAO) PackTransferOwnership(NewOwner common.Address) []byte { @@ -412,8 +412,8 @@ func (dAO *DAO) PackTransferOwnership(NewOwner common.Address) []byte { return enc } -// Vote is the Go binding used to pack the parameters required for calling -// the contract method 0xd3c0715b. +// PackVote is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xd3c0715b. // // Solidity: function vote(uint256 proposalNumber, bool supportsProposal, string justificationText) returns(uint256 voteID) func (dAO *DAO) PackVote(ProposalNumber *big.Int, SupportsProposal bool, JustificationText string) []byte { diff --git a/accounts/abi/abigen/testdata/v2/deeplynestedarray.go.txt b/accounts/abi/abigen/testdata/v2/deeplynestedarray.go.txt index 69b26b30c9..5a6543ebb4 100644 --- a/accounts/abi/abigen/testdata/v2/deeplynestedarray.go.txt +++ b/accounts/abi/abigen/testdata/v2/deeplynestedarray.go.txt @@ -51,8 +51,8 @@ func (c *DeeplyNestedArray) Instance(backend bind.ContractBackend, addr common.A return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// DeepUint64Array is the Go binding used to pack the parameters required for calling -// the contract method 0x98ed1856. +// PackDeepUint64Array is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x98ed1856. // // Solidity: function deepUint64Array(uint256 , uint256 , uint256 ) view returns(uint64) func (deeplyNestedArray *DeeplyNestedArray) PackDeepUint64Array(Arg0 *big.Int, Arg1 *big.Int, Arg2 *big.Int) []byte { @@ -76,8 +76,8 @@ func (deeplyNestedArray *DeeplyNestedArray) UnpackDeepUint64Array(data []byte) ( return out0, err } -// RetrieveDeepArray is the Go binding used to pack the parameters required for calling -// the contract method 0x8ed4573a. +// PackRetrieveDeepArray is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x8ed4573a. // // Solidity: function retrieveDeepArray() view returns(uint64[3][4][5]) func (deeplyNestedArray *DeeplyNestedArray) PackRetrieveDeepArray() []byte { @@ -101,8 +101,8 @@ func (deeplyNestedArray *DeeplyNestedArray) UnpackRetrieveDeepArray(data []byte) return out0, err } -// StoreDeepUintArray is the Go binding used to pack the parameters required for calling -// the contract method 0x34424855. +// PackStoreDeepUintArray is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x34424855. // // Solidity: function storeDeepUintArray(uint64[3][4][5] arr) returns() func (deeplyNestedArray *DeeplyNestedArray) PackStoreDeepUintArray(Arr [5][4][3]uint64) []byte { diff --git a/accounts/abi/abigen/testdata/v2/eventchecker.go.txt b/accounts/abi/abigen/testdata/v2/eventchecker.go.txt index e90cc7d0d5..92558c5efe 100644 --- a/accounts/abi/abigen/testdata/v2/eventchecker.go.txt +++ b/accounts/abi/abigen/testdata/v2/eventchecker.go.txt @@ -50,7 +50,7 @@ func (c *EventChecker) Instance(backend bind.ContractBackend, addr common.Addres return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// EventCheckerDynamic represents a Dynamic event raised by the EventChecker contract. +// EventCheckerDynamic represents a dynamic event raised by the EventChecker contract. type EventCheckerDynamic struct { IdxStr common.Hash IdxDat common.Hash @@ -94,7 +94,7 @@ func (eventChecker *EventChecker) UnpackDynamicEvent(log *types.Log) (*EventChec return out, nil } -// EventCheckerEmpty represents a Empty event raised by the EventChecker contract. +// EventCheckerEmpty represents a empty event raised by the EventChecker contract. type EventCheckerEmpty struct { Raw *types.Log // Blockchain specific contextual infos } @@ -134,7 +134,7 @@ func (eventChecker *EventChecker) UnpackEmptyEvent(log *types.Log) (*EventChecke return out, nil } -// EventCheckerIndexed represents a Indexed event raised by the EventChecker contract. +// EventCheckerIndexed represents a indexed event raised by the EventChecker contract. type EventCheckerIndexed struct { Addr common.Address Num *big.Int @@ -176,7 +176,7 @@ func (eventChecker *EventChecker) UnpackIndexedEvent(log *types.Log) (*EventChec return out, nil } -// EventCheckerMixed represents a Mixed event raised by the EventChecker contract. +// EventCheckerMixed represents a mixed event raised by the EventChecker contract. type EventCheckerMixed struct { Addr common.Address Num *big.Int @@ -218,7 +218,7 @@ func (eventChecker *EventChecker) UnpackMixedEvent(log *types.Log) (*EventChecke return out, nil } -// EventCheckerUnnamed represents a Unnamed event raised by the EventChecker contract. +// EventCheckerUnnamed represents a unnamed event raised by the EventChecker contract. type EventCheckerUnnamed struct { Arg0 *big.Int Arg1 *big.Int diff --git a/accounts/abi/abigen/testdata/v2/getter.go.txt b/accounts/abi/abigen/testdata/v2/getter.go.txt index ae014799f5..8e6e7debbf 100644 --- a/accounts/abi/abigen/testdata/v2/getter.go.txt +++ b/accounts/abi/abigen/testdata/v2/getter.go.txt @@ -51,8 +51,8 @@ func (c *Getter) Instance(backend bind.ContractBackend, addr common.Address) *bi return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Getter is the Go binding used to pack the parameters required for calling -// the contract method 0x993a04b7. +// PackGetter is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x993a04b7. // // Solidity: function getter() returns(string, int256, bytes32) func (getter *Getter) PackGetter() []byte { diff --git a/accounts/abi/abigen/testdata/v2/identifiercollision.go.txt b/accounts/abi/abigen/testdata/v2/identifiercollision.go.txt index d6785344f0..60554aac13 100644 --- a/accounts/abi/abigen/testdata/v2/identifiercollision.go.txt +++ b/accounts/abi/abigen/testdata/v2/identifiercollision.go.txt @@ -51,8 +51,8 @@ func (c *IdentifierCollision) Instance(backend bind.ContractBackend, addr common return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// MyVar is the Go binding used to pack the parameters required for calling -// the contract method 0x4ef1f0ad. +// PackMyVar is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x4ef1f0ad. // // Solidity: function MyVar() view returns(uint256) func (identifierCollision *IdentifierCollision) PackMyVar() []byte { @@ -76,8 +76,8 @@ func (identifierCollision *IdentifierCollision) UnpackMyVar(data []byte) (*big.I return out0, err } -// PubVar is the Go binding used to pack the parameters required for calling -// the contract method 0x01ad4d87. +// PackPubVar is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x01ad4d87. // // Solidity: function _myVar() view returns(uint256) func (identifierCollision *IdentifierCollision) PackPubVar() []byte { diff --git a/accounts/abi/abigen/testdata/v2/inputchecker.go.txt b/accounts/abi/abigen/testdata/v2/inputchecker.go.txt index d13e77d8d4..0f3cd9fb11 100644 --- a/accounts/abi/abigen/testdata/v2/inputchecker.go.txt +++ b/accounts/abi/abigen/testdata/v2/inputchecker.go.txt @@ -50,8 +50,8 @@ func (c *InputChecker) Instance(backend bind.ContractBackend, addr common.Addres return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// AnonInput is the Go binding used to pack the parameters required for calling -// the contract method 0x3e708e82. +// PackAnonInput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x3e708e82. // // Solidity: function anonInput(string ) returns() func (inputChecker *InputChecker) PackAnonInput(Arg0 string) []byte { @@ -62,8 +62,8 @@ func (inputChecker *InputChecker) PackAnonInput(Arg0 string) []byte { return enc } -// AnonInputs is the Go binding used to pack the parameters required for calling -// the contract method 0x28160527. +// PackAnonInputs is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x28160527. // // Solidity: function anonInputs(string , string ) returns() func (inputChecker *InputChecker) PackAnonInputs(Arg0 string, Arg1 string) []byte { @@ -74,8 +74,8 @@ func (inputChecker *InputChecker) PackAnonInputs(Arg0 string, Arg1 string) []byt return enc } -// MixedInputs is the Go binding used to pack the parameters required for calling -// the contract method 0xc689ebdc. +// PackMixedInputs is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xc689ebdc. // // Solidity: function mixedInputs(string , string str) returns() func (inputChecker *InputChecker) PackMixedInputs(Arg0 string, Str string) []byte { @@ -86,8 +86,8 @@ func (inputChecker *InputChecker) PackMixedInputs(Arg0 string, Str string) []byt return enc } -// NamedInput is the Go binding used to pack the parameters required for calling -// the contract method 0x0d402005. +// PackNamedInput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x0d402005. // // Solidity: function namedInput(string str) returns() func (inputChecker *InputChecker) PackNamedInput(Str string) []byte { @@ -98,8 +98,8 @@ func (inputChecker *InputChecker) PackNamedInput(Str string) []byte { return enc } -// NamedInputs is the Go binding used to pack the parameters required for calling -// the contract method 0x63c796ed. +// PackNamedInputs is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x63c796ed. // // Solidity: function namedInputs(string str1, string str2) returns() func (inputChecker *InputChecker) PackNamedInputs(Str1 string, Str2 string) []byte { @@ -110,8 +110,8 @@ func (inputChecker *InputChecker) PackNamedInputs(Str1 string, Str2 string) []by return enc } -// NoInput is the Go binding used to pack the parameters required for calling -// the contract method 0x53539029. +// PackNoInput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x53539029. // // Solidity: function noInput() returns() func (inputChecker *InputChecker) PackNoInput() []byte { diff --git a/accounts/abi/abigen/testdata/v2/interactor.go.txt b/accounts/abi/abigen/testdata/v2/interactor.go.txt index 35b305e902..5d49d46fe4 100644 --- a/accounts/abi/abigen/testdata/v2/interactor.go.txt +++ b/accounts/abi/abigen/testdata/v2/interactor.go.txt @@ -63,8 +63,8 @@ func (interactor *Interactor) PackConstructor(str string) []byte { return enc } -// DeployString is the Go binding used to pack the parameters required for calling -// the contract method 0x6874e809. +// PackDeployString is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x6874e809. // // Solidity: function deployString() returns(string) func (interactor *Interactor) PackDeployString() []byte { @@ -88,8 +88,8 @@ func (interactor *Interactor) UnpackDeployString(data []byte) (string, error) { return out0, err } -// Transact is the Go binding used to pack the parameters required for calling -// the contract method 0xd736c513. +// PackTransact is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xd736c513. // // Solidity: function transact(string str) returns() func (interactor *Interactor) PackTransact(Str string) []byte { @@ -100,8 +100,8 @@ func (interactor *Interactor) PackTransact(Str string) []byte { return enc } -// TransactString is the Go binding used to pack the parameters required for calling -// the contract method 0x0d86a0e1. +// PackTransactString is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x0d86a0e1. // // Solidity: function transactString() returns(string) func (interactor *Interactor) PackTransactString() []byte { diff --git a/accounts/abi/abigen/testdata/v2/nameconflict.go.txt b/accounts/abi/abigen/testdata/v2/nameconflict.go.txt index 97a132f0a1..b09be53fa3 100644 --- a/accounts/abi/abigen/testdata/v2/nameconflict.go.txt +++ b/accounts/abi/abigen/testdata/v2/nameconflict.go.txt @@ -57,8 +57,8 @@ func (c *NameConflict) Instance(backend bind.ContractBackend, addr common.Addres return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// AddRequest is the Go binding used to pack the parameters required for calling -// the contract method 0xcce7b048. +// PackAddRequest is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xcce7b048. // // Solidity: function addRequest((bytes,bytes) req) pure returns() func (nameConflict *NameConflict) PackAddRequest(Req Oraclerequest) []byte { @@ -69,8 +69,8 @@ func (nameConflict *NameConflict) PackAddRequest(Req Oraclerequest) []byte { return enc } -// GetRequest is the Go binding used to pack the parameters required for calling -// the contract method 0xc2bb515f. +// PackGetRequest is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xc2bb515f. // // Solidity: function getRequest() pure returns((bytes,bytes)) func (nameConflict *NameConflict) PackGetRequest() []byte { @@ -94,7 +94,7 @@ func (nameConflict *NameConflict) UnpackGetRequest(data []byte) (Oraclerequest, return out0, err } -// NameConflictLog represents a Log event raised by the NameConflict contract. +// NameConflictLog represents a log event raised by the NameConflict contract. type NameConflictLog struct { Msg *big.Int Msg0 *big.Int diff --git a/accounts/abi/abigen/testdata/v2/numericmethodname.go.txt b/accounts/abi/abigen/testdata/v2/numericmethodname.go.txt index bc32915c77..5a2208e0d4 100644 --- a/accounts/abi/abigen/testdata/v2/numericmethodname.go.txt +++ b/accounts/abi/abigen/testdata/v2/numericmethodname.go.txt @@ -51,8 +51,8 @@ func (c *NumericMethodName) Instance(backend bind.ContractBackend, addr common.A return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// E1test is the Go binding used to pack the parameters required for calling -// the contract method 0xffa02795. +// PackE1test is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xffa02795. // // Solidity: function _1test() pure returns() func (numericMethodName *NumericMethodName) PackE1test() []byte { @@ -63,8 +63,8 @@ func (numericMethodName *NumericMethodName) PackE1test() []byte { return enc } -// E1test0 is the Go binding used to pack the parameters required for calling -// the contract method 0xd02767c7. +// PackE1test0 is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xd02767c7. // // Solidity: function __1test() pure returns() func (numericMethodName *NumericMethodName) PackE1test0() []byte { @@ -75,8 +75,8 @@ func (numericMethodName *NumericMethodName) PackE1test0() []byte { return enc } -// E2test is the Go binding used to pack the parameters required for calling -// the contract method 0x9d993132. +// PackE2test is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x9d993132. // // Solidity: function __2test() pure returns() func (numericMethodName *NumericMethodName) PackE2test() []byte { @@ -87,7 +87,7 @@ func (numericMethodName *NumericMethodName) PackE2test() []byte { return enc } -// NumericMethodNameE1TestEvent represents a E1TestEvent event raised by the NumericMethodName contract. +// NumericMethodNameE1TestEvent represents a _1TestEvent event raised by the NumericMethodName contract. type NumericMethodNameE1TestEvent struct { Param common.Address Raw *types.Log // Blockchain specific contextual infos diff --git a/accounts/abi/abigen/testdata/v2/outputchecker.go.txt b/accounts/abi/abigen/testdata/v2/outputchecker.go.txt index a68dfe0775..6f1f8e6795 100644 --- a/accounts/abi/abigen/testdata/v2/outputchecker.go.txt +++ b/accounts/abi/abigen/testdata/v2/outputchecker.go.txt @@ -50,8 +50,8 @@ func (c *OutputChecker) Instance(backend bind.ContractBackend, addr common.Addre return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// AnonOutput is the Go binding used to pack the parameters required for calling -// the contract method 0x008bda05. +// PackAnonOutput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x008bda05. // // Solidity: function anonOutput() returns(string) func (outputChecker *OutputChecker) PackAnonOutput() []byte { @@ -75,8 +75,8 @@ func (outputChecker *OutputChecker) UnpackAnonOutput(data []byte) (string, error return out0, err } -// AnonOutputs is the Go binding used to pack the parameters required for calling -// the contract method 0x3c401115. +// PackAnonOutputs is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x3c401115. // // Solidity: function anonOutputs() returns(string, string) func (outputChecker *OutputChecker) PackAnonOutputs() []byte { @@ -110,8 +110,8 @@ func (outputChecker *OutputChecker) UnpackAnonOutputs(data []byte) (AnonOutputsO } -// CollidingOutputs is the Go binding used to pack the parameters required for calling -// the contract method 0xeccbc1ee. +// PackCollidingOutputs is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xeccbc1ee. // // Solidity: function collidingOutputs() returns(string str, string Str) func (outputChecker *OutputChecker) PackCollidingOutputs() []byte { @@ -145,8 +145,8 @@ func (outputChecker *OutputChecker) UnpackCollidingOutputs(data []byte) (Collidi } -// MixedOutputs is the Go binding used to pack the parameters required for calling -// the contract method 0x21b77b44. +// PackMixedOutputs is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x21b77b44. // // Solidity: function mixedOutputs() returns(string, string str) func (outputChecker *OutputChecker) PackMixedOutputs() []byte { @@ -180,8 +180,8 @@ func (outputChecker *OutputChecker) UnpackMixedOutputs(data []byte) (MixedOutput } -// NamedOutput is the Go binding used to pack the parameters required for calling -// the contract method 0x5e632bd5. +// PackNamedOutput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x5e632bd5. // // Solidity: function namedOutput() returns(string str) func (outputChecker *OutputChecker) PackNamedOutput() []byte { @@ -205,8 +205,8 @@ func (outputChecker *OutputChecker) UnpackNamedOutput(data []byte) (string, erro return out0, err } -// NamedOutputs is the Go binding used to pack the parameters required for calling -// the contract method 0x7970a189. +// PackNamedOutputs is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x7970a189. // // Solidity: function namedOutputs() returns(string str1, string str2) func (outputChecker *OutputChecker) PackNamedOutputs() []byte { @@ -240,8 +240,8 @@ func (outputChecker *OutputChecker) UnpackNamedOutputs(data []byte) (NamedOutput } -// NoOutput is the Go binding used to pack the parameters required for calling -// the contract method 0x625f0306. +// PackNoOutput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x625f0306. // // Solidity: function noOutput() returns() func (outputChecker *OutputChecker) PackNoOutput() []byte { diff --git a/accounts/abi/abigen/testdata/v2/overload.go.txt b/accounts/abi/abigen/testdata/v2/overload.go.txt index 1103d37425..46f5da26c1 100644 --- a/accounts/abi/abigen/testdata/v2/overload.go.txt +++ b/accounts/abi/abigen/testdata/v2/overload.go.txt @@ -51,8 +51,8 @@ func (c *Overload) Instance(backend bind.ContractBackend, addr common.Address) * return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Foo is the Go binding used to pack the parameters required for calling -// the contract method 0x04bc52f8. +// PackFoo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x04bc52f8. // // Solidity: function foo(uint256 i, uint256 j) returns() func (overload *Overload) PackFoo(I *big.Int, J *big.Int) []byte { @@ -63,8 +63,8 @@ func (overload *Overload) PackFoo(I *big.Int, J *big.Int) []byte { return enc } -// Foo0 is the Go binding used to pack the parameters required for calling -// the contract method 0x2fbebd38. +// PackFoo0 is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2fbebd38. // // Solidity: function foo(uint256 i) returns() func (overload *Overload) PackFoo0(I *big.Int) []byte { @@ -75,7 +75,7 @@ func (overload *Overload) PackFoo0(I *big.Int) []byte { return enc } -// OverloadBar represents a Bar event raised by the Overload contract. +// OverloadBar represents a bar event raised by the Overload contract. type OverloadBar struct { I *big.Int Raw *types.Log // Blockchain specific contextual infos @@ -116,7 +116,7 @@ func (overload *Overload) UnpackBarEvent(log *types.Log) (*OverloadBar, error) { return out, nil } -// OverloadBar0 represents a Bar0 event raised by the Overload contract. +// OverloadBar0 represents a bar0 event raised by the Overload contract. type OverloadBar0 struct { I *big.Int J *big.Int diff --git a/accounts/abi/abigen/testdata/v2/rangekeyword.go.txt b/accounts/abi/abigen/testdata/v2/rangekeyword.go.txt index c4fec53053..7e9542d76b 100644 --- a/accounts/abi/abigen/testdata/v2/rangekeyword.go.txt +++ b/accounts/abi/abigen/testdata/v2/rangekeyword.go.txt @@ -51,8 +51,8 @@ func (c *RangeKeyword) Instance(backend bind.ContractBackend, addr common.Addres return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// FunctionWithKeywordParameter is the Go binding used to pack the parameters required for calling -// the contract method 0x527a119f. +// PackFunctionWithKeywordParameter is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x527a119f. // // Solidity: function functionWithKeywordParameter(uint256 range) pure returns() func (rangeKeyword *RangeKeyword) PackFunctionWithKeywordParameter(Arg0 *big.Int) []byte { diff --git a/accounts/abi/abigen/testdata/v2/slicer.go.txt b/accounts/abi/abigen/testdata/v2/slicer.go.txt index fcef58b8ea..16bb873270 100644 --- a/accounts/abi/abigen/testdata/v2/slicer.go.txt +++ b/accounts/abi/abigen/testdata/v2/slicer.go.txt @@ -51,8 +51,8 @@ func (c *Slicer) Instance(backend bind.ContractBackend, addr common.Address) *bi return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// EchoAddresses is the Go binding used to pack the parameters required for calling -// the contract method 0xbe1127a3. +// PackEchoAddresses is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xbe1127a3. // // Solidity: function echoAddresses(address[] input) returns(address[] output) func (slicer *Slicer) PackEchoAddresses(Input []common.Address) []byte { @@ -76,8 +76,8 @@ func (slicer *Slicer) UnpackEchoAddresses(data []byte) ([]common.Address, error) return out0, err } -// EchoBools is the Go binding used to pack the parameters required for calling -// the contract method 0xf637e589. +// PackEchoBools is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xf637e589. // // Solidity: function echoBools(bool[] input) returns(bool[] output) func (slicer *Slicer) PackEchoBools(Input []bool) []byte { @@ -101,8 +101,8 @@ func (slicer *Slicer) UnpackEchoBools(data []byte) ([]bool, error) { return out0, err } -// EchoFancyInts is the Go binding used to pack the parameters required for calling -// the contract method 0xd88becc0. +// PackEchoFancyInts is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xd88becc0. // // Solidity: function echoFancyInts(uint24[23] input) returns(uint24[23] output) func (slicer *Slicer) PackEchoFancyInts(Input [23]*big.Int) []byte { @@ -126,8 +126,8 @@ func (slicer *Slicer) UnpackEchoFancyInts(data []byte) ([23]*big.Int, error) { return out0, err } -// EchoInts is the Go binding used to pack the parameters required for calling -// the contract method 0xe15a3db7. +// PackEchoInts is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xe15a3db7. // // Solidity: function echoInts(int256[] input) returns(int256[] output) func (slicer *Slicer) PackEchoInts(Input []*big.Int) []byte { diff --git a/accounts/abi/abigen/testdata/v2/structs.go.txt b/accounts/abi/abigen/testdata/v2/structs.go.txt index 413f3a93f6..7fe59c5616 100644 --- a/accounts/abi/abigen/testdata/v2/structs.go.txt +++ b/accounts/abi/abigen/testdata/v2/structs.go.txt @@ -56,8 +56,8 @@ func (c *Structs) Instance(backend bind.ContractBackend, addr common.Address) *b return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// F is the Go binding used to pack the parameters required for calling -// the contract method 0x28811f59. +// PackF is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x28811f59. // // Solidity: function F() view returns((bytes32)[] a, uint256[] c, bool[] d) func (structs *Structs) PackF() []byte { @@ -93,8 +93,8 @@ func (structs *Structs) UnpackF(data []byte) (FOutput, error) { } -// G is the Go binding used to pack the parameters required for calling -// the contract method 0x6fecb623. +// PackG is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x6fecb623. // // Solidity: function G() view returns((bytes32)[] a) func (structs *Structs) PackG() []byte { diff --git a/accounts/abi/abigen/testdata/v2/token.go.txt b/accounts/abi/abigen/testdata/v2/token.go.txt index 1b662b49b2..ec919d33de 100644 --- a/accounts/abi/abigen/testdata/v2/token.go.txt +++ b/accounts/abi/abigen/testdata/v2/token.go.txt @@ -63,8 +63,8 @@ func (token *Token) PackConstructor(initialSupply *big.Int, tokenName string, de return enc } -// Allowance is the Go binding used to pack the parameters required for calling -// the contract method 0xdd62ed3e. +// PackAllowance is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xdd62ed3e. // // Solidity: function allowance(address , address ) returns(uint256) func (token *Token) PackAllowance(Arg0 common.Address, Arg1 common.Address) []byte { @@ -88,8 +88,8 @@ func (token *Token) UnpackAllowance(data []byte) (*big.Int, error) { return out0, err } -// ApproveAndCall is the Go binding used to pack the parameters required for calling -// the contract method 0xcae9ca51. +// PackApproveAndCall is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xcae9ca51. // // Solidity: function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns(bool success) func (token *Token) PackApproveAndCall(Spender common.Address, Value *big.Int, ExtraData []byte) []byte { @@ -113,8 +113,8 @@ func (token *Token) UnpackApproveAndCall(data []byte) (bool, error) { return out0, err } -// BalanceOf is the Go binding used to pack the parameters required for calling -// the contract method 0x70a08231. +// PackBalanceOf is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x70a08231. // // Solidity: function balanceOf(address ) returns(uint256) func (token *Token) PackBalanceOf(Arg0 common.Address) []byte { @@ -138,8 +138,8 @@ func (token *Token) UnpackBalanceOf(data []byte) (*big.Int, error) { return out0, err } -// Decimals is the Go binding used to pack the parameters required for calling -// the contract method 0x313ce567. +// PackDecimals is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x313ce567. // // Solidity: function decimals() returns(uint8) func (token *Token) PackDecimals() []byte { @@ -163,8 +163,8 @@ func (token *Token) UnpackDecimals(data []byte) (uint8, error) { return out0, err } -// Name is the Go binding used to pack the parameters required for calling -// the contract method 0x06fdde03. +// PackName is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x06fdde03. // // Solidity: function name() returns(string) func (token *Token) PackName() []byte { @@ -188,8 +188,8 @@ func (token *Token) UnpackName(data []byte) (string, error) { return out0, err } -// SpentAllowance is the Go binding used to pack the parameters required for calling -// the contract method 0xdc3080f2. +// PackSpentAllowance is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xdc3080f2. // // Solidity: function spentAllowance(address , address ) returns(uint256) func (token *Token) PackSpentAllowance(Arg0 common.Address, Arg1 common.Address) []byte { @@ -213,8 +213,8 @@ func (token *Token) UnpackSpentAllowance(data []byte) (*big.Int, error) { return out0, err } -// Symbol is the Go binding used to pack the parameters required for calling -// the contract method 0x95d89b41. +// PackSymbol is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x95d89b41. // // Solidity: function symbol() returns(string) func (token *Token) PackSymbol() []byte { @@ -238,8 +238,8 @@ func (token *Token) UnpackSymbol(data []byte) (string, error) { return out0, err } -// Transfer is the Go binding used to pack the parameters required for calling -// the contract method 0xa9059cbb. +// PackTransfer is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xa9059cbb. // // Solidity: function transfer(address _to, uint256 _value) returns() func (token *Token) PackTransfer(To common.Address, Value *big.Int) []byte { @@ -250,8 +250,8 @@ func (token *Token) PackTransfer(To common.Address, Value *big.Int) []byte { return enc } -// TransferFrom is the Go binding used to pack the parameters required for calling -// the contract method 0x23b872dd. +// PackTransferFrom is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x23b872dd. // // Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success) func (token *Token) PackTransferFrom(From common.Address, To common.Address, Value *big.Int) []byte { diff --git a/accounts/abi/abigen/testdata/v2/tuple.go.txt b/accounts/abi/abigen/testdata/v2/tuple.go.txt index 819c49b292..01e8a603bd 100644 --- a/accounts/abi/abigen/testdata/v2/tuple.go.txt +++ b/accounts/abi/abigen/testdata/v2/tuple.go.txt @@ -76,8 +76,8 @@ func (c *Tuple) Instance(backend bind.ContractBackend, addr common.Address) *bin return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Func1 is the Go binding used to pack the parameters required for calling -// the contract method 0x443c79b4. +// PackFunc1 is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x443c79b4. // // Solidity: function func1((uint256,uint256[],(uint256,uint256)[]) a, (uint256,uint256)[2][] b, (uint256,uint256)[][2] c, (uint256,uint256[],(uint256,uint256)[])[] d, uint256[] e) pure returns((uint256,uint256[],(uint256,uint256)[]), (uint256,uint256)[2][], (uint256,uint256)[][2], (uint256,uint256[],(uint256,uint256)[])[], uint256[]) func (tuple *Tuple) PackFunc1(A TupleS, B [][2]TupleT, C [2][]TupleT, D []TupleS, E []*big.Int) []byte { @@ -117,8 +117,8 @@ func (tuple *Tuple) UnpackFunc1(data []byte) (Func1Output, error) { } -// Func2 is the Go binding used to pack the parameters required for calling -// the contract method 0xd0062cdd. +// PackFunc2 is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xd0062cdd. // // Solidity: function func2((uint256,uint256[],(uint256,uint256)[]) a, (uint256,uint256)[2][] b, (uint256,uint256)[][2] c, (uint256,uint256[],(uint256,uint256)[])[] d, uint256[] e) returns() func (tuple *Tuple) PackFunc2(A TupleS, B [][2]TupleT, C [2][]TupleT, D []TupleS, E []*big.Int) []byte { @@ -129,8 +129,8 @@ func (tuple *Tuple) PackFunc2(A TupleS, B [][2]TupleT, C [2][]TupleT, D []TupleS return enc } -// Func3 is the Go binding used to pack the parameters required for calling -// the contract method 0xe4d9a43b. +// PackFunc3 is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xe4d9a43b. // // Solidity: function func3((uint16,uint16)[] ) pure returns() func (tuple *Tuple) PackFunc3(Arg0 []TupleQ) []byte { diff --git a/accounts/abi/abigen/testdata/v2/tupler.go.txt b/accounts/abi/abigen/testdata/v2/tupler.go.txt index e9bb1aabf7..caa692dade 100644 --- a/accounts/abi/abigen/testdata/v2/tupler.go.txt +++ b/accounts/abi/abigen/testdata/v2/tupler.go.txt @@ -51,8 +51,8 @@ func (c *Tupler) Instance(backend bind.ContractBackend, addr common.Address) *bi return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Tuple is the Go binding used to pack the parameters required for calling -// the contract method 0x3175aae2. +// PackTuple is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x3175aae2. // // Solidity: function tuple() returns(string a, int256 b, bytes32 c) func (tupler *Tupler) PackTuple() []byte { diff --git a/accounts/abi/abigen/testdata/v2/underscorer.go.txt b/accounts/abi/abigen/testdata/v2/underscorer.go.txt index fe14d27ab8..ef9eb864fa 100644 --- a/accounts/abi/abigen/testdata/v2/underscorer.go.txt +++ b/accounts/abi/abigen/testdata/v2/underscorer.go.txt @@ -51,8 +51,8 @@ func (c *Underscorer) Instance(backend bind.ContractBackend, addr common.Address return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// AllPurelyUnderscoredOutput is the Go binding used to pack the parameters required for calling -// the contract method 0xb564b34d. +// PackAllPurelyUnderscoredOutput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xb564b34d. // // Solidity: function AllPurelyUnderscoredOutput() view returns(int256 _, int256 __) func (underscorer *Underscorer) PackAllPurelyUnderscoredOutput() []byte { @@ -86,8 +86,8 @@ func (underscorer *Underscorer) UnpackAllPurelyUnderscoredOutput(data []byte) (A } -// LowerLowerCollision is the Go binding used to pack the parameters required for calling -// the contract method 0xe409ca45. +// PackLowerLowerCollision is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xe409ca45. // // Solidity: function LowerLowerCollision() view returns(int256 _res, int256 res) func (underscorer *Underscorer) PackLowerLowerCollision() []byte { @@ -121,8 +121,8 @@ func (underscorer *Underscorer) UnpackLowerLowerCollision(data []byte) (LowerLow } -// LowerUpperCollision is the Go binding used to pack the parameters required for calling -// the contract method 0x03a59213. +// PackLowerUpperCollision is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x03a59213. // // Solidity: function LowerUpperCollision() view returns(int256 _res, int256 Res) func (underscorer *Underscorer) PackLowerUpperCollision() []byte { @@ -156,8 +156,8 @@ func (underscorer *Underscorer) UnpackLowerUpperCollision(data []byte) (LowerUpp } -// PurelyUnderscoredOutput is the Go binding used to pack the parameters required for calling -// the contract method 0x9df48485. +// PackPurelyUnderscoredOutput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x9df48485. // // Solidity: function PurelyUnderscoredOutput() view returns(int256 _, int256 res) func (underscorer *Underscorer) PackPurelyUnderscoredOutput() []byte { @@ -191,8 +191,8 @@ func (underscorer *Underscorer) UnpackPurelyUnderscoredOutput(data []byte) (Pure } -// UnderscoredOutput is the Go binding used to pack the parameters required for calling -// the contract method 0x67e6633d. +// PackUnderscoredOutput is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x67e6633d. // // Solidity: function UnderscoredOutput() view returns(int256 _int, string _string) func (underscorer *Underscorer) PackUnderscoredOutput() []byte { @@ -226,8 +226,8 @@ func (underscorer *Underscorer) UnpackUnderscoredOutput(data []byte) (Underscore } -// UpperLowerCollision is the Go binding used to pack the parameters required for calling -// the contract method 0xaf7486ab. +// PackUpperLowerCollision is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xaf7486ab. // // Solidity: function UpperLowerCollision() view returns(int256 _Res, int256 res) func (underscorer *Underscorer) PackUpperLowerCollision() []byte { @@ -261,8 +261,8 @@ func (underscorer *Underscorer) UnpackUpperLowerCollision(data []byte) (UpperLow } -// UpperUpperCollision is the Go binding used to pack the parameters required for calling -// the contract method 0xe02ab24d. +// PackUpperUpperCollision is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xe02ab24d. // // Solidity: function UpperUpperCollision() view returns(int256 _Res, int256 Res) func (underscorer *Underscorer) PackUpperUpperCollision() []byte { @@ -296,8 +296,8 @@ func (underscorer *Underscorer) UnpackUpperUpperCollision(data []byte) (UpperUpp } -// UnderScoredFunc is the Go binding used to pack the parameters required for calling -// the contract method 0x46546dbe. +// PackUnderScoredFunc is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x46546dbe. // // Solidity: function _under_scored_func() view returns(int256 _int) func (underscorer *Underscorer) PackUnderScoredFunc() []byte { diff --git a/accounts/abi/bind/v2/internal/contracts/db/bindings.go b/accounts/abi/bind/v2/internal/contracts/db/bindings.go index 1f33af6ca2..684694be3c 100644 --- a/accounts/abi/bind/v2/internal/contracts/db/bindings.go +++ b/accounts/abi/bind/v2/internal/contracts/db/bindings.go @@ -58,8 +58,8 @@ func (c *DB) Instance(backend bind.ContractBackend, addr common.Address) *bind.B return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Get is the Go binding used to pack the parameters required for calling -// the contract method 0x9507d39a. +// PackGet is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x9507d39a. // // Solidity: function get(uint256 k) returns(uint256) func (dB *DB) PackGet(K *big.Int) []byte { @@ -83,8 +83,8 @@ func (dB *DB) UnpackGet(data []byte) (*big.Int, error) { return out0, err } -// GetNamedStatParams is the Go binding used to pack the parameters required for calling -// the contract method 0xe369ba3b. +// PackGetNamedStatParams is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xe369ba3b. // // Solidity: function getNamedStatParams() view returns(uint256 gets, uint256 inserts, uint256 mods) func (dB *DB) PackGetNamedStatParams() []byte { @@ -120,8 +120,8 @@ func (dB *DB) UnpackGetNamedStatParams(data []byte) (GetNamedStatParamsOutput, e } -// GetStatParams is the Go binding used to pack the parameters required for calling -// the contract method 0x6fcb9c70. +// PackGetStatParams is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x6fcb9c70. // // Solidity: function getStatParams() view returns(uint256, uint256, uint256) func (dB *DB) PackGetStatParams() []byte { @@ -157,8 +157,8 @@ func (dB *DB) UnpackGetStatParams(data []byte) (GetStatParamsOutput, error) { } -// GetStatsStruct is the Go binding used to pack the parameters required for calling -// the contract method 0xee8161e0. +// PackGetStatsStruct is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xee8161e0. // // Solidity: function getStatsStruct() view returns((uint256,uint256,uint256)) func (dB *DB) PackGetStatsStruct() []byte { @@ -182,8 +182,8 @@ func (dB *DB) UnpackGetStatsStruct(data []byte) (DBStats, error) { return out0, err } -// Insert is the Go binding used to pack the parameters required for calling -// the contract method 0x1d834a1b. +// PackInsert is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x1d834a1b. // // Solidity: function insert(uint256 k, uint256 v) returns(uint256) func (dB *DB) PackInsert(K *big.Int, V *big.Int) []byte { diff --git a/accounts/abi/bind/v2/internal/contracts/events/bindings.go b/accounts/abi/bind/v2/internal/contracts/events/bindings.go index be9fa323a0..99275f6f37 100644 --- a/accounts/abi/bind/v2/internal/contracts/events/bindings.go +++ b/accounts/abi/bind/v2/internal/contracts/events/bindings.go @@ -57,8 +57,8 @@ func (c *C) Instance(backend bind.ContractBackend, addr common.Address) *bind.Bo return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// DoSomethingWithManyArgs is the Go binding used to pack the parameters required for calling -// the contract method 0x6fd8b968. +// PackDoSomethingWithManyArgs is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x6fd8b968. // // Solidity: function DoSomethingWithManyArgs() pure returns(uint256, uint256, uint256, bool) func (c *C) PackDoSomethingWithManyArgs() []byte { @@ -96,8 +96,8 @@ func (c *C) UnpackDoSomethingWithManyArgs(data []byte) (DoSomethingWithManyArgsO } -// DoSomethingWithPoint is the Go binding used to pack the parameters required for calling -// the contract method 0xedcdc894. +// PackDoSomethingWithPoint is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xedcdc894. // // Solidity: function DoSomethingWithPoint((uint256,uint256) p) pure returns((uint256,uint256)) func (c *C) PackDoSomethingWithPoint(P CPoint) []byte { @@ -121,8 +121,8 @@ func (c *C) UnpackDoSomethingWithPoint(data []byte) (CPoint, error) { return out0, err } -// EmitMulti is the Go binding used to pack the parameters required for calling -// the contract method 0xcb493749. +// PackEmitMulti is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xcb493749. // // Solidity: function EmitMulti() returns() func (c *C) PackEmitMulti() []byte { @@ -133,8 +133,8 @@ func (c *C) PackEmitMulti() []byte { return enc } -// EmitOne is the Go binding used to pack the parameters required for calling -// the contract method 0xe8e49a71. +// PackEmitOne is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xe8e49a71. // // Solidity: function EmitOne() returns() func (c *C) PackEmitOne() []byte { @@ -145,7 +145,7 @@ func (c *C) PackEmitOne() []byte { return enc } -// CBasic1 represents a Basic1 event raised by the C contract. +// CBasic1 represents a basic1 event raised by the C contract. type CBasic1 struct { Id *big.Int Data *big.Int @@ -187,7 +187,7 @@ func (c *C) UnpackBasic1Event(log *types.Log) (*CBasic1, error) { return out, nil } -// CBasic2 represents a Basic2 event raised by the C contract. +// CBasic2 represents a basic2 event raised by the C contract. type CBasic2 struct { Flag bool Data *big.Int diff --git a/accounts/abi/bind/v2/internal/contracts/nested_libraries/bindings.go b/accounts/abi/bind/v2/internal/contracts/nested_libraries/bindings.go index 34c387e3b0..46a589f7f3 100644 --- a/accounts/abi/bind/v2/internal/contracts/nested_libraries/bindings.go +++ b/accounts/abi/bind/v2/internal/contracts/nested_libraries/bindings.go @@ -67,8 +67,8 @@ func (c1 *C1) PackConstructor(v1 *big.Int, v2 *big.Int) []byte { return enc } -// Do is the Go binding used to pack the parameters required for calling -// the contract method 0x2ad11272. +// PackDo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2ad11272. // // Solidity: function Do(uint256 val) pure returns(uint256 res) func (c1 *C1) PackDo(Val *big.Int) []byte { @@ -135,8 +135,8 @@ func (c2 *C2) PackConstructor(v1 *big.Int, v2 *big.Int) []byte { return enc } -// Do is the Go binding used to pack the parameters required for calling -// the contract method 0x2ad11272. +// PackDo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2ad11272. // // Solidity: function Do(uint256 val) pure returns(uint256 res) func (c2 *C2) PackDo(Val *big.Int) []byte { @@ -187,8 +187,8 @@ func (c *L1) Instance(backend bind.ContractBackend, addr common.Address) *bind.B return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Do is the Go binding used to pack the parameters required for calling -// the contract method 0x2ad11272. +// PackDo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2ad11272. // // Solidity: function Do(uint256 val) pure returns(uint256) func (l1 *L1) PackDo(Val *big.Int) []byte { @@ -242,8 +242,8 @@ func (c *L2) Instance(backend bind.ContractBackend, addr common.Address) *bind.B return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Do is the Go binding used to pack the parameters required for calling -// the contract method 0x2ad11272. +// PackDo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2ad11272. // // Solidity: function Do(uint256 val) pure returns(uint256) func (l2 *L2) PackDo(Val *big.Int) []byte { @@ -297,8 +297,8 @@ func (c *L2b) Instance(backend bind.ContractBackend, addr common.Address) *bind. return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Do is the Go binding used to pack the parameters required for calling -// the contract method 0x2ad11272. +// PackDo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2ad11272. // // Solidity: function Do(uint256 val) pure returns(uint256) func (l2b *L2b) PackDo(Val *big.Int) []byte { @@ -349,8 +349,8 @@ func (c *L3) Instance(backend bind.ContractBackend, addr common.Address) *bind.B return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Do is the Go binding used to pack the parameters required for calling -// the contract method 0x2ad11272. +// PackDo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2ad11272. // // Solidity: function Do(uint256 val) pure returns(uint256) func (l3 *L3) PackDo(Val *big.Int) []byte { @@ -405,8 +405,8 @@ func (c *L4) Instance(backend bind.ContractBackend, addr common.Address) *bind.B return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Do is the Go binding used to pack the parameters required for calling -// the contract method 0x2ad11272. +// PackDo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2ad11272. // // Solidity: function Do(uint256 val) pure returns(uint256) func (l4 *L4) PackDo(Val *big.Int) []byte { @@ -460,8 +460,8 @@ func (c *L4b) Instance(backend bind.ContractBackend, addr common.Address) *bind. return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Do is the Go binding used to pack the parameters required for calling -// the contract method 0x2ad11272. +// PackDo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0x2ad11272. // // Solidity: function Do(uint256 val) pure returns(uint256) func (l4b *L4b) PackDo(Val *big.Int) []byte { diff --git a/accounts/abi/bind/v2/internal/contracts/solc_errors/bindings.go b/accounts/abi/bind/v2/internal/contracts/solc_errors/bindings.go index 8d10ea3a3c..dc9b280562 100644 --- a/accounts/abi/bind/v2/internal/contracts/solc_errors/bindings.go +++ b/accounts/abi/bind/v2/internal/contracts/solc_errors/bindings.go @@ -51,8 +51,8 @@ func (c *C) Instance(backend bind.ContractBackend, addr common.Address) *bind.Bo return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Bar is the Go binding used to pack the parameters required for calling -// the contract method 0xb0a378b0. +// PackBar is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xb0a378b0. // // Solidity: function Bar() pure returns() func (c *C) PackBar() []byte { @@ -63,8 +63,8 @@ func (c *C) PackBar() []byte { return enc } -// Foo is the Go binding used to pack the parameters required for calling -// the contract method 0xbfb4ebcf. +// PackFoo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xbfb4ebcf. // // Solidity: function Foo() pure returns() func (c *C) PackFoo() []byte { @@ -168,8 +168,8 @@ func (c *C2) Instance(backend bind.ContractBackend, addr common.Address) *bind.B return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// Foo is the Go binding used to pack the parameters required for calling -// the contract method 0xbfb4ebcf. +// PackFoo is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xbfb4ebcf. // // Solidity: function Foo() pure returns() func (c2 *C2) PackFoo() []byte { diff --git a/accounts/abi/bind/v2/internal/contracts/uint256arrayreturn/bindings.go b/accounts/abi/bind/v2/internal/contracts/uint256arrayreturn/bindings.go index 69e0ba0227..226511cf07 100644 --- a/accounts/abi/bind/v2/internal/contracts/uint256arrayreturn/bindings.go +++ b/accounts/abi/bind/v2/internal/contracts/uint256arrayreturn/bindings.go @@ -51,8 +51,8 @@ func (c *MyContract) Instance(backend bind.ContractBackend, addr common.Address) return bind.NewBoundContract(addr, c.abi, backend, backend, backend) } -// GetNums is the Go binding used to pack the parameters required for calling -// the contract method 0xbd6d1007. +// PackGetNums is the Go binding used to pack the parameters required for calling +// the contract method with ID 0xbd6d1007. // // Solidity: function GetNums() pure returns(uint256[5]) func (myContract *MyContract) PackGetNums() []byte {