bindings

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: LGPL-3.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

View Source
const AccountantImplementationABI = "" /* 15608-byte string literal not displayed */

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

View Source
const ChannelImplementationABI = "" /* 6598-byte string literal not displayed */

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

View Source
const MystDEXABI = "" /* 3840-byte string literal not displayed */

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

View Source
const MystTokenABI = "" /* 7883-byte string literal not displayed */

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

View Source
const RegistryABI = "" /* 8225-byte string literal not displayed */

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

View Source
const SafeMathLibABI = "" /* 1005-byte string literal not displayed */

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

Variables

View Source
var AccountantImplementationBin = "" /* 30768-byte string literal not displayed */

AccountantImplementationBin is the compiled bytecode used for deploying new contracts.

View Source
var ChannelImplementationBin = "" /* 14526-byte string literal not displayed */

ChannelImplementationBin is the compiled bytecode used for deploying new contracts.

View Source
var MystDEXBin = "" /* 7178-byte string literal not displayed */

MystDEXBin is the compiled bytecode used for deploying new contracts.

View Source
var MystTokenBin = "" /* 9016-byte string literal not displayed */

MystTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var RegistryBin = "" /* 14488-byte string literal not displayed */

RegistryBin is the compiled bytecode used for deploying new contracts.

View Source
var SafeMathLibBin = "" /* 1230-byte string literal not displayed */

SafeMathLibBin is the compiled bytecode used for deploying new contracts.

Functions

func DeployLinkedMystToken

func DeployLinkedMystToken(opts *bind.TransactOpts, backend bind.ContractBackend, links map[string]common.Address) (common.Address, *types.Transaction, *bind.BoundContract, error)

DeployLinkedMystToken deploys the myst token with the provided links. Links should come in the map, via a format "Name":address.

Types

type AccountantImplementation

type AccountantImplementation struct {
	AccountantImplementationCaller     // Read-only binding to the contract
	AccountantImplementationTransactor // Write-only binding to the contract
	AccountantImplementationFilterer   // Log filterer for contract events
}

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

func DeployAccountantImplementation

func DeployAccountantImplementation(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AccountantImplementation, error)

DeployAccountantImplementation deploys a new Ethereum contract, binding an instance of AccountantImplementation to it.

func NewAccountantImplementation

func NewAccountantImplementation(address common.Address, backend bind.ContractBackend) (*AccountantImplementation, error)

NewAccountantImplementation creates a new instance of AccountantImplementation, bound to a specific deployed contract.

type AccountantImplementationAccountantClosed

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

AccountantImplementationAccountantClosed represents a AccountantClosed event raised by the AccountantImplementation contract.

type AccountantImplementationAccountantClosedIterator

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

AccountantImplementationAccountantClosedIterator is returned from FilterAccountantClosed and is used to iterate over the raw logs and unpacked data for AccountantClosed events raised by the AccountantImplementation contract.

func (*AccountantImplementationAccountantClosedIterator) Close

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

func (*AccountantImplementationAccountantClosedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationAccountantClosedIterator) 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 AccountantImplementationAccountantFeeUpdated

type AccountantImplementationAccountantFeeUpdated struct {
	NewFee         uint16
	ValidFromBlock uint64
	Raw            types.Log // Blockchain specific contextual infos
}

AccountantImplementationAccountantFeeUpdated represents a AccountantFeeUpdated event raised by the AccountantImplementation contract.

type AccountantImplementationAccountantFeeUpdatedIterator

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

AccountantImplementationAccountantFeeUpdatedIterator is returned from FilterAccountantFeeUpdated and is used to iterate over the raw logs and unpacked data for AccountantFeeUpdated events raised by the AccountantImplementation contract.

func (*AccountantImplementationAccountantFeeUpdatedIterator) Close

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

func (*AccountantImplementationAccountantFeeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationAccountantFeeUpdatedIterator) 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 AccountantImplementationAccountantPunishmentActivated

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

AccountantImplementationAccountantPunishmentActivated represents a AccountantPunishmentActivated event raised by the AccountantImplementation contract.

type AccountantImplementationAccountantPunishmentActivatedIterator

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

AccountantImplementationAccountantPunishmentActivatedIterator is returned from FilterAccountantPunishmentActivated and is used to iterate over the raw logs and unpacked data for AccountantPunishmentActivated events raised by the AccountantImplementation contract.

func (*AccountantImplementationAccountantPunishmentActivatedIterator) Close

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

func (*AccountantImplementationAccountantPunishmentActivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationAccountantPunishmentActivatedIterator) 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 AccountantImplementationAccountantPunishmentDeactivated

type AccountantImplementationAccountantPunishmentDeactivated struct {
	Raw types.Log // Blockchain specific contextual infos
}

AccountantImplementationAccountantPunishmentDeactivated represents a AccountantPunishmentDeactivated event raised by the AccountantImplementation contract.

type AccountantImplementationAccountantPunishmentDeactivatedIterator

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

AccountantImplementationAccountantPunishmentDeactivatedIterator is returned from FilterAccountantPunishmentDeactivated and is used to iterate over the raw logs and unpacked data for AccountantPunishmentDeactivated events raised by the AccountantImplementation contract.

func (*AccountantImplementationAccountantPunishmentDeactivatedIterator) Close

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

func (*AccountantImplementationAccountantPunishmentDeactivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationAccountantPunishmentDeactivatedIterator) 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 AccountantImplementationAccountantStakeIncreased

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

AccountantImplementationAccountantStakeIncreased represents a AccountantStakeIncreased event raised by the AccountantImplementation contract.

type AccountantImplementationAccountantStakeIncreasedIterator

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

AccountantImplementationAccountantStakeIncreasedIterator is returned from FilterAccountantStakeIncreased and is used to iterate over the raw logs and unpacked data for AccountantStakeIncreased events raised by the AccountantImplementation contract.

func (*AccountantImplementationAccountantStakeIncreasedIterator) Close

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

func (*AccountantImplementationAccountantStakeIncreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationAccountantStakeIncreasedIterator) 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 AccountantImplementationCaller

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

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

func NewAccountantImplementationCaller

func NewAccountantImplementationCaller(address common.Address, caller bind.ContractCaller) (*AccountantImplementationCaller, error)

NewAccountantImplementationCaller creates a new read-only instance of AccountantImplementation, bound to a specific deployed contract.

func (*AccountantImplementationCaller) AvailableBalance

func (_AccountantImplementation *AccountantImplementationCaller) AvailableBalance(opts *bind.CallOpts) (*big.Int, error)

AvailableBalance is a free data retrieval call binding the contract method 0xab2f0e51.

Solidity: function availableBalance() constant returns(uint256)

func (*AccountantImplementationCaller) CalculateAccountantFee

func (_AccountantImplementation *AccountantImplementationCaller) CalculateAccountantFee(opts *bind.CallOpts, _amount *big.Int) (*big.Int, error)

CalculateAccountantFee is a free data retrieval call binding the contract method 0x9fe827ed.

Solidity: function calculateAccountantFee(uint256 _amount) constant returns(uint256)

func (*AccountantImplementationCaller) Channels

func (_AccountantImplementation *AccountantImplementationCaller) Channels(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Beneficiary   common.Address
	Balance       *big.Int
	Settled       *big.Int
	Loan          *big.Int
	LastUsedNonce *big.Int
	Timelock      *big.Int
}, error)

Channels is a free data retrieval call binding the contract method 0x7a7ebd7b.

Solidity: function channels(bytes32 ) constant returns(address beneficiary, uint256 balance, uint256 settled, uint256 loan, uint256 lastUsedNonce, uint256 timelock)

func (*AccountantImplementationCaller) GetChannelId

func (_AccountantImplementation *AccountantImplementationCaller) GetChannelId(opts *bind.CallOpts, _party common.Address) ([32]byte, error)

GetChannelId is a free data retrieval call binding the contract method 0xeb295b27.

Solidity: function getChannelId(address _party) constant returns(bytes32)

func (*AccountantImplementationCaller) GetFundsDestination

func (_AccountantImplementation *AccountantImplementationCaller) GetFundsDestination(opts *bind.CallOpts) (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*AccountantImplementationCaller) GetOperator

func (_AccountantImplementation *AccountantImplementationCaller) GetOperator(opts *bind.CallOpts) (common.Address, error)

GetOperator is a free data retrieval call binding the contract method 0xe7f43c68.

Solidity: function getOperator() constant returns(address)

func (*AccountantImplementationCaller) GetRegistry

func (_AccountantImplementation *AccountantImplementationCaller) GetRegistry(opts *bind.CallOpts) (common.Address, error)

GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.

Solidity: function getRegistry() constant returns(address)

func (*AccountantImplementationCaller) GetStake

func (_AccountantImplementation *AccountantImplementationCaller) GetStake(opts *bind.CallOpts) (*big.Int, error)

GetStake is a free data retrieval call binding the contract method 0xfc0e3d90.

Solidity: function getStake() constant returns(uint256)

func (*AccountantImplementationCaller) GetStatus

func (_AccountantImplementation *AccountantImplementationCaller) GetStatus(opts *bind.CallOpts) (uint8, error)

GetStatus is a free data retrieval call binding the contract method 0x4e69d560.

Solidity: function getStatus() constant returns(uint8)

func (*AccountantImplementationCaller) IsAccountantActive

func (_AccountantImplementation *AccountantImplementationCaller) IsAccountantActive(opts *bind.CallOpts) (bool, error)

IsAccountantActive is a free data retrieval call binding the contract method 0xbe02c06c.

Solidity: function isAccountantActive() constant returns(bool)

func (*AccountantImplementationCaller) IsInitialized

func (_AccountantImplementation *AccountantImplementationCaller) IsInitialized(opts *bind.CallOpts) (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() constant returns(bool)

func (*AccountantImplementationCaller) IsOpened

func (_AccountantImplementation *AccountantImplementationCaller) IsOpened(opts *bind.CallOpts, _channelId [32]byte) (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x5f5794f1.

Solidity: function isOpened(bytes32 _channelId) constant returns(bool)

func (*AccountantImplementationCaller) IsOwner

func (_AccountantImplementation *AccountantImplementationCaller) IsOwner(opts *bind.CallOpts) (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*AccountantImplementationCaller) LastFee

func (_AccountantImplementation *AccountantImplementationCaller) LastFee(opts *bind.CallOpts) (struct {
	Value     uint16
	ValidFrom uint64
}, error)

LastFee is a free data retrieval call binding the contract method 0x9801134e.

Solidity: function lastFee() constant returns(uint16 value, uint64 validFrom)

func (*AccountantImplementationCaller) MinimalExpectedBalance

func (_AccountantImplementation *AccountantImplementationCaller) MinimalExpectedBalance(opts *bind.CallOpts) (*big.Int, error)

MinimalExpectedBalance is a free data retrieval call binding the contract method 0x94c7915d.

Solidity: function minimalExpectedBalance() constant returns(uint256)

func (*AccountantImplementationCaller) Owner

func (_AccountantImplementation *AccountantImplementationCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*AccountantImplementationCaller) PreviousFee

func (_AccountantImplementation *AccountantImplementationCaller) PreviousFee(opts *bind.CallOpts) (struct {
	Value     uint16
	ValidFrom uint64
}, error)

PreviousFee is a free data retrieval call binding the contract method 0xe1c66487.

Solidity: function previousFee() constant returns(uint16 value, uint64 validFrom)

func (*AccountantImplementationCaller) Punishment

func (_AccountantImplementation *AccountantImplementationCaller) Punishment(opts *bind.CallOpts) (struct {
	ActivationBlock *big.Int
	Amount          *big.Int
}, error)

Punishment is a free data retrieval call binding the contract method 0x0684cd20.

Solidity: function punishment() constant returns(uint256 activationBlock, uint256 amount)

func (*AccountantImplementationCaller) Token

func (_AccountantImplementation *AccountantImplementationCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type AccountantImplementationCallerRaw

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

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

func (*AccountantImplementationCallerRaw) Call

func (_AccountantImplementation *AccountantImplementationCallerRaw) 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 AccountantImplementationCallerSession

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

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

func (*AccountantImplementationCallerSession) AvailableBalance

func (_AccountantImplementation *AccountantImplementationCallerSession) AvailableBalance() (*big.Int, error)

AvailableBalance is a free data retrieval call binding the contract method 0xab2f0e51.

Solidity: function availableBalance() constant returns(uint256)

func (*AccountantImplementationCallerSession) CalculateAccountantFee

func (_AccountantImplementation *AccountantImplementationCallerSession) CalculateAccountantFee(_amount *big.Int) (*big.Int, error)

CalculateAccountantFee is a free data retrieval call binding the contract method 0x9fe827ed.

Solidity: function calculateAccountantFee(uint256 _amount) constant returns(uint256)

func (*AccountantImplementationCallerSession) Channels

func (_AccountantImplementation *AccountantImplementationCallerSession) Channels(arg0 [32]byte) (struct {
	Beneficiary   common.Address
	Balance       *big.Int
	Settled       *big.Int
	Loan          *big.Int
	LastUsedNonce *big.Int
	Timelock      *big.Int
}, error)

Channels is a free data retrieval call binding the contract method 0x7a7ebd7b.

Solidity: function channels(bytes32 ) constant returns(address beneficiary, uint256 balance, uint256 settled, uint256 loan, uint256 lastUsedNonce, uint256 timelock)

func (*AccountantImplementationCallerSession) GetChannelId

func (_AccountantImplementation *AccountantImplementationCallerSession) GetChannelId(_party common.Address) ([32]byte, error)

GetChannelId is a free data retrieval call binding the contract method 0xeb295b27.

Solidity: function getChannelId(address _party) constant returns(bytes32)

func (*AccountantImplementationCallerSession) GetFundsDestination

func (_AccountantImplementation *AccountantImplementationCallerSession) GetFundsDestination() (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*AccountantImplementationCallerSession) GetOperator

func (_AccountantImplementation *AccountantImplementationCallerSession) GetOperator() (common.Address, error)

GetOperator is a free data retrieval call binding the contract method 0xe7f43c68.

Solidity: function getOperator() constant returns(address)

func (*AccountantImplementationCallerSession) GetRegistry

func (_AccountantImplementation *AccountantImplementationCallerSession) GetRegistry() (common.Address, error)

GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.

Solidity: function getRegistry() constant returns(address)

func (*AccountantImplementationCallerSession) GetStake

func (_AccountantImplementation *AccountantImplementationCallerSession) GetStake() (*big.Int, error)

GetStake is a free data retrieval call binding the contract method 0xfc0e3d90.

Solidity: function getStake() constant returns(uint256)

func (*AccountantImplementationCallerSession) GetStatus

func (_AccountantImplementation *AccountantImplementationCallerSession) GetStatus() (uint8, error)

GetStatus is a free data retrieval call binding the contract method 0x4e69d560.

Solidity: function getStatus() constant returns(uint8)

func (*AccountantImplementationCallerSession) IsAccountantActive

func (_AccountantImplementation *AccountantImplementationCallerSession) IsAccountantActive() (bool, error)

IsAccountantActive is a free data retrieval call binding the contract method 0xbe02c06c.

Solidity: function isAccountantActive() constant returns(bool)

func (*AccountantImplementationCallerSession) IsInitialized

func (_AccountantImplementation *AccountantImplementationCallerSession) IsInitialized() (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() constant returns(bool)

func (*AccountantImplementationCallerSession) IsOpened

func (_AccountantImplementation *AccountantImplementationCallerSession) IsOpened(_channelId [32]byte) (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x5f5794f1.

Solidity: function isOpened(bytes32 _channelId) constant returns(bool)

func (*AccountantImplementationCallerSession) IsOwner

func (_AccountantImplementation *AccountantImplementationCallerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*AccountantImplementationCallerSession) LastFee

func (_AccountantImplementation *AccountantImplementationCallerSession) LastFee() (struct {
	Value     uint16
	ValidFrom uint64
}, error)

LastFee is a free data retrieval call binding the contract method 0x9801134e.

Solidity: function lastFee() constant returns(uint16 value, uint64 validFrom)

func (*AccountantImplementationCallerSession) MinimalExpectedBalance

func (_AccountantImplementation *AccountantImplementationCallerSession) MinimalExpectedBalance() (*big.Int, error)

MinimalExpectedBalance is a free data retrieval call binding the contract method 0x94c7915d.

Solidity: function minimalExpectedBalance() constant returns(uint256)

func (*AccountantImplementationCallerSession) Owner

func (_AccountantImplementation *AccountantImplementationCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*AccountantImplementationCallerSession) PreviousFee

func (_AccountantImplementation *AccountantImplementationCallerSession) PreviousFee() (struct {
	Value     uint16
	ValidFrom uint64
}, error)

PreviousFee is a free data retrieval call binding the contract method 0xe1c66487.

Solidity: function previousFee() constant returns(uint16 value, uint64 validFrom)

func (*AccountantImplementationCallerSession) Punishment

func (_AccountantImplementation *AccountantImplementationCallerSession) Punishment() (struct {
	ActivationBlock *big.Int
	Amount          *big.Int
}, error)

Punishment is a free data retrieval call binding the contract method 0x0684cd20.

Solidity: function punishment() constant returns(uint256 activationBlock, uint256 amount)

func (*AccountantImplementationCallerSession) Token

func (_AccountantImplementation *AccountantImplementationCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type AccountantImplementationChannelBalanceDecreaseRequested

type AccountantImplementationChannelBalanceDecreaseRequested struct {
	ChannelId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

AccountantImplementationChannelBalanceDecreaseRequested represents a ChannelBalanceDecreaseRequested event raised by the AccountantImplementation contract.

type AccountantImplementationChannelBalanceDecreaseRequestedIterator

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

AccountantImplementationChannelBalanceDecreaseRequestedIterator is returned from FilterChannelBalanceDecreaseRequested and is used to iterate over the raw logs and unpacked data for ChannelBalanceDecreaseRequested events raised by the AccountantImplementation contract.

func (*AccountantImplementationChannelBalanceDecreaseRequestedIterator) Close

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

func (*AccountantImplementationChannelBalanceDecreaseRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationChannelBalanceDecreaseRequestedIterator) 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 AccountantImplementationChannelBalanceUpdated

type AccountantImplementationChannelBalanceUpdated struct {
	ChannelId  [32]byte
	NewBalance *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AccountantImplementationChannelBalanceUpdated represents a ChannelBalanceUpdated event raised by the AccountantImplementation contract.

type AccountantImplementationChannelBalanceUpdatedIterator

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

AccountantImplementationChannelBalanceUpdatedIterator is returned from FilterChannelBalanceUpdated and is used to iterate over the raw logs and unpacked data for ChannelBalanceUpdated events raised by the AccountantImplementation contract.

func (*AccountantImplementationChannelBalanceUpdatedIterator) Close

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

func (*AccountantImplementationChannelBalanceUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationChannelBalanceUpdatedIterator) 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 AccountantImplementationChannelBeneficiaryChanged

type AccountantImplementationChannelBeneficiaryChanged struct {
	ChannelId      [32]byte
	NewBeneficiary common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

AccountantImplementationChannelBeneficiaryChanged represents a ChannelBeneficiaryChanged event raised by the AccountantImplementation contract.

type AccountantImplementationChannelBeneficiaryChangedIterator

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

AccountantImplementationChannelBeneficiaryChangedIterator is returned from FilterChannelBeneficiaryChanged and is used to iterate over the raw logs and unpacked data for ChannelBeneficiaryChanged events raised by the AccountantImplementation contract.

func (*AccountantImplementationChannelBeneficiaryChangedIterator) Close

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

func (*AccountantImplementationChannelBeneficiaryChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationChannelBeneficiaryChangedIterator) 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 AccountantImplementationChannelOpened

type AccountantImplementationChannelOpened struct {
	ChannelId      [32]byte
	InitialBalance *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

AccountantImplementationChannelOpened represents a ChannelOpened event raised by the AccountantImplementation contract.

type AccountantImplementationChannelOpenedIterator

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

AccountantImplementationChannelOpenedIterator is returned from FilterChannelOpened and is used to iterate over the raw logs and unpacked data for ChannelOpened events raised by the AccountantImplementation contract.

func (*AccountantImplementationChannelOpenedIterator) Close

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

func (*AccountantImplementationChannelOpenedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationChannelOpenedIterator) 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 AccountantImplementationChannelOpeningActivated

type AccountantImplementationChannelOpeningActivated struct {
	Raw types.Log // Blockchain specific contextual infos
}

AccountantImplementationChannelOpeningActivated represents a ChannelOpeningActivated event raised by the AccountantImplementation contract.

type AccountantImplementationChannelOpeningActivatedIterator

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

AccountantImplementationChannelOpeningActivatedIterator is returned from FilterChannelOpeningActivated and is used to iterate over the raw logs and unpacked data for ChannelOpeningActivated events raised by the AccountantImplementation contract.

func (*AccountantImplementationChannelOpeningActivatedIterator) Close

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

func (*AccountantImplementationChannelOpeningActivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationChannelOpeningActivatedIterator) 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 AccountantImplementationChannelOpeningPaused

type AccountantImplementationChannelOpeningPaused struct {
	Raw types.Log // Blockchain specific contextual infos
}

AccountantImplementationChannelOpeningPaused represents a ChannelOpeningPaused event raised by the AccountantImplementation contract.

type AccountantImplementationChannelOpeningPausedIterator

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

AccountantImplementationChannelOpeningPausedIterator is returned from FilterChannelOpeningPaused and is used to iterate over the raw logs and unpacked data for ChannelOpeningPaused events raised by the AccountantImplementation contract.

func (*AccountantImplementationChannelOpeningPausedIterator) Close

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

func (*AccountantImplementationChannelOpeningPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationChannelOpeningPausedIterator) 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 AccountantImplementationDestinationChanged

type AccountantImplementationDestinationChanged struct {
	PreviousDestination common.Address
	NewDestination      common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

AccountantImplementationDestinationChanged represents a DestinationChanged event raised by the AccountantImplementation contract.

type AccountantImplementationDestinationChangedIterator

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

AccountantImplementationDestinationChangedIterator is returned from FilterDestinationChanged and is used to iterate over the raw logs and unpacked data for DestinationChanged events raised by the AccountantImplementation contract.

func (*AccountantImplementationDestinationChangedIterator) Close

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

func (*AccountantImplementationDestinationChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationDestinationChangedIterator) 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 AccountantImplementationFilterer

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

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

func NewAccountantImplementationFilterer

func NewAccountantImplementationFilterer(address common.Address, filterer bind.ContractFilterer) (*AccountantImplementationFilterer, error)

NewAccountantImplementationFilterer creates a new log filterer instance of AccountantImplementation, bound to a specific deployed contract.

func (*AccountantImplementationFilterer) FilterAccountantClosed

func (_AccountantImplementation *AccountantImplementationFilterer) FilterAccountantClosed(opts *bind.FilterOpts) (*AccountantImplementationAccountantClosedIterator, error)

FilterAccountantClosed is a free log retrieval operation binding the contract event 0x888906f0892e56365e679111a6f8ba7d0742bae70d0a532641cbf0da77d5af92.

Solidity: event AccountantClosed(uint256 blockNumber)

func (*AccountantImplementationFilterer) FilterAccountantFeeUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) FilterAccountantFeeUpdated(opts *bind.FilterOpts) (*AccountantImplementationAccountantFeeUpdatedIterator, error)

FilterAccountantFeeUpdated is a free log retrieval operation binding the contract event 0x008b9bffa5c48d8c0b96ce879f8491c5605cc3d7a46a46711b522dbe6d4070ee.

Solidity: event AccountantFeeUpdated(uint16 newFee, uint64 validFromBlock)

func (*AccountantImplementationFilterer) FilterAccountantPunishmentActivated

func (_AccountantImplementation *AccountantImplementationFilterer) FilterAccountantPunishmentActivated(opts *bind.FilterOpts) (*AccountantImplementationAccountantPunishmentActivatedIterator, error)

FilterAccountantPunishmentActivated is a free log retrieval operation binding the contract event 0xb3e91d0895882cef621b468a8235043537ca2e4d8d91ee6587801041054107e1.

Solidity: event AccountantPunishmentActivated(uint256 activationBlock)

func (*AccountantImplementationFilterer) FilterAccountantPunishmentDeactivated

func (_AccountantImplementation *AccountantImplementationFilterer) FilterAccountantPunishmentDeactivated(opts *bind.FilterOpts) (*AccountantImplementationAccountantPunishmentDeactivatedIterator, error)

FilterAccountantPunishmentDeactivated is a free log retrieval operation binding the contract event 0x58ef313a2eb2567f3b143ff20930622dd67a0de84902cc93b7ddddd72b7773ef.

Solidity: event AccountantPunishmentDeactivated()

func (*AccountantImplementationFilterer) FilterAccountantStakeIncreased

func (_AccountantImplementation *AccountantImplementationFilterer) FilterAccountantStakeIncreased(opts *bind.FilterOpts) (*AccountantImplementationAccountantStakeIncreasedIterator, error)

FilterAccountantStakeIncreased is a free log retrieval operation binding the contract event 0x41a5bb80f9c1243f3d450690277c955ff8982168e34ed096457afdc31cefef7f.

Solidity: event AccountantStakeIncreased(uint256 newStake)

func (*AccountantImplementationFilterer) FilterChannelBalanceDecreaseRequested

func (_AccountantImplementation *AccountantImplementationFilterer) FilterChannelBalanceDecreaseRequested(opts *bind.FilterOpts, channelId [][32]byte) (*AccountantImplementationChannelBalanceDecreaseRequestedIterator, error)

FilterChannelBalanceDecreaseRequested is a free log retrieval operation binding the contract event 0xaf4c616dc7856b81dbc1346e5547f0a1d4f1553011653f920d1041f215401075.

Solidity: event ChannelBalanceDecreaseRequested(bytes32 indexed channelId)

func (*AccountantImplementationFilterer) FilterChannelBalanceUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) FilterChannelBalanceUpdated(opts *bind.FilterOpts, channelId [][32]byte) (*AccountantImplementationChannelBalanceUpdatedIterator, error)

FilterChannelBalanceUpdated is a free log retrieval operation binding the contract event 0x2eb87c52e5d2d7395da77618aa1afe310b9cf13fa9f70e3199d100adda3a7aa5.

Solidity: event ChannelBalanceUpdated(bytes32 indexed channelId, uint256 newBalance)

func (*AccountantImplementationFilterer) FilterChannelBeneficiaryChanged

func (_AccountantImplementation *AccountantImplementationFilterer) FilterChannelBeneficiaryChanged(opts *bind.FilterOpts) (*AccountantImplementationChannelBeneficiaryChangedIterator, error)

FilterChannelBeneficiaryChanged is a free log retrieval operation binding the contract event 0x8756aa559142225f918d7584303ecfe48e75b454f6614d0fae9f0d6ca0a898cc.

Solidity: event ChannelBeneficiaryChanged(bytes32 channelId, address newBeneficiary)

func (*AccountantImplementationFilterer) FilterChannelOpened

func (_AccountantImplementation *AccountantImplementationFilterer) FilterChannelOpened(opts *bind.FilterOpts) (*AccountantImplementationChannelOpenedIterator, error)

FilterChannelOpened is a free log retrieval operation binding the contract event 0xbe2e1f3a6197dfd16fa6830c4870364b618b8b288c21cbcfa4fdb5d7c6a5e45b.

Solidity: event ChannelOpened(bytes32 channelId, uint256 initialBalance)

func (*AccountantImplementationFilterer) FilterChannelOpeningActivated

func (_AccountantImplementation *AccountantImplementationFilterer) FilterChannelOpeningActivated(opts *bind.FilterOpts) (*AccountantImplementationChannelOpeningActivatedIterator, error)

FilterChannelOpeningActivated is a free log retrieval operation binding the contract event 0x2d8b6ec230798e206d536342a28b7b61cc8fcfafb1d27c11c5519b3c42eb7df8.

Solidity: event ChannelOpeningActivated()

func (*AccountantImplementationFilterer) FilterChannelOpeningPaused

func (_AccountantImplementation *AccountantImplementationFilterer) FilterChannelOpeningPaused(opts *bind.FilterOpts) (*AccountantImplementationChannelOpeningPausedIterator, error)

FilterChannelOpeningPaused is a free log retrieval operation binding the contract event 0x1f4cd5d6edef8a0c4dbe6d547fdc42e0f3575167257553271f2366f9d497f67e.

Solidity: event ChannelOpeningPaused()

func (*AccountantImplementationFilterer) FilterDestinationChanged

func (_AccountantImplementation *AccountantImplementationFilterer) FilterDestinationChanged(opts *bind.FilterOpts, previousDestination []common.Address, newDestination []common.Address) (*AccountantImplementationDestinationChangedIterator, error)

FilterDestinationChanged is a free log retrieval operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*AccountantImplementationFilterer) FilterFundsWithdrawned

func (_AccountantImplementation *AccountantImplementationFilterer) FilterFundsWithdrawned(opts *bind.FilterOpts) (*AccountantImplementationFundsWithdrawnedIterator, error)

FilterFundsWithdrawned is a free log retrieval operation binding the contract event 0xa2e147ce2b7cb83d9c07e397bb806f23dd42c42e86ea45e1611d6e50eb1ec8bf.

Solidity: event FundsWithdrawned(uint256 amount, address beneficiary)

func (*AccountantImplementationFilterer) FilterMaxLoanValueUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) FilterMaxLoanValueUpdated(opts *bind.FilterOpts) (*AccountantImplementationMaxLoanValueUpdatedIterator, error)

FilterMaxLoanValueUpdated is a free log retrieval operation binding the contract event 0x2181d8ed90eadf541579998852434d883f30ace513163bbe0e4115b29afb517a.

Solidity: event MaxLoanValueUpdated(uint256 _newMaxLoan)

func (*AccountantImplementationFilterer) FilterNewAccountantOperator

func (_AccountantImplementation *AccountantImplementationFilterer) FilterNewAccountantOperator(opts *bind.FilterOpts) (*AccountantImplementationNewAccountantOperatorIterator, error)

FilterNewAccountantOperator is a free log retrieval operation binding the contract event 0xa326c787c51b80574c7b572d0c9664e64f1107538b902f519a896901b4137918.

Solidity: event NewAccountantOperator(address newOperator)

func (*AccountantImplementationFilterer) FilterNewLoan

func (_AccountantImplementation *AccountantImplementationFilterer) FilterNewLoan(opts *bind.FilterOpts, channelId [][32]byte) (*AccountantImplementationNewLoanIterator, error)

FilterNewLoan is a free log retrieval operation binding the contract event 0x9839fd1896801c6864456fe7cbd098b1e4a81dba19536764cea53a1fb07ed239.

Solidity: event NewLoan(bytes32 indexed channelId, uint256 loanAmount)

func (*AccountantImplementationFilterer) FilterOwnershipTransferred

func (_AccountantImplementation *AccountantImplementationFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AccountantImplementationOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*AccountantImplementationFilterer) FilterPromiseSettled

func (_AccountantImplementation *AccountantImplementationFilterer) FilterPromiseSettled(opts *bind.FilterOpts, channelId [][32]byte) (*AccountantImplementationPromiseSettledIterator, error)

FilterPromiseSettled is a free log retrieval operation binding the contract event 0xa5a1f05785a942c5f624cee545c68394881a83bcaf21a83f4d76a9e8240a5668.

Solidity: event PromiseSettled(bytes32 indexed channelId, address beneficiary, uint256 amount, uint256 totalSettled)

func (*AccountantImplementationFilterer) ParseAccountantClosed

func (_AccountantImplementation *AccountantImplementationFilterer) ParseAccountantClosed(log types.Log) (*AccountantImplementationAccountantClosed, error)

ParseAccountantClosed is a log parse operation binding the contract event 0x888906f0892e56365e679111a6f8ba7d0742bae70d0a532641cbf0da77d5af92.

Solidity: event AccountantClosed(uint256 blockNumber)

func (*AccountantImplementationFilterer) ParseAccountantFeeUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) ParseAccountantFeeUpdated(log types.Log) (*AccountantImplementationAccountantFeeUpdated, error)

ParseAccountantFeeUpdated is a log parse operation binding the contract event 0x008b9bffa5c48d8c0b96ce879f8491c5605cc3d7a46a46711b522dbe6d4070ee.

Solidity: event AccountantFeeUpdated(uint16 newFee, uint64 validFromBlock)

func (*AccountantImplementationFilterer) ParseAccountantPunishmentActivated

func (_AccountantImplementation *AccountantImplementationFilterer) ParseAccountantPunishmentActivated(log types.Log) (*AccountantImplementationAccountantPunishmentActivated, error)

ParseAccountantPunishmentActivated is a log parse operation binding the contract event 0xb3e91d0895882cef621b468a8235043537ca2e4d8d91ee6587801041054107e1.

Solidity: event AccountantPunishmentActivated(uint256 activationBlock)

func (*AccountantImplementationFilterer) ParseAccountantPunishmentDeactivated

func (_AccountantImplementation *AccountantImplementationFilterer) ParseAccountantPunishmentDeactivated(log types.Log) (*AccountantImplementationAccountantPunishmentDeactivated, error)

ParseAccountantPunishmentDeactivated is a log parse operation binding the contract event 0x58ef313a2eb2567f3b143ff20930622dd67a0de84902cc93b7ddddd72b7773ef.

Solidity: event AccountantPunishmentDeactivated()

func (*AccountantImplementationFilterer) ParseAccountantStakeIncreased

func (_AccountantImplementation *AccountantImplementationFilterer) ParseAccountantStakeIncreased(log types.Log) (*AccountantImplementationAccountantStakeIncreased, error)

ParseAccountantStakeIncreased is a log parse operation binding the contract event 0x41a5bb80f9c1243f3d450690277c955ff8982168e34ed096457afdc31cefef7f.

Solidity: event AccountantStakeIncreased(uint256 newStake)

func (*AccountantImplementationFilterer) ParseChannelBalanceDecreaseRequested

func (_AccountantImplementation *AccountantImplementationFilterer) ParseChannelBalanceDecreaseRequested(log types.Log) (*AccountantImplementationChannelBalanceDecreaseRequested, error)

ParseChannelBalanceDecreaseRequested is a log parse operation binding the contract event 0xaf4c616dc7856b81dbc1346e5547f0a1d4f1553011653f920d1041f215401075.

Solidity: event ChannelBalanceDecreaseRequested(bytes32 indexed channelId)

func (*AccountantImplementationFilterer) ParseChannelBalanceUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) ParseChannelBalanceUpdated(log types.Log) (*AccountantImplementationChannelBalanceUpdated, error)

ParseChannelBalanceUpdated is a log parse operation binding the contract event 0x2eb87c52e5d2d7395da77618aa1afe310b9cf13fa9f70e3199d100adda3a7aa5.

Solidity: event ChannelBalanceUpdated(bytes32 indexed channelId, uint256 newBalance)

func (*AccountantImplementationFilterer) ParseChannelBeneficiaryChanged

func (_AccountantImplementation *AccountantImplementationFilterer) ParseChannelBeneficiaryChanged(log types.Log) (*AccountantImplementationChannelBeneficiaryChanged, error)

ParseChannelBeneficiaryChanged is a log parse operation binding the contract event 0x8756aa559142225f918d7584303ecfe48e75b454f6614d0fae9f0d6ca0a898cc.

Solidity: event ChannelBeneficiaryChanged(bytes32 channelId, address newBeneficiary)

func (*AccountantImplementationFilterer) ParseChannelOpened

func (_AccountantImplementation *AccountantImplementationFilterer) ParseChannelOpened(log types.Log) (*AccountantImplementationChannelOpened, error)

ParseChannelOpened is a log parse operation binding the contract event 0xbe2e1f3a6197dfd16fa6830c4870364b618b8b288c21cbcfa4fdb5d7c6a5e45b.

Solidity: event ChannelOpened(bytes32 channelId, uint256 initialBalance)

func (*AccountantImplementationFilterer) ParseChannelOpeningActivated

func (_AccountantImplementation *AccountantImplementationFilterer) ParseChannelOpeningActivated(log types.Log) (*AccountantImplementationChannelOpeningActivated, error)

ParseChannelOpeningActivated is a log parse operation binding the contract event 0x2d8b6ec230798e206d536342a28b7b61cc8fcfafb1d27c11c5519b3c42eb7df8.

Solidity: event ChannelOpeningActivated()

func (*AccountantImplementationFilterer) ParseChannelOpeningPaused

func (_AccountantImplementation *AccountantImplementationFilterer) ParseChannelOpeningPaused(log types.Log) (*AccountantImplementationChannelOpeningPaused, error)

ParseChannelOpeningPaused is a log parse operation binding the contract event 0x1f4cd5d6edef8a0c4dbe6d547fdc42e0f3575167257553271f2366f9d497f67e.

Solidity: event ChannelOpeningPaused()

func (*AccountantImplementationFilterer) ParseDestinationChanged

func (_AccountantImplementation *AccountantImplementationFilterer) ParseDestinationChanged(log types.Log) (*AccountantImplementationDestinationChanged, error)

ParseDestinationChanged is a log parse operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*AccountantImplementationFilterer) ParseFundsWithdrawned

func (_AccountantImplementation *AccountantImplementationFilterer) ParseFundsWithdrawned(log types.Log) (*AccountantImplementationFundsWithdrawned, error)

ParseFundsWithdrawned is a log parse operation binding the contract event 0xa2e147ce2b7cb83d9c07e397bb806f23dd42c42e86ea45e1611d6e50eb1ec8bf.

Solidity: event FundsWithdrawned(uint256 amount, address beneficiary)

func (*AccountantImplementationFilterer) ParseMaxLoanValueUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) ParseMaxLoanValueUpdated(log types.Log) (*AccountantImplementationMaxLoanValueUpdated, error)

ParseMaxLoanValueUpdated is a log parse operation binding the contract event 0x2181d8ed90eadf541579998852434d883f30ace513163bbe0e4115b29afb517a.

Solidity: event MaxLoanValueUpdated(uint256 _newMaxLoan)

func (*AccountantImplementationFilterer) ParseNewAccountantOperator

func (_AccountantImplementation *AccountantImplementationFilterer) ParseNewAccountantOperator(log types.Log) (*AccountantImplementationNewAccountantOperator, error)

ParseNewAccountantOperator is a log parse operation binding the contract event 0xa326c787c51b80574c7b572d0c9664e64f1107538b902f519a896901b4137918.

Solidity: event NewAccountantOperator(address newOperator)

func (*AccountantImplementationFilterer) ParseNewLoan

func (_AccountantImplementation *AccountantImplementationFilterer) ParseNewLoan(log types.Log) (*AccountantImplementationNewLoan, error)

ParseNewLoan is a log parse operation binding the contract event 0x9839fd1896801c6864456fe7cbd098b1e4a81dba19536764cea53a1fb07ed239.

Solidity: event NewLoan(bytes32 indexed channelId, uint256 loanAmount)

func (*AccountantImplementationFilterer) ParseOwnershipTransferred

func (_AccountantImplementation *AccountantImplementationFilterer) ParseOwnershipTransferred(log types.Log) (*AccountantImplementationOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*AccountantImplementationFilterer) ParsePromiseSettled

func (_AccountantImplementation *AccountantImplementationFilterer) ParsePromiseSettled(log types.Log) (*AccountantImplementationPromiseSettled, error)

ParsePromiseSettled is a log parse operation binding the contract event 0xa5a1f05785a942c5f624cee545c68394881a83bcaf21a83f4d76a9e8240a5668.

Solidity: event PromiseSettled(bytes32 indexed channelId, address beneficiary, uint256 amount, uint256 totalSettled)

func (*AccountantImplementationFilterer) WatchAccountantClosed

func (_AccountantImplementation *AccountantImplementationFilterer) WatchAccountantClosed(opts *bind.WatchOpts, sink chan<- *AccountantImplementationAccountantClosed) (event.Subscription, error)

WatchAccountantClosed is a free log subscription operation binding the contract event 0x888906f0892e56365e679111a6f8ba7d0742bae70d0a532641cbf0da77d5af92.

Solidity: event AccountantClosed(uint256 blockNumber)

func (*AccountantImplementationFilterer) WatchAccountantFeeUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) WatchAccountantFeeUpdated(opts *bind.WatchOpts, sink chan<- *AccountantImplementationAccountantFeeUpdated) (event.Subscription, error)

WatchAccountantFeeUpdated is a free log subscription operation binding the contract event 0x008b9bffa5c48d8c0b96ce879f8491c5605cc3d7a46a46711b522dbe6d4070ee.

Solidity: event AccountantFeeUpdated(uint16 newFee, uint64 validFromBlock)

func (*AccountantImplementationFilterer) WatchAccountantPunishmentActivated

func (_AccountantImplementation *AccountantImplementationFilterer) WatchAccountantPunishmentActivated(opts *bind.WatchOpts, sink chan<- *AccountantImplementationAccountantPunishmentActivated) (event.Subscription, error)

WatchAccountantPunishmentActivated is a free log subscription operation binding the contract event 0xb3e91d0895882cef621b468a8235043537ca2e4d8d91ee6587801041054107e1.

Solidity: event AccountantPunishmentActivated(uint256 activationBlock)

func (*AccountantImplementationFilterer) WatchAccountantPunishmentDeactivated

func (_AccountantImplementation *AccountantImplementationFilterer) WatchAccountantPunishmentDeactivated(opts *bind.WatchOpts, sink chan<- *AccountantImplementationAccountantPunishmentDeactivated) (event.Subscription, error)

WatchAccountantPunishmentDeactivated is a free log subscription operation binding the contract event 0x58ef313a2eb2567f3b143ff20930622dd67a0de84902cc93b7ddddd72b7773ef.

Solidity: event AccountantPunishmentDeactivated()

func (*AccountantImplementationFilterer) WatchAccountantStakeIncreased

func (_AccountantImplementation *AccountantImplementationFilterer) WatchAccountantStakeIncreased(opts *bind.WatchOpts, sink chan<- *AccountantImplementationAccountantStakeIncreased) (event.Subscription, error)

WatchAccountantStakeIncreased is a free log subscription operation binding the contract event 0x41a5bb80f9c1243f3d450690277c955ff8982168e34ed096457afdc31cefef7f.

Solidity: event AccountantStakeIncreased(uint256 newStake)

func (*AccountantImplementationFilterer) WatchChannelBalanceDecreaseRequested

func (_AccountantImplementation *AccountantImplementationFilterer) WatchChannelBalanceDecreaseRequested(opts *bind.WatchOpts, sink chan<- *AccountantImplementationChannelBalanceDecreaseRequested, channelId [][32]byte) (event.Subscription, error)

WatchChannelBalanceDecreaseRequested is a free log subscription operation binding the contract event 0xaf4c616dc7856b81dbc1346e5547f0a1d4f1553011653f920d1041f215401075.

Solidity: event ChannelBalanceDecreaseRequested(bytes32 indexed channelId)

func (*AccountantImplementationFilterer) WatchChannelBalanceUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) WatchChannelBalanceUpdated(opts *bind.WatchOpts, sink chan<- *AccountantImplementationChannelBalanceUpdated, channelId [][32]byte) (event.Subscription, error)

WatchChannelBalanceUpdated is a free log subscription operation binding the contract event 0x2eb87c52e5d2d7395da77618aa1afe310b9cf13fa9f70e3199d100adda3a7aa5.

Solidity: event ChannelBalanceUpdated(bytes32 indexed channelId, uint256 newBalance)

func (*AccountantImplementationFilterer) WatchChannelBeneficiaryChanged

func (_AccountantImplementation *AccountantImplementationFilterer) WatchChannelBeneficiaryChanged(opts *bind.WatchOpts, sink chan<- *AccountantImplementationChannelBeneficiaryChanged) (event.Subscription, error)

WatchChannelBeneficiaryChanged is a free log subscription operation binding the contract event 0x8756aa559142225f918d7584303ecfe48e75b454f6614d0fae9f0d6ca0a898cc.

Solidity: event ChannelBeneficiaryChanged(bytes32 channelId, address newBeneficiary)

func (*AccountantImplementationFilterer) WatchChannelOpened

func (_AccountantImplementation *AccountantImplementationFilterer) WatchChannelOpened(opts *bind.WatchOpts, sink chan<- *AccountantImplementationChannelOpened) (event.Subscription, error)

WatchChannelOpened is a free log subscription operation binding the contract event 0xbe2e1f3a6197dfd16fa6830c4870364b618b8b288c21cbcfa4fdb5d7c6a5e45b.

Solidity: event ChannelOpened(bytes32 channelId, uint256 initialBalance)

func (*AccountantImplementationFilterer) WatchChannelOpeningActivated

func (_AccountantImplementation *AccountantImplementationFilterer) WatchChannelOpeningActivated(opts *bind.WatchOpts, sink chan<- *AccountantImplementationChannelOpeningActivated) (event.Subscription, error)

WatchChannelOpeningActivated is a free log subscription operation binding the contract event 0x2d8b6ec230798e206d536342a28b7b61cc8fcfafb1d27c11c5519b3c42eb7df8.

Solidity: event ChannelOpeningActivated()

func (*AccountantImplementationFilterer) WatchChannelOpeningPaused

func (_AccountantImplementation *AccountantImplementationFilterer) WatchChannelOpeningPaused(opts *bind.WatchOpts, sink chan<- *AccountantImplementationChannelOpeningPaused) (event.Subscription, error)

WatchChannelOpeningPaused is a free log subscription operation binding the contract event 0x1f4cd5d6edef8a0c4dbe6d547fdc42e0f3575167257553271f2366f9d497f67e.

Solidity: event ChannelOpeningPaused()

func (*AccountantImplementationFilterer) WatchDestinationChanged

func (_AccountantImplementation *AccountantImplementationFilterer) WatchDestinationChanged(opts *bind.WatchOpts, sink chan<- *AccountantImplementationDestinationChanged, previousDestination []common.Address, newDestination []common.Address) (event.Subscription, error)

WatchDestinationChanged is a free log subscription operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*AccountantImplementationFilterer) WatchFundsWithdrawned

func (_AccountantImplementation *AccountantImplementationFilterer) WatchFundsWithdrawned(opts *bind.WatchOpts, sink chan<- *AccountantImplementationFundsWithdrawned) (event.Subscription, error)

WatchFundsWithdrawned is a free log subscription operation binding the contract event 0xa2e147ce2b7cb83d9c07e397bb806f23dd42c42e86ea45e1611d6e50eb1ec8bf.

Solidity: event FundsWithdrawned(uint256 amount, address beneficiary)

func (*AccountantImplementationFilterer) WatchMaxLoanValueUpdated

func (_AccountantImplementation *AccountantImplementationFilterer) WatchMaxLoanValueUpdated(opts *bind.WatchOpts, sink chan<- *AccountantImplementationMaxLoanValueUpdated) (event.Subscription, error)

WatchMaxLoanValueUpdated is a free log subscription operation binding the contract event 0x2181d8ed90eadf541579998852434d883f30ace513163bbe0e4115b29afb517a.

Solidity: event MaxLoanValueUpdated(uint256 _newMaxLoan)

func (*AccountantImplementationFilterer) WatchNewAccountantOperator

func (_AccountantImplementation *AccountantImplementationFilterer) WatchNewAccountantOperator(opts *bind.WatchOpts, sink chan<- *AccountantImplementationNewAccountantOperator) (event.Subscription, error)

WatchNewAccountantOperator is a free log subscription operation binding the contract event 0xa326c787c51b80574c7b572d0c9664e64f1107538b902f519a896901b4137918.

Solidity: event NewAccountantOperator(address newOperator)

func (*AccountantImplementationFilterer) WatchNewLoan

func (_AccountantImplementation *AccountantImplementationFilterer) WatchNewLoan(opts *bind.WatchOpts, sink chan<- *AccountantImplementationNewLoan, channelId [][32]byte) (event.Subscription, error)

WatchNewLoan is a free log subscription operation binding the contract event 0x9839fd1896801c6864456fe7cbd098b1e4a81dba19536764cea53a1fb07ed239.

Solidity: event NewLoan(bytes32 indexed channelId, uint256 loanAmount)

func (*AccountantImplementationFilterer) WatchOwnershipTransferred

func (_AccountantImplementation *AccountantImplementationFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AccountantImplementationOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*AccountantImplementationFilterer) WatchPromiseSettled

func (_AccountantImplementation *AccountantImplementationFilterer) WatchPromiseSettled(opts *bind.WatchOpts, sink chan<- *AccountantImplementationPromiseSettled, channelId [][32]byte) (event.Subscription, error)

WatchPromiseSettled is a free log subscription operation binding the contract event 0xa5a1f05785a942c5f624cee545c68394881a83bcaf21a83f4d76a9e8240a5668.

Solidity: event PromiseSettled(bytes32 indexed channelId, address beneficiary, uint256 amount, uint256 totalSettled)

type AccountantImplementationFundsWithdrawned

type AccountantImplementationFundsWithdrawned struct {
	Amount      *big.Int
	Beneficiary common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

AccountantImplementationFundsWithdrawned represents a FundsWithdrawned event raised by the AccountantImplementation contract.

type AccountantImplementationFundsWithdrawnedIterator

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

AccountantImplementationFundsWithdrawnedIterator is returned from FilterFundsWithdrawned and is used to iterate over the raw logs and unpacked data for FundsWithdrawned events raised by the AccountantImplementation contract.

func (*AccountantImplementationFundsWithdrawnedIterator) Close

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

func (*AccountantImplementationFundsWithdrawnedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationFundsWithdrawnedIterator) 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 AccountantImplementationMaxLoanValueUpdated

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

AccountantImplementationMaxLoanValueUpdated represents a MaxLoanValueUpdated event raised by the AccountantImplementation contract.

type AccountantImplementationMaxLoanValueUpdatedIterator

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

AccountantImplementationMaxLoanValueUpdatedIterator is returned from FilterMaxLoanValueUpdated and is used to iterate over the raw logs and unpacked data for MaxLoanValueUpdated events raised by the AccountantImplementation contract.

func (*AccountantImplementationMaxLoanValueUpdatedIterator) Close

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

func (*AccountantImplementationMaxLoanValueUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationMaxLoanValueUpdatedIterator) 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 AccountantImplementationNewAccountantOperator

type AccountantImplementationNewAccountantOperator struct {
	NewOperator common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

AccountantImplementationNewAccountantOperator represents a NewAccountantOperator event raised by the AccountantImplementation contract.

type AccountantImplementationNewAccountantOperatorIterator

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

AccountantImplementationNewAccountantOperatorIterator is returned from FilterNewAccountantOperator and is used to iterate over the raw logs and unpacked data for NewAccountantOperator events raised by the AccountantImplementation contract.

func (*AccountantImplementationNewAccountantOperatorIterator) Close

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

func (*AccountantImplementationNewAccountantOperatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationNewAccountantOperatorIterator) 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 AccountantImplementationNewLoan

type AccountantImplementationNewLoan struct {
	ChannelId  [32]byte
	LoanAmount *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AccountantImplementationNewLoan represents a NewLoan event raised by the AccountantImplementation contract.

type AccountantImplementationNewLoanIterator

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

AccountantImplementationNewLoanIterator is returned from FilterNewLoan and is used to iterate over the raw logs and unpacked data for NewLoan events raised by the AccountantImplementation contract.

func (*AccountantImplementationNewLoanIterator) Close

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

func (*AccountantImplementationNewLoanIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationNewLoanIterator) 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 AccountantImplementationOwnershipTransferred

type AccountantImplementationOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

AccountantImplementationOwnershipTransferred represents a OwnershipTransferred event raised by the AccountantImplementation contract.

type AccountantImplementationOwnershipTransferredIterator

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

AccountantImplementationOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AccountantImplementation contract.

func (*AccountantImplementationOwnershipTransferredIterator) Close

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

func (*AccountantImplementationOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationOwnershipTransferredIterator) 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 AccountantImplementationPromiseSettled

type AccountantImplementationPromiseSettled struct {
	ChannelId    [32]byte
	Beneficiary  common.Address
	Amount       *big.Int
	TotalSettled *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

AccountantImplementationPromiseSettled represents a PromiseSettled event raised by the AccountantImplementation contract.

type AccountantImplementationPromiseSettledIterator

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

AccountantImplementationPromiseSettledIterator is returned from FilterPromiseSettled and is used to iterate over the raw logs and unpacked data for PromiseSettled events raised by the AccountantImplementation contract.

func (*AccountantImplementationPromiseSettledIterator) Close

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

func (*AccountantImplementationPromiseSettledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountantImplementationPromiseSettledIterator) 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 AccountantImplementationRaw

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

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

func (*AccountantImplementationRaw) Call

func (_AccountantImplementation *AccountantImplementationRaw) 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 (*AccountantImplementationRaw) Transact

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

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

func (*AccountantImplementationRaw) Transfer

func (_AccountantImplementation *AccountantImplementationRaw) 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 AccountantImplementationSession

type AccountantImplementationSession struct {
	Contract     *AccountantImplementation // 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
}

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

func (*AccountantImplementationSession) ActivateChannelOpening

func (_AccountantImplementation *AccountantImplementationSession) ActivateChannelOpening() (*types.Transaction, error)

ActivateChannelOpening is a paid mutator transaction binding the contract method 0xfbb46b98.

Solidity: function activateChannelOpening() returns()

func (*AccountantImplementationSession) AvailableBalance

func (_AccountantImplementation *AccountantImplementationSession) AvailableBalance() (*big.Int, error)

AvailableBalance is a free data retrieval call binding the contract method 0xab2f0e51.

Solidity: function availableBalance() constant returns(uint256)

func (*AccountantImplementationSession) CalculateAccountantFee

func (_AccountantImplementation *AccountantImplementationSession) CalculateAccountantFee(_amount *big.Int) (*big.Int, error)

CalculateAccountantFee is a free data retrieval call binding the contract method 0x9fe827ed.

Solidity: function calculateAccountantFee(uint256 _amount) constant returns(uint256)

func (*AccountantImplementationSession) Channels

func (_AccountantImplementation *AccountantImplementationSession) Channels(arg0 [32]byte) (struct {
	Beneficiary   common.Address
	Balance       *big.Int
	Settled       *big.Int
	Loan          *big.Int
	LastUsedNonce *big.Int
	Timelock      *big.Int
}, error)

Channels is a free data retrieval call binding the contract method 0x7a7ebd7b.

Solidity: function channels(bytes32 ) constant returns(address beneficiary, uint256 balance, uint256 settled, uint256 loan, uint256 lastUsedNonce, uint256 timelock)

func (*AccountantImplementationSession) ClaimEthers

func (_AccountantImplementation *AccountantImplementationSession) ClaimEthers() (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*AccountantImplementationSession) ClaimTokens

func (_AccountantImplementation *AccountantImplementationSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*AccountantImplementationSession) CloseAccountant

func (_AccountantImplementation *AccountantImplementationSession) CloseAccountant() (*types.Transaction, error)

CloseAccountant is a paid mutator transaction binding the contract method 0xf7d76369.

Solidity: function closeAccountant() returns()

func (*AccountantImplementationSession) DecreaseLoan

func (_AccountantImplementation *AccountantImplementationSession) DecreaseLoan(_channelId [32]byte, _amount *big.Int, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

DecreaseLoan is a paid mutator transaction binding the contract method 0x54ded42d.

Solidity: function decreaseLoan(bytes32 _channelId, uint256 _amount, uint256 _nonce, bytes _signature) returns()

func (*AccountantImplementationSession) GetChannelId

func (_AccountantImplementation *AccountantImplementationSession) GetChannelId(_party common.Address) ([32]byte, error)

GetChannelId is a free data retrieval call binding the contract method 0xeb295b27.

Solidity: function getChannelId(address _party) constant returns(bytes32)

func (*AccountantImplementationSession) GetFundsDestination

func (_AccountantImplementation *AccountantImplementationSession) GetFundsDestination() (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*AccountantImplementationSession) GetOperator

func (_AccountantImplementation *AccountantImplementationSession) GetOperator() (common.Address, error)

GetOperator is a free data retrieval call binding the contract method 0xe7f43c68.

Solidity: function getOperator() constant returns(address)

func (*AccountantImplementationSession) GetRegistry

func (_AccountantImplementation *AccountantImplementationSession) GetRegistry() (common.Address, error)

GetRegistry is a free data retrieval call binding the contract method 0x5ab1bd53.

Solidity: function getRegistry() constant returns(address)

func (*AccountantImplementationSession) GetStake

func (_AccountantImplementation *AccountantImplementationSession) GetStake() (*big.Int, error)

GetStake is a free data retrieval call binding the contract method 0xfc0e3d90.

Solidity: function getStake() constant returns(uint256)

func (*AccountantImplementationSession) GetStakeBack

func (_AccountantImplementation *AccountantImplementationSession) GetStakeBack(_beneficiary common.Address) (*types.Transaction, error)

GetStakeBack is a paid mutator transaction binding the contract method 0x6138dda7.

Solidity: function getStakeBack(address _beneficiary) returns()

func (*AccountantImplementationSession) GetStatus

func (_AccountantImplementation *AccountantImplementationSession) GetStatus() (uint8, error)

GetStatus is a free data retrieval call binding the contract method 0x4e69d560.

Solidity: function getStatus() constant returns(uint8)

func (*AccountantImplementationSession) IncreaseAccountantStake

func (_AccountantImplementation *AccountantImplementationSession) IncreaseAccountantStake(_additionalStake *big.Int) (*types.Transaction, error)

IncreaseAccountantStake is a paid mutator transaction binding the contract method 0x1822af6f.

Solidity: function increaseAccountantStake(uint256 _additionalStake) returns()

func (*AccountantImplementationSession) IncreaseLoan

func (_AccountantImplementation *AccountantImplementationSession) IncreaseLoan(_channelId [32]byte, _amount *big.Int) (*types.Transaction, error)

IncreaseLoan is a paid mutator transaction binding the contract method 0x6e17b0d7.

Solidity: function increaseLoan(bytes32 _channelId, uint256 _amount) returns()

func (*AccountantImplementationSession) Initialize

func (_AccountantImplementation *AccountantImplementationSession) Initialize(_token common.Address, _operator common.Address, _fee uint16, _maxLoan *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xfec8157d.

Solidity: function initialize(address _token, address _operator, uint16 _fee, uint256 _maxLoan) returns()

func (*AccountantImplementationSession) IsAccountantActive

func (_AccountantImplementation *AccountantImplementationSession) IsAccountantActive() (bool, error)

IsAccountantActive is a free data retrieval call binding the contract method 0xbe02c06c.

Solidity: function isAccountantActive() constant returns(bool)

func (*AccountantImplementationSession) IsInitialized

func (_AccountantImplementation *AccountantImplementationSession) IsInitialized() (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() constant returns(bool)

func (*AccountantImplementationSession) IsOpened

func (_AccountantImplementation *AccountantImplementationSession) IsOpened(_channelId [32]byte) (bool, error)

IsOpened is a free data retrieval call binding the contract method 0x5f5794f1.

Solidity: function isOpened(bytes32 _channelId) constant returns(bool)

func (*AccountantImplementationSession) IsOwner

func (_AccountantImplementation *AccountantImplementationSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*AccountantImplementationSession) LastFee

func (_AccountantImplementation *AccountantImplementationSession) LastFee() (struct {
	Value     uint16
	ValidFrom uint64
}, error)

LastFee is a free data retrieval call binding the contract method 0x9801134e.

Solidity: function lastFee() constant returns(uint16 value, uint64 validFrom)

func (*AccountantImplementationSession) MinimalExpectedBalance

func (_AccountantImplementation *AccountantImplementationSession) MinimalExpectedBalance() (*big.Int, error)

MinimalExpectedBalance is a free data retrieval call binding the contract method 0x94c7915d.

Solidity: function minimalExpectedBalance() constant returns(uint256)

func (*AccountantImplementationSession) OpenChannel

func (_AccountantImplementation *AccountantImplementationSession) OpenChannel(_party common.Address, _beneficiary common.Address, _amountToLend *big.Int) (*types.Transaction, error)

OpenChannel is a paid mutator transaction binding the contract method 0x0a798f24.

Solidity: function openChannel(address _party, address _beneficiary, uint256 _amountToLend) returns()

func (*AccountantImplementationSession) Owner

func (_AccountantImplementation *AccountantImplementationSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*AccountantImplementationSession) PauseChannelOpening

func (_AccountantImplementation *AccountantImplementationSession) PauseChannelOpening() (*types.Transaction, error)

PauseChannelOpening is a paid mutator transaction binding the contract method 0xaa606dee.

Solidity: function pauseChannelOpening() returns()

func (*AccountantImplementationSession) PreviousFee

func (_AccountantImplementation *AccountantImplementationSession) PreviousFee() (struct {
	Value     uint16
	ValidFrom uint64
}, error)

PreviousFee is a free data retrieval call binding the contract method 0xe1c66487.

Solidity: function previousFee() constant returns(uint16 value, uint64 validFrom)

func (*AccountantImplementationSession) Punishment

func (_AccountantImplementation *AccountantImplementationSession) Punishment() (struct {
	ActivationBlock *big.Int
	Amount          *big.Int
}, error)

Punishment is a free data retrieval call binding the contract method 0x0684cd20.

Solidity: function punishment() constant returns(uint256 activationBlock, uint256 amount)

func (*AccountantImplementationSession) RebalanceChannel

func (_AccountantImplementation *AccountantImplementationSession) RebalanceChannel(_channelId [32]byte) (*types.Transaction, error)

RebalanceChannel is a paid mutator transaction binding the contract method 0xefde05ec.

Solidity: function rebalanceChannel(bytes32 _channelId) returns()

func (*AccountantImplementationSession) RenounceOwnership

func (_AccountantImplementation *AccountantImplementationSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AccountantImplementationSession) ResolveEmergency

func (_AccountantImplementation *AccountantImplementationSession) ResolveEmergency() (*types.Transaction, error)

ResolveEmergency is a paid mutator transaction binding the contract method 0x15c73afd.

Solidity: function resolveEmergency() returns()

func (*AccountantImplementationSession) SetAccountantFee

func (_AccountantImplementation *AccountantImplementationSession) SetAccountantFee(_newFee uint16) (*types.Transaction, error)

SetAccountantFee is a paid mutator transaction binding the contract method 0x0996fcbc.

Solidity: function setAccountantFee(uint16 _newFee) returns()

func (*AccountantImplementationSession) SetAccountantOperator

func (_AccountantImplementation *AccountantImplementationSession) SetAccountantOperator(_newOperator common.Address) (*types.Transaction, error)

SetAccountantOperator is a paid mutator transaction binding the contract method 0x800d6afb.

Solidity: function setAccountantOperator(address _newOperator) returns()

func (*AccountantImplementationSession) SetBeneficiary

func (_AccountantImplementation *AccountantImplementationSession) SetBeneficiary(_channelId [32]byte, _newBeneficiary common.Address, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

SetBeneficiary is a paid mutator transaction binding the contract method 0x5f59def0.

Solidity: function setBeneficiary(bytes32 _channelId, address _newBeneficiary, uint256 _nonce, bytes _signature) returns()

func (*AccountantImplementationSession) SetFundsDestination

func (_AccountantImplementation *AccountantImplementationSession) SetFundsDestination(_newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*AccountantImplementationSession) SetMaxLoan

func (_AccountantImplementation *AccountantImplementationSession) SetMaxLoan(_newMaxLoan *big.Int) (*types.Transaction, error)

SetMaxLoan is a paid mutator transaction binding the contract method 0x456e182f.

Solidity: function setMaxLoan(uint256 _newMaxLoan) returns()

func (*AccountantImplementationSession) SettleAndRebalance

func (_AccountantImplementation *AccountantImplementationSession) SettleAndRebalance(_channelId [32]byte, _amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettleAndRebalance is a paid mutator transaction binding the contract method 0xf733d69d.

Solidity: function settleAndRebalance(bytes32 _channelId, uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*AccountantImplementationSession) SettlePromise

func (_AccountantImplementation *AccountantImplementationSession) SettlePromise(_channelId [32]byte, _amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettlePromise is a paid mutator transaction binding the contract method 0xa58b2b71.

Solidity: function settlePromise(bytes32 _channelId, uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*AccountantImplementationSession) Token

func (_AccountantImplementation *AccountantImplementationSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*AccountantImplementationSession) TransferOwnership

func (_AccountantImplementation *AccountantImplementationSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*AccountantImplementationSession) UpdateChannelBalance

func (_AccountantImplementation *AccountantImplementationSession) UpdateChannelBalance(_channelId [32]byte, _newBalance *big.Int) (*types.Transaction, error)

UpdateChannelBalance is a paid mutator transaction binding the contract method 0x7c2be0a3.

Solidity: function updateChannelBalance(bytes32 _channelId, uint256 _newBalance) returns()

func (*AccountantImplementationSession) Withdraw

func (_AccountantImplementation *AccountantImplementationSession) Withdraw(_beneficiary common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _beneficiary, uint256 _amount) returns()

type AccountantImplementationTransactor

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

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

func NewAccountantImplementationTransactor

func NewAccountantImplementationTransactor(address common.Address, transactor bind.ContractTransactor) (*AccountantImplementationTransactor, error)

NewAccountantImplementationTransactor creates a new write-only instance of AccountantImplementation, bound to a specific deployed contract.

func (*AccountantImplementationTransactor) ActivateChannelOpening

func (_AccountantImplementation *AccountantImplementationTransactor) ActivateChannelOpening(opts *bind.TransactOpts) (*types.Transaction, error)

ActivateChannelOpening is a paid mutator transaction binding the contract method 0xfbb46b98.

Solidity: function activateChannelOpening() returns()

func (*AccountantImplementationTransactor) ClaimEthers

func (_AccountantImplementation *AccountantImplementationTransactor) ClaimEthers(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*AccountantImplementationTransactor) ClaimTokens

func (_AccountantImplementation *AccountantImplementationTransactor) ClaimTokens(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*AccountantImplementationTransactor) CloseAccountant

func (_AccountantImplementation *AccountantImplementationTransactor) CloseAccountant(opts *bind.TransactOpts) (*types.Transaction, error)

CloseAccountant is a paid mutator transaction binding the contract method 0xf7d76369.

Solidity: function closeAccountant() returns()

func (*AccountantImplementationTransactor) DecreaseLoan

func (_AccountantImplementation *AccountantImplementationTransactor) DecreaseLoan(opts *bind.TransactOpts, _channelId [32]byte, _amount *big.Int, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

DecreaseLoan is a paid mutator transaction binding the contract method 0x54ded42d.

Solidity: function decreaseLoan(bytes32 _channelId, uint256 _amount, uint256 _nonce, bytes _signature) returns()

func (*AccountantImplementationTransactor) GetStakeBack

func (_AccountantImplementation *AccountantImplementationTransactor) GetStakeBack(opts *bind.TransactOpts, _beneficiary common.Address) (*types.Transaction, error)

GetStakeBack is a paid mutator transaction binding the contract method 0x6138dda7.

Solidity: function getStakeBack(address _beneficiary) returns()

func (*AccountantImplementationTransactor) IncreaseAccountantStake

func (_AccountantImplementation *AccountantImplementationTransactor) IncreaseAccountantStake(opts *bind.TransactOpts, _additionalStake *big.Int) (*types.Transaction, error)

IncreaseAccountantStake is a paid mutator transaction binding the contract method 0x1822af6f.

Solidity: function increaseAccountantStake(uint256 _additionalStake) returns()

func (*AccountantImplementationTransactor) IncreaseLoan

func (_AccountantImplementation *AccountantImplementationTransactor) IncreaseLoan(opts *bind.TransactOpts, _channelId [32]byte, _amount *big.Int) (*types.Transaction, error)

IncreaseLoan is a paid mutator transaction binding the contract method 0x6e17b0d7.

Solidity: function increaseLoan(bytes32 _channelId, uint256 _amount) returns()

func (*AccountantImplementationTransactor) Initialize

func (_AccountantImplementation *AccountantImplementationTransactor) Initialize(opts *bind.TransactOpts, _token common.Address, _operator common.Address, _fee uint16, _maxLoan *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xfec8157d.

Solidity: function initialize(address _token, address _operator, uint16 _fee, uint256 _maxLoan) returns()

func (*AccountantImplementationTransactor) OpenChannel

func (_AccountantImplementation *AccountantImplementationTransactor) OpenChannel(opts *bind.TransactOpts, _party common.Address, _beneficiary common.Address, _amountToLend *big.Int) (*types.Transaction, error)

OpenChannel is a paid mutator transaction binding the contract method 0x0a798f24.

Solidity: function openChannel(address _party, address _beneficiary, uint256 _amountToLend) returns()

func (*AccountantImplementationTransactor) PauseChannelOpening

func (_AccountantImplementation *AccountantImplementationTransactor) PauseChannelOpening(opts *bind.TransactOpts) (*types.Transaction, error)

PauseChannelOpening is a paid mutator transaction binding the contract method 0xaa606dee.

Solidity: function pauseChannelOpening() returns()

func (*AccountantImplementationTransactor) RebalanceChannel

func (_AccountantImplementation *AccountantImplementationTransactor) RebalanceChannel(opts *bind.TransactOpts, _channelId [32]byte) (*types.Transaction, error)

RebalanceChannel is a paid mutator transaction binding the contract method 0xefde05ec.

Solidity: function rebalanceChannel(bytes32 _channelId) returns()

func (*AccountantImplementationTransactor) RenounceOwnership

func (_AccountantImplementation *AccountantImplementationTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AccountantImplementationTransactor) ResolveEmergency

func (_AccountantImplementation *AccountantImplementationTransactor) ResolveEmergency(opts *bind.TransactOpts) (*types.Transaction, error)

ResolveEmergency is a paid mutator transaction binding the contract method 0x15c73afd.

Solidity: function resolveEmergency() returns()

func (*AccountantImplementationTransactor) SetAccountantFee

func (_AccountantImplementation *AccountantImplementationTransactor) SetAccountantFee(opts *bind.TransactOpts, _newFee uint16) (*types.Transaction, error)

SetAccountantFee is a paid mutator transaction binding the contract method 0x0996fcbc.

Solidity: function setAccountantFee(uint16 _newFee) returns()

func (*AccountantImplementationTransactor) SetAccountantOperator

func (_AccountantImplementation *AccountantImplementationTransactor) SetAccountantOperator(opts *bind.TransactOpts, _newOperator common.Address) (*types.Transaction, error)

SetAccountantOperator is a paid mutator transaction binding the contract method 0x800d6afb.

Solidity: function setAccountantOperator(address _newOperator) returns()

func (*AccountantImplementationTransactor) SetBeneficiary

func (_AccountantImplementation *AccountantImplementationTransactor) SetBeneficiary(opts *bind.TransactOpts, _channelId [32]byte, _newBeneficiary common.Address, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

SetBeneficiary is a paid mutator transaction binding the contract method 0x5f59def0.

Solidity: function setBeneficiary(bytes32 _channelId, address _newBeneficiary, uint256 _nonce, bytes _signature) returns()

func (*AccountantImplementationTransactor) SetFundsDestination

func (_AccountantImplementation *AccountantImplementationTransactor) SetFundsDestination(opts *bind.TransactOpts, _newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*AccountantImplementationTransactor) SetMaxLoan

func (_AccountantImplementation *AccountantImplementationTransactor) SetMaxLoan(opts *bind.TransactOpts, _newMaxLoan *big.Int) (*types.Transaction, error)

SetMaxLoan is a paid mutator transaction binding the contract method 0x456e182f.

Solidity: function setMaxLoan(uint256 _newMaxLoan) returns()

func (*AccountantImplementationTransactor) SettleAndRebalance

func (_AccountantImplementation *AccountantImplementationTransactor) SettleAndRebalance(opts *bind.TransactOpts, _channelId [32]byte, _amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettleAndRebalance is a paid mutator transaction binding the contract method 0xf733d69d.

Solidity: function settleAndRebalance(bytes32 _channelId, uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*AccountantImplementationTransactor) SettlePromise

func (_AccountantImplementation *AccountantImplementationTransactor) SettlePromise(opts *bind.TransactOpts, _channelId [32]byte, _amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettlePromise is a paid mutator transaction binding the contract method 0xa58b2b71.

Solidity: function settlePromise(bytes32 _channelId, uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*AccountantImplementationTransactor) TransferOwnership

func (_AccountantImplementation *AccountantImplementationTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*AccountantImplementationTransactor) UpdateChannelBalance

func (_AccountantImplementation *AccountantImplementationTransactor) UpdateChannelBalance(opts *bind.TransactOpts, _channelId [32]byte, _newBalance *big.Int) (*types.Transaction, error)

UpdateChannelBalance is a paid mutator transaction binding the contract method 0x7c2be0a3.

Solidity: function updateChannelBalance(bytes32 _channelId, uint256 _newBalance) returns()

func (*AccountantImplementationTransactor) Withdraw

func (_AccountantImplementation *AccountantImplementationTransactor) Withdraw(opts *bind.TransactOpts, _beneficiary common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _beneficiary, uint256 _amount) returns()

type AccountantImplementationTransactorRaw

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

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

func (*AccountantImplementationTransactorRaw) Transact

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

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

func (*AccountantImplementationTransactorRaw) Transfer

func (_AccountantImplementation *AccountantImplementationTransactorRaw) 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 AccountantImplementationTransactorSession

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

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

func (*AccountantImplementationTransactorSession) ActivateChannelOpening

func (_AccountantImplementation *AccountantImplementationTransactorSession) ActivateChannelOpening() (*types.Transaction, error)

ActivateChannelOpening is a paid mutator transaction binding the contract method 0xfbb46b98.

Solidity: function activateChannelOpening() returns()

func (*AccountantImplementationTransactorSession) ClaimEthers

func (_AccountantImplementation *AccountantImplementationTransactorSession) ClaimEthers() (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*AccountantImplementationTransactorSession) ClaimTokens

func (_AccountantImplementation *AccountantImplementationTransactorSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*AccountantImplementationTransactorSession) CloseAccountant

func (_AccountantImplementation *AccountantImplementationTransactorSession) CloseAccountant() (*types.Transaction, error)

CloseAccountant is a paid mutator transaction binding the contract method 0xf7d76369.

Solidity: function closeAccountant() returns()

func (*AccountantImplementationTransactorSession) DecreaseLoan

func (_AccountantImplementation *AccountantImplementationTransactorSession) DecreaseLoan(_channelId [32]byte, _amount *big.Int, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

DecreaseLoan is a paid mutator transaction binding the contract method 0x54ded42d.

Solidity: function decreaseLoan(bytes32 _channelId, uint256 _amount, uint256 _nonce, bytes _signature) returns()

func (*AccountantImplementationTransactorSession) GetStakeBack

func (_AccountantImplementation *AccountantImplementationTransactorSession) GetStakeBack(_beneficiary common.Address) (*types.Transaction, error)

GetStakeBack is a paid mutator transaction binding the contract method 0x6138dda7.

Solidity: function getStakeBack(address _beneficiary) returns()

func (*AccountantImplementationTransactorSession) IncreaseAccountantStake

func (_AccountantImplementation *AccountantImplementationTransactorSession) IncreaseAccountantStake(_additionalStake *big.Int) (*types.Transaction, error)

IncreaseAccountantStake is a paid mutator transaction binding the contract method 0x1822af6f.

Solidity: function increaseAccountantStake(uint256 _additionalStake) returns()

func (*AccountantImplementationTransactorSession) IncreaseLoan

func (_AccountantImplementation *AccountantImplementationTransactorSession) IncreaseLoan(_channelId [32]byte, _amount *big.Int) (*types.Transaction, error)

IncreaseLoan is a paid mutator transaction binding the contract method 0x6e17b0d7.

Solidity: function increaseLoan(bytes32 _channelId, uint256 _amount) returns()

func (*AccountantImplementationTransactorSession) Initialize

func (_AccountantImplementation *AccountantImplementationTransactorSession) Initialize(_token common.Address, _operator common.Address, _fee uint16, _maxLoan *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xfec8157d.

Solidity: function initialize(address _token, address _operator, uint16 _fee, uint256 _maxLoan) returns()

func (*AccountantImplementationTransactorSession) OpenChannel

func (_AccountantImplementation *AccountantImplementationTransactorSession) OpenChannel(_party common.Address, _beneficiary common.Address, _amountToLend *big.Int) (*types.Transaction, error)

OpenChannel is a paid mutator transaction binding the contract method 0x0a798f24.

Solidity: function openChannel(address _party, address _beneficiary, uint256 _amountToLend) returns()

func (*AccountantImplementationTransactorSession) PauseChannelOpening

func (_AccountantImplementation *AccountantImplementationTransactorSession) PauseChannelOpening() (*types.Transaction, error)

PauseChannelOpening is a paid mutator transaction binding the contract method 0xaa606dee.

Solidity: function pauseChannelOpening() returns()

func (*AccountantImplementationTransactorSession) RebalanceChannel

func (_AccountantImplementation *AccountantImplementationTransactorSession) RebalanceChannel(_channelId [32]byte) (*types.Transaction, error)

RebalanceChannel is a paid mutator transaction binding the contract method 0xefde05ec.

Solidity: function rebalanceChannel(bytes32 _channelId) returns()

func (*AccountantImplementationTransactorSession) RenounceOwnership

func (_AccountantImplementation *AccountantImplementationTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AccountantImplementationTransactorSession) ResolveEmergency

func (_AccountantImplementation *AccountantImplementationTransactorSession) ResolveEmergency() (*types.Transaction, error)

ResolveEmergency is a paid mutator transaction binding the contract method 0x15c73afd.

Solidity: function resolveEmergency() returns()

func (*AccountantImplementationTransactorSession) SetAccountantFee

func (_AccountantImplementation *AccountantImplementationTransactorSession) SetAccountantFee(_newFee uint16) (*types.Transaction, error)

SetAccountantFee is a paid mutator transaction binding the contract method 0x0996fcbc.

Solidity: function setAccountantFee(uint16 _newFee) returns()

func (*AccountantImplementationTransactorSession) SetAccountantOperator

func (_AccountantImplementation *AccountantImplementationTransactorSession) SetAccountantOperator(_newOperator common.Address) (*types.Transaction, error)

SetAccountantOperator is a paid mutator transaction binding the contract method 0x800d6afb.

Solidity: function setAccountantOperator(address _newOperator) returns()

func (*AccountantImplementationTransactorSession) SetBeneficiary

func (_AccountantImplementation *AccountantImplementationTransactorSession) SetBeneficiary(_channelId [32]byte, _newBeneficiary common.Address, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

SetBeneficiary is a paid mutator transaction binding the contract method 0x5f59def0.

Solidity: function setBeneficiary(bytes32 _channelId, address _newBeneficiary, uint256 _nonce, bytes _signature) returns()

func (*AccountantImplementationTransactorSession) SetFundsDestination

func (_AccountantImplementation *AccountantImplementationTransactorSession) SetFundsDestination(_newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*AccountantImplementationTransactorSession) SetMaxLoan

func (_AccountantImplementation *AccountantImplementationTransactorSession) SetMaxLoan(_newMaxLoan *big.Int) (*types.Transaction, error)

SetMaxLoan is a paid mutator transaction binding the contract method 0x456e182f.

Solidity: function setMaxLoan(uint256 _newMaxLoan) returns()

func (*AccountantImplementationTransactorSession) SettleAndRebalance

func (_AccountantImplementation *AccountantImplementationTransactorSession) SettleAndRebalance(_channelId [32]byte, _amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettleAndRebalance is a paid mutator transaction binding the contract method 0xf733d69d.

Solidity: function settleAndRebalance(bytes32 _channelId, uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*AccountantImplementationTransactorSession) SettlePromise

func (_AccountantImplementation *AccountantImplementationTransactorSession) SettlePromise(_channelId [32]byte, _amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettlePromise is a paid mutator transaction binding the contract method 0xa58b2b71.

Solidity: function settlePromise(bytes32 _channelId, uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*AccountantImplementationTransactorSession) TransferOwnership

func (_AccountantImplementation *AccountantImplementationTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*AccountantImplementationTransactorSession) UpdateChannelBalance

func (_AccountantImplementation *AccountantImplementationTransactorSession) UpdateChannelBalance(_channelId [32]byte, _newBalance *big.Int) (*types.Transaction, error)

UpdateChannelBalance is a paid mutator transaction binding the contract method 0x7c2be0a3.

Solidity: function updateChannelBalance(bytes32 _channelId, uint256 _newBalance) returns()

func (*AccountantImplementationTransactorSession) Withdraw

func (_AccountantImplementation *AccountantImplementationTransactorSession) Withdraw(_beneficiary common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _beneficiary, uint256 _amount) returns()

type ChannelImplementation

type ChannelImplementation struct {
	ChannelImplementationCaller     // Read-only binding to the contract
	ChannelImplementationTransactor // Write-only binding to the contract
	ChannelImplementationFilterer   // Log filterer for contract events
}

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

func DeployChannelImplementation

func DeployChannelImplementation(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ChannelImplementation, error)

DeployChannelImplementation deploys a new Ethereum contract, binding an instance of ChannelImplementation to it.

func NewChannelImplementation

func NewChannelImplementation(address common.Address, backend bind.ContractBackend) (*ChannelImplementation, error)

NewChannelImplementation creates a new instance of ChannelImplementation, bound to a specific deployed contract.

type ChannelImplementationCaller

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

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

func NewChannelImplementationCaller

func NewChannelImplementationCaller(address common.Address, caller bind.ContractCaller) (*ChannelImplementationCaller, error)

NewChannelImplementationCaller creates a new read-only instance of ChannelImplementation, bound to a specific deployed contract.

func (*ChannelImplementationCaller) Accountant

func (_ChannelImplementation *ChannelImplementationCaller) Accountant(opts *bind.CallOpts) (struct {
	Operator        common.Address
	ContractAddress common.Address
	Settled         *big.Int
}, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() constant returns(address operator, address contractAddress, uint256 settled)

func (*ChannelImplementationCaller) Dex

func (_ChannelImplementation *ChannelImplementationCaller) Dex(opts *bind.CallOpts) (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x692058c2.

Solidity: function dex() constant returns(address)

func (*ChannelImplementationCaller) ExitRequest

func (_ChannelImplementation *ChannelImplementationCaller) ExitRequest(opts *bind.CallOpts) (struct {
	Timelock    *big.Int
	Beneficiary common.Address
}, error)

ExitRequest is a free data retrieval call binding the contract method 0xf4b3a197.

Solidity: function exitRequest() constant returns(uint256 timelock, address beneficiary)

func (*ChannelImplementationCaller) GetFundsDestination

func (_ChannelImplementation *ChannelImplementationCaller) GetFundsDestination(opts *bind.CallOpts) (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*ChannelImplementationCaller) IsInitialized

func (_ChannelImplementation *ChannelImplementationCaller) IsInitialized(opts *bind.CallOpts) (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() constant returns(bool)

func (*ChannelImplementationCaller) IsOwner

func (_ChannelImplementation *ChannelImplementationCaller) IsOwner(opts *bind.CallOpts) (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*ChannelImplementationCaller) Operator

func (_ChannelImplementation *ChannelImplementationCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() constant returns(address)

func (*ChannelImplementationCaller) Owner

func (_ChannelImplementation *ChannelImplementationCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*ChannelImplementationCaller) Token

func (_ChannelImplementation *ChannelImplementationCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type ChannelImplementationCallerRaw

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

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

func (*ChannelImplementationCallerRaw) Call

func (_ChannelImplementation *ChannelImplementationCallerRaw) 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 ChannelImplementationCallerSession

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

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

func (*ChannelImplementationCallerSession) Accountant

func (_ChannelImplementation *ChannelImplementationCallerSession) Accountant() (struct {
	Operator        common.Address
	ContractAddress common.Address
	Settled         *big.Int
}, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() constant returns(address operator, address contractAddress, uint256 settled)

func (*ChannelImplementationCallerSession) Dex

func (_ChannelImplementation *ChannelImplementationCallerSession) Dex() (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x692058c2.

Solidity: function dex() constant returns(address)

func (*ChannelImplementationCallerSession) ExitRequest

func (_ChannelImplementation *ChannelImplementationCallerSession) ExitRequest() (struct {
	Timelock    *big.Int
	Beneficiary common.Address
}, error)

ExitRequest is a free data retrieval call binding the contract method 0xf4b3a197.

Solidity: function exitRequest() constant returns(uint256 timelock, address beneficiary)

func (*ChannelImplementationCallerSession) GetFundsDestination

func (_ChannelImplementation *ChannelImplementationCallerSession) GetFundsDestination() (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*ChannelImplementationCallerSession) IsInitialized

func (_ChannelImplementation *ChannelImplementationCallerSession) IsInitialized() (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() constant returns(bool)

func (*ChannelImplementationCallerSession) IsOwner

func (_ChannelImplementation *ChannelImplementationCallerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*ChannelImplementationCallerSession) Operator

func (_ChannelImplementation *ChannelImplementationCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() constant returns(address)

func (*ChannelImplementationCallerSession) Owner

func (_ChannelImplementation *ChannelImplementationCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*ChannelImplementationCallerSession) Token

func (_ChannelImplementation *ChannelImplementationCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type ChannelImplementationChannelInitialised

type ChannelImplementationChannelInitialised struct {
	Operator   common.Address
	Accountant common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

ChannelImplementationChannelInitialised represents a ChannelInitialised event raised by the ChannelImplementation contract.

type ChannelImplementationChannelInitialisedIterator

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

ChannelImplementationChannelInitialisedIterator is returned from FilterChannelInitialised and is used to iterate over the raw logs and unpacked data for ChannelInitialised events raised by the ChannelImplementation contract.

func (*ChannelImplementationChannelInitialisedIterator) Close

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

func (*ChannelImplementationChannelInitialisedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ChannelImplementationChannelInitialisedIterator) 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 ChannelImplementationDestinationChanged

type ChannelImplementationDestinationChanged struct {
	PreviousDestination common.Address
	NewDestination      common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

ChannelImplementationDestinationChanged represents a DestinationChanged event raised by the ChannelImplementation contract.

type ChannelImplementationDestinationChangedIterator

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

ChannelImplementationDestinationChangedIterator is returned from FilterDestinationChanged and is used to iterate over the raw logs and unpacked data for DestinationChanged events raised by the ChannelImplementation contract.

func (*ChannelImplementationDestinationChangedIterator) Close

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

func (*ChannelImplementationDestinationChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ChannelImplementationDestinationChangedIterator) 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 ChannelImplementationExitRequested

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

ChannelImplementationExitRequested represents a ExitRequested event raised by the ChannelImplementation contract.

type ChannelImplementationExitRequestedIterator

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

ChannelImplementationExitRequestedIterator is returned from FilterExitRequested and is used to iterate over the raw logs and unpacked data for ExitRequested events raised by the ChannelImplementation contract.

func (*ChannelImplementationExitRequestedIterator) Close

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

func (*ChannelImplementationExitRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ChannelImplementationExitRequestedIterator) 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 ChannelImplementationFilterer

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

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

func NewChannelImplementationFilterer

func NewChannelImplementationFilterer(address common.Address, filterer bind.ContractFilterer) (*ChannelImplementationFilterer, error)

NewChannelImplementationFilterer creates a new log filterer instance of ChannelImplementation, bound to a specific deployed contract.

func (*ChannelImplementationFilterer) FilterChannelInitialised

func (_ChannelImplementation *ChannelImplementationFilterer) FilterChannelInitialised(opts *bind.FilterOpts) (*ChannelImplementationChannelInitialisedIterator, error)

FilterChannelInitialised is a free log retrieval operation binding the contract event 0x9a7def6556351196c74c99e1cc8dcd284e9da181ea854c3e6367cc9fad882a51.

Solidity: event ChannelInitialised(address operator, address accountant)

func (*ChannelImplementationFilterer) FilterDestinationChanged

func (_ChannelImplementation *ChannelImplementationFilterer) FilterDestinationChanged(opts *bind.FilterOpts, previousDestination []common.Address, newDestination []common.Address) (*ChannelImplementationDestinationChangedIterator, error)

FilterDestinationChanged is a free log retrieval operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*ChannelImplementationFilterer) FilterExitRequested

func (_ChannelImplementation *ChannelImplementationFilterer) FilterExitRequested(opts *bind.FilterOpts) (*ChannelImplementationExitRequestedIterator, error)

FilterExitRequested is a free log retrieval operation binding the contract event 0xe60f0366d8d61555184ea027447889648bae94ebfb1202a39544b6b6803969db.

Solidity: event ExitRequested(uint256 timelock)

func (*ChannelImplementationFilterer) FilterFinalizeExit

func (_ChannelImplementation *ChannelImplementationFilterer) FilterFinalizeExit(opts *bind.FilterOpts) (*ChannelImplementationFinalizeExitIterator, error)

FilterFinalizeExit is a free log retrieval operation binding the contract event 0x50128f92fd19060780780085c779f5ddebca701ad03dc303be5b085986345824.

Solidity: event FinalizeExit(uint256 amount)

func (*ChannelImplementationFilterer) FilterOwnershipTransferred

func (_ChannelImplementation *ChannelImplementationFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ChannelImplementationOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ChannelImplementationFilterer) FilterPromiseSettled

func (_ChannelImplementation *ChannelImplementationFilterer) FilterPromiseSettled(opts *bind.FilterOpts) (*ChannelImplementationPromiseSettledIterator, error)

FilterPromiseSettled is a free log retrieval operation binding the contract event 0x50c3491624aa1825a7653df63d067fecd5c8634ba63c99c4a7cf04ff1436070b.

Solidity: event PromiseSettled(address beneficiary, uint256 amount, uint256 totalSettled)

func (*ChannelImplementationFilterer) ParseChannelInitialised

func (_ChannelImplementation *ChannelImplementationFilterer) ParseChannelInitialised(log types.Log) (*ChannelImplementationChannelInitialised, error)

ParseChannelInitialised is a log parse operation binding the contract event 0x9a7def6556351196c74c99e1cc8dcd284e9da181ea854c3e6367cc9fad882a51.

Solidity: event ChannelInitialised(address operator, address accountant)

func (*ChannelImplementationFilterer) ParseDestinationChanged

func (_ChannelImplementation *ChannelImplementationFilterer) ParseDestinationChanged(log types.Log) (*ChannelImplementationDestinationChanged, error)

ParseDestinationChanged is a log parse operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*ChannelImplementationFilterer) ParseExitRequested

func (_ChannelImplementation *ChannelImplementationFilterer) ParseExitRequested(log types.Log) (*ChannelImplementationExitRequested, error)

ParseExitRequested is a log parse operation binding the contract event 0xe60f0366d8d61555184ea027447889648bae94ebfb1202a39544b6b6803969db.

Solidity: event ExitRequested(uint256 timelock)

func (*ChannelImplementationFilterer) ParseFinalizeExit

func (_ChannelImplementation *ChannelImplementationFilterer) ParseFinalizeExit(log types.Log) (*ChannelImplementationFinalizeExit, error)

ParseFinalizeExit is a log parse operation binding the contract event 0x50128f92fd19060780780085c779f5ddebca701ad03dc303be5b085986345824.

Solidity: event FinalizeExit(uint256 amount)

func (*ChannelImplementationFilterer) ParseOwnershipTransferred

func (_ChannelImplementation *ChannelImplementationFilterer) ParseOwnershipTransferred(log types.Log) (*ChannelImplementationOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ChannelImplementationFilterer) ParsePromiseSettled

func (_ChannelImplementation *ChannelImplementationFilterer) ParsePromiseSettled(log types.Log) (*ChannelImplementationPromiseSettled, error)

ParsePromiseSettled is a log parse operation binding the contract event 0x50c3491624aa1825a7653df63d067fecd5c8634ba63c99c4a7cf04ff1436070b.

Solidity: event PromiseSettled(address beneficiary, uint256 amount, uint256 totalSettled)

func (*ChannelImplementationFilterer) WatchChannelInitialised

func (_ChannelImplementation *ChannelImplementationFilterer) WatchChannelInitialised(opts *bind.WatchOpts, sink chan<- *ChannelImplementationChannelInitialised) (event.Subscription, error)

WatchChannelInitialised is a free log subscription operation binding the contract event 0x9a7def6556351196c74c99e1cc8dcd284e9da181ea854c3e6367cc9fad882a51.

Solidity: event ChannelInitialised(address operator, address accountant)

func (*ChannelImplementationFilterer) WatchDestinationChanged

func (_ChannelImplementation *ChannelImplementationFilterer) WatchDestinationChanged(opts *bind.WatchOpts, sink chan<- *ChannelImplementationDestinationChanged, previousDestination []common.Address, newDestination []common.Address) (event.Subscription, error)

WatchDestinationChanged is a free log subscription operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*ChannelImplementationFilterer) WatchExitRequested

func (_ChannelImplementation *ChannelImplementationFilterer) WatchExitRequested(opts *bind.WatchOpts, sink chan<- *ChannelImplementationExitRequested) (event.Subscription, error)

WatchExitRequested is a free log subscription operation binding the contract event 0xe60f0366d8d61555184ea027447889648bae94ebfb1202a39544b6b6803969db.

Solidity: event ExitRequested(uint256 timelock)

func (*ChannelImplementationFilterer) WatchFinalizeExit

func (_ChannelImplementation *ChannelImplementationFilterer) WatchFinalizeExit(opts *bind.WatchOpts, sink chan<- *ChannelImplementationFinalizeExit) (event.Subscription, error)

WatchFinalizeExit is a free log subscription operation binding the contract event 0x50128f92fd19060780780085c779f5ddebca701ad03dc303be5b085986345824.

Solidity: event FinalizeExit(uint256 amount)

func (*ChannelImplementationFilterer) WatchOwnershipTransferred

func (_ChannelImplementation *ChannelImplementationFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ChannelImplementationOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ChannelImplementationFilterer) WatchPromiseSettled

func (_ChannelImplementation *ChannelImplementationFilterer) WatchPromiseSettled(opts *bind.WatchOpts, sink chan<- *ChannelImplementationPromiseSettled) (event.Subscription, error)

WatchPromiseSettled is a free log subscription operation binding the contract event 0x50c3491624aa1825a7653df63d067fecd5c8634ba63c99c4a7cf04ff1436070b.

Solidity: event PromiseSettled(address beneficiary, uint256 amount, uint256 totalSettled)

type ChannelImplementationFinalizeExit

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

ChannelImplementationFinalizeExit represents a FinalizeExit event raised by the ChannelImplementation contract.

type ChannelImplementationFinalizeExitIterator

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

ChannelImplementationFinalizeExitIterator is returned from FilterFinalizeExit and is used to iterate over the raw logs and unpacked data for FinalizeExit events raised by the ChannelImplementation contract.

func (*ChannelImplementationFinalizeExitIterator) Close

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

func (*ChannelImplementationFinalizeExitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ChannelImplementationFinalizeExitIterator) 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 ChannelImplementationOwnershipTransferred

type ChannelImplementationOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ChannelImplementationOwnershipTransferred represents a OwnershipTransferred event raised by the ChannelImplementation contract.

type ChannelImplementationOwnershipTransferredIterator

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

ChannelImplementationOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ChannelImplementation contract.

func (*ChannelImplementationOwnershipTransferredIterator) Close

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

func (*ChannelImplementationOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ChannelImplementationOwnershipTransferredIterator) 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 ChannelImplementationPromiseSettled

type ChannelImplementationPromiseSettled struct {
	Beneficiary  common.Address
	Amount       *big.Int
	TotalSettled *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ChannelImplementationPromiseSettled represents a PromiseSettled event raised by the ChannelImplementation contract.

type ChannelImplementationPromiseSettledIterator

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

ChannelImplementationPromiseSettledIterator is returned from FilterPromiseSettled and is used to iterate over the raw logs and unpacked data for PromiseSettled events raised by the ChannelImplementation contract.

func (*ChannelImplementationPromiseSettledIterator) Close

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

func (*ChannelImplementationPromiseSettledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ChannelImplementationPromiseSettledIterator) 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 ChannelImplementationRaw

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

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

func (*ChannelImplementationRaw) Call

func (_ChannelImplementation *ChannelImplementationRaw) 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 (*ChannelImplementationRaw) Transact

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

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

func (*ChannelImplementationRaw) Transfer

func (_ChannelImplementation *ChannelImplementationRaw) 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 ChannelImplementationSession

type ChannelImplementationSession struct {
	Contract     *ChannelImplementation // 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
}

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

func (*ChannelImplementationSession) Accountant

func (_ChannelImplementation *ChannelImplementationSession) Accountant() (struct {
	Operator        common.Address
	ContractAddress common.Address
	Settled         *big.Int
}, error)

Accountant is a free data retrieval call binding the contract method 0x4fb3ccc5.

Solidity: function accountant() constant returns(address operator, address contractAddress, uint256 settled)

func (*ChannelImplementationSession) ClaimEthers

func (_ChannelImplementation *ChannelImplementationSession) ClaimEthers() (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*ChannelImplementationSession) ClaimTokens

func (_ChannelImplementation *ChannelImplementationSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*ChannelImplementationSession) Dex

func (_ChannelImplementation *ChannelImplementationSession) Dex() (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x692058c2.

Solidity: function dex() constant returns(address)

func (*ChannelImplementationSession) ExitRequest

func (_ChannelImplementation *ChannelImplementationSession) ExitRequest() (struct {
	Timelock    *big.Int
	Beneficiary common.Address
}, error)

ExitRequest is a free data retrieval call binding the contract method 0xf4b3a197.

Solidity: function exitRequest() constant returns(uint256 timelock, address beneficiary)

func (*ChannelImplementationSession) FinalizeExit

func (_ChannelImplementation *ChannelImplementationSession) FinalizeExit() (*types.Transaction, error)

FinalizeExit is a paid mutator transaction binding the contract method 0x07e8ec1f.

Solidity: function finalizeExit() returns()

func (*ChannelImplementationSession) GetFundsDestination

func (_ChannelImplementation *ChannelImplementationSession) GetFundsDestination() (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*ChannelImplementationSession) Initialize

func (_ChannelImplementation *ChannelImplementationSession) Initialize(_token common.Address, _dex common.Address, _identityHash common.Address, _accountantId common.Address, _fee *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf7013ef6.

Solidity: function initialize(address _token, address _dex, address _identityHash, address _accountantId, uint256 _fee) returns()

func (*ChannelImplementationSession) IsInitialized

func (_ChannelImplementation *ChannelImplementationSession) IsInitialized() (bool, error)

IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.

Solidity: function isInitialized() constant returns(bool)

func (*ChannelImplementationSession) IsOwner

func (_ChannelImplementation *ChannelImplementationSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*ChannelImplementationSession) Operator

func (_ChannelImplementation *ChannelImplementationSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() constant returns(address)

func (*ChannelImplementationSession) Owner

func (_ChannelImplementation *ChannelImplementationSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*ChannelImplementationSession) RenounceOwnership

func (_ChannelImplementation *ChannelImplementationSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ChannelImplementationSession) RequestExit

func (_ChannelImplementation *ChannelImplementationSession) RequestExit(_beneficiary common.Address, _validUntil *big.Int, _signature []byte) (*types.Transaction, error)

RequestExit is a paid mutator transaction binding the contract method 0x182f3488.

Solidity: function requestExit(address _beneficiary, uint256 _validUntil, bytes _signature) returns()

func (*ChannelImplementationSession) SetFundsDestination

func (_ChannelImplementation *ChannelImplementationSession) SetFundsDestination(_newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*ChannelImplementationSession) SetFundsDestinationByCheque

func (_ChannelImplementation *ChannelImplementationSession) SetFundsDestinationByCheque(_newDestination common.Address, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

SetFundsDestinationByCheque is a paid mutator transaction binding the contract method 0x7c3e6105.

Solidity: function setFundsDestinationByCheque(address _newDestination, uint256 _nonce, bytes _signature) returns()

func (*ChannelImplementationSession) SettlePromise

func (_ChannelImplementation *ChannelImplementationSession) SettlePromise(_amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettlePromise is a paid mutator transaction binding the contract method 0x6f174630.

Solidity: function settlePromise(uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*ChannelImplementationSession) Token

func (_ChannelImplementation *ChannelImplementationSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*ChannelImplementationSession) TransferOwnership

func (_ChannelImplementation *ChannelImplementationSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ChannelImplementationTransactor

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

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

func NewChannelImplementationTransactor

func NewChannelImplementationTransactor(address common.Address, transactor bind.ContractTransactor) (*ChannelImplementationTransactor, error)

NewChannelImplementationTransactor creates a new write-only instance of ChannelImplementation, bound to a specific deployed contract.

func (*ChannelImplementationTransactor) ClaimEthers

func (_ChannelImplementation *ChannelImplementationTransactor) ClaimEthers(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*ChannelImplementationTransactor) ClaimTokens

func (_ChannelImplementation *ChannelImplementationTransactor) ClaimTokens(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*ChannelImplementationTransactor) FinalizeExit

func (_ChannelImplementation *ChannelImplementationTransactor) FinalizeExit(opts *bind.TransactOpts) (*types.Transaction, error)

FinalizeExit is a paid mutator transaction binding the contract method 0x07e8ec1f.

Solidity: function finalizeExit() returns()

func (*ChannelImplementationTransactor) Initialize

func (_ChannelImplementation *ChannelImplementationTransactor) Initialize(opts *bind.TransactOpts, _token common.Address, _dex common.Address, _identityHash common.Address, _accountantId common.Address, _fee *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf7013ef6.

Solidity: function initialize(address _token, address _dex, address _identityHash, address _accountantId, uint256 _fee) returns()

func (*ChannelImplementationTransactor) RenounceOwnership

func (_ChannelImplementation *ChannelImplementationTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ChannelImplementationTransactor) RequestExit

func (_ChannelImplementation *ChannelImplementationTransactor) RequestExit(opts *bind.TransactOpts, _beneficiary common.Address, _validUntil *big.Int, _signature []byte) (*types.Transaction, error)

RequestExit is a paid mutator transaction binding the contract method 0x182f3488.

Solidity: function requestExit(address _beneficiary, uint256 _validUntil, bytes _signature) returns()

func (*ChannelImplementationTransactor) SetFundsDestination

func (_ChannelImplementation *ChannelImplementationTransactor) SetFundsDestination(opts *bind.TransactOpts, _newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*ChannelImplementationTransactor) SetFundsDestinationByCheque

func (_ChannelImplementation *ChannelImplementationTransactor) SetFundsDestinationByCheque(opts *bind.TransactOpts, _newDestination common.Address, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

SetFundsDestinationByCheque is a paid mutator transaction binding the contract method 0x7c3e6105.

Solidity: function setFundsDestinationByCheque(address _newDestination, uint256 _nonce, bytes _signature) returns()

func (*ChannelImplementationTransactor) SettlePromise

func (_ChannelImplementation *ChannelImplementationTransactor) SettlePromise(opts *bind.TransactOpts, _amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettlePromise is a paid mutator transaction binding the contract method 0x6f174630.

Solidity: function settlePromise(uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*ChannelImplementationTransactor) TransferOwnership

func (_ChannelImplementation *ChannelImplementationTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ChannelImplementationTransactorRaw

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

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

func (*ChannelImplementationTransactorRaw) Transact

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

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

func (*ChannelImplementationTransactorRaw) Transfer

func (_ChannelImplementation *ChannelImplementationTransactorRaw) 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 ChannelImplementationTransactorSession

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

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

func (*ChannelImplementationTransactorSession) ClaimEthers

func (_ChannelImplementation *ChannelImplementationTransactorSession) ClaimEthers() (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*ChannelImplementationTransactorSession) ClaimTokens

func (_ChannelImplementation *ChannelImplementationTransactorSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*ChannelImplementationTransactorSession) FinalizeExit

func (_ChannelImplementation *ChannelImplementationTransactorSession) FinalizeExit() (*types.Transaction, error)

FinalizeExit is a paid mutator transaction binding the contract method 0x07e8ec1f.

Solidity: function finalizeExit() returns()

func (*ChannelImplementationTransactorSession) Initialize

func (_ChannelImplementation *ChannelImplementationTransactorSession) Initialize(_token common.Address, _dex common.Address, _identityHash common.Address, _accountantId common.Address, _fee *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf7013ef6.

Solidity: function initialize(address _token, address _dex, address _identityHash, address _accountantId, uint256 _fee) returns()

func (*ChannelImplementationTransactorSession) RenounceOwnership

func (_ChannelImplementation *ChannelImplementationTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ChannelImplementationTransactorSession) RequestExit

func (_ChannelImplementation *ChannelImplementationTransactorSession) RequestExit(_beneficiary common.Address, _validUntil *big.Int, _signature []byte) (*types.Transaction, error)

RequestExit is a paid mutator transaction binding the contract method 0x182f3488.

Solidity: function requestExit(address _beneficiary, uint256 _validUntil, bytes _signature) returns()

func (*ChannelImplementationTransactorSession) SetFundsDestination

func (_ChannelImplementation *ChannelImplementationTransactorSession) SetFundsDestination(_newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*ChannelImplementationTransactorSession) SetFundsDestinationByCheque

func (_ChannelImplementation *ChannelImplementationTransactorSession) SetFundsDestinationByCheque(_newDestination common.Address, _nonce *big.Int, _signature []byte) (*types.Transaction, error)

SetFundsDestinationByCheque is a paid mutator transaction binding the contract method 0x7c3e6105.

Solidity: function setFundsDestinationByCheque(address _newDestination, uint256 _nonce, bytes _signature) returns()

func (*ChannelImplementationTransactorSession) SettlePromise

func (_ChannelImplementation *ChannelImplementationTransactorSession) SettlePromise(_amount *big.Int, _transactorFee *big.Int, _lock [32]byte, _signature []byte) (*types.Transaction, error)

SettlePromise is a paid mutator transaction binding the contract method 0x6f174630.

Solidity: function settlePromise(uint256 _amount, uint256 _transactorFee, bytes32 _lock, bytes _signature) returns()

func (*ChannelImplementationTransactorSession) TransferOwnership

func (_ChannelImplementation *ChannelImplementationTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type MystDEX

type MystDEX struct {
	MystDEXCaller     // Read-only binding to the contract
	MystDEXTransactor // Write-only binding to the contract
	MystDEXFilterer   // Log filterer for contract events
}

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

func DeployMystDEX

func DeployMystDEX(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MystDEX, error)

DeployMystDEX deploys a new Ethereum contract, binding an instance of MystDEX to it.

func NewMystDEX

func NewMystDEX(address common.Address, backend bind.ContractBackend) (*MystDEX, error)

NewMystDEX creates a new instance of MystDEX, bound to a specific deployed contract.

type MystDEXCaller

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

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

func NewMystDEXCaller

func NewMystDEXCaller(address common.Address, caller bind.ContractCaller) (*MystDEXCaller, error)

NewMystDEXCaller creates a new read-only instance of MystDEX, bound to a specific deployed contract.

func (*MystDEXCaller) GetFundsDestination

func (_MystDEX *MystDEXCaller) GetFundsDestination(opts *bind.CallOpts) (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*MystDEXCaller) Initialised

func (_MystDEX *MystDEXCaller) Initialised(opts *bind.CallOpts) (bool, error)

Initialised is a free data retrieval call binding the contract method 0x07003bb4.

Solidity: function initialised() constant returns(bool)

func (*MystDEXCaller) IsOwner

func (_MystDEX *MystDEXCaller) IsOwner(opts *bind.CallOpts) (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*MystDEXCaller) Owner

func (_MystDEX *MystDEXCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*MystDEXCaller) Token

func (_MystDEX *MystDEXCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type MystDEXCallerRaw

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

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

func (*MystDEXCallerRaw) Call

func (_MystDEX *MystDEXCallerRaw) 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 MystDEXCallerSession

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

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

func (*MystDEXCallerSession) GetFundsDestination

func (_MystDEX *MystDEXCallerSession) GetFundsDestination() (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*MystDEXCallerSession) Initialised

func (_MystDEX *MystDEXCallerSession) Initialised() (bool, error)

Initialised is a free data retrieval call binding the contract method 0x07003bb4.

Solidity: function initialised() constant returns(bool)

func (*MystDEXCallerSession) IsOwner

func (_MystDEX *MystDEXCallerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*MystDEXCallerSession) Owner

func (_MystDEX *MystDEXCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*MystDEXCallerSession) Token

func (_MystDEX *MystDEXCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type MystDEXDestinationChanged

type MystDEXDestinationChanged struct {
	PreviousDestination common.Address
	NewDestination      common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

MystDEXDestinationChanged represents a DestinationChanged event raised by the MystDEX contract.

type MystDEXDestinationChangedIterator

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

MystDEXDestinationChangedIterator is returned from FilterDestinationChanged and is used to iterate over the raw logs and unpacked data for DestinationChanged events raised by the MystDEX contract.

func (*MystDEXDestinationChangedIterator) Close

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

func (*MystDEXDestinationChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MystDEXDestinationChangedIterator) 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 MystDEXFilterer

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

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

func NewMystDEXFilterer

func NewMystDEXFilterer(address common.Address, filterer bind.ContractFilterer) (*MystDEXFilterer, error)

NewMystDEXFilterer creates a new log filterer instance of MystDEX, bound to a specific deployed contract.

func (*MystDEXFilterer) FilterDestinationChanged

func (_MystDEX *MystDEXFilterer) FilterDestinationChanged(opts *bind.FilterOpts, previousDestination []common.Address, newDestination []common.Address) (*MystDEXDestinationChangedIterator, error)

FilterDestinationChanged is a free log retrieval operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*MystDEXFilterer) FilterOwnershipTransferred

func (_MystDEX *MystDEXFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MystDEXOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MystDEXFilterer) ParseDestinationChanged

func (_MystDEX *MystDEXFilterer) ParseDestinationChanged(log types.Log) (*MystDEXDestinationChanged, error)

ParseDestinationChanged is a log parse operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*MystDEXFilterer) ParseOwnershipTransferred

func (_MystDEX *MystDEXFilterer) ParseOwnershipTransferred(log types.Log) (*MystDEXOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MystDEXFilterer) WatchDestinationChanged

func (_MystDEX *MystDEXFilterer) WatchDestinationChanged(opts *bind.WatchOpts, sink chan<- *MystDEXDestinationChanged, previousDestination []common.Address, newDestination []common.Address) (event.Subscription, error)

WatchDestinationChanged is a free log subscription operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*MystDEXFilterer) WatchOwnershipTransferred

func (_MystDEX *MystDEXFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MystDEXOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type MystDEXOwnershipTransferred

type MystDEXOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

MystDEXOwnershipTransferred represents a OwnershipTransferred event raised by the MystDEX contract.

type MystDEXOwnershipTransferredIterator

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

MystDEXOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MystDEX contract.

func (*MystDEXOwnershipTransferredIterator) Close

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

func (*MystDEXOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MystDEXOwnershipTransferredIterator) 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 MystDEXRaw

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

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

func (*MystDEXRaw) Call

func (_MystDEX *MystDEXRaw) 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 (*MystDEXRaw) Transact

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

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

func (*MystDEXRaw) Transfer

func (_MystDEX *MystDEXRaw) 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 MystDEXSession

type MystDEXSession struct {
	Contract     *MystDEX          // 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
}

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

func (*MystDEXSession) ClaimEthers

func (_MystDEX *MystDEXSession) ClaimEthers() (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*MystDEXSession) ClaimTokens

func (_MystDEX *MystDEXSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*MystDEXSession) GetFundsDestination

func (_MystDEX *MystDEXSession) GetFundsDestination() (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*MystDEXSession) Initialise

func (_MystDEX *MystDEXSession) Initialise(_dexOwner common.Address, _token common.Address, _rate *big.Int) (*types.Transaction, error)

Initialise is a paid mutator transaction binding the contract method 0x8595d149.

Solidity: function initialise(address _dexOwner, address _token, uint256 _rate) returns()

func (*MystDEXSession) Initialised

func (_MystDEX *MystDEXSession) Initialised() (bool, error)

Initialised is a free data retrieval call binding the contract method 0x07003bb4.

Solidity: function initialised() constant returns(bool)

func (*MystDEXSession) IsOwner

func (_MystDEX *MystDEXSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*MystDEXSession) Owner

func (_MystDEX *MystDEXSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*MystDEXSession) RenounceOwnership

func (_MystDEX *MystDEXSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MystDEXSession) SetFundsDestination

func (_MystDEX *MystDEXSession) SetFundsDestination(_newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*MystDEXSession) SetRate

func (_MystDEX *MystDEXSession) SetRate(_newRate *big.Int) (*types.Transaction, error)

SetRate is a paid mutator transaction binding the contract method 0x34fcf437.

Solidity: function setRate(uint256 _newRate) returns()

func (*MystDEXSession) Token

func (_MystDEX *MystDEXSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*MystDEXSession) TransferEthers

func (_MystDEX *MystDEXSession) TransferEthers(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferEthers is a paid mutator transaction binding the contract method 0x1254e64d.

Solidity: function transferEthers(address _to, uint256 _amount) returns()

func (*MystDEXSession) TransferMyst

func (_MystDEX *MystDEXSession) TransferMyst(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferMyst is a paid mutator transaction binding the contract method 0x38d2e411.

Solidity: function transferMyst(address _to, uint256 _amount) returns()

func (*MystDEXSession) TransferOwnership

func (_MystDEX *MystDEXSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type MystDEXTransactor

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

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

func NewMystDEXTransactor

func NewMystDEXTransactor(address common.Address, transactor bind.ContractTransactor) (*MystDEXTransactor, error)

NewMystDEXTransactor creates a new write-only instance of MystDEX, bound to a specific deployed contract.

func (*MystDEXTransactor) ClaimEthers

func (_MystDEX *MystDEXTransactor) ClaimEthers(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*MystDEXTransactor) ClaimTokens

func (_MystDEX *MystDEXTransactor) ClaimTokens(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*MystDEXTransactor) Initialise

func (_MystDEX *MystDEXTransactor) Initialise(opts *bind.TransactOpts, _dexOwner common.Address, _token common.Address, _rate *big.Int) (*types.Transaction, error)

Initialise is a paid mutator transaction binding the contract method 0x8595d149.

Solidity: function initialise(address _dexOwner, address _token, uint256 _rate) returns()

func (*MystDEXTransactor) RenounceOwnership

func (_MystDEX *MystDEXTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MystDEXTransactor) SetFundsDestination

func (_MystDEX *MystDEXTransactor) SetFundsDestination(opts *bind.TransactOpts, _newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*MystDEXTransactor) SetRate

func (_MystDEX *MystDEXTransactor) SetRate(opts *bind.TransactOpts, _newRate *big.Int) (*types.Transaction, error)

SetRate is a paid mutator transaction binding the contract method 0x34fcf437.

Solidity: function setRate(uint256 _newRate) returns()

func (*MystDEXTransactor) TransferEthers

func (_MystDEX *MystDEXTransactor) TransferEthers(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferEthers is a paid mutator transaction binding the contract method 0x1254e64d.

Solidity: function transferEthers(address _to, uint256 _amount) returns()

func (*MystDEXTransactor) TransferMyst

func (_MystDEX *MystDEXTransactor) TransferMyst(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferMyst is a paid mutator transaction binding the contract method 0x38d2e411.

Solidity: function transferMyst(address _to, uint256 _amount) returns()

func (*MystDEXTransactor) TransferOwnership

func (_MystDEX *MystDEXTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type MystDEXTransactorRaw

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

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

func (*MystDEXTransactorRaw) Transact

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

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

func (*MystDEXTransactorRaw) Transfer

func (_MystDEX *MystDEXTransactorRaw) 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 MystDEXTransactorSession

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

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

func (*MystDEXTransactorSession) ClaimEthers

func (_MystDEX *MystDEXTransactorSession) ClaimEthers() (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*MystDEXTransactorSession) ClaimTokens

func (_MystDEX *MystDEXTransactorSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*MystDEXTransactorSession) Initialise

func (_MystDEX *MystDEXTransactorSession) Initialise(_dexOwner common.Address, _token common.Address, _rate *big.Int) (*types.Transaction, error)

Initialise is a paid mutator transaction binding the contract method 0x8595d149.

Solidity: function initialise(address _dexOwner, address _token, uint256 _rate) returns()

func (*MystDEXTransactorSession) RenounceOwnership

func (_MystDEX *MystDEXTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MystDEXTransactorSession) SetFundsDestination

func (_MystDEX *MystDEXTransactorSession) SetFundsDestination(_newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*MystDEXTransactorSession) SetRate

func (_MystDEX *MystDEXTransactorSession) SetRate(_newRate *big.Int) (*types.Transaction, error)

SetRate is a paid mutator transaction binding the contract method 0x34fcf437.

Solidity: function setRate(uint256 _newRate) returns()

func (*MystDEXTransactorSession) TransferEthers

func (_MystDEX *MystDEXTransactorSession) TransferEthers(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferEthers is a paid mutator transaction binding the contract method 0x1254e64d.

Solidity: function transferEthers(address _to, uint256 _amount) returns()

func (*MystDEXTransactorSession) TransferMyst

func (_MystDEX *MystDEXTransactorSession) TransferMyst(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferMyst is a paid mutator transaction binding the contract method 0x38d2e411.

Solidity: function transferMyst(address _to, uint256 _amount) returns()

func (*MystDEXTransactorSession) TransferOwnership

func (_MystDEX *MystDEXTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type MystToken

type MystToken struct {
	MystTokenCaller     // Read-only binding to the contract
	MystTokenTransactor // Write-only binding to the contract
	MystTokenFilterer   // Log filterer for contract events
}

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

func DeployMystToken

func DeployMystToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MystToken, error)

DeployMystToken deploys a new Ethereum contract, binding an instance of MystToken to it.

func NewMystToken

func NewMystToken(address common.Address, backend bind.ContractBackend) (*MystToken, error)

NewMystToken creates a new instance of MystToken, bound to a specific deployed contract.

type MystTokenApproval

type MystTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

MystTokenApproval represents a Approval event raised by the MystToken contract.

type MystTokenApprovalIterator

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

MystTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MystToken contract.

func (*MystTokenApprovalIterator) Close

func (it *MystTokenApprovalIterator) Close() error

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

func (*MystTokenApprovalIterator) Error

func (it *MystTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MystTokenApprovalIterator) Next

func (it *MystTokenApprovalIterator) 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 MystTokenCaller

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

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

func NewMystTokenCaller

func NewMystTokenCaller(address common.Address, caller bind.ContractCaller) (*MystTokenCaller, error)

NewMystTokenCaller creates a new read-only instance of MystToken, bound to a specific deployed contract.

func (*MystTokenCaller) Allowance

func (_MystToken *MystTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256 remaining)

func (*MystTokenCaller) BalanceOf

func (_MystToken *MystTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256 balance)

func (*MystTokenCaller) Decimals

func (_MystToken *MystTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*MystTokenCaller) GetUpgradeState

func (_MystToken *MystTokenCaller) GetUpgradeState(opts *bind.CallOpts) (uint8, error)

GetUpgradeState is a free data retrieval call binding the contract method 0x8444b391.

Solidity: function getUpgradeState() constant returns(uint8)

func (*MystTokenCaller) MintAgents

func (_MystToken *MystTokenCaller) MintAgents(opts *bind.CallOpts, arg0 common.Address) (bool, error)

MintAgents is a free data retrieval call binding the contract method 0x42c1867b.

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

func (*MystTokenCaller) MintingFinished

func (_MystToken *MystTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() constant returns(bool)

func (*MystTokenCaller) Name

func (_MystToken *MystTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*MystTokenCaller) Owner

func (_MystToken *MystTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*MystTokenCaller) Symbol

func (_MystToken *MystTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*MystTokenCaller) TotalSupply

func (_MystToken *MystTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*MystTokenCaller) TotalUpgraded

func (_MystToken *MystTokenCaller) TotalUpgraded(opts *bind.CallOpts) (*big.Int, error)

TotalUpgraded is a free data retrieval call binding the contract method 0xc752ff62.

Solidity: function totalUpgraded() constant returns(uint256)

func (*MystTokenCaller) UpgradeAgent

func (_MystToken *MystTokenCaller) UpgradeAgent(opts *bind.CallOpts) (common.Address, error)

UpgradeAgent is a free data retrieval call binding the contract method 0x5de4ccb0.

Solidity: function upgradeAgent() constant returns(address)

func (*MystTokenCaller) UpgradeMaster

func (_MystToken *MystTokenCaller) UpgradeMaster(opts *bind.CallOpts) (common.Address, error)

UpgradeMaster is a free data retrieval call binding the contract method 0x600440cb.

Solidity: function upgradeMaster() constant returns(address)

type MystTokenCallerRaw

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

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

func (*MystTokenCallerRaw) Call

func (_MystToken *MystTokenCallerRaw) 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 MystTokenCallerSession

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

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

func (*MystTokenCallerSession) Allowance

func (_MystToken *MystTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256 remaining)

func (*MystTokenCallerSession) BalanceOf

func (_MystToken *MystTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256 balance)

func (*MystTokenCallerSession) Decimals

func (_MystToken *MystTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*MystTokenCallerSession) GetUpgradeState

func (_MystToken *MystTokenCallerSession) GetUpgradeState() (uint8, error)

GetUpgradeState is a free data retrieval call binding the contract method 0x8444b391.

Solidity: function getUpgradeState() constant returns(uint8)

func (*MystTokenCallerSession) MintAgents

func (_MystToken *MystTokenCallerSession) MintAgents(arg0 common.Address) (bool, error)

MintAgents is a free data retrieval call binding the contract method 0x42c1867b.

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

func (*MystTokenCallerSession) MintingFinished

func (_MystToken *MystTokenCallerSession) MintingFinished() (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() constant returns(bool)

func (*MystTokenCallerSession) Name

func (_MystToken *MystTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*MystTokenCallerSession) Owner

func (_MystToken *MystTokenCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*MystTokenCallerSession) Symbol

func (_MystToken *MystTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*MystTokenCallerSession) TotalSupply

func (_MystToken *MystTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*MystTokenCallerSession) TotalUpgraded

func (_MystToken *MystTokenCallerSession) TotalUpgraded() (*big.Int, error)

TotalUpgraded is a free data retrieval call binding the contract method 0xc752ff62.

Solidity: function totalUpgraded() constant returns(uint256)

func (*MystTokenCallerSession) UpgradeAgent

func (_MystToken *MystTokenCallerSession) UpgradeAgent() (common.Address, error)

UpgradeAgent is a free data retrieval call binding the contract method 0x5de4ccb0.

Solidity: function upgradeAgent() constant returns(address)

func (*MystTokenCallerSession) UpgradeMaster

func (_MystToken *MystTokenCallerSession) UpgradeMaster() (common.Address, error)

UpgradeMaster is a free data retrieval call binding the contract method 0x600440cb.

Solidity: function upgradeMaster() constant returns(address)

type MystTokenFilterer

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

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

func NewMystTokenFilterer

func NewMystTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*MystTokenFilterer, error)

NewMystTokenFilterer creates a new log filterer instance of MystToken, bound to a specific deployed contract.

func (*MystTokenFilterer) FilterApproval

func (_MystToken *MystTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MystTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*MystTokenFilterer) FilterMinted

func (_MystToken *MystTokenFilterer) FilterMinted(opts *bind.FilterOpts) (*MystTokenMintedIterator, error)

FilterMinted is a free log retrieval operation binding the contract event 0x30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe.

Solidity: event Minted(address receiver, uint256 amount)

func (*MystTokenFilterer) FilterTransfer

func (_MystToken *MystTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MystTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*MystTokenFilterer) FilterUpgrade

func (_MystToken *MystTokenFilterer) FilterUpgrade(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*MystTokenUpgradeIterator, error)

FilterUpgrade is a free log retrieval operation binding the contract event 0x7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac.

Solidity: event Upgrade(address indexed _from, address indexed _to, uint256 _value)

func (*MystTokenFilterer) FilterUpgradeAgentSet

func (_MystToken *MystTokenFilterer) FilterUpgradeAgentSet(opts *bind.FilterOpts) (*MystTokenUpgradeAgentSetIterator, error)

FilterUpgradeAgentSet is a free log retrieval operation binding the contract event 0x7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc.

Solidity: event UpgradeAgentSet(address agent)

func (*MystTokenFilterer) ParseApproval

func (_MystToken *MystTokenFilterer) ParseApproval(log types.Log) (*MystTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*MystTokenFilterer) ParseMinted

func (_MystToken *MystTokenFilterer) ParseMinted(log types.Log) (*MystTokenMinted, error)

ParseMinted is a log parse operation binding the contract event 0x30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe.

Solidity: event Minted(address receiver, uint256 amount)

func (*MystTokenFilterer) ParseTransfer

func (_MystToken *MystTokenFilterer) ParseTransfer(log types.Log) (*MystTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*MystTokenFilterer) ParseUpgrade

func (_MystToken *MystTokenFilterer) ParseUpgrade(log types.Log) (*MystTokenUpgrade, error)

ParseUpgrade is a log parse operation binding the contract event 0x7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac.

Solidity: event Upgrade(address indexed _from, address indexed _to, uint256 _value)

func (*MystTokenFilterer) ParseUpgradeAgentSet

func (_MystToken *MystTokenFilterer) ParseUpgradeAgentSet(log types.Log) (*MystTokenUpgradeAgentSet, error)

ParseUpgradeAgentSet is a log parse operation binding the contract event 0x7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc.

Solidity: event UpgradeAgentSet(address agent)

func (*MystTokenFilterer) WatchApproval

func (_MystToken *MystTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MystTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*MystTokenFilterer) WatchMinted

func (_MystToken *MystTokenFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *MystTokenMinted) (event.Subscription, error)

WatchMinted is a free log subscription operation binding the contract event 0x30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe.

Solidity: event Minted(address receiver, uint256 amount)

func (*MystTokenFilterer) WatchTransfer

func (_MystToken *MystTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MystTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*MystTokenFilterer) WatchUpgrade

func (_MystToken *MystTokenFilterer) WatchUpgrade(opts *bind.WatchOpts, sink chan<- *MystTokenUpgrade, _from []common.Address, _to []common.Address) (event.Subscription, error)

WatchUpgrade is a free log subscription operation binding the contract event 0x7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac.

Solidity: event Upgrade(address indexed _from, address indexed _to, uint256 _value)

func (*MystTokenFilterer) WatchUpgradeAgentSet

func (_MystToken *MystTokenFilterer) WatchUpgradeAgentSet(opts *bind.WatchOpts, sink chan<- *MystTokenUpgradeAgentSet) (event.Subscription, error)

WatchUpgradeAgentSet is a free log subscription operation binding the contract event 0x7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc.

Solidity: event UpgradeAgentSet(address agent)

type MystTokenMinted

type MystTokenMinted struct {
	Receiver common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MystTokenMinted represents a Minted event raised by the MystToken contract.

type MystTokenMintedIterator

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

MystTokenMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the MystToken contract.

func (*MystTokenMintedIterator) Close

func (it *MystTokenMintedIterator) Close() error

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

func (*MystTokenMintedIterator) Error

func (it *MystTokenMintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MystTokenMintedIterator) Next

func (it *MystTokenMintedIterator) 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 MystTokenRaw

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

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

func (*MystTokenRaw) Call

func (_MystToken *MystTokenRaw) 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 (*MystTokenRaw) Transact

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

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

func (*MystTokenRaw) Transfer

func (_MystToken *MystTokenRaw) 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 MystTokenSession

type MystTokenSession struct {
	Contract     *MystToken        // 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
}

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

func (*MystTokenSession) AddApproval

func (_MystToken *MystTokenSession) AddApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

AddApproval is a paid mutator transaction binding the contract method 0xac3cb72c.

Solidity: function addApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*MystTokenSession) Allowance

func (_MystToken *MystTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256 remaining)

func (*MystTokenSession) Approve

func (_MystToken *MystTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool success)

func (*MystTokenSession) BalanceOf

func (_MystToken *MystTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256 balance)

func (*MystTokenSession) Decimals

func (_MystToken *MystTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*MystTokenSession) GetUpgradeState

func (_MystToken *MystTokenSession) GetUpgradeState() (uint8, error)

GetUpgradeState is a free data retrieval call binding the contract method 0x8444b391.

Solidity: function getUpgradeState() constant returns(uint8)

func (*MystTokenSession) Mint

func (_MystToken *MystTokenSession) Mint(receiver common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address receiver, uint256 amount) returns()

func (*MystTokenSession) MintAgents

func (_MystToken *MystTokenSession) MintAgents(arg0 common.Address) (bool, error)

MintAgents is a free data retrieval call binding the contract method 0x42c1867b.

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

func (*MystTokenSession) MintingFinished

func (_MystToken *MystTokenSession) MintingFinished() (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() constant returns(bool)

func (*MystTokenSession) Name

func (_MystToken *MystTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*MystTokenSession) Owner

func (_MystToken *MystTokenSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*MystTokenSession) SetMintAgent

func (_MystToken *MystTokenSession) SetMintAgent(addr common.Address, state bool) (*types.Transaction, error)

SetMintAgent is a paid mutator transaction binding the contract method 0x43214675.

Solidity: function setMintAgent(address addr, bool state) returns()

func (*MystTokenSession) SetUpgradeAgent

func (_MystToken *MystTokenSession) SetUpgradeAgent(agent common.Address) (*types.Transaction, error)

SetUpgradeAgent is a paid mutator transaction binding the contract method 0xd7e7088a.

Solidity: function setUpgradeAgent(address agent) returns()

func (*MystTokenSession) SetUpgradeMaster

func (_MystToken *MystTokenSession) SetUpgradeMaster(master common.Address) (*types.Transaction, error)

SetUpgradeMaster is a paid mutator transaction binding the contract method 0xffeb7d75.

Solidity: function setUpgradeMaster(address master) returns()

func (*MystTokenSession) SubApproval

func (_MystToken *MystTokenSession) SubApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

SubApproval is a paid mutator transaction binding the contract method 0xe2301d02.

Solidity: function subApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*MystTokenSession) Symbol

func (_MystToken *MystTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*MystTokenSession) TotalSupply

func (_MystToken *MystTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*MystTokenSession) TotalUpgraded

func (_MystToken *MystTokenSession) TotalUpgraded() (*big.Int, error)

TotalUpgraded is a free data retrieval call binding the contract method 0xc752ff62.

Solidity: function totalUpgraded() constant returns(uint256)

func (*MystTokenSession) Transfer

func (_MystToken *MystTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

func (*MystTokenSession) TransferFrom

func (_MystToken *MystTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)

func (*MystTokenSession) TransferOwnership

func (_MystToken *MystTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*MystTokenSession) Upgrade

func (_MystToken *MystTokenSession) Upgrade(value *big.Int) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x45977d03.

Solidity: function upgrade(uint256 value) returns()

func (*MystTokenSession) UpgradeAgent

func (_MystToken *MystTokenSession) UpgradeAgent() (common.Address, error)

UpgradeAgent is a free data retrieval call binding the contract method 0x5de4ccb0.

Solidity: function upgradeAgent() constant returns(address)

func (*MystTokenSession) UpgradeMaster

func (_MystToken *MystTokenSession) UpgradeMaster() (common.Address, error)

UpgradeMaster is a free data retrieval call binding the contract method 0x600440cb.

Solidity: function upgradeMaster() constant returns(address)

type MystTokenTransactor

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

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

func NewMystTokenTransactor

func NewMystTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*MystTokenTransactor, error)

NewMystTokenTransactor creates a new write-only instance of MystToken, bound to a specific deployed contract.

func (*MystTokenTransactor) AddApproval

func (_MystToken *MystTokenTransactor) AddApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

AddApproval is a paid mutator transaction binding the contract method 0xac3cb72c.

Solidity: function addApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*MystTokenTransactor) Approve

func (_MystToken *MystTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool success)

func (*MystTokenTransactor) Mint

func (_MystToken *MystTokenTransactor) Mint(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address receiver, uint256 amount) returns()

func (*MystTokenTransactor) SetMintAgent

func (_MystToken *MystTokenTransactor) SetMintAgent(opts *bind.TransactOpts, addr common.Address, state bool) (*types.Transaction, error)

SetMintAgent is a paid mutator transaction binding the contract method 0x43214675.

Solidity: function setMintAgent(address addr, bool state) returns()

func (*MystTokenTransactor) SetUpgradeAgent

func (_MystToken *MystTokenTransactor) SetUpgradeAgent(opts *bind.TransactOpts, agent common.Address) (*types.Transaction, error)

SetUpgradeAgent is a paid mutator transaction binding the contract method 0xd7e7088a.

Solidity: function setUpgradeAgent(address agent) returns()

func (*MystTokenTransactor) SetUpgradeMaster

func (_MystToken *MystTokenTransactor) SetUpgradeMaster(opts *bind.TransactOpts, master common.Address) (*types.Transaction, error)

SetUpgradeMaster is a paid mutator transaction binding the contract method 0xffeb7d75.

Solidity: function setUpgradeMaster(address master) returns()

func (*MystTokenTransactor) SubApproval

func (_MystToken *MystTokenTransactor) SubApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

SubApproval is a paid mutator transaction binding the contract method 0xe2301d02.

Solidity: function subApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*MystTokenTransactor) Transfer

func (_MystToken *MystTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

func (*MystTokenTransactor) TransferFrom

func (_MystToken *MystTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)

func (*MystTokenTransactor) TransferOwnership

func (_MystToken *MystTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*MystTokenTransactor) Upgrade

func (_MystToken *MystTokenTransactor) Upgrade(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x45977d03.

Solidity: function upgrade(uint256 value) returns()

type MystTokenTransactorRaw

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

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

func (*MystTokenTransactorRaw) Transact

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

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

func (*MystTokenTransactorRaw) Transfer

func (_MystToken *MystTokenTransactorRaw) 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 MystTokenTransactorSession

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

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

func (*MystTokenTransactorSession) AddApproval

func (_MystToken *MystTokenTransactorSession) AddApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

AddApproval is a paid mutator transaction binding the contract method 0xac3cb72c.

Solidity: function addApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*MystTokenTransactorSession) Approve

func (_MystToken *MystTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool success)

func (*MystTokenTransactorSession) Mint

func (_MystToken *MystTokenTransactorSession) Mint(receiver common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address receiver, uint256 amount) returns()

func (*MystTokenTransactorSession) SetMintAgent

func (_MystToken *MystTokenTransactorSession) SetMintAgent(addr common.Address, state bool) (*types.Transaction, error)

SetMintAgent is a paid mutator transaction binding the contract method 0x43214675.

Solidity: function setMintAgent(address addr, bool state) returns()

func (*MystTokenTransactorSession) SetUpgradeAgent

func (_MystToken *MystTokenTransactorSession) SetUpgradeAgent(agent common.Address) (*types.Transaction, error)

SetUpgradeAgent is a paid mutator transaction binding the contract method 0xd7e7088a.

Solidity: function setUpgradeAgent(address agent) returns()

func (*MystTokenTransactorSession) SetUpgradeMaster

func (_MystToken *MystTokenTransactorSession) SetUpgradeMaster(master common.Address) (*types.Transaction, error)

SetUpgradeMaster is a paid mutator transaction binding the contract method 0xffeb7d75.

Solidity: function setUpgradeMaster(address master) returns()

func (*MystTokenTransactorSession) SubApproval

func (_MystToken *MystTokenTransactorSession) SubApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

SubApproval is a paid mutator transaction binding the contract method 0xe2301d02.

Solidity: function subApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*MystTokenTransactorSession) Transfer

func (_MystToken *MystTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool success)

func (*MystTokenTransactorSession) TransferFrom

func (_MystToken *MystTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool success)

func (*MystTokenTransactorSession) TransferOwnership

func (_MystToken *MystTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*MystTokenTransactorSession) Upgrade

func (_MystToken *MystTokenTransactorSession) Upgrade(value *big.Int) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x45977d03.

Solidity: function upgrade(uint256 value) returns()

type MystTokenTransfer

type MystTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

MystTokenTransfer represents a Transfer event raised by the MystToken contract.

type MystTokenTransferIterator

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

MystTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MystToken contract.

func (*MystTokenTransferIterator) Close

func (it *MystTokenTransferIterator) Close() error

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

func (*MystTokenTransferIterator) Error

func (it *MystTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MystTokenTransferIterator) Next

func (it *MystTokenTransferIterator) 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 MystTokenUpgrade

type MystTokenUpgrade struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

MystTokenUpgrade represents a Upgrade event raised by the MystToken contract.

type MystTokenUpgradeAgentSet

type MystTokenUpgradeAgentSet struct {
	Agent common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

MystTokenUpgradeAgentSet represents a UpgradeAgentSet event raised by the MystToken contract.

type MystTokenUpgradeAgentSetIterator

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

MystTokenUpgradeAgentSetIterator is returned from FilterUpgradeAgentSet and is used to iterate over the raw logs and unpacked data for UpgradeAgentSet events raised by the MystToken contract.

func (*MystTokenUpgradeAgentSetIterator) Close

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

func (*MystTokenUpgradeAgentSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MystTokenUpgradeAgentSetIterator) 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 MystTokenUpgradeIterator

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

MystTokenUpgradeIterator is returned from FilterUpgrade and is used to iterate over the raw logs and unpacked data for Upgrade events raised by the MystToken contract.

func (*MystTokenUpgradeIterator) Close

func (it *MystTokenUpgradeIterator) Close() error

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

func (*MystTokenUpgradeIterator) Error

func (it *MystTokenUpgradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MystTokenUpgradeIterator) Next

func (it *MystTokenUpgradeIterator) 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 Registry

type Registry struct {
	RegistryCaller     // Read-only binding to the contract
	RegistryTransactor // Write-only binding to the contract
	RegistryFilterer   // Log filterer for contract events
}

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

func DeployRegistry

func DeployRegistry(auth *bind.TransactOpts, backend bind.ContractBackend, _tokenAddress common.Address, _dexAddress common.Address, _channelImplementation common.Address, _accountantImplementation common.Address, _regFee *big.Int, _minimalAccountantStake *big.Int) (common.Address, *types.Transaction, *Registry, error)

DeployRegistry deploys a new Ethereum contract, binding an instance of Registry to it.

func NewRegistry

func NewRegistry(address common.Address, backend bind.ContractBackend) (*Registry, error)

NewRegistry creates a new instance of Registry, bound to a specific deployed contract.

type RegistryCaller

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

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

func NewRegistryCaller

func NewRegistryCaller(address common.Address, caller bind.ContractCaller) (*RegistryCaller, error)

NewRegistryCaller creates a new read-only instance of Registry, bound to a specific deployed contract.

func (*RegistryCaller) AccountantImplementation

func (_Registry *RegistryCaller) AccountantImplementation(opts *bind.CallOpts) (common.Address, error)

AccountantImplementation is a free data retrieval call binding the contract method 0x9a3ce274.

Solidity: function accountantImplementation() constant returns(address)

func (*RegistryCaller) Accountants

func (_Registry *RegistryCaller) Accountants(opts *bind.CallOpts, arg0 common.Address) (struct {
	Operator common.Address
	Stake    [24]byte
}, error)

Accountants is a free data retrieval call binding the contract method 0xf707fb4a.

Solidity: function accountants(address ) constant returns(address operator, function stake)

func (*RegistryCaller) Dex

func (_Registry *RegistryCaller) Dex(opts *bind.CallOpts) (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x692058c2.

Solidity: function dex() constant returns(address)

func (*RegistryCaller) GetAccountantAddress

func (_Registry *RegistryCaller) GetAccountantAddress(opts *bind.CallOpts, _accountantOperator common.Address) (common.Address, error)

GetAccountantAddress is a free data retrieval call binding the contract method 0xf595cfd2.

Solidity: function getAccountantAddress(address _accountantOperator) constant returns(address)

func (*RegistryCaller) GetChannelAddress

func (_Registry *RegistryCaller) GetChannelAddress(opts *bind.CallOpts, _identityHash common.Address, _accountantId common.Address) (common.Address, error)

GetChannelAddress is a free data retrieval call binding the contract method 0xe617aaac.

Solidity: function getChannelAddress(address _identityHash, address _accountantId) constant returns(address)

func (*RegistryCaller) GetFundsDestination

func (_Registry *RegistryCaller) GetFundsDestination(opts *bind.CallOpts) (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*RegistryCaller) GetProxyCode

func (_Registry *RegistryCaller) GetProxyCode(opts *bind.CallOpts, _implementation common.Address) ([]byte, error)

GetProxyCode is a free data retrieval call binding the contract method 0xab867213.

Solidity: function getProxyCode(address _implementation) constant returns(bytes)

func (*RegistryCaller) IsAccountant

func (_Registry *RegistryCaller) IsAccountant(opts *bind.CallOpts, _accountantId common.Address) (bool, error)

IsAccountant is a free data retrieval call binding the contract method 0x2a33ddbd.

Solidity: function isAccountant(address _accountantId) constant returns(bool)

func (*RegistryCaller) IsOwner

func (_Registry *RegistryCaller) IsOwner(opts *bind.CallOpts) (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*RegistryCaller) IsRegistered

func (_Registry *RegistryCaller) IsRegistered(opts *bind.CallOpts, _identityHash common.Address) (bool, error)

IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.

Solidity: function isRegistered(address _identityHash) constant returns(bool)

func (*RegistryCaller) MinimalAccountantStake

func (_Registry *RegistryCaller) MinimalAccountantStake(opts *bind.CallOpts) (*big.Int, error)

MinimalAccountantStake is a free data retrieval call binding the contract method 0x824b09d6.

Solidity: function minimalAccountantStake() constant returns(uint256)

func (*RegistryCaller) Owner

func (_Registry *RegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RegistryCaller) RegistrationFee

func (_Registry *RegistryCaller) RegistrationFee(opts *bind.CallOpts) (*big.Int, error)

RegistrationFee is a free data retrieval call binding the contract method 0x14c44e09.

Solidity: function registrationFee() constant returns(uint256)

func (*RegistryCaller) Token

func (_Registry *RegistryCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type RegistryCallerRaw

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

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

func (*RegistryCallerRaw) Call

func (_Registry *RegistryCallerRaw) 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 RegistryCallerSession

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

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

func (*RegistryCallerSession) AccountantImplementation

func (_Registry *RegistryCallerSession) AccountantImplementation() (common.Address, error)

AccountantImplementation is a free data retrieval call binding the contract method 0x9a3ce274.

Solidity: function accountantImplementation() constant returns(address)

func (*RegistryCallerSession) Accountants

func (_Registry *RegistryCallerSession) Accountants(arg0 common.Address) (struct {
	Operator common.Address
	Stake    [24]byte
}, error)

Accountants is a free data retrieval call binding the contract method 0xf707fb4a.

Solidity: function accountants(address ) constant returns(address operator, function stake)

func (*RegistryCallerSession) Dex

func (_Registry *RegistryCallerSession) Dex() (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x692058c2.

Solidity: function dex() constant returns(address)

func (*RegistryCallerSession) GetAccountantAddress

func (_Registry *RegistryCallerSession) GetAccountantAddress(_accountantOperator common.Address) (common.Address, error)

GetAccountantAddress is a free data retrieval call binding the contract method 0xf595cfd2.

Solidity: function getAccountantAddress(address _accountantOperator) constant returns(address)

func (*RegistryCallerSession) GetChannelAddress

func (_Registry *RegistryCallerSession) GetChannelAddress(_identityHash common.Address, _accountantId common.Address) (common.Address, error)

GetChannelAddress is a free data retrieval call binding the contract method 0xe617aaac.

Solidity: function getChannelAddress(address _identityHash, address _accountantId) constant returns(address)

func (*RegistryCallerSession) GetFundsDestination

func (_Registry *RegistryCallerSession) GetFundsDestination() (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*RegistryCallerSession) GetProxyCode

func (_Registry *RegistryCallerSession) GetProxyCode(_implementation common.Address) ([]byte, error)

GetProxyCode is a free data retrieval call binding the contract method 0xab867213.

Solidity: function getProxyCode(address _implementation) constant returns(bytes)

func (*RegistryCallerSession) IsAccountant

func (_Registry *RegistryCallerSession) IsAccountant(_accountantId common.Address) (bool, error)

IsAccountant is a free data retrieval call binding the contract method 0x2a33ddbd.

Solidity: function isAccountant(address _accountantId) constant returns(bool)

func (*RegistryCallerSession) IsOwner

func (_Registry *RegistryCallerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*RegistryCallerSession) IsRegistered

func (_Registry *RegistryCallerSession) IsRegistered(_identityHash common.Address) (bool, error)

IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.

Solidity: function isRegistered(address _identityHash) constant returns(bool)

func (*RegistryCallerSession) MinimalAccountantStake

func (_Registry *RegistryCallerSession) MinimalAccountantStake() (*big.Int, error)

MinimalAccountantStake is a free data retrieval call binding the contract method 0x824b09d6.

Solidity: function minimalAccountantStake() constant returns(uint256)

func (*RegistryCallerSession) Owner

func (_Registry *RegistryCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RegistryCallerSession) RegistrationFee

func (_Registry *RegistryCallerSession) RegistrationFee() (*big.Int, error)

RegistrationFee is a free data retrieval call binding the contract method 0x14c44e09.

Solidity: function registrationFee() constant returns(uint256)

func (*RegistryCallerSession) Token

func (_Registry *RegistryCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type RegistryConsumerChannelCreated

type RegistryConsumerChannelCreated struct {
	IdentityHash   common.Address
	AccountantId   common.Address
	ChannelAddress common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

RegistryConsumerChannelCreated represents a ConsumerChannelCreated event raised by the Registry contract.

type RegistryConsumerChannelCreatedIterator

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

RegistryConsumerChannelCreatedIterator is returned from FilterConsumerChannelCreated and is used to iterate over the raw logs and unpacked data for ConsumerChannelCreated events raised by the Registry contract.

func (*RegistryConsumerChannelCreatedIterator) Close

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

func (*RegistryConsumerChannelCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryConsumerChannelCreatedIterator) 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 RegistryDestinationChanged

type RegistryDestinationChanged struct {
	PreviousDestination common.Address
	NewDestination      common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

RegistryDestinationChanged represents a DestinationChanged event raised by the Registry contract.

type RegistryDestinationChangedIterator

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

RegistryDestinationChangedIterator is returned from FilterDestinationChanged and is used to iterate over the raw logs and unpacked data for DestinationChanged events raised by the Registry contract.

func (*RegistryDestinationChangedIterator) Close

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

func (*RegistryDestinationChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryDestinationChangedIterator) 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 RegistryFilterer

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

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

func NewRegistryFilterer

func NewRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistryFilterer, error)

NewRegistryFilterer creates a new log filterer instance of Registry, bound to a specific deployed contract.

func (*RegistryFilterer) FilterConsumerChannelCreated

func (_Registry *RegistryFilterer) FilterConsumerChannelCreated(opts *bind.FilterOpts, identityHash []common.Address, accountantId []common.Address) (*RegistryConsumerChannelCreatedIterator, error)

FilterConsumerChannelCreated is a free log retrieval operation binding the contract event 0x2ed7bcf2ff03098102c7003d7ce2a633e4b49b8198b07de5383cdf4c0ab9228b.

Solidity: event ConsumerChannelCreated(address indexed identityHash, address indexed accountantId, address channelAddress)

func (*RegistryFilterer) FilterDestinationChanged

func (_Registry *RegistryFilterer) FilterDestinationChanged(opts *bind.FilterOpts, previousDestination []common.Address, newDestination []common.Address) (*RegistryDestinationChangedIterator, error)

FilterDestinationChanged is a free log retrieval operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*RegistryFilterer) FilterOwnershipTransferred

func (_Registry *RegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RegistryOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RegistryFilterer) FilterRegisteredAccountant

func (_Registry *RegistryFilterer) FilterRegisteredAccountant(opts *bind.FilterOpts, accountantId []common.Address) (*RegistryRegisteredAccountantIterator, error)

FilterRegisteredAccountant is a free log retrieval operation binding the contract event 0xc9f77826eb4f5ea1c94b1b3ff214796f59d1c5f610af8a3ff52cd83e3eebf64e.

Solidity: event RegisteredAccountant(address indexed accountantId, address accountantOperator)

func (*RegistryFilterer) FilterRegisteredIdentity

func (_Registry *RegistryFilterer) FilterRegisteredIdentity(opts *bind.FilterOpts, identityHash []common.Address, accountantId []common.Address) (*RegistryRegisteredIdentityIterator, error)

FilterRegisteredIdentity is a free log retrieval operation binding the contract event 0xefaf768237c22e140a862d5d375ad5c153479fac3f8bcf8b580a1651fd62c3ef.

Solidity: event RegisteredIdentity(address indexed identityHash, address indexed accountantId)

func (*RegistryFilterer) ParseConsumerChannelCreated

func (_Registry *RegistryFilterer) ParseConsumerChannelCreated(log types.Log) (*RegistryConsumerChannelCreated, error)

ParseConsumerChannelCreated is a log parse operation binding the contract event 0x2ed7bcf2ff03098102c7003d7ce2a633e4b49b8198b07de5383cdf4c0ab9228b.

Solidity: event ConsumerChannelCreated(address indexed identityHash, address indexed accountantId, address channelAddress)

func (*RegistryFilterer) ParseDestinationChanged

func (_Registry *RegistryFilterer) ParseDestinationChanged(log types.Log) (*RegistryDestinationChanged, error)

ParseDestinationChanged is a log parse operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*RegistryFilterer) ParseOwnershipTransferred

func (_Registry *RegistryFilterer) ParseOwnershipTransferred(log types.Log) (*RegistryOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RegistryFilterer) ParseRegisteredAccountant

func (_Registry *RegistryFilterer) ParseRegisteredAccountant(log types.Log) (*RegistryRegisteredAccountant, error)

ParseRegisteredAccountant is a log parse operation binding the contract event 0xc9f77826eb4f5ea1c94b1b3ff214796f59d1c5f610af8a3ff52cd83e3eebf64e.

Solidity: event RegisteredAccountant(address indexed accountantId, address accountantOperator)

func (*RegistryFilterer) ParseRegisteredIdentity

func (_Registry *RegistryFilterer) ParseRegisteredIdentity(log types.Log) (*RegistryRegisteredIdentity, error)

ParseRegisteredIdentity is a log parse operation binding the contract event 0xefaf768237c22e140a862d5d375ad5c153479fac3f8bcf8b580a1651fd62c3ef.

Solidity: event RegisteredIdentity(address indexed identityHash, address indexed accountantId)

func (*RegistryFilterer) WatchConsumerChannelCreated

func (_Registry *RegistryFilterer) WatchConsumerChannelCreated(opts *bind.WatchOpts, sink chan<- *RegistryConsumerChannelCreated, identityHash []common.Address, accountantId []common.Address) (event.Subscription, error)

WatchConsumerChannelCreated is a free log subscription operation binding the contract event 0x2ed7bcf2ff03098102c7003d7ce2a633e4b49b8198b07de5383cdf4c0ab9228b.

Solidity: event ConsumerChannelCreated(address indexed identityHash, address indexed accountantId, address channelAddress)

func (*RegistryFilterer) WatchDestinationChanged

func (_Registry *RegistryFilterer) WatchDestinationChanged(opts *bind.WatchOpts, sink chan<- *RegistryDestinationChanged, previousDestination []common.Address, newDestination []common.Address) (event.Subscription, error)

WatchDestinationChanged is a free log subscription operation binding the contract event 0xe1a66d77649cf0a57b9937073549f30f1c82bb865aaf066d2f299e37a62c6aad.

Solidity: event DestinationChanged(address indexed previousDestination, address indexed newDestination)

func (*RegistryFilterer) WatchOwnershipTransferred

func (_Registry *RegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RegistryFilterer) WatchRegisteredAccountant

func (_Registry *RegistryFilterer) WatchRegisteredAccountant(opts *bind.WatchOpts, sink chan<- *RegistryRegisteredAccountant, accountantId []common.Address) (event.Subscription, error)

WatchRegisteredAccountant is a free log subscription operation binding the contract event 0xc9f77826eb4f5ea1c94b1b3ff214796f59d1c5f610af8a3ff52cd83e3eebf64e.

Solidity: event RegisteredAccountant(address indexed accountantId, address accountantOperator)

func (*RegistryFilterer) WatchRegisteredIdentity

func (_Registry *RegistryFilterer) WatchRegisteredIdentity(opts *bind.WatchOpts, sink chan<- *RegistryRegisteredIdentity, identityHash []common.Address, accountantId []common.Address) (event.Subscription, error)

WatchRegisteredIdentity is a free log subscription operation binding the contract event 0xefaf768237c22e140a862d5d375ad5c153479fac3f8bcf8b580a1651fd62c3ef.

Solidity: event RegisteredIdentity(address indexed identityHash, address indexed accountantId)

type RegistryOwnershipTransferred

type RegistryOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RegistryOwnershipTransferred represents a OwnershipTransferred event raised by the Registry contract.

type RegistryOwnershipTransferredIterator

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

RegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Registry contract.

func (*RegistryOwnershipTransferredIterator) Close

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

func (*RegistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryOwnershipTransferredIterator) 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 RegistryRaw

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

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

func (*RegistryRaw) Call

func (_Registry *RegistryRaw) 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 (*RegistryRaw) Transact

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

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

func (*RegistryRaw) Transfer

func (_Registry *RegistryRaw) 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 RegistryRegisteredAccountant

type RegistryRegisteredAccountant struct {
	AccountantId       common.Address
	AccountantOperator common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

RegistryRegisteredAccountant represents a RegisteredAccountant event raised by the Registry contract.

type RegistryRegisteredAccountantIterator

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

RegistryRegisteredAccountantIterator is returned from FilterRegisteredAccountant and is used to iterate over the raw logs and unpacked data for RegisteredAccountant events raised by the Registry contract.

func (*RegistryRegisteredAccountantIterator) Close

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

func (*RegistryRegisteredAccountantIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryRegisteredAccountantIterator) 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 RegistryRegisteredIdentity

type RegistryRegisteredIdentity struct {
	IdentityHash common.Address
	AccountantId common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

RegistryRegisteredIdentity represents a RegisteredIdentity event raised by the Registry contract.

type RegistryRegisteredIdentityIterator

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

RegistryRegisteredIdentityIterator is returned from FilterRegisteredIdentity and is used to iterate over the raw logs and unpacked data for RegisteredIdentity events raised by the Registry contract.

func (*RegistryRegisteredIdentityIterator) Close

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

func (*RegistryRegisteredIdentityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryRegisteredIdentityIterator) 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 RegistrySession

type RegistrySession struct {
	Contract     *Registry         // 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
}

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

func (*RegistrySession) AccountantImplementation

func (_Registry *RegistrySession) AccountantImplementation() (common.Address, error)

AccountantImplementation is a free data retrieval call binding the contract method 0x9a3ce274.

Solidity: function accountantImplementation() constant returns(address)

func (*RegistrySession) Accountants

func (_Registry *RegistrySession) Accountants(arg0 common.Address) (struct {
	Operator common.Address
	Stake    [24]byte
}, error)

Accountants is a free data retrieval call binding the contract method 0xf707fb4a.

Solidity: function accountants(address ) constant returns(address operator, function stake)

func (*RegistrySession) ChangeRegistrationFee

func (_Registry *RegistrySession) ChangeRegistrationFee(_newFee *big.Int) (*types.Transaction, error)

ChangeRegistrationFee is a paid mutator transaction binding the contract method 0x50050769.

Solidity: function changeRegistrationFee(uint256 _newFee) returns()

func (*RegistrySession) ClaimEthers

func (_Registry *RegistrySession) ClaimEthers() (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*RegistrySession) ClaimTokens

func (_Registry *RegistrySession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*RegistrySession) Dex

func (_Registry *RegistrySession) Dex() (common.Address, error)

Dex is a free data retrieval call binding the contract method 0x692058c2.

Solidity: function dex() constant returns(address)

func (*RegistrySession) GetAccountantAddress

func (_Registry *RegistrySession) GetAccountantAddress(_accountantOperator common.Address) (common.Address, error)

GetAccountantAddress is a free data retrieval call binding the contract method 0xf595cfd2.

Solidity: function getAccountantAddress(address _accountantOperator) constant returns(address)

func (*RegistrySession) GetChannelAddress

func (_Registry *RegistrySession) GetChannelAddress(_identityHash common.Address, _accountantId common.Address) (common.Address, error)

GetChannelAddress is a free data retrieval call binding the contract method 0xe617aaac.

Solidity: function getChannelAddress(address _identityHash, address _accountantId) constant returns(address)

func (*RegistrySession) GetFundsDestination

func (_Registry *RegistrySession) GetFundsDestination() (common.Address, error)

GetFundsDestination is a free data retrieval call binding the contract method 0xf58c5b6e.

Solidity: function getFundsDestination() constant returns(address)

func (*RegistrySession) GetProxyCode

func (_Registry *RegistrySession) GetProxyCode(_implementation common.Address) ([]byte, error)

GetProxyCode is a free data retrieval call binding the contract method 0xab867213.

Solidity: function getProxyCode(address _implementation) constant returns(bytes)

func (*RegistrySession) IsAccountant

func (_Registry *RegistrySession) IsAccountant(_accountantId common.Address) (bool, error)

IsAccountant is a free data retrieval call binding the contract method 0x2a33ddbd.

Solidity: function isAccountant(address _accountantId) constant returns(bool)

func (*RegistrySession) IsOwner

func (_Registry *RegistrySession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*RegistrySession) IsRegistered

func (_Registry *RegistrySession) IsRegistered(_identityHash common.Address) (bool, error)

IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.

Solidity: function isRegistered(address _identityHash) constant returns(bool)

func (*RegistrySession) MinimalAccountantStake

func (_Registry *RegistrySession) MinimalAccountantStake() (*big.Int, error)

MinimalAccountantStake is a free data retrieval call binding the contract method 0x824b09d6.

Solidity: function minimalAccountantStake() constant returns(uint256)

func (*RegistrySession) Owner

func (_Registry *RegistrySession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RegistrySession) RegisterAccountant

func (_Registry *RegistrySession) RegisterAccountant(_accountantOperator common.Address, _stakeAmount *big.Int, _accountantFee uint16, _maxLoan *big.Int) (*types.Transaction, error)

RegisterAccountant is a paid mutator transaction binding the contract method 0x28a2276c.

Solidity: function registerAccountant(address _accountantOperator, uint256 _stakeAmount, uint16 _accountantFee, uint256 _maxLoan) returns()

func (*RegistrySession) RegisterIdentity

func (_Registry *RegistrySession) RegisterIdentity(_accountantId common.Address, _loanAmount *big.Int, _transactorFee *big.Int, _beneficiary common.Address, _signature []byte) (*types.Transaction, error)

RegisterIdentity is a paid mutator transaction binding the contract method 0xcf10c969.

Solidity: function registerIdentity(address _accountantId, uint256 _loanAmount, uint256 _transactorFee, address _beneficiary, bytes _signature) returns()

func (*RegistrySession) RegistrationFee

func (_Registry *RegistrySession) RegistrationFee() (*big.Int, error)

RegistrationFee is a free data retrieval call binding the contract method 0x14c44e09.

Solidity: function registrationFee() constant returns(uint256)

func (*RegistrySession) RenounceOwnership

func (_Registry *RegistrySession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*RegistrySession) SetFundsDestination

func (_Registry *RegistrySession) SetFundsDestination(_newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*RegistrySession) Token

func (_Registry *RegistrySession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*RegistrySession) TransferCollectedFeeTo

func (_Registry *RegistrySession) TransferCollectedFeeTo(_beneficiary common.Address) (*types.Transaction, error)

TransferCollectedFeeTo is a paid mutator transaction binding the contract method 0xe3252537.

Solidity: function transferCollectedFeeTo(address _beneficiary) returns()

func (*RegistrySession) TransferOwnership

func (_Registry *RegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type RegistryTransactor

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

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

func NewRegistryTransactor

func NewRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistryTransactor, error)

NewRegistryTransactor creates a new write-only instance of Registry, bound to a specific deployed contract.

func (*RegistryTransactor) ChangeRegistrationFee

func (_Registry *RegistryTransactor) ChangeRegistrationFee(opts *bind.TransactOpts, _newFee *big.Int) (*types.Transaction, error)

ChangeRegistrationFee is a paid mutator transaction binding the contract method 0x50050769.

Solidity: function changeRegistrationFee(uint256 _newFee) returns()

func (*RegistryTransactor) ClaimEthers

func (_Registry *RegistryTransactor) ClaimEthers(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*RegistryTransactor) ClaimTokens

func (_Registry *RegistryTransactor) ClaimTokens(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*RegistryTransactor) RegisterAccountant

func (_Registry *RegistryTransactor) RegisterAccountant(opts *bind.TransactOpts, _accountantOperator common.Address, _stakeAmount *big.Int, _accountantFee uint16, _maxLoan *big.Int) (*types.Transaction, error)

RegisterAccountant is a paid mutator transaction binding the contract method 0x28a2276c.

Solidity: function registerAccountant(address _accountantOperator, uint256 _stakeAmount, uint16 _accountantFee, uint256 _maxLoan) returns()

func (*RegistryTransactor) RegisterIdentity

func (_Registry *RegistryTransactor) RegisterIdentity(opts *bind.TransactOpts, _accountantId common.Address, _loanAmount *big.Int, _transactorFee *big.Int, _beneficiary common.Address, _signature []byte) (*types.Transaction, error)

RegisterIdentity is a paid mutator transaction binding the contract method 0xcf10c969.

Solidity: function registerIdentity(address _accountantId, uint256 _loanAmount, uint256 _transactorFee, address _beneficiary, bytes _signature) returns()

func (*RegistryTransactor) RenounceOwnership

func (_Registry *RegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*RegistryTransactor) SetFundsDestination

func (_Registry *RegistryTransactor) SetFundsDestination(opts *bind.TransactOpts, _newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*RegistryTransactor) TransferCollectedFeeTo

func (_Registry *RegistryTransactor) TransferCollectedFeeTo(opts *bind.TransactOpts, _beneficiary common.Address) (*types.Transaction, error)

TransferCollectedFeeTo is a paid mutator transaction binding the contract method 0xe3252537.

Solidity: function transferCollectedFeeTo(address _beneficiary) returns()

func (*RegistryTransactor) TransferOwnership

func (_Registry *RegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type RegistryTransactorRaw

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

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

func (*RegistryTransactorRaw) Transact

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

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

func (*RegistryTransactorRaw) Transfer

func (_Registry *RegistryTransactorRaw) 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 RegistryTransactorSession

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

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

func (*RegistryTransactorSession) ChangeRegistrationFee

func (_Registry *RegistryTransactorSession) ChangeRegistrationFee(_newFee *big.Int) (*types.Transaction, error)

ChangeRegistrationFee is a paid mutator transaction binding the contract method 0x50050769.

Solidity: function changeRegistrationFee(uint256 _newFee) returns()

func (*RegistryTransactorSession) ClaimEthers

func (_Registry *RegistryTransactorSession) ClaimEthers() (*types.Transaction, error)

ClaimEthers is a paid mutator transaction binding the contract method 0x6931b550.

Solidity: function claimEthers() returns()

func (*RegistryTransactorSession) ClaimTokens

func (_Registry *RegistryTransactorSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*RegistryTransactorSession) RegisterAccountant

func (_Registry *RegistryTransactorSession) RegisterAccountant(_accountantOperator common.Address, _stakeAmount *big.Int, _accountantFee uint16, _maxLoan *big.Int) (*types.Transaction, error)

RegisterAccountant is a paid mutator transaction binding the contract method 0x28a2276c.

Solidity: function registerAccountant(address _accountantOperator, uint256 _stakeAmount, uint16 _accountantFee, uint256 _maxLoan) returns()

func (*RegistryTransactorSession) RegisterIdentity

func (_Registry *RegistryTransactorSession) RegisterIdentity(_accountantId common.Address, _loanAmount *big.Int, _transactorFee *big.Int, _beneficiary common.Address, _signature []byte) (*types.Transaction, error)

RegisterIdentity is a paid mutator transaction binding the contract method 0xcf10c969.

Solidity: function registerIdentity(address _accountantId, uint256 _loanAmount, uint256 _transactorFee, address _beneficiary, bytes _signature) returns()

func (*RegistryTransactorSession) RenounceOwnership

func (_Registry *RegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*RegistryTransactorSession) SetFundsDestination

func (_Registry *RegistryTransactorSession) SetFundsDestination(_newDestination common.Address) (*types.Transaction, error)

SetFundsDestination is a paid mutator transaction binding the contract method 0x238e130a.

Solidity: function setFundsDestination(address _newDestination) returns()

func (*RegistryTransactorSession) TransferCollectedFeeTo

func (_Registry *RegistryTransactorSession) TransferCollectedFeeTo(_beneficiary common.Address) (*types.Transaction, error)

TransferCollectedFeeTo is a paid mutator transaction binding the contract method 0xe3252537.

Solidity: function transferCollectedFeeTo(address _beneficiary) returns()

func (*RegistryTransactorSession) TransferOwnership

func (_Registry *RegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type SafeMathLib

type SafeMathLib struct {
	SafeMathLibCaller     // Read-only binding to the contract
	SafeMathLibTransactor // Write-only binding to the contract
	SafeMathLibFilterer   // Log filterer for contract events
}

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

func DeploySafeMathLib

func DeploySafeMathLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMathLib, error)

DeploySafeMathLib deploys a new Ethereum contract, binding an instance of SafeMathLib to it.

func NewSafeMathLib

func NewSafeMathLib(address common.Address, backend bind.ContractBackend) (*SafeMathLib, error)

NewSafeMathLib creates a new instance of SafeMathLib, bound to a specific deployed contract.

type SafeMathLibCaller

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

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

func NewSafeMathLibCaller

func NewSafeMathLibCaller(address common.Address, caller bind.ContractCaller) (*SafeMathLibCaller, error)

NewSafeMathLibCaller creates a new read-only instance of SafeMathLib, bound to a specific deployed contract.

func (*SafeMathLibCaller) Minus

func (_SafeMathLib *SafeMathLibCaller) Minus(opts *bind.CallOpts, a *big.Int, b *big.Int) (*big.Int, error)

Minus is a free data retrieval call binding the contract method 0xf4f3bdc1.

Solidity: function minus(uint256 a, uint256 b) constant returns(uint256)

func (*SafeMathLibCaller) Plus

func (_SafeMathLib *SafeMathLibCaller) Plus(opts *bind.CallOpts, a *big.Int, b *big.Int) (*big.Int, error)

Plus is a free data retrieval call binding the contract method 0x66098d4f.

Solidity: function plus(uint256 a, uint256 b) constant returns(uint256)

func (*SafeMathLibCaller) Times

func (_SafeMathLib *SafeMathLibCaller) Times(opts *bind.CallOpts, a *big.Int, b *big.Int) (*big.Int, error)

Times is a free data retrieval call binding the contract method 0x1d3b9edf.

Solidity: function times(uint256 a, uint256 b) constant returns(uint256)

type SafeMathLibCallerRaw

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

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

func (*SafeMathLibCallerRaw) Call

func (_SafeMathLib *SafeMathLibCallerRaw) 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 SafeMathLibCallerSession

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

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

func (*SafeMathLibCallerSession) Minus

func (_SafeMathLib *SafeMathLibCallerSession) Minus(a *big.Int, b *big.Int) (*big.Int, error)

Minus is a free data retrieval call binding the contract method 0xf4f3bdc1.

Solidity: function minus(uint256 a, uint256 b) constant returns(uint256)

func (*SafeMathLibCallerSession) Plus

func (_SafeMathLib *SafeMathLibCallerSession) Plus(a *big.Int, b *big.Int) (*big.Int, error)

Plus is a free data retrieval call binding the contract method 0x66098d4f.

Solidity: function plus(uint256 a, uint256 b) constant returns(uint256)

func (*SafeMathLibCallerSession) Times

func (_SafeMathLib *SafeMathLibCallerSession) Times(a *big.Int, b *big.Int) (*big.Int, error)

Times is a free data retrieval call binding the contract method 0x1d3b9edf.

Solidity: function times(uint256 a, uint256 b) constant returns(uint256)

type SafeMathLibFilterer

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

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

func NewSafeMathLibFilterer

func NewSafeMathLibFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathLibFilterer, error)

NewSafeMathLibFilterer creates a new log filterer instance of SafeMathLib, bound to a specific deployed contract.

type SafeMathLibRaw

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

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

func (*SafeMathLibRaw) Call

func (_SafeMathLib *SafeMathLibRaw) 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 (*SafeMathLibRaw) Transact

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

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

func (*SafeMathLibRaw) Transfer

func (_SafeMathLib *SafeMathLibRaw) 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 SafeMathLibSession

type SafeMathLibSession struct {
	Contract     *SafeMathLib      // 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
}

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

func (*SafeMathLibSession) Minus

func (_SafeMathLib *SafeMathLibSession) Minus(a *big.Int, b *big.Int) (*big.Int, error)

Minus is a free data retrieval call binding the contract method 0xf4f3bdc1.

Solidity: function minus(uint256 a, uint256 b) constant returns(uint256)

func (*SafeMathLibSession) Plus

func (_SafeMathLib *SafeMathLibSession) Plus(a *big.Int, b *big.Int) (*big.Int, error)

Plus is a free data retrieval call binding the contract method 0x66098d4f.

Solidity: function plus(uint256 a, uint256 b) constant returns(uint256)

func (*SafeMathLibSession) Times

func (_SafeMathLib *SafeMathLibSession) Times(a *big.Int, b *big.Int) (*big.Int, error)

Times is a free data retrieval call binding the contract method 0x1d3b9edf.

Solidity: function times(uint256 a, uint256 b) constant returns(uint256)

type SafeMathLibTransactor

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

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

func NewSafeMathLibTransactor

func NewSafeMathLibTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathLibTransactor, error)

NewSafeMathLibTransactor creates a new write-only instance of SafeMathLib, bound to a specific deployed contract.

type SafeMathLibTransactorRaw

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

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

func (*SafeMathLibTransactorRaw) Transact

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

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

func (*SafeMathLibTransactorRaw) Transfer

func (_SafeMathLib *SafeMathLibTransactorRaw) 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 SafeMathLibTransactorSession

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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