package
0.10.0-beta.2020101302
Repository: https://github.com/dabankio/wallet-core.git
Documentation: pkg.go.dev

# README

SimpleMultisig.sol originally copied from https://github.com/christianlundkvist/simple-multisig/blob/master/contracts/SimpleMultiSig.sol

注意

SimpleMultiSig.goabigenSimpleMultisig.sol生成,请勿手工修改

做了如下改动:

  • pragam 升级为^0.5.0
  • 语法上的调整(主要包括:memroy external require_message 等)
  • 加入了必要的event和view函数 (eg:入账事件,转账事件,查询owners/mRequired)
  • 调整常量避免冲突(未实施,参见eip-712)

##TODO name/version/chainid/salt/等值的更改

参考

eip-712

go绑定的生成参见cmd.sh,以及

# Functions

DeployApproveAndCallFallBack deploys a new Ethereum contract, binding an instance of ApproveAndCallFallBack to it.
DeployERC20Interface deploys a new Ethereum contract, binding an instance of ERC20Interface to it.
DeployFixedSupplyToken deploys a new Ethereum contract, binding an instance of FixedSupplyToken to it.
DeployOwned deploys a new Ethereum contract, binding an instance of Owned to it.
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
DeploySimpleMultiSig deploys a new Ethereum contract, binding an instance of SimpleMultiSig to it.
NewApproveAndCallFallBack creates a new instance of ApproveAndCallFallBack, bound to a specific deployed contract.
NewApproveAndCallFallBackCaller creates a new read-only instance of ApproveAndCallFallBack, bound to a specific deployed contract.
NewApproveAndCallFallBackFilterer creates a new log filterer instance of ApproveAndCallFallBack, bound to a specific deployed contract.
NewApproveAndCallFallBackTransactor creates a new write-only instance of ApproveAndCallFallBack, bound to a specific deployed contract.
NewERC20Interface creates a new instance of ERC20Interface, bound to a specific deployed contract.
No description provided by the author
NewERC20InterfaceCaller creates a new read-only instance of ERC20Interface, bound to a specific deployed contract.
NewERC20InterfaceFilterer creates a new log filterer instance of ERC20Interface, bound to a specific deployed contract.
NewERC20InterfaceTransactor creates a new write-only instance of ERC20Interface, bound to a specific deployed contract.
NewFixedSupplyToken creates a new instance of FixedSupplyToken, bound to a specific deployed contract.
NewFixedSupplyTokenCaller creates a new read-only instance of FixedSupplyToken, bound to a specific deployed contract.
NewFixedSupplyTokenFilterer creates a new log filterer instance of FixedSupplyToken, bound to a specific deployed contract.
NewFixedSupplyTokenTransactor creates a new write-only instance of FixedSupplyToken, bound to a specific deployed contract.
NewOwned creates a new instance of Owned, bound to a specific deployed contract.
NewOwnedCaller creates a new read-only instance of Owned, bound to a specific deployed contract.
NewOwnedFilterer creates a new log filterer instance of Owned, bound to a specific deployed contract.
NewOwnedTransactor creates a new write-only instance of Owned, bound to a specific deployed contract.
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
NewSimpleMultiSig creates a new instance of SimpleMultiSig, bound to a specific deployed contract.
NewSimpleMultiSigCaller creates a new read-only instance of SimpleMultiSig, bound to a specific deployed contract.
NewSimpleMultiSigFilterer creates a new log filterer instance of SimpleMultiSig, bound to a specific deployed contract.
NewSimpleMultiSigTransactor creates a new write-only instance of SimpleMultiSig, bound to a specific deployed contract.
PackedDeployERC20Interface deploys a new Ethereum contract, binding an instance of ERC20Interface to it.

# Constants

ApproveAndCallFallBackABI is the input ABI used to generate the binding from.
ApproveAndCallFallBackBin is the compiled bytecode used for deploying new contracts.
ERC20InterfaceABI is the input ABI used to generate the binding from.
ERC20InterfaceBin is the compiled bytecode used for deploying new contracts.
FixedSupplyTokenABI is the input ABI used to generate the binding from.
FixedSupplyTokenBin is the compiled bytecode used for deploying new contracts.
OwnedABI is the input ABI used to generate the binding from.
OwnedBin is the compiled bytecode used for deploying new contracts.
SafeMathABI is the input ABI used to generate the binding from.
SafeMathBin is the compiled bytecode used for deploying new contracts.
SimpleMultiSigABI is the input ABI used to generate the binding from.

# Variables

SimpleMultiSigBin is the compiled bytecode used for deploying new contracts.
SimpleMultiSigFuncSigs maps the 4-byte function signature to its string representation.

# Structs

ApproveAndCallFallBack is an auto generated Go binding around an Ethereum contract.
ApproveAndCallFallBackCaller is an auto generated read-only Go binding around an Ethereum contract.
ApproveAndCallFallBackCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
ApproveAndCallFallBackCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
ApproveAndCallFallBackFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
ApproveAndCallFallBackRaw is an auto generated low-level Go binding around an Ethereum contract.
ApproveAndCallFallBackSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
ApproveAndCallFallBackTransactor is an auto generated write-only Go binding around an Ethereum contract.
ApproveAndCallFallBackTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
ApproveAndCallFallBackTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
ERC20Interface is an auto generated Go binding around an Ethereum contract.
No description provided by the author
ERC20InterfaceApproval represents a Approval event raised by the ERC20Interface contract.
ERC20InterfaceApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20Interface contract.
ERC20InterfaceCaller is an auto generated read-only Go binding around an Ethereum contract.
ERC20InterfaceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
ERC20InterfaceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
ERC20InterfaceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
ERC20InterfaceRaw is an auto generated low-level Go binding around an Ethereum contract.
ERC20InterfaceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
ERC20InterfaceTransactor is an auto generated write-only Go binding around an Ethereum contract.
ERC20InterfaceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
ERC20InterfaceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
ERC20InterfaceTransfer represents a Transfer event raised by the ERC20Interface contract.
ERC20InterfaceTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20Interface contract.
FixedSupplyToken is an auto generated Go binding around an Ethereum contract.
FixedSupplyTokenApproval represents a Approval event raised by the FixedSupplyToken contract.
FixedSupplyTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the FixedSupplyToken contract.
FixedSupplyTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
FixedSupplyTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
FixedSupplyTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
FixedSupplyTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
FixedSupplyTokenOwnershipTransferred represents a OwnershipTransferred event raised by the FixedSupplyToken contract.
FixedSupplyTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FixedSupplyToken contract.
FixedSupplyTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
FixedSupplyTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
FixedSupplyTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
FixedSupplyTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
FixedSupplyTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
FixedSupplyTokenTransfer represents a Transfer event raised by the FixedSupplyToken contract.
FixedSupplyTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the FixedSupplyToken contract.
Owned is an auto generated Go binding around an Ethereum contract.
OwnedCaller is an auto generated read-only Go binding around an Ethereum contract.
OwnedCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
OwnedCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
OwnedFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
OwnedOwnershipTransferred represents a OwnershipTransferred event raised by the Owned contract.
OwnedOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Owned contract.
OwnedRaw is an auto generated low-level Go binding around an Ethereum contract.
OwnedSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
OwnedTransactor is an auto generated write-only Go binding around an Ethereum contract.
OwnedTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
OwnedTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
SafeMath is an auto generated Go binding around an Ethereum contract.
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
SimpleMultiSig is an auto generated Go binding around an Ethereum contract.
SimpleMultiSigCaller is an auto generated read-only Go binding around an Ethereum contract.
SimpleMultiSigCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
SimpleMultiSigCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
SimpleMultiSigDeposit represents a Deposit event raised by the SimpleMultiSig contract.
SimpleMultiSigDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the SimpleMultiSig contract.
SimpleMultiSigExecute represents a Execute event raised by the SimpleMultiSig contract.
SimpleMultiSigExecuteIterator is returned from FilterExecute and is used to iterate over the raw logs and unpacked data for Execute events raised by the SimpleMultiSig contract.
SimpleMultiSigFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
SimpleMultiSigRaw is an auto generated low-level Go binding around an Ethereum contract.
SimpleMultiSigSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
SimpleMultiSigTransactor is an auto generated write-only Go binding around an Ethereum contract.
SimpleMultiSigTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
SimpleMultiSigTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.