msw

package
v0.0.0-...-d193b87 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MswABI = "" /* 6834-byte string literal not displayed */

MswABI is the input ABI used to generate the binding from.

View Source
const MswBin = `` /* 19720-byte string literal not displayed */

MswBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Msw

type Msw struct {
	MswCaller     // Read-only binding to the contract
	MswTransactor // Write-only binding to the contract
	MswFilterer   // Log filterer for contract events
}

Msw is an auto generated Go binding around an Ethereum contract.

func DeployMsw

func DeployMsw(auth *bind.TransactOpts, backend bind.ContractBackend, _owners []common.Address, _required *big.Int, _dailyLimit *big.Int) (common.Address, *types.Transaction, *Msw, error)

DeployMsw deploys a new Ethereum contract, binding an instance of Msw to it.

func NewMsw

func NewMsw(address common.Address, backend bind.ContractBackend) (*Msw, error)

NewMsw creates a new instance of Msw, bound to a specific deployed contract.

type MswCaller

type MswCaller struct {
	// contains filtered or unexported fields
}

MswCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMswCaller

func NewMswCaller(address common.Address, caller bind.ContractCaller) (*MswCaller, error)

NewMswCaller creates a new read-only instance of Msw, bound to a specific deployed contract.

func (*MswCaller) CalcMaxWithdraw

func (_Msw *MswCaller) CalcMaxWithdraw(opts *bind.CallOpts) (*big.Int, error)

CalcMaxWithdraw is a free data retrieval call binding the contract method 0x4bc9fdc2.

Solidity: function calcMaxWithdraw() constant returns(uint256)

func (*MswCaller) Confirmations

func (_Msw *MswCaller) 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 ) constant returns(bool)

func (*MswCaller) DailyLimit

func (_Msw *MswCaller) DailyLimit(opts *bind.CallOpts) (*big.Int, error)

DailyLimit is a free data retrieval call binding the contract method 0x67eeba0c.

Solidity: function dailyLimit() constant returns(uint256)

func (*MswCaller) GetConfirmationCount

func (_Msw *MswCaller) 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) constant returns(uint256 count)

func (*MswCaller) GetConfirmations

func (_Msw *MswCaller) 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) constant returns(address[] _confirmations)

func (*MswCaller) GetOwners

func (_Msw *MswCaller) GetOwners(opts *bind.CallOpts) ([]common.Address, error)

GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.

Solidity: function getOwners() constant returns(address[])

func (*MswCaller) GetTransactionCount

func (_Msw *MswCaller) 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) constant returns(uint256 count)

func (*MswCaller) GetTransactionIds

func (_Msw *MswCaller) 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) constant returns(uint256[] _transactionIds)

func (*MswCaller) IsConfirmed

func (_Msw *MswCaller) IsConfirmed(opts *bind.CallOpts, transactionId *big.Int) (bool, error)

IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.

Solidity: function isConfirmed(uint256 transactionId) constant returns(bool)

func (*MswCaller) IsOwner

func (_Msw *MswCaller) IsOwner(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address ) constant returns(bool)

func (*MswCaller) LastDay

func (_Msw *MswCaller) LastDay(opts *bind.CallOpts) (*big.Int, error)

LastDay is a free data retrieval call binding the contract method 0x6b0c932d.

Solidity: function lastDay() constant returns(uint256)

func (*MswCaller) MAXOWNERCOUNT

func (_Msw *MswCaller) MAXOWNERCOUNT(opts *bind.CallOpts) (*big.Int, error)

MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.

Solidity: function MAX_OWNER_COUNT() constant returns(uint256)

func (*MswCaller) Owners

func (_Msw *MswCaller) Owners(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x025e7c27.

Solidity: function owners(uint256 ) constant returns(address)

func (*MswCaller) Required

func (_Msw *MswCaller) Required(opts *bind.CallOpts) (*big.Int, error)

Required is a free data retrieval call binding the contract method 0xdc8452cd.

Solidity: function required() constant returns(uint256)

func (*MswCaller) SpentToday

func (_Msw *MswCaller) SpentToday(opts *bind.CallOpts) (*big.Int, error)

SpentToday is a free data retrieval call binding the contract method 0xf059cf2b.

Solidity: function spentToday() constant returns(uint256)

func (*MswCaller) TransactionCount

func (_Msw *MswCaller) TransactionCount(opts *bind.CallOpts) (*big.Int, error)

TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.

Solidity: function transactionCount() constant returns(uint256)

func (*MswCaller) Transactions

func (_Msw *MswCaller) 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 ) constant returns(address destination, uint256 value, bytes data, bool executed)

type MswCallerRaw

type MswCallerRaw struct {
	Contract *MswCaller // Generic read-only contract binding to access the raw methods on
}

MswCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MswCallerRaw) Call

func (_Msw *MswCallerRaw) 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 MswCallerSession

type MswCallerSession struct {
	Contract *MswCaller    // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

MswCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*MswCallerSession) CalcMaxWithdraw

func (_Msw *MswCallerSession) CalcMaxWithdraw() (*big.Int, error)

CalcMaxWithdraw is a free data retrieval call binding the contract method 0x4bc9fdc2.

Solidity: function calcMaxWithdraw() constant returns(uint256)

func (*MswCallerSession) Confirmations

func (_Msw *MswCallerSession) Confirmations(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 ) constant returns(bool)

func (*MswCallerSession) DailyLimit

func (_Msw *MswCallerSession) DailyLimit() (*big.Int, error)

DailyLimit is a free data retrieval call binding the contract method 0x67eeba0c.

Solidity: function dailyLimit() constant returns(uint256)

func (*MswCallerSession) GetConfirmationCount

func (_Msw *MswCallerSession) GetConfirmationCount(transactionId *big.Int) (*big.Int, error)

GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.

Solidity: function getConfirmationCount(uint256 transactionId) constant returns(uint256 count)

func (*MswCallerSession) GetConfirmations

func (_Msw *MswCallerSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)

GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.

Solidity: function getConfirmations(uint256 transactionId) constant returns(address[] _confirmations)

func (*MswCallerSession) GetOwners

func (_Msw *MswCallerSession) GetOwners() ([]common.Address, error)

GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.

Solidity: function getOwners() constant returns(address[])

func (*MswCallerSession) GetTransactionCount

func (_Msw *MswCallerSession) 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) constant returns(uint256 count)

func (*MswCallerSession) GetTransactionIds

func (_Msw *MswCallerSession) 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) constant returns(uint256[] _transactionIds)

func (*MswCallerSession) IsConfirmed

func (_Msw *MswCallerSession) IsConfirmed(transactionId *big.Int) (bool, error)

IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.

Solidity: function isConfirmed(uint256 transactionId) constant returns(bool)

func (*MswCallerSession) IsOwner

func (_Msw *MswCallerSession) IsOwner(arg0 common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address ) constant returns(bool)

func (*MswCallerSession) LastDay

func (_Msw *MswCallerSession) LastDay() (*big.Int, error)

LastDay is a free data retrieval call binding the contract method 0x6b0c932d.

Solidity: function lastDay() constant returns(uint256)

func (*MswCallerSession) MAXOWNERCOUNT

func (_Msw *MswCallerSession) MAXOWNERCOUNT() (*big.Int, error)

MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.

Solidity: function MAX_OWNER_COUNT() constant returns(uint256)

func (*MswCallerSession) Owners

func (_Msw *MswCallerSession) Owners(arg0 *big.Int) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x025e7c27.

Solidity: function owners(uint256 ) constant returns(address)

func (*MswCallerSession) Required

func (_Msw *MswCallerSession) Required() (*big.Int, error)

Required is a free data retrieval call binding the contract method 0xdc8452cd.

Solidity: function required() constant returns(uint256)

func (*MswCallerSession) SpentToday

func (_Msw *MswCallerSession) SpentToday() (*big.Int, error)

SpentToday is a free data retrieval call binding the contract method 0xf059cf2b.

Solidity: function spentToday() constant returns(uint256)

func (*MswCallerSession) TransactionCount

func (_Msw *MswCallerSession) TransactionCount() (*big.Int, error)

TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.

Solidity: function transactionCount() constant returns(uint256)

func (*MswCallerSession) Transactions

func (_Msw *MswCallerSession) 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 ) constant returns(address destination, uint256 value, bytes data, bool executed)

type MswConfirmation

type MswConfirmation struct {
	Sender        common.Address
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MswConfirmation represents a Confirmation event raised by the Msw contract.

type MswConfirmationIterator

type MswConfirmationIterator struct {
	Event *MswConfirmation // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswConfirmationIterator is returned from FilterConfirmation and is used to iterate over the raw logs and unpacked data for Confirmation events raised by the Msw contract.

func (*MswConfirmationIterator) Close

func (it *MswConfirmationIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswConfirmationIterator) Error

func (it *MswConfirmationIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswConfirmationIterator) Next

func (it *MswConfirmationIterator) 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 MswDailyLimitChange

type MswDailyLimitChange struct {
	DailyLimit *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MswDailyLimitChange represents a DailyLimitChange event raised by the Msw contract.

type MswDailyLimitChangeIterator

type MswDailyLimitChangeIterator struct {
	Event *MswDailyLimitChange // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswDailyLimitChangeIterator is returned from FilterDailyLimitChange and is used to iterate over the raw logs and unpacked data for DailyLimitChange events raised by the Msw contract.

func (*MswDailyLimitChangeIterator) Close

func (it *MswDailyLimitChangeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswDailyLimitChangeIterator) Error

func (it *MswDailyLimitChangeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswDailyLimitChangeIterator) Next

func (it *MswDailyLimitChangeIterator) 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 MswDeposit

type MswDeposit struct {
	Sender common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MswDeposit represents a Deposit event raised by the Msw contract.

type MswDepositIterator

type MswDepositIterator struct {
	Event *MswDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Msw contract.

func (*MswDepositIterator) Close

func (it *MswDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswDepositIterator) Error

func (it *MswDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswDepositIterator) Next

func (it *MswDepositIterator) 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 MswExecution

type MswExecution struct {
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MswExecution represents a Execution event raised by the Msw contract.

type MswExecutionFailure

type MswExecutionFailure struct {
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MswExecutionFailure represents a ExecutionFailure event raised by the Msw contract.

type MswExecutionFailureIterator

type MswExecutionFailureIterator struct {
	Event *MswExecutionFailure // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswExecutionFailureIterator is returned from FilterExecutionFailure and is used to iterate over the raw logs and unpacked data for ExecutionFailure events raised by the Msw contract.

func (*MswExecutionFailureIterator) Close

func (it *MswExecutionFailureIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswExecutionFailureIterator) Error

func (it *MswExecutionFailureIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswExecutionFailureIterator) Next

func (it *MswExecutionFailureIterator) 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 MswExecutionIterator

type MswExecutionIterator struct {
	Event *MswExecution // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswExecutionIterator is returned from FilterExecution and is used to iterate over the raw logs and unpacked data for Execution events raised by the Msw contract.

func (*MswExecutionIterator) Close

func (it *MswExecutionIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswExecutionIterator) Error

func (it *MswExecutionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswExecutionIterator) Next

func (it *MswExecutionIterator) 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 MswFilterer

type MswFilterer struct {
	// contains filtered or unexported fields
}

MswFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMswFilterer

func NewMswFilterer(address common.Address, filterer bind.ContractFilterer) (*MswFilterer, error)

NewMswFilterer creates a new log filterer instance of Msw, bound to a specific deployed contract.

func (*MswFilterer) FilterConfirmation

func (_Msw *MswFilterer) FilterConfirmation(opts *bind.FilterOpts, sender []common.Address, transactionId []*big.Int) (*MswConfirmationIterator, error)

FilterConfirmation is a free log retrieval operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.

Solidity: event Confirmation(address indexed sender, uint256 indexed transactionId)

func (*MswFilterer) FilterDailyLimitChange

func (_Msw *MswFilterer) FilterDailyLimitChange(opts *bind.FilterOpts) (*MswDailyLimitChangeIterator, error)

FilterDailyLimitChange is a free log retrieval operation binding the contract event 0xc71bdc6afaf9b1aa90a7078191d4fc1adf3bf680fca3183697df6b0dc226bca2.

Solidity: event DailyLimitChange(uint256 dailyLimit)

func (*MswFilterer) FilterDeposit

func (_Msw *MswFilterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address) (*MswDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed sender, uint256 value)

func (*MswFilterer) FilterExecution

func (_Msw *MswFilterer) FilterExecution(opts *bind.FilterOpts, transactionId []*big.Int) (*MswExecutionIterator, error)

FilterExecution is a free log retrieval operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.

Solidity: event Execution(uint256 indexed transactionId)

func (*MswFilterer) FilterExecutionFailure

func (_Msw *MswFilterer) FilterExecutionFailure(opts *bind.FilterOpts, transactionId []*big.Int) (*MswExecutionFailureIterator, error)

FilterExecutionFailure is a free log retrieval operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.

Solidity: event ExecutionFailure(uint256 indexed transactionId)

func (*MswFilterer) FilterOwnerAddition

func (_Msw *MswFilterer) FilterOwnerAddition(opts *bind.FilterOpts, owner []common.Address) (*MswOwnerAdditionIterator, error)

FilterOwnerAddition is a free log retrieval operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.

Solidity: event OwnerAddition(address indexed owner)

func (*MswFilterer) FilterOwnerRemoval

func (_Msw *MswFilterer) FilterOwnerRemoval(opts *bind.FilterOpts, owner []common.Address) (*MswOwnerRemovalIterator, error)

FilterOwnerRemoval is a free log retrieval operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.

Solidity: event OwnerRemoval(address indexed owner)

func (*MswFilterer) FilterRequirementChange

func (_Msw *MswFilterer) FilterRequirementChange(opts *bind.FilterOpts) (*MswRequirementChangeIterator, error)

FilterRequirementChange is a free log retrieval operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.

Solidity: event RequirementChange(uint256 required)

func (*MswFilterer) FilterRevocation

func (_Msw *MswFilterer) FilterRevocation(opts *bind.FilterOpts, sender []common.Address, transactionId []*big.Int) (*MswRevocationIterator, error)

FilterRevocation is a free log retrieval operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.

Solidity: event Revocation(address indexed sender, uint256 indexed transactionId)

func (*MswFilterer) FilterSubmission

func (_Msw *MswFilterer) FilterSubmission(opts *bind.FilterOpts, transactionId []*big.Int) (*MswSubmissionIterator, error)

FilterSubmission is a free log retrieval operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.

Solidity: event Submission(uint256 indexed transactionId)

func (*MswFilterer) WatchConfirmation

func (_Msw *MswFilterer) WatchConfirmation(opts *bind.WatchOpts, sink chan<- *MswConfirmation, sender []common.Address, transactionId []*big.Int) (event.Subscription, error)

WatchConfirmation is a free log subscription operation binding the contract event 0x4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef.

Solidity: event Confirmation(address indexed sender, uint256 indexed transactionId)

func (*MswFilterer) WatchDailyLimitChange

func (_Msw *MswFilterer) WatchDailyLimitChange(opts *bind.WatchOpts, sink chan<- *MswDailyLimitChange) (event.Subscription, error)

WatchDailyLimitChange is a free log subscription operation binding the contract event 0xc71bdc6afaf9b1aa90a7078191d4fc1adf3bf680fca3183697df6b0dc226bca2.

Solidity: event DailyLimitChange(uint256 dailyLimit)

func (*MswFilterer) WatchDeposit

func (_Msw *MswFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *MswDeposit, sender []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed sender, uint256 value)

func (*MswFilterer) WatchExecution

func (_Msw *MswFilterer) WatchExecution(opts *bind.WatchOpts, sink chan<- *MswExecution, transactionId []*big.Int) (event.Subscription, error)

WatchExecution is a free log subscription operation binding the contract event 0x33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed75.

Solidity: event Execution(uint256 indexed transactionId)

func (*MswFilterer) WatchExecutionFailure

func (_Msw *MswFilterer) WatchExecutionFailure(opts *bind.WatchOpts, sink chan<- *MswExecutionFailure, transactionId []*big.Int) (event.Subscription, error)

WatchExecutionFailure is a free log subscription operation binding the contract event 0x526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b79236.

Solidity: event ExecutionFailure(uint256 indexed transactionId)

func (*MswFilterer) WatchOwnerAddition

func (_Msw *MswFilterer) WatchOwnerAddition(opts *bind.WatchOpts, sink chan<- *MswOwnerAddition, owner []common.Address) (event.Subscription, error)

WatchOwnerAddition is a free log subscription operation binding the contract event 0xf39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d.

Solidity: event OwnerAddition(address indexed owner)

func (*MswFilterer) WatchOwnerRemoval

func (_Msw *MswFilterer) WatchOwnerRemoval(opts *bind.WatchOpts, sink chan<- *MswOwnerRemoval, owner []common.Address) (event.Subscription, error)

WatchOwnerRemoval is a free log subscription operation binding the contract event 0x8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b90.

Solidity: event OwnerRemoval(address indexed owner)

func (*MswFilterer) WatchRequirementChange

func (_Msw *MswFilterer) WatchRequirementChange(opts *bind.WatchOpts, sink chan<- *MswRequirementChange) (event.Subscription, error)

WatchRequirementChange is a free log subscription operation binding the contract event 0xa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a.

Solidity: event RequirementChange(uint256 required)

func (*MswFilterer) WatchRevocation

func (_Msw *MswFilterer) WatchRevocation(opts *bind.WatchOpts, sink chan<- *MswRevocation, sender []common.Address, transactionId []*big.Int) (event.Subscription, error)

WatchRevocation is a free log subscription operation binding the contract event 0xf6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e9.

Solidity: event Revocation(address indexed sender, uint256 indexed transactionId)

func (*MswFilterer) WatchSubmission

func (_Msw *MswFilterer) WatchSubmission(opts *bind.WatchOpts, sink chan<- *MswSubmission, transactionId []*big.Int) (event.Subscription, error)

WatchSubmission is a free log subscription operation binding the contract event 0xc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e51.

Solidity: event Submission(uint256 indexed transactionId)

type MswOwnerAddition

type MswOwnerAddition struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

MswOwnerAddition represents a OwnerAddition event raised by the Msw contract.

type MswOwnerAdditionIterator

type MswOwnerAdditionIterator struct {
	Event *MswOwnerAddition // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswOwnerAdditionIterator is returned from FilterOwnerAddition and is used to iterate over the raw logs and unpacked data for OwnerAddition events raised by the Msw contract.

func (*MswOwnerAdditionIterator) Close

func (it *MswOwnerAdditionIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswOwnerAdditionIterator) Error

func (it *MswOwnerAdditionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswOwnerAdditionIterator) Next

func (it *MswOwnerAdditionIterator) 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 MswOwnerRemoval

type MswOwnerRemoval struct {
	Owner common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

MswOwnerRemoval represents a OwnerRemoval event raised by the Msw contract.

type MswOwnerRemovalIterator

type MswOwnerRemovalIterator struct {
	Event *MswOwnerRemoval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswOwnerRemovalIterator is returned from FilterOwnerRemoval and is used to iterate over the raw logs and unpacked data for OwnerRemoval events raised by the Msw contract.

func (*MswOwnerRemovalIterator) Close

func (it *MswOwnerRemovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswOwnerRemovalIterator) Error

func (it *MswOwnerRemovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswOwnerRemovalIterator) Next

func (it *MswOwnerRemovalIterator) 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 MswRaw

type MswRaw struct {
	Contract *Msw // Generic contract binding to access the raw methods on
}

MswRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MswRaw) Call

func (_Msw *MswRaw) 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 (*MswRaw) Transact

func (_Msw *MswRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MswRaw) Transfer

func (_Msw *MswRaw) 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 MswRequirementChange

type MswRequirementChange struct {
	Required *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MswRequirementChange represents a RequirementChange event raised by the Msw contract.

type MswRequirementChangeIterator

type MswRequirementChangeIterator struct {
	Event *MswRequirementChange // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswRequirementChangeIterator is returned from FilterRequirementChange and is used to iterate over the raw logs and unpacked data for RequirementChange events raised by the Msw contract.

func (*MswRequirementChangeIterator) Close

func (it *MswRequirementChangeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswRequirementChangeIterator) Error

func (it *MswRequirementChangeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswRequirementChangeIterator) Next

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 MswRevocation

type MswRevocation struct {
	Sender        common.Address
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MswRevocation represents a Revocation event raised by the Msw contract.

type MswRevocationIterator

type MswRevocationIterator struct {
	Event *MswRevocation // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswRevocationIterator is returned from FilterRevocation and is used to iterate over the raw logs and unpacked data for Revocation events raised by the Msw contract.

func (*MswRevocationIterator) Close

func (it *MswRevocationIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswRevocationIterator) Error

func (it *MswRevocationIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswRevocationIterator) Next

func (it *MswRevocationIterator) 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 MswSession

type MswSession struct {
	Contract     *Msw              // 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
}

MswSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MswSession) AddOwner

func (_Msw *MswSession) 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 (*MswSession) CalcMaxWithdraw

func (_Msw *MswSession) CalcMaxWithdraw() (*big.Int, error)

CalcMaxWithdraw is a free data retrieval call binding the contract method 0x4bc9fdc2.

Solidity: function calcMaxWithdraw() constant returns(uint256)

func (*MswSession) ChangeDailyLimit

func (_Msw *MswSession) 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 (*MswSession) ChangeRequirement

func (_Msw *MswSession) 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 (*MswSession) ConfirmTransaction

func (_Msw *MswSession) 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 (*MswSession) Confirmations

func (_Msw *MswSession) Confirmations(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 ) constant returns(bool)

func (*MswSession) DailyLimit

func (_Msw *MswSession) DailyLimit() (*big.Int, error)

DailyLimit is a free data retrieval call binding the contract method 0x67eeba0c.

Solidity: function dailyLimit() constant returns(uint256)

func (*MswSession) ExecuteTransaction

func (_Msw *MswSession) 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 (*MswSession) GetConfirmationCount

func (_Msw *MswSession) GetConfirmationCount(transactionId *big.Int) (*big.Int, error)

GetConfirmationCount is a free data retrieval call binding the contract method 0x8b51d13f.

Solidity: function getConfirmationCount(uint256 transactionId) constant returns(uint256 count)

func (*MswSession) GetConfirmations

func (_Msw *MswSession) GetConfirmations(transactionId *big.Int) ([]common.Address, error)

GetConfirmations is a free data retrieval call binding the contract method 0xb5dc40c3.

Solidity: function getConfirmations(uint256 transactionId) constant returns(address[] _confirmations)

func (*MswSession) GetOwners

func (_Msw *MswSession) GetOwners() ([]common.Address, error)

GetOwners is a free data retrieval call binding the contract method 0xa0e67e2b.

Solidity: function getOwners() constant returns(address[])

func (*MswSession) GetTransactionCount

func (_Msw *MswSession) 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) constant returns(uint256 count)

func (*MswSession) GetTransactionIds

func (_Msw *MswSession) 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) constant returns(uint256[] _transactionIds)

func (*MswSession) IsConfirmed

func (_Msw *MswSession) IsConfirmed(transactionId *big.Int) (bool, error)

IsConfirmed is a free data retrieval call binding the contract method 0x784547a7.

Solidity: function isConfirmed(uint256 transactionId) constant returns(bool)

func (*MswSession) IsOwner

func (_Msw *MswSession) IsOwner(arg0 common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address ) constant returns(bool)

func (*MswSession) LastDay

func (_Msw *MswSession) LastDay() (*big.Int, error)

LastDay is a free data retrieval call binding the contract method 0x6b0c932d.

Solidity: function lastDay() constant returns(uint256)

func (*MswSession) MAXOWNERCOUNT

func (_Msw *MswSession) MAXOWNERCOUNT() (*big.Int, error)

MAXOWNERCOUNT is a free data retrieval call binding the contract method 0xd74f8edd.

Solidity: function MAX_OWNER_COUNT() constant returns(uint256)

func (*MswSession) Owners

func (_Msw *MswSession) Owners(arg0 *big.Int) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x025e7c27.

Solidity: function owners(uint256 ) constant returns(address)

func (*MswSession) RemoveOwner

func (_Msw *MswSession) 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 (*MswSession) ReplaceOwner

func (_Msw *MswSession) 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 (*MswSession) Required

func (_Msw *MswSession) Required() (*big.Int, error)

Required is a free data retrieval call binding the contract method 0xdc8452cd.

Solidity: function required() constant returns(uint256)

func (*MswSession) RevokeConfirmation

func (_Msw *MswSession) 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 (*MswSession) SpentToday

func (_Msw *MswSession) SpentToday() (*big.Int, error)

SpentToday is a free data retrieval call binding the contract method 0xf059cf2b.

Solidity: function spentToday() constant returns(uint256)

func (*MswSession) SubmitTransaction

func (_Msw *MswSession) 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 (*MswSession) TransactionCount

func (_Msw *MswSession) TransactionCount() (*big.Int, error)

TransactionCount is a free data retrieval call binding the contract method 0xb77bf600.

Solidity: function transactionCount() constant returns(uint256)

func (*MswSession) Transactions

func (_Msw *MswSession) 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 ) constant returns(address destination, uint256 value, bytes data, bool executed)

type MswSubmission

type MswSubmission struct {
	TransactionId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MswSubmission represents a Submission event raised by the Msw contract.

type MswSubmissionIterator

type MswSubmissionIterator struct {
	Event *MswSubmission // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MswSubmissionIterator is returned from FilterSubmission and is used to iterate over the raw logs and unpacked data for Submission events raised by the Msw contract.

func (*MswSubmissionIterator) Close

func (it *MswSubmissionIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MswSubmissionIterator) Error

func (it *MswSubmissionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MswSubmissionIterator) Next

func (it *MswSubmissionIterator) 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 MswTransactor

type MswTransactor struct {
	// contains filtered or unexported fields
}

MswTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMswTransactor

func NewMswTransactor(address common.Address, transactor bind.ContractTransactor) (*MswTransactor, error)

NewMswTransactor creates a new write-only instance of Msw, bound to a specific deployed contract.

func (*MswTransactor) AddOwner

func (_Msw *MswTransactor) 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 (*MswTransactor) ChangeDailyLimit

func (_Msw *MswTransactor) 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 (*MswTransactor) ChangeRequirement

func (_Msw *MswTransactor) 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 (*MswTransactor) ConfirmTransaction

func (_Msw *MswTransactor) 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 (*MswTransactor) ExecuteTransaction

func (_Msw *MswTransactor) 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 (*MswTransactor) RemoveOwner

func (_Msw *MswTransactor) 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 (*MswTransactor) ReplaceOwner

func (_Msw *MswTransactor) 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 (*MswTransactor) RevokeConfirmation

func (_Msw *MswTransactor) 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 (*MswTransactor) SubmitTransaction

func (_Msw *MswTransactor) 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 MswTransactorRaw

type MswTransactorRaw struct {
	Contract *MswTransactor // Generic write-only contract binding to access the raw methods on
}

MswTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MswTransactorRaw) Transact

func (_Msw *MswTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MswTransactorRaw) Transfer

func (_Msw *MswTransactorRaw) 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 MswTransactorSession

type MswTransactorSession struct {
	Contract     *MswTransactor    // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

MswTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*MswTransactorSession) AddOwner

func (_Msw *MswTransactorSession) 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 (*MswTransactorSession) ChangeDailyLimit

func (_Msw *MswTransactorSession) 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 (*MswTransactorSession) ChangeRequirement

func (_Msw *MswTransactorSession) 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 (*MswTransactorSession) ConfirmTransaction

func (_Msw *MswTransactorSession) 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 (*MswTransactorSession) ExecuteTransaction

func (_Msw *MswTransactorSession) 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 (*MswTransactorSession) RemoveOwner

func (_Msw *MswTransactorSession) 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 (*MswTransactorSession) ReplaceOwner

func (_Msw *MswTransactorSession) 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 (*MswTransactorSession) RevokeConfirmation

func (_Msw *MswTransactorSession) 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 (*MswTransactorSession) SubmitTransaction

func (_Msw *MswTransactorSession) 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL