@@ -67,8 +67,8 @@ func (dAO *DAO) PackConstructor(minimumQuorumForProposals *big.Int, minutesForDe
6767// the contract method with ID 0x9644fcbd.
6868//
6969// Solidity: function changeMembership(address targetMember, bool canVote, string memberName) returns()
70- func (dAO *DAO) PackChangeMembership(TargetMember common.Address, CanVote bool, MemberName string) []byte {
71- enc, err := dAO.abi.Pack("changeMembership", TargetMember, CanVote, MemberName )
70+ func (dAO *DAO) PackChangeMembership(targetMember common.Address, canVote bool, memberName string) []byte {
71+ enc, err := dAO.abi.Pack("changeMembership", targetMember, canVote, memberName )
7272 if err != nil {
7373 panic(err)
7474 }
@@ -79,8 +79,8 @@ func (dAO *DAO) PackChangeMembership(TargetMember common.Address, CanVote bool,
7979// the contract method with ID 0xbcca1fd3.
8080//
8181// Solidity: function changeVotingRules(uint256 minimumQuorumForProposals, uint256 minutesForDebate, int256 marginOfVotesForMajority) returns()
82- func (dAO *DAO) PackChangeVotingRules(MinimumQuorumForProposals *big.Int, MinutesForDebate *big.Int, MarginOfVotesForMajority *big.Int) []byte {
83- enc, err := dAO.abi.Pack("changeVotingRules", MinimumQuorumForProposals, MinutesForDebate, MarginOfVotesForMajority )
82+ func (dAO *DAO) PackChangeVotingRules(minimumQuorumForProposals *big.Int, minutesForDebate *big.Int, marginOfVotesForMajority *big.Int) []byte {
83+ enc, err := dAO.abi.Pack("changeVotingRules", minimumQuorumForProposals, minutesForDebate, marginOfVotesForMajority )
8484 if err != nil {
8585 panic(err)
8686 }
@@ -91,8 +91,8 @@ func (dAO *DAO) PackChangeVotingRules(MinimumQuorumForProposals *big.Int, Minute
9191// the contract method with ID 0xeceb2945.
9292//
9393// Solidity: function checkProposalCode(uint256 proposalNumber, address beneficiary, uint256 etherAmount, bytes transactionBytecode) returns(bool codeChecksOut)
94- func (dAO *DAO) PackCheckProposalCode(ProposalNumber *big.Int, Beneficiary common.Address, EtherAmount *big.Int, TransactionBytecode []byte) []byte {
95- enc, err := dAO.abi.Pack("checkProposalCode", ProposalNumber, Beneficiary, EtherAmount, TransactionBytecode )
94+ func (dAO *DAO) PackCheckProposalCode(proposalNumber *big.Int, beneficiary common.Address, etherAmount *big.Int, transactionBytecode []byte) []byte {
95+ enc, err := dAO.abi.Pack("checkProposalCode", proposalNumber, beneficiary, etherAmount, transactionBytecode )
9696 if err != nil {
9797 panic(err)
9898 }
@@ -141,8 +141,8 @@ func (dAO *DAO) UnpackDebatingPeriodInMinutes(data []byte) (*big.Int, error) {
141141// the contract method with ID 0x237e9492.
142142//
143143// Solidity: function executeProposal(uint256 proposalNumber, bytes transactionBytecode) returns(int256 result)
144- func (dAO *DAO) PackExecuteProposal(ProposalNumber *big.Int, TransactionBytecode []byte) []byte {
145- enc, err := dAO.abi.Pack("executeProposal", ProposalNumber, TransactionBytecode )
144+ func (dAO *DAO) PackExecuteProposal(proposalNumber *big.Int, transactionBytecode []byte) []byte {
145+ enc, err := dAO.abi.Pack("executeProposal", proposalNumber, transactionBytecode )
146146 if err != nil {
147147 panic(err)
148148 }
@@ -191,8 +191,8 @@ func (dAO *DAO) UnpackMajorityMargin(data []byte) (*big.Int, error) {
191191// the contract method with ID 0x39106821.
192192//
193193// Solidity: function memberId(address ) returns(uint256)
194- func (dAO *DAO) PackMemberId(Arg0 common.Address) []byte {
195- enc, err := dAO.abi.Pack("memberId", Arg0 )
194+ func (dAO *DAO) PackMemberId(arg0 common.Address) []byte {
195+ enc, err := dAO.abi.Pack("memberId", arg0 )
196196 if err != nil {
197197 panic(err)
198198 }
@@ -216,8 +216,8 @@ func (dAO *DAO) UnpackMemberId(data []byte) (*big.Int, error) {
216216// the contract method with ID 0x5daf08ca.
217217//
218218// Solidity: function members(uint256 ) returns(address member, bool canVote, string name, uint256 memberSince)
219- func (dAO *DAO) PackMembers(Arg0 *big.Int) []byte {
220- enc, err := dAO.abi.Pack("members", Arg0 )
219+ func (dAO *DAO) PackMembers(arg0 *big.Int) []byte {
220+ enc, err := dAO.abi.Pack("members", arg0 )
221221 if err != nil {
222222 panic(err)
223223 }
@@ -280,8 +280,8 @@ func (dAO *DAO) UnpackMinimumQuorum(data []byte) (*big.Int, error) {
280280// the contract method with ID 0xb1050da5.
281281//
282282// Solidity: function newProposal(address beneficiary, uint256 etherAmount, string JobDescription, bytes transactionBytecode) returns(uint256 proposalID)
283- func (dAO *DAO) PackNewProposal(Beneficiary common.Address, EtherAmount *big.Int, JobDescription string, TransactionBytecode []byte) []byte {
284- enc, err := dAO.abi.Pack("newProposal", Beneficiary, EtherAmount, JobDescription, TransactionBytecode )
283+ func (dAO *DAO) PackNewProposal(beneficiary common.Address, etherAmount *big.Int, jobDescription string, transactionBytecode []byte) []byte {
284+ enc, err := dAO.abi.Pack("newProposal", beneficiary, etherAmount, jobDescription, transactionBytecode )
285285 if err != nil {
286286 panic(err)
287287 }
@@ -355,8 +355,8 @@ func (dAO *DAO) UnpackOwner(data []byte) (common.Address, error) {
355355// the contract method with ID 0x013cf08b.
356356//
357357// Solidity: function proposals(uint256 ) returns(address recipient, uint256 amount, string description, uint256 votingDeadline, bool executed, bool proposalPassed, uint256 numberOfVotes, int256 currentResult, bytes32 proposalHash)
358- func (dAO *DAO) PackProposals(Arg0 *big.Int) []byte {
359- enc, err := dAO.abi.Pack("proposals", Arg0 )
358+ func (dAO *DAO) PackProposals(arg0 *big.Int) []byte {
359+ enc, err := dAO.abi.Pack("proposals", arg0 )
360360 if err != nil {
361361 panic(err)
362362 }
@@ -404,8 +404,8 @@ func (dAO *DAO) UnpackProposals(data []byte) (ProposalsOutput, error) {
404404// the contract method with ID 0xf2fde38b.
405405//
406406// Solidity: function transferOwnership(address newOwner) returns()
407- func (dAO *DAO) PackTransferOwnership(NewOwner common.Address) []byte {
408- enc, err := dAO.abi.Pack("transferOwnership", NewOwner )
407+ func (dAO *DAO) PackTransferOwnership(newOwner common.Address) []byte {
408+ enc, err := dAO.abi.Pack("transferOwnership", newOwner )
409409 if err != nil {
410410 panic(err)
411411 }
@@ -416,8 +416,8 @@ func (dAO *DAO) PackTransferOwnership(NewOwner common.Address) []byte {
416416// the contract method with ID 0xd3c0715b.
417417//
418418// Solidity: function vote(uint256 proposalNumber, bool supportsProposal, string justificationText) returns(uint256 voteID)
419- func (dAO *DAO) PackVote(ProposalNumber *big.Int, SupportsProposal bool, JustificationText string) []byte {
420- enc, err := dAO.abi.Pack("vote", ProposalNumber, SupportsProposal, JustificationText )
419+ func (dAO *DAO) PackVote(proposalNumber *big.Int, supportsProposal bool, justificationText string) []byte {
420+ enc, err := dAO.abi.Pack("vote", proposalNumber, supportsProposal, justificationText )
421421 if err != nil {
422422 panic(err)
423423 }
0 commit comments