Documentation ¶
Index ¶
- Variables
- type Wallet
- type WalletCaller
- func (_Wallet *WalletCaller) CalcMaxWithdraw(opts *bind.CallOpts) (*big.Int, error)
- func (_Wallet *WalletCaller) Confirmations(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Wallet *WalletCaller) DailyLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_Wallet *WalletCaller) GetConfirmationCount(opts *bind.CallOpts, transactionId *big.Int) (*big.Int, error)
- func (_Wallet *WalletCaller) GetConfirmations(opts *bind.CallOpts, transactionId *big.Int) ([]common.Address, error)
- func (_Wallet *WalletCaller) GetOwners(opts *bind.CallOpts) ([]common.Address, error)
- func (_Wallet *WalletCaller) GetTransactionCount(opts *bind.CallOpts, pending bool, executed bool) (*big.Int, error)
- func (_Wallet *WalletCaller) GetTransactionIds(opts *bind.CallOpts, from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
- func (_Wallet *WalletCaller) IsConfirmed(opts *bind.CallOpts, transactionId *big.Int) (bool, error)
- func (_Wallet *WalletCaller) IsOwner(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Wallet *WalletCaller) IsTransfer(opts *bind.CallOpts, data []byte) (bool, error)
- func (_Wallet *WalletCaller) LastDay(opts *bind.CallOpts) (*big.Int, error)
- func (_Wallet *WalletCaller) MAXOWNERCOUNT(opts *bind.CallOpts) (*big.Int, error)
- func (_Wallet *WalletCaller) Owners(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_Wallet *WalletCaller) Required(opts *bind.CallOpts) (*big.Int, error)
- func (_Wallet *WalletCaller) SpentToday(opts *bind.CallOpts) (*big.Int, error)
- func (_Wallet *WalletCaller) TransactionCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Wallet *WalletCaller) Transactions(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- type WalletCallerRaw
- type WalletCallerSession
- func (_Wallet *WalletCallerSession) CalcMaxWithdraw() (*big.Int, error)
- func (_Wallet *WalletCallerSession) Confirmations(arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Wallet *WalletCallerSession) DailyLimit() (*big.Int, error)
- func (_Wallet *WalletCallerSession) GetConfirmationCount(transactionId *big.Int) (*big.Int, error)
- func (_Wallet *WalletCallerSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)
- func (_Wallet *WalletCallerSession) GetOwners() ([]common.Address, error)
- func (_Wallet *WalletCallerSession) GetTransactionCount(pending bool, executed bool) (*big.Int, error)
- func (_Wallet *WalletCallerSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
- func (_Wallet *WalletCallerSession) IsConfirmed(transactionId *big.Int) (bool, error)
- func (_Wallet *WalletCallerSession) IsOwner(arg0 common.Address) (bool, error)
- func (_Wallet *WalletCallerSession) IsTransfer(data []byte) (bool, error)
- func (_Wallet *WalletCallerSession) LastDay() (*big.Int, error)
- func (_Wallet *WalletCallerSession) MAXOWNERCOUNT() (*big.Int, error)
- func (_Wallet *WalletCallerSession) Owners(arg0 *big.Int) (common.Address, error)
- func (_Wallet *WalletCallerSession) Required() (*big.Int, error)
- func (_Wallet *WalletCallerSession) SpentToday() (*big.Int, error)
- func (_Wallet *WalletCallerSession) TransactionCount() (*big.Int, error)
- func (_Wallet *WalletCallerSession) Transactions(arg0 *big.Int) (struct{ ... }, error)
- type WalletConfirmation
- type WalletConfirmationIterator
- type WalletDailyLimitChange
- type WalletDailyLimitChangeIterator
- type WalletDeposit
- type WalletDepositIterator
- type WalletExecution
- type WalletExecutionFailure
- type WalletExecutionFailureIterator
- type WalletExecutionIterator
- type WalletFilterer
- func (_Wallet *WalletFilterer) FilterConfirmation(opts *bind.FilterOpts) (*WalletConfirmationIterator, error)
- func (_Wallet *WalletFilterer) FilterDailyLimitChange(opts *bind.FilterOpts) (*WalletDailyLimitChangeIterator, error)
- func (_Wallet *WalletFilterer) FilterDeposit(opts *bind.FilterOpts) (*WalletDepositIterator, error)
- func (_Wallet *WalletFilterer) FilterExecution(opts *bind.FilterOpts) (*WalletExecutionIterator, error)
- func (_Wallet *WalletFilterer) FilterExecutionFailure(opts *bind.FilterOpts) (*WalletExecutionFailureIterator, error)
- func (_Wallet *WalletFilterer) FilterOwnerAddition(opts *bind.FilterOpts) (*WalletOwnerAdditionIterator, error)
- func (_Wallet *WalletFilterer) FilterOwnerRemoval(opts *bind.FilterOpts) (*WalletOwnerRemovalIterator, error)
- func (_Wallet *WalletFilterer) FilterRequirementChange(opts *bind.FilterOpts) (*WalletRequirementChangeIterator, error)
- func (_Wallet *WalletFilterer) FilterRevocation(opts *bind.FilterOpts) (*WalletRevocationIterator, error)
- func (_Wallet *WalletFilterer) FilterSubmission(opts *bind.FilterOpts) (*WalletSubmissionIterator, error)
- func (_Wallet *WalletFilterer) ParseConfirmation(log types.Log) (*WalletConfirmation, error)
- func (_Wallet *WalletFilterer) ParseDailyLimitChange(log types.Log) (*WalletDailyLimitChange, error)
- func (_Wallet *WalletFilterer) ParseDeposit(log types.Log) (*WalletDeposit, error)
- func (_Wallet *WalletFilterer) ParseExecution(log types.Log) (*WalletExecution, error)
- func (_Wallet *WalletFilterer) ParseExecutionFailure(log types.Log) (*WalletExecutionFailure, error)
- func (_Wallet *WalletFilterer) ParseOwnerAddition(log types.Log) (*WalletOwnerAddition, error)
- func (_Wallet *WalletFilterer) ParseOwnerRemoval(log types.Log) (*WalletOwnerRemoval, error)
- func (_Wallet *WalletFilterer) ParseRequirementChange(log types.Log) (*WalletRequirementChange, error)
- func (_Wallet *WalletFilterer) ParseRevocation(log types.Log) (*WalletRevocation, error)
- func (_Wallet *WalletFilterer) ParseSubmission(log types.Log) (*WalletSubmission, error)
- func (_Wallet *WalletFilterer) WatchConfirmation(opts *bind.WatchOpts, sink chan<- *WalletConfirmation) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchDailyLimitChange(opts *bind.WatchOpts, sink chan<- *WalletDailyLimitChange) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WalletDeposit) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchExecution(opts *bind.WatchOpts, sink chan<- *WalletExecution) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchExecutionFailure(opts *bind.WatchOpts, sink chan<- *WalletExecutionFailure) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchOwnerAddition(opts *bind.WatchOpts, sink chan<- *WalletOwnerAddition) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchOwnerRemoval(opts *bind.WatchOpts, sink chan<- *WalletOwnerRemoval) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchRequirementChange(opts *bind.WatchOpts, sink chan<- *WalletRequirementChange) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchRevocation(opts *bind.WatchOpts, sink chan<- *WalletRevocation) (event.Subscription, error)
- func (_Wallet *WalletFilterer) WatchSubmission(opts *bind.WatchOpts, sink chan<- *WalletSubmission) (event.Subscription, error)
- type WalletOwnerAddition
- type WalletOwnerAdditionIterator
- type WalletOwnerRemoval
- type WalletOwnerRemovalIterator
- type WalletRaw
- func (_Wallet *WalletRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Wallet *WalletRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Wallet *WalletRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WalletRequirementChange
- type WalletRequirementChangeIterator
- type WalletRevocation
- type WalletRevocationIterator
- type WalletSession
- func (_Wallet *WalletSession) AddOwner(owner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletSession) CalcMaxWithdraw() (*big.Int, error)
- func (_Wallet *WalletSession) CalculateData2(data []byte) (*types.Transaction, error)
- func (_Wallet *WalletSession) CalculateEthFee(value *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_Wallet *WalletSession) ChangeDailyLimit(_dailyLimit *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletSession) ChangeFee(newFee *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletSession) Confirmations(arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Wallet *WalletSession) DailyLimit() (*big.Int, error)
- func (_Wallet *WalletSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletSession) GetConfirmationCount(transactionId *big.Int) (*big.Int, error)
- func (_Wallet *WalletSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)
- func (_Wallet *WalletSession) GetOwners() ([]common.Address, error)
- func (_Wallet *WalletSession) GetTransactionCount(pending bool, executed bool) (*big.Int, error)
- func (_Wallet *WalletSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
- func (_Wallet *WalletSession) IsConfirmed(transactionId *big.Int) (bool, error)
- func (_Wallet *WalletSession) IsOwner(arg0 common.Address) (bool, error)
- func (_Wallet *WalletSession) IsTransfer(data []byte) (bool, error)
- func (_Wallet *WalletSession) LastDay() (*big.Int, error)
- func (_Wallet *WalletSession) MAXOWNERCOUNT() (*big.Int, error)
- func (_Wallet *WalletSession) Owners(arg0 *big.Int) (common.Address, error)
- func (_Wallet *WalletSession) Receive() (*types.Transaction, error)
- func (_Wallet *WalletSession) RemoveOwner(owner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletSession) Required() (*big.Int, error)
- func (_Wallet *WalletSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletSession) SpentToday() (*big.Int, error)
- func (_Wallet *WalletSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
- func (_Wallet *WalletSession) TransactionCount() (*big.Int, error)
- func (_Wallet *WalletSession) Transactions(arg0 *big.Int) (struct{ ... }, error)
- type WalletSubmission
- type WalletSubmissionIterator
- type WalletTransactor
- func (_Wallet *WalletTransactor) AddOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) CalculateData2(opts *bind.TransactOpts, data []byte) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) CalculateEthFee(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) ChangeAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) ChangeDailyLimit(opts *bind.TransactOpts, _dailyLimit *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) ChangeFee(opts *bind.TransactOpts, newFee *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) ChangeRequirement(opts *bind.TransactOpts, _required *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) ConfirmTransaction(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) ExecuteTransaction(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) RemoveOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) ReplaceOwner(opts *bind.TransactOpts, owner common.Address, newOwner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) RevokeConfirmation(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactor) SubmitTransaction(opts *bind.TransactOpts, destination common.Address, value *big.Int, ...) (*types.Transaction, error)
- type WalletTransactorRaw
- type WalletTransactorSession
- func (_Wallet *WalletTransactorSession) AddOwner(owner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) CalculateData2(data []byte) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) CalculateEthFee(value *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) ChangeDailyLimit(_dailyLimit *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) ChangeFee(newFee *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) Receive() (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) RemoveOwner(owner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)
- func (_Wallet *WalletTransactorSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var WalletABI = WalletMetaData.ABI
WalletABI is the input ABI used to generate the binding from. Deprecated: Use WalletMetaData.ABI instead.
var WalletMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_owners\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"_required\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_dailyLimit\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"Confirmation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dailyLimit\",\"type\":\"uint256\"}],\"name\":\"DailyLimitChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"Execution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"ExecutionFailure\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnerAddition\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnerRemoval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"}],\"name\":\"RequirementChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"Revocation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"Submission\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_OWNER_COUNT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"_calculateData2\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data2\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"addOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calcMaxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"calculateEthFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"ethToTransfer\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dailyLimit\",\"type\":\"uint256\"}],\"name\":\"changeDailyLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFee\",\"type\":\"uint256\"}],\"name\":\"changeFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_required\",\"type\":\"uint256\"}],\"name\":\"changeRequirement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"confirmTransaction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"confirmations\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dailyLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"executeTransaction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"getConfirmationCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"getConfirmations\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"_confirmations\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwners\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"pending\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"executed\",\"type\":\"bool\"}],\"name\":\"getTransactionCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"pending\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"executed\",\"type\":\"bool\"}],\"name\":\"getTransactionIds\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_transactionIds\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"isConfirmed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"isTransfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastDay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"owners\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"removeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"replaceOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"required\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"name\":\"revokeConfirmation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"spentToday\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"submitTransaction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"transactionId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transactionCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transactions\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"executed\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
WalletMetaData contains all meta data concerning the Wallet contract.
Functions ¶
This section is empty.
Types ¶
type Wallet ¶ added in v0.0.5
type Wallet struct { WalletCaller // Read-only binding to the contract WalletTransactor // Write-only binding to the contract WalletFilterer // Log filterer for contract events }
Wallet is an auto generated Go binding around an Ethereum contract.
type WalletCaller ¶ added in v0.0.5
type WalletCaller struct {
// contains filtered or unexported fields
}
WalletCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWalletCaller ¶ added in v0.0.5
func NewWalletCaller(address common.Address, caller bind.ContractCaller) (*WalletCaller, error)
NewWalletCaller creates a new read-only instance of Wallet, bound to a specific deployed contract.
func (*WalletCaller) CalcMaxWithdraw ¶ added in v0.0.5
CalcMaxWithdraw is a free data retrieval call binding the contract method 0x4bc9fdc2.
Solidity: function calcMaxWithdraw() view returns(uint256)
func (*WalletCaller) Confirmations ¶ added in v0.0.5
func (_Wallet *WalletCaller) Confirmations(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)
Confirmations is a free data retrieval call binding the contract method 0x3411c81c.
Solidity: function confirmations(uint256 , address ) view returns(bool)
func (*WalletCaller) DailyLimit ¶ added in v0.0.5
DailyLimit is a free data retrieval call binding the contract method 0x67eeba0c.
Solidity: function dailyLimit() view returns(uint256)
func (*WalletCaller) GetConfirmationCount ¶ added in v0.0.5
func (_Wallet *WalletCaller) GetConfirmationCount(opts *bind.CallOpts, transactionId *big.Int) (*big.Int, error)
GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.
Solidity: function getConfirmationCount(uint256 transactionId) view returns(uint256 count)
func (*WalletCaller) GetConfirmations ¶ added in v0.0.5
func (_Wallet *WalletCaller) GetConfirmations(opts *bind.CallOpts, transactionId *big.Int) ([]common.Address, error)
GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.
Solidity: function getConfirmations(uint256 transactionId) view returns(address[] _confirmations)
func (*WalletCaller) GetOwners ¶ added in v0.0.5
GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.
Solidity: function getOwners() view returns(address[])
func (*WalletCaller) GetTransactionCount ¶ added in v0.0.5
func (_Wallet *WalletCaller) GetTransactionCount(opts *bind.CallOpts, pending bool, executed bool) (*big.Int, error)
GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.
Solidity: function getTransactionCount(bool pending, bool executed) view returns(uint256 count)
func (*WalletCaller) GetTransactionIds ¶ added in v0.0.5
func (_Wallet *WalletCaller) GetTransactionIds(opts *bind.CallOpts, from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.
Solidity: function getTransactionIds(uint256 from, uint256 to, bool pending, bool executed) view returns(uint256[] _transactionIds)
func (*WalletCaller) IsConfirmed ¶ added in v0.0.5
IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.
Solidity: function isConfirmed(uint256 transactionId) view returns(bool)
func (*WalletCaller) IsOwner ¶ added in v0.0.5
IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.
Solidity: function isOwner(address ) view returns(bool)
func (*WalletCaller) IsTransfer ¶ added in v0.0.5
IsTransfer is a free data retrieval call binding the contract method 0xaf8a08d9.
Solidity: function isTransfer(bytes data) pure returns(bool)
func (*WalletCaller) LastDay ¶ added in v0.0.5
LastDay is a free data retrieval call binding the contract method 0x6b0c932d.
Solidity: function lastDay() view returns(uint256)
func (*WalletCaller) MAXOWNERCOUNT ¶ added in v0.0.5
MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.
Solidity: function MAX_OWNER_COUNT() view returns(uint256)
func (*WalletCaller) Owners ¶ added in v0.0.5
Owners is a free data retrieval call binding the contract method 0x025e7c27.
Solidity: function owners(uint256 ) view returns(address)
func (*WalletCaller) Required ¶ added in v0.0.5
Required is a free data retrieval call binding the contract method 0xdc8452cd.
Solidity: function required() view returns(uint256)
func (*WalletCaller) SpentToday ¶ added in v0.0.5
SpentToday is a free data retrieval call binding the contract method 0xf059cf2b.
Solidity: function spentToday() view returns(uint256)
func (*WalletCaller) TransactionCount ¶ added in v0.0.5
TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.
Solidity: function transactionCount() view returns(uint256)
func (*WalletCaller) Transactions ¶ added in v0.0.5
func (_Wallet *WalletCaller) Transactions(opts *bind.CallOpts, arg0 *big.Int) (struct { Destination common.Address Value *big.Int Data []byte Executed bool }, error)
Transactions is a free data retrieval call binding the contract method 0x9ace38c2.
Solidity: function transactions(uint256 ) view returns(address destination, uint256 value, bytes data, bool executed)
type WalletCallerRaw ¶ added in v0.0.5
type WalletCallerRaw struct {
Contract *WalletCaller // Generic read-only contract binding to access the raw methods on
}
WalletCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WalletCallerRaw) Call ¶ added in v0.0.5
func (_Wallet *WalletCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type WalletCallerSession ¶ added in v0.0.5
type WalletCallerSession struct { Contract *WalletCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WalletCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WalletCallerSession) CalcMaxWithdraw ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) CalcMaxWithdraw() (*big.Int, error)
CalcMaxWithdraw is a free data retrieval call binding the contract method 0x4bc9fdc2.
Solidity: function calcMaxWithdraw() view returns(uint256)
func (*WalletCallerSession) Confirmations ¶ added in v0.0.5
Confirmations is a free data retrieval call binding the contract method 0x3411c81c.
Solidity: function confirmations(uint256 , address ) view returns(bool)
func (*WalletCallerSession) DailyLimit ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) DailyLimit() (*big.Int, error)
DailyLimit is a free data retrieval call binding the contract method 0x67eeba0c.
Solidity: function dailyLimit() view returns(uint256)
func (*WalletCallerSession) GetConfirmationCount ¶ added in v0.0.5
GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.
Solidity: function getConfirmationCount(uint256 transactionId) view returns(uint256 count)
func (*WalletCallerSession) GetConfirmations ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)
GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.
Solidity: function getConfirmations(uint256 transactionId) view returns(address[] _confirmations)
func (*WalletCallerSession) GetOwners ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) GetOwners() ([]common.Address, error)
GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.
Solidity: function getOwners() view returns(address[])
func (*WalletCallerSession) GetTransactionCount ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) GetTransactionCount(pending bool, executed bool) (*big.Int, error)
GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.
Solidity: function getTransactionCount(bool pending, bool executed) view returns(uint256 count)
func (*WalletCallerSession) GetTransactionIds ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.
Solidity: function getTransactionIds(uint256 from, uint256 to, bool pending, bool executed) view returns(uint256[] _transactionIds)
func (*WalletCallerSession) IsConfirmed ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) IsConfirmed(transactionId *big.Int) (bool, error)
IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.
Solidity: function isConfirmed(uint256 transactionId) view returns(bool)
func (*WalletCallerSession) IsOwner ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) IsOwner(arg0 common.Address) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.
Solidity: function isOwner(address ) view returns(bool)
func (*WalletCallerSession) IsTransfer ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) IsTransfer(data []byte) (bool, error)
IsTransfer is a free data retrieval call binding the contract method 0xaf8a08d9.
Solidity: function isTransfer(bytes data) pure returns(bool)
func (*WalletCallerSession) LastDay ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) LastDay() (*big.Int, error)
LastDay is a free data retrieval call binding the contract method 0x6b0c932d.
Solidity: function lastDay() view returns(uint256)
func (*WalletCallerSession) MAXOWNERCOUNT ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) MAXOWNERCOUNT() (*big.Int, error)
MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.
Solidity: function MAX_OWNER_COUNT() view returns(uint256)
func (*WalletCallerSession) Owners ¶ added in v0.0.5
Owners is a free data retrieval call binding the contract method 0x025e7c27.
Solidity: function owners(uint256 ) view returns(address)
func (*WalletCallerSession) Required ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) Required() (*big.Int, error)
Required is a free data retrieval call binding the contract method 0xdc8452cd.
Solidity: function required() view returns(uint256)
func (*WalletCallerSession) SpentToday ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) SpentToday() (*big.Int, error)
SpentToday is a free data retrieval call binding the contract method 0xf059cf2b.
Solidity: function spentToday() view returns(uint256)
func (*WalletCallerSession) TransactionCount ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) TransactionCount() (*big.Int, error)
TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.
Solidity: function transactionCount() view returns(uint256)
func (*WalletCallerSession) Transactions ¶ added in v0.0.5
func (_Wallet *WalletCallerSession) Transactions(arg0 *big.Int) (struct { Destination common.Address Value *big.Int Data []byte Executed bool }, error)
Transactions is a free data retrieval call binding the contract method 0x9ace38c2.
Solidity: function transactions(uint256 ) view returns(address destination, uint256 value, bytes data, bool executed)
type WalletConfirmation ¶ added in v0.0.5
type WalletConfirmation struct { Sender common.Address TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
WalletConfirmation represents a Confirmation event raised by the Wallet contract.
type WalletConfirmationIterator ¶ added in v0.0.5
type WalletConfirmationIterator struct { Event *WalletConfirmation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletConfirmationIterator is returned from FilterConfirmation and is used to iterate over the raw logs and unpacked data for Confirmation events raised by the Wallet contract.
func (*WalletConfirmationIterator) Close ¶ added in v0.0.5
func (it *WalletConfirmationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletConfirmationIterator) Error ¶ added in v0.0.5
func (it *WalletConfirmationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletConfirmationIterator) Next ¶ added in v0.0.5
func (it *WalletConfirmationIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletDailyLimitChange ¶ added in v0.0.5
type WalletDailyLimitChange struct { DailyLimit *big.Int Raw types.Log // Blockchain specific contextual infos }
WalletDailyLimitChange represents a DailyLimitChange event raised by the Wallet contract.
type WalletDailyLimitChangeIterator ¶ added in v0.0.5
type WalletDailyLimitChangeIterator struct { Event *WalletDailyLimitChange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletDailyLimitChangeIterator is returned from FilterDailyLimitChange and is used to iterate over the raw logs and unpacked data for DailyLimitChange events raised by the Wallet contract.
func (*WalletDailyLimitChangeIterator) Close ¶ added in v0.0.5
func (it *WalletDailyLimitChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletDailyLimitChangeIterator) Error ¶ added in v0.0.5
func (it *WalletDailyLimitChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletDailyLimitChangeIterator) Next ¶ added in v0.0.5
func (it *WalletDailyLimitChangeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletDeposit ¶ added in v0.0.5
type WalletDeposit struct { Sender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WalletDeposit represents a Deposit event raised by the Wallet contract.
type WalletDepositIterator ¶ added in v0.0.5
type WalletDepositIterator struct { Event *WalletDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Wallet contract.
func (*WalletDepositIterator) Close ¶ added in v0.0.5
func (it *WalletDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletDepositIterator) Error ¶ added in v0.0.5
func (it *WalletDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletDepositIterator) Next ¶ added in v0.0.5
func (it *WalletDepositIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletExecution ¶ added in v0.0.5
type WalletExecution struct { TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
WalletExecution represents a Execution event raised by the Wallet contract.
type WalletExecutionFailure ¶ added in v0.0.5
type WalletExecutionFailure struct { TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
WalletExecutionFailure represents a ExecutionFailure event raised by the Wallet contract.
type WalletExecutionFailureIterator ¶ added in v0.0.5
type WalletExecutionFailureIterator struct { Event *WalletExecutionFailure // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletExecutionFailureIterator is returned from FilterExecutionFailure and is used to iterate over the raw logs and unpacked data for ExecutionFailure events raised by the Wallet contract.
func (*WalletExecutionFailureIterator) Close ¶ added in v0.0.5
func (it *WalletExecutionFailureIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletExecutionFailureIterator) Error ¶ added in v0.0.5
func (it *WalletExecutionFailureIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletExecutionFailureIterator) Next ¶ added in v0.0.5
func (it *WalletExecutionFailureIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletExecutionIterator ¶ added in v0.0.5
type WalletExecutionIterator struct { Event *WalletExecution // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletExecutionIterator is returned from FilterExecution and is used to iterate over the raw logs and unpacked data for Execution events raised by the Wallet contract.
func (*WalletExecutionIterator) Close ¶ added in v0.0.5
func (it *WalletExecutionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletExecutionIterator) Error ¶ added in v0.0.5
func (it *WalletExecutionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletExecutionIterator) Next ¶ added in v0.0.5
func (it *WalletExecutionIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletFilterer ¶ added in v0.0.5
type WalletFilterer struct {
// contains filtered or unexported fields
}
WalletFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWalletFilterer ¶ added in v0.0.5
func NewWalletFilterer(address common.Address, filterer bind.ContractFilterer) (*WalletFilterer, error)
NewWalletFilterer creates a new log filterer instance of Wallet, bound to a specific deployed contract.
func (*WalletFilterer) FilterConfirmation ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterConfirmation(opts *bind.FilterOpts) (*WalletConfirmationIterator, error)
FilterConfirmation is a free log retrieval operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.
Solidity: event Confirmation(address sender, uint256 transactionId)
func (*WalletFilterer) FilterDailyLimitChange ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterDailyLimitChange(opts *bind.FilterOpts) (*WalletDailyLimitChangeIterator, error)
FilterDailyLimitChange is a free log retrieval operation binding the contract event 0xc71bdc6afaf9b1aa90a7078191d4fc1adf3bf680fca3183697df6b0dc226bca2.
Solidity: event DailyLimitChange(uint256 dailyLimit)
func (*WalletFilterer) FilterDeposit ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterDeposit(opts *bind.FilterOpts) (*WalletDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address sender, uint256 value)
func (*WalletFilterer) FilterExecution ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterExecution(opts *bind.FilterOpts) (*WalletExecutionIterator, error)
FilterExecution is a free log retrieval operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 transactionId)
func (*WalletFilterer) FilterExecutionFailure ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterExecutionFailure(opts *bind.FilterOpts) (*WalletExecutionFailureIterator, error)
FilterExecutionFailure is a free log retrieval operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.
Solidity: event ExecutionFailure(uint256 transactionId)
func (*WalletFilterer) FilterOwnerAddition ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterOwnerAddition(opts *bind.FilterOpts) (*WalletOwnerAdditionIterator, error)
FilterOwnerAddition is a free log retrieval operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.
Solidity: event OwnerAddition(address owner)
func (*WalletFilterer) FilterOwnerRemoval ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterOwnerRemoval(opts *bind.FilterOpts) (*WalletOwnerRemovalIterator, error)
FilterOwnerRemoval is a free log retrieval operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.
Solidity: event OwnerRemoval(address owner)
func (*WalletFilterer) FilterRequirementChange ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterRequirementChange(opts *bind.FilterOpts) (*WalletRequirementChangeIterator, error)
FilterRequirementChange is a free log retrieval operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.
Solidity: event RequirementChange(uint256 required)
func (*WalletFilterer) FilterRevocation ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterRevocation(opts *bind.FilterOpts) (*WalletRevocationIterator, error)
FilterRevocation is a free log retrieval operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.
Solidity: event Revocation(address sender, uint256 transactionId)
func (*WalletFilterer) FilterSubmission ¶ added in v0.0.5
func (_Wallet *WalletFilterer) FilterSubmission(opts *bind.FilterOpts) (*WalletSubmissionIterator, error)
FilterSubmission is a free log retrieval operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.
Solidity: event Submission(uint256 transactionId)
func (*WalletFilterer) ParseConfirmation ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseConfirmation(log types.Log) (*WalletConfirmation, error)
ParseConfirmation is a log parse operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.
Solidity: event Confirmation(address sender, uint256 transactionId)
func (*WalletFilterer) ParseDailyLimitChange ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseDailyLimitChange(log types.Log) (*WalletDailyLimitChange, error)
ParseDailyLimitChange is a log parse operation binding the contract event 0xc71bdc6afaf9b1aa90a7078191d4fc1adf3bf680fca3183697df6b0dc226bca2.
Solidity: event DailyLimitChange(uint256 dailyLimit)
func (*WalletFilterer) ParseDeposit ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseDeposit(log types.Log) (*WalletDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address sender, uint256 value)
func (*WalletFilterer) ParseExecution ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseExecution(log types.Log) (*WalletExecution, error)
ParseExecution is a log parse operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 transactionId)
func (*WalletFilterer) ParseExecutionFailure ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseExecutionFailure(log types.Log) (*WalletExecutionFailure, error)
ParseExecutionFailure is a log parse operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.
Solidity: event ExecutionFailure(uint256 transactionId)
func (*WalletFilterer) ParseOwnerAddition ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseOwnerAddition(log types.Log) (*WalletOwnerAddition, error)
ParseOwnerAddition is a log parse operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.
Solidity: event OwnerAddition(address owner)
func (*WalletFilterer) ParseOwnerRemoval ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseOwnerRemoval(log types.Log) (*WalletOwnerRemoval, error)
ParseOwnerRemoval is a log parse operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.
Solidity: event OwnerRemoval(address owner)
func (*WalletFilterer) ParseRequirementChange ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseRequirementChange(log types.Log) (*WalletRequirementChange, error)
ParseRequirementChange is a log parse operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.
Solidity: event RequirementChange(uint256 required)
func (*WalletFilterer) ParseRevocation ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseRevocation(log types.Log) (*WalletRevocation, error)
ParseRevocation is a log parse operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.
Solidity: event Revocation(address sender, uint256 transactionId)
func (*WalletFilterer) ParseSubmission ¶ added in v0.0.5
func (_Wallet *WalletFilterer) ParseSubmission(log types.Log) (*WalletSubmission, error)
ParseSubmission is a log parse operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.
Solidity: event Submission(uint256 transactionId)
func (*WalletFilterer) WatchConfirmation ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchConfirmation(opts *bind.WatchOpts, sink chan<- *WalletConfirmation) (event.Subscription, error)
WatchConfirmation is a free log subscription operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.
Solidity: event Confirmation(address sender, uint256 transactionId)
func (*WalletFilterer) WatchDailyLimitChange ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchDailyLimitChange(opts *bind.WatchOpts, sink chan<- *WalletDailyLimitChange) (event.Subscription, error)
WatchDailyLimitChange is a free log subscription operation binding the contract event 0xc71bdc6afaf9b1aa90a7078191d4fc1adf3bf680fca3183697df6b0dc226bca2.
Solidity: event DailyLimitChange(uint256 dailyLimit)
func (*WalletFilterer) WatchDeposit ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WalletDeposit) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address sender, uint256 value)
func (*WalletFilterer) WatchExecution ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchExecution(opts *bind.WatchOpts, sink chan<- *WalletExecution) (event.Subscription, error)
WatchExecution is a free log subscription operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.
Solidity: event Execution(uint256 transactionId)
func (*WalletFilterer) WatchExecutionFailure ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchExecutionFailure(opts *bind.WatchOpts, sink chan<- *WalletExecutionFailure) (event.Subscription, error)
WatchExecutionFailure is a free log subscription operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.
Solidity: event ExecutionFailure(uint256 transactionId)
func (*WalletFilterer) WatchOwnerAddition ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchOwnerAddition(opts *bind.WatchOpts, sink chan<- *WalletOwnerAddition) (event.Subscription, error)
WatchOwnerAddition is a free log subscription operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.
Solidity: event OwnerAddition(address owner)
func (*WalletFilterer) WatchOwnerRemoval ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchOwnerRemoval(opts *bind.WatchOpts, sink chan<- *WalletOwnerRemoval) (event.Subscription, error)
WatchOwnerRemoval is a free log subscription operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.
Solidity: event OwnerRemoval(address owner)
func (*WalletFilterer) WatchRequirementChange ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchRequirementChange(opts *bind.WatchOpts, sink chan<- *WalletRequirementChange) (event.Subscription, error)
WatchRequirementChange is a free log subscription operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.
Solidity: event RequirementChange(uint256 required)
func (*WalletFilterer) WatchRevocation ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchRevocation(opts *bind.WatchOpts, sink chan<- *WalletRevocation) (event.Subscription, error)
WatchRevocation is a free log subscription operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.
Solidity: event Revocation(address sender, uint256 transactionId)
func (*WalletFilterer) WatchSubmission ¶ added in v0.0.5
func (_Wallet *WalletFilterer) WatchSubmission(opts *bind.WatchOpts, sink chan<- *WalletSubmission) (event.Subscription, error)
WatchSubmission is a free log subscription operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.
Solidity: event Submission(uint256 transactionId)
type WalletOwnerAddition ¶ added in v0.0.5
type WalletOwnerAddition struct { Owner common.Address Raw types.Log // Blockchain specific contextual infos }
WalletOwnerAddition represents a OwnerAddition event raised by the Wallet contract.
type WalletOwnerAdditionIterator ¶ added in v0.0.5
type WalletOwnerAdditionIterator struct { Event *WalletOwnerAddition // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletOwnerAdditionIterator is returned from FilterOwnerAddition and is used to iterate over the raw logs and unpacked data for OwnerAddition events raised by the Wallet contract.
func (*WalletOwnerAdditionIterator) Close ¶ added in v0.0.5
func (it *WalletOwnerAdditionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletOwnerAdditionIterator) Error ¶ added in v0.0.5
func (it *WalletOwnerAdditionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletOwnerAdditionIterator) Next ¶ added in v0.0.5
func (it *WalletOwnerAdditionIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletOwnerRemoval ¶ added in v0.0.5
type WalletOwnerRemoval struct { Owner common.Address Raw types.Log // Blockchain specific contextual infos }
WalletOwnerRemoval represents a OwnerRemoval event raised by the Wallet contract.
type WalletOwnerRemovalIterator ¶ added in v0.0.5
type WalletOwnerRemovalIterator struct { Event *WalletOwnerRemoval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletOwnerRemovalIterator is returned from FilterOwnerRemoval and is used to iterate over the raw logs and unpacked data for OwnerRemoval events raised by the Wallet contract.
func (*WalletOwnerRemovalIterator) Close ¶ added in v0.0.5
func (it *WalletOwnerRemovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletOwnerRemovalIterator) Error ¶ added in v0.0.5
func (it *WalletOwnerRemovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletOwnerRemovalIterator) Next ¶ added in v0.0.5
func (it *WalletOwnerRemovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletRaw ¶ added in v0.0.5
type WalletRaw struct {
Contract *Wallet // Generic contract binding to access the raw methods on
}
WalletRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WalletRaw) Call ¶ added in v0.0.5
func (_Wallet *WalletRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*WalletRaw) Transact ¶ added in v0.0.5
func (_Wallet *WalletRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WalletRaw) Transfer ¶ added in v0.0.5
func (_Wallet *WalletRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type WalletRequirementChange ¶ added in v0.0.5
type WalletRequirementChange struct { Required *big.Int Raw types.Log // Blockchain specific contextual infos }
WalletRequirementChange represents a RequirementChange event raised by the Wallet contract.
type WalletRequirementChangeIterator ¶ added in v0.0.5
type WalletRequirementChangeIterator struct { Event *WalletRequirementChange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletRequirementChangeIterator is returned from FilterRequirementChange and is used to iterate over the raw logs and unpacked data for RequirementChange events raised by the Wallet contract.
func (*WalletRequirementChangeIterator) Close ¶ added in v0.0.5
func (it *WalletRequirementChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletRequirementChangeIterator) Error ¶ added in v0.0.5
func (it *WalletRequirementChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletRequirementChangeIterator) Next ¶ added in v0.0.5
func (it *WalletRequirementChangeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletRevocation ¶ added in v0.0.5
type WalletRevocation struct { Sender common.Address TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
WalletRevocation represents a Revocation event raised by the Wallet contract.
type WalletRevocationIterator ¶ added in v0.0.5
type WalletRevocationIterator struct { Event *WalletRevocation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletRevocationIterator is returned from FilterRevocation and is used to iterate over the raw logs and unpacked data for Revocation events raised by the Wallet contract.
func (*WalletRevocationIterator) Close ¶ added in v0.0.5
func (it *WalletRevocationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletRevocationIterator) Error ¶ added in v0.0.5
func (it *WalletRevocationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletRevocationIterator) Next ¶ added in v0.0.5
func (it *WalletRevocationIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletSession ¶ added in v0.0.5
type WalletSession struct { Contract *Wallet // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WalletSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WalletSession) AddOwner ¶ added in v0.0.5
func (_Wallet *WalletSession) AddOwner(owner common.Address) (*types.Transaction, error)
AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.
Solidity: function addOwner(address owner) returns()
func (*WalletSession) CalcMaxWithdraw ¶ added in v0.0.5
func (_Wallet *WalletSession) CalcMaxWithdraw() (*big.Int, error)
CalcMaxWithdraw is a free data retrieval call binding the contract method 0x4bc9fdc2.
Solidity: function calcMaxWithdraw() view returns(uint256)
func (*WalletSession) CalculateData2 ¶ added in v0.0.5
func (_Wallet *WalletSession) CalculateData2(data []byte) (*types.Transaction, error)
CalculateData2 is a paid mutator transaction binding the contract method 0xb0a55bf9.
Solidity: function _calculateData2(bytes data) returns(bytes data2, uint256 _fee)
func (*WalletSession) CalculateEthFee ¶ added in v0.0.5
func (_Wallet *WalletSession) CalculateEthFee(value *big.Int) (*types.Transaction, error)
CalculateEthFee is a paid mutator transaction binding the contract method 0x32137d30.
Solidity: function calculateEthFee(uint256 value) returns(uint256 ethToTransfer, uint256 fee)
func (*WalletSession) ChangeAdmin ¶ added in v0.0.5
func (_Wallet *WalletSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)
ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.
Solidity: function changeAdmin(address newAdmin) returns()
func (*WalletSession) ChangeDailyLimit ¶ added in v0.0.5
func (_Wallet *WalletSession) ChangeDailyLimit(_dailyLimit *big.Int) (*types.Transaction, error)
ChangeDailyLimit is a paid mutator transaction binding the contract method 0xcea08621.
Solidity: function changeDailyLimit(uint256 _dailyLimit) returns()
func (*WalletSession) ChangeFee ¶ added in v0.0.5
func (_Wallet *WalletSession) ChangeFee(newFee *big.Int) (*types.Transaction, error)
ChangeFee is a paid mutator transaction binding the contract method 0x6a1db1bf.
Solidity: function changeFee(uint256 newFee) returns()
func (*WalletSession) ChangeRequirement ¶ added in v0.0.5
func (_Wallet *WalletSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)
ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.
Solidity: function changeRequirement(uint256 _required) returns()
func (*WalletSession) ConfirmTransaction ¶ added in v0.0.5
func (_Wallet *WalletSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)
ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.
Solidity: function confirmTransaction(uint256 transactionId) returns()
func (*WalletSession) Confirmations ¶ added in v0.0.5
Confirmations is a free data retrieval call binding the contract method 0x3411c81c.
Solidity: function confirmations(uint256 , address ) view returns(bool)
func (*WalletSession) DailyLimit ¶ added in v0.0.5
func (_Wallet *WalletSession) DailyLimit() (*big.Int, error)
DailyLimit is a free data retrieval call binding the contract method 0x67eeba0c.
Solidity: function dailyLimit() view returns(uint256)
func (*WalletSession) ExecuteTransaction ¶ added in v0.0.5
func (_Wallet *WalletSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.
Solidity: function executeTransaction(uint256 transactionId) returns()
func (*WalletSession) GetConfirmationCount ¶ added in v0.0.5
GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.
Solidity: function getConfirmationCount(uint256 transactionId) view returns(uint256 count)
func (*WalletSession) GetConfirmations ¶ added in v0.0.5
GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.
Solidity: function getConfirmations(uint256 transactionId) view returns(address[] _confirmations)
func (*WalletSession) GetOwners ¶ added in v0.0.5
func (_Wallet *WalletSession) GetOwners() ([]common.Address, error)
GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.
Solidity: function getOwners() view returns(address[])
func (*WalletSession) GetTransactionCount ¶ added in v0.0.5
GetTransactionCount is a free data retrieval call binding the contract method 0x54741525.
Solidity: function getTransactionCount(bool pending, bool executed) view returns(uint256 count)
func (*WalletSession) GetTransactionIds ¶ added in v0.0.5
func (_Wallet *WalletSession) GetTransactionIds(from *big.Int, to *big.Int, pending bool, executed bool) ([]*big.Int, error)
GetTransactionIds is a free data retrieval call binding the contract method 0xa8abe69a.
Solidity: function getTransactionIds(uint256 from, uint256 to, bool pending, bool executed) view returns(uint256[] _transactionIds)
func (*WalletSession) IsConfirmed ¶ added in v0.0.5
func (_Wallet *WalletSession) IsConfirmed(transactionId *big.Int) (bool, error)
IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.
Solidity: function isConfirmed(uint256 transactionId) view returns(bool)
func (*WalletSession) IsOwner ¶ added in v0.0.5
func (_Wallet *WalletSession) IsOwner(arg0 common.Address) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.
Solidity: function isOwner(address ) view returns(bool)
func (*WalletSession) IsTransfer ¶ added in v0.0.5
func (_Wallet *WalletSession) IsTransfer(data []byte) (bool, error)
IsTransfer is a free data retrieval call binding the contract method 0xaf8a08d9.
Solidity: function isTransfer(bytes data) pure returns(bool)
func (*WalletSession) LastDay ¶ added in v0.0.5
func (_Wallet *WalletSession) LastDay() (*big.Int, error)
LastDay is a free data retrieval call binding the contract method 0x6b0c932d.
Solidity: function lastDay() view returns(uint256)
func (*WalletSession) MAXOWNERCOUNT ¶ added in v0.0.5
func (_Wallet *WalletSession) MAXOWNERCOUNT() (*big.Int, error)
MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.
Solidity: function MAX_OWNER_COUNT() view returns(uint256)
func (*WalletSession) Owners ¶ added in v0.0.5
Owners is a free data retrieval call binding the contract method 0x025e7c27.
Solidity: function owners(uint256 ) view returns(address)
func (*WalletSession) Receive ¶ added in v0.0.5
func (_Wallet *WalletSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WalletSession) RemoveOwner ¶ added in v0.0.5
func (_Wallet *WalletSession) RemoveOwner(owner common.Address) (*types.Transaction, error)
RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.
Solidity: function removeOwner(address owner) returns()
func (*WalletSession) ReplaceOwner ¶ added in v0.0.5
func (_Wallet *WalletSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)
ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.
Solidity: function replaceOwner(address owner, address newOwner) returns()
func (*WalletSession) Required ¶ added in v0.0.5
func (_Wallet *WalletSession) Required() (*big.Int, error)
Required is a free data retrieval call binding the contract method 0xdc8452cd.
Solidity: function required() view returns(uint256)
func (*WalletSession) RevokeConfirmation ¶ added in v0.0.5
func (_Wallet *WalletSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)
RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.
Solidity: function revokeConfirmation(uint256 transactionId) returns()
func (*WalletSession) SpentToday ¶ added in v0.0.5
func (_Wallet *WalletSession) SpentToday() (*big.Int, error)
SpentToday is a free data retrieval call binding the contract method 0xf059cf2b.
Solidity: function spentToday() view returns(uint256)
func (*WalletSession) SubmitTransaction ¶ added in v0.0.5
func (_Wallet *WalletSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.
Solidity: function submitTransaction(address destination, uint256 value, bytes data) returns(uint256 transactionId)
func (*WalletSession) TransactionCount ¶ added in v0.0.5
func (_Wallet *WalletSession) TransactionCount() (*big.Int, error)
TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.
Solidity: function transactionCount() view returns(uint256)
func (*WalletSession) Transactions ¶ added in v0.0.5
func (_Wallet *WalletSession) Transactions(arg0 *big.Int) (struct { Destination common.Address Value *big.Int Data []byte Executed bool }, error)
Transactions is a free data retrieval call binding the contract method 0x9ace38c2.
Solidity: function transactions(uint256 ) view returns(address destination, uint256 value, bytes data, bool executed)
type WalletSubmission ¶ added in v0.0.5
type WalletSubmission struct { TransactionId *big.Int Raw types.Log // Blockchain specific contextual infos }
WalletSubmission represents a Submission event raised by the Wallet contract.
type WalletSubmissionIterator ¶ added in v0.0.5
type WalletSubmissionIterator struct { Event *WalletSubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletSubmissionIterator is returned from FilterSubmission and is used to iterate over the raw logs and unpacked data for Submission events raised by the Wallet contract.
func (*WalletSubmissionIterator) Close ¶ added in v0.0.5
func (it *WalletSubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletSubmissionIterator) Error ¶ added in v0.0.5
func (it *WalletSubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletSubmissionIterator) Next ¶ added in v0.0.5
func (it *WalletSubmissionIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WalletTransactor ¶ added in v0.0.5
type WalletTransactor struct {
// contains filtered or unexported fields
}
WalletTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWalletTransactor ¶ added in v0.0.5
func NewWalletTransactor(address common.Address, transactor bind.ContractTransactor) (*WalletTransactor, error)
NewWalletTransactor creates a new write-only instance of Wallet, bound to a specific deployed contract.
func (*WalletTransactor) AddOwner ¶ added in v0.0.5
func (_Wallet *WalletTransactor) AddOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.
Solidity: function addOwner(address owner) returns()
func (*WalletTransactor) CalculateData2 ¶ added in v0.0.5
func (_Wallet *WalletTransactor) CalculateData2(opts *bind.TransactOpts, data []byte) (*types.Transaction, error)
CalculateData2 is a paid mutator transaction binding the contract method 0xb0a55bf9.
Solidity: function _calculateData2(bytes data) returns(bytes data2, uint256 _fee)
func (*WalletTransactor) CalculateEthFee ¶ added in v0.0.5
func (_Wallet *WalletTransactor) CalculateEthFee(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
CalculateEthFee is a paid mutator transaction binding the contract method 0x32137d30.
Solidity: function calculateEthFee(uint256 value) returns(uint256 ethToTransfer, uint256 fee)
func (*WalletTransactor) ChangeAdmin ¶ added in v0.0.5
func (_Wallet *WalletTransactor) ChangeAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)
ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.
Solidity: function changeAdmin(address newAdmin) returns()
func (*WalletTransactor) ChangeDailyLimit ¶ added in v0.0.5
func (_Wallet *WalletTransactor) ChangeDailyLimit(opts *bind.TransactOpts, _dailyLimit *big.Int) (*types.Transaction, error)
ChangeDailyLimit is a paid mutator transaction binding the contract method 0xcea08621.
Solidity: function changeDailyLimit(uint256 _dailyLimit) returns()
func (*WalletTransactor) ChangeFee ¶ added in v0.0.5
func (_Wallet *WalletTransactor) ChangeFee(opts *bind.TransactOpts, newFee *big.Int) (*types.Transaction, error)
ChangeFee is a paid mutator transaction binding the contract method 0x6a1db1bf.
Solidity: function changeFee(uint256 newFee) returns()
func (*WalletTransactor) ChangeRequirement ¶ added in v0.0.5
func (_Wallet *WalletTransactor) ChangeRequirement(opts *bind.TransactOpts, _required *big.Int) (*types.Transaction, error)
ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.
Solidity: function changeRequirement(uint256 _required) returns()
func (*WalletTransactor) ConfirmTransaction ¶ added in v0.0.5
func (_Wallet *WalletTransactor) ConfirmTransaction(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.
Solidity: function confirmTransaction(uint256 transactionId) returns()
func (*WalletTransactor) ExecuteTransaction ¶ added in v0.0.5
func (_Wallet *WalletTransactor) ExecuteTransaction(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.
Solidity: function executeTransaction(uint256 transactionId) returns()
func (*WalletTransactor) Receive ¶ added in v0.0.5
func (_Wallet *WalletTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WalletTransactor) RemoveOwner ¶ added in v0.0.5
func (_Wallet *WalletTransactor) RemoveOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.
Solidity: function removeOwner(address owner) returns()
func (*WalletTransactor) ReplaceOwner ¶ added in v0.0.5
func (_Wallet *WalletTransactor) ReplaceOwner(opts *bind.TransactOpts, owner common.Address, newOwner common.Address) (*types.Transaction, error)
ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.
Solidity: function replaceOwner(address owner, address newOwner) returns()
func (*WalletTransactor) RevokeConfirmation ¶ added in v0.0.5
func (_Wallet *WalletTransactor) RevokeConfirmation(opts *bind.TransactOpts, transactionId *big.Int) (*types.Transaction, error)
RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.
Solidity: function revokeConfirmation(uint256 transactionId) returns()
func (*WalletTransactor) SubmitTransaction ¶ added in v0.0.5
func (_Wallet *WalletTransactor) SubmitTransaction(opts *bind.TransactOpts, destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.
Solidity: function submitTransaction(address destination, uint256 value, bytes data) returns(uint256 transactionId)
type WalletTransactorRaw ¶ added in v0.0.5
type WalletTransactorRaw struct {
Contract *WalletTransactor // Generic write-only contract binding to access the raw methods on
}
WalletTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WalletTransactorRaw) Transact ¶ added in v0.0.5
func (_Wallet *WalletTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WalletTransactorRaw) Transfer ¶ added in v0.0.5
func (_Wallet *WalletTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type WalletTransactorSession ¶ added in v0.0.5
type WalletTransactorSession struct { Contract *WalletTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WalletTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WalletTransactorSession) AddOwner ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) AddOwner(owner common.Address) (*types.Transaction, error)
AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.
Solidity: function addOwner(address owner) returns()
func (*WalletTransactorSession) CalculateData2 ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) CalculateData2(data []byte) (*types.Transaction, error)
CalculateData2 is a paid mutator transaction binding the contract method 0xb0a55bf9.
Solidity: function _calculateData2(bytes data) returns(bytes data2, uint256 _fee)
func (*WalletTransactorSession) CalculateEthFee ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) CalculateEthFee(value *big.Int) (*types.Transaction, error)
CalculateEthFee is a paid mutator transaction binding the contract method 0x32137d30.
Solidity: function calculateEthFee(uint256 value) returns(uint256 ethToTransfer, uint256 fee)
func (*WalletTransactorSession) ChangeAdmin ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)
ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.
Solidity: function changeAdmin(address newAdmin) returns()
func (*WalletTransactorSession) ChangeDailyLimit ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) ChangeDailyLimit(_dailyLimit *big.Int) (*types.Transaction, error)
ChangeDailyLimit is a paid mutator transaction binding the contract method 0xcea08621.
Solidity: function changeDailyLimit(uint256 _dailyLimit) returns()
func (*WalletTransactorSession) ChangeFee ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) ChangeFee(newFee *big.Int) (*types.Transaction, error)
ChangeFee is a paid mutator transaction binding the contract method 0x6a1db1bf.
Solidity: function changeFee(uint256 newFee) returns()
func (*WalletTransactorSession) ChangeRequirement ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) ChangeRequirement(_required *big.Int) (*types.Transaction, error)
ChangeRequirement is a paid mutator transaction binding the contract method 0xba51a6df.
Solidity: function changeRequirement(uint256 _required) returns()
func (*WalletTransactorSession) ConfirmTransaction ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) ConfirmTransaction(transactionId *big.Int) (*types.Transaction, error)
ConfirmTransaction is a paid mutator transaction binding the contract method 0xc01a8c84.
Solidity: function confirmTransaction(uint256 transactionId) returns()
func (*WalletTransactorSession) ExecuteTransaction ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) ExecuteTransaction(transactionId *big.Int) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0xee22610b.
Solidity: function executeTransaction(uint256 transactionId) returns()
func (*WalletTransactorSession) Receive ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WalletTransactorSession) RemoveOwner ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) RemoveOwner(owner common.Address) (*types.Transaction, error)
RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.
Solidity: function removeOwner(address owner) returns()
func (*WalletTransactorSession) ReplaceOwner ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) ReplaceOwner(owner common.Address, newOwner common.Address) (*types.Transaction, error)
ReplaceOwner is a paid mutator transaction binding the contract method 0xe20056e6.
Solidity: function replaceOwner(address owner, address newOwner) returns()
func (*WalletTransactorSession) RevokeConfirmation ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) RevokeConfirmation(transactionId *big.Int) (*types.Transaction, error)
RevokeConfirmation is a paid mutator transaction binding the contract method 0x20ea8d86.
Solidity: function revokeConfirmation(uint256 transactionId) returns()
func (*WalletTransactorSession) SubmitTransaction ¶ added in v0.0.5
func (_Wallet *WalletTransactorSession) SubmitTransaction(destination common.Address, value *big.Int, data []byte) (*types.Transaction, error)
SubmitTransaction is a paid mutator transaction binding the contract method 0xc6427474.
Solidity: function submitTransaction(address destination, uint256 value, bytes data) returns(uint256 transactionId)