contract

package module
v0.0.0-...-8c703a9 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2018 License: MIT Imports: 8 Imported by: 0

README

Cryptofiat monetary system

The blockchain tokens issued in the contract are to be backed by an equal amount of fiat currency, held by a traditional depository institution - e.g. a central bank. See the Reserve Bank role.

Only externally approved ethereum accounts are able to transfer tokens in the scheme. The accounts are to be approved for real world individuals, groups or businesses, who have passed sufficient identity verfication as required by the law enforcement and legistlation in the Reserve Bank's jurisdiction. The accounts on blockchain remain publicly anonymous, while the law enforcement will have a private mapping between the public crypto accounts and the real world identities. See the Account Approver role.

As all transactions on ethereum always require "gas" cost to be paid by the sender in the ETH currency, the delegatedTransfer() allows a transfer signed by the account holder to be passed to a middleman, e.g. wallet-server, which charges a transaction fee in the cryptofiat token currency and in turn provides the ether required to cover the gas cost when submitting the transfer to the ethereum contract.

Some account holders will expect a way to recover money on their account if they lose the keys to it or forget encryption passwords. For this purporse, each accountholder can appoint an other account or contract with an ability to copy the tokens from his account to the next. It could be a group of friends in an m-of-n multisignature contract, or it may be an automated government agency service based on ID.

To preserve the public anonymity of the account holders, the transfers are submitted to the blockchain without any references, sender or receiver names. Instead the user applications are expected to submit the accompanying metadata to a dedicated server, encrypted with the public keys of the recipient address.

Estonia EUR Implementation

  • CryptoFiat contract (src) - works functionally, backed by real EUR on reserve account
  • account-identity id.euro2.ee:8080 - approves accounts based on Estonia mobile-ID test certs
  • wallet-server wallet.euro2.ee:8080 - reference implementation of server side wallet, which delegates requests to blockchain
  • wallet-client wallet.euro2.ee - reference implementation of client side wallet, which stores keys, signs transactions
  • transfer-info wallet.euro2.ee:8000/ - for storing payment references, sender name, etc
  • parity node :8545 - provides a JSON RPC to ethereum for wallet-server and account-identity

alt visual

How to use it

  1. Generate a new account in wallet-client
  2. Get the account approved with account-identity using m-ID
  3. Other people with positive EUR balances can now send your account EUR
  4. Use wallet-server to send EUR to other approved accounts
  5. If you have enough ETH on the account to pay for gas, you can transfer EUR directly from any ethereum client
  6. Use the Reserve Bank to convert your EUR on ethereum back to traditional bank-EUR

Contracts

The CryptoFiat contract system is separated into multiple contracts based on different use cases.

CryptoFiat is the main contract that holds the lookup table and makes it possible to upgrade rest of the contracts. It also contains a contracts list for finding all contracts that are or have been used -- it can be used to filter for events.

  1. Data contract provides general purpose set and get for other contracts. All other contracts save most of the date in this contract. It needs to be a separate contract so that we don't need to migrate data from the previous contract.
  2. Accounts contract provides facilities for querying the account status via statusOf (and for convenience isApproved, isClosed, isFrozen) and balance via balanceOf. It can be used to make transfers with transfer.
  3. Approving contract allows Account Approver to approve new accounts.
  4. Reserve contract allows Reserve Bank to increase or decrease supply.
  5. Enforcement contract allows Law Enforcement to force withdraw from accounts, it also allows to freeze/unfreeze accounts. It also contains a reference to the Enforcement Account.
  6. Account Recovery contract allows to specify a recovery account that can be used to recover all balance from your account.
  7. Delegation contract allows making transactions via a third-party committer. Useful for new users who do not have Ether on their account to make ethereum transactions.

Appointed roles

For all practical purposes, some functionality of the monetary system relies on real world roles.

Reserve Bank

This institution is expected to hold the real world reserve backing the token currency and act as a final exchange. They should always be able to pay out real world currency in exchange to the tokens. The contract functions are used to reflect the change in ethereum if real world reserve is either increased or decresed. The role has an override to change other role appointments to recover accounts when keys are lost.

Account Approver

A real world institution or an automated service maintained by this institution, which whitelists accounts in the scheme. The Estonian implementation verifies a digital ID card signature. See the documentation.

Law Enforcement

Police, courts and possibly other government enforcement agencies need to have the ability to freeze accounts and seize funds. The appointed role is likely a multisignature contract, which can be used to protect against corrupted real world actors.

Enforcement Account Designator

This role can set the destination of where the appointed law enforcers can seize tokens to. The rationale is to avoid law enforces have access to the funds captured. The real world equivalent would be the court's bank account.

Recovery Account

Is set individually by an account holder and may be any account - either a group of friends, a trusted accountholder, a government agency or any 3rd party.

Building contract locally

Documentation

Index

Constants

View Source
const AccountRecoveryABI = "" /* 2216-byte string literal not displayed */

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

View Source
const AccountRecoveryBin = `` /* 6262-byte string literal not displayed */

AccountRecoveryBin is the compiled bytecode used for deploying new contracts.

View Source
const AccountsABI = "" /* 3088-byte string literal not displayed */

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

View Source
const AccountsBin = `` /* 5486-byte string literal not displayed */

AccountsBin is the compiled bytecode used for deploying new contracts.

View Source
const ApprovingABI = "" /* 2795-byte string literal not displayed */

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

View Source
const ApprovingBin = `` /* 5004-byte string literal not displayed */

ApprovingBin is the compiled bytecode used for deploying new contracts.

View Source
const CryptoFiatABI = "" /* 2010-byte string literal not displayed */

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

View Source
const CryptoFiatBin = `` /* 2920-byte string literal not displayed */

CryptoFiatBin is the compiled bytecode used for deploying new contracts.

View Source
const DataABI = "" /* 839-byte string literal not displayed */

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

View Source
const DataBin = `` /* 1970-byte string literal not displayed */

DataBin is the compiled bytecode used for deploying new contracts.

View Source
const DelegationABI = "" /* 2676-byte string literal not displayed */

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

View Source
const DelegationBin = `` /* 9704-byte string literal not displayed */

DelegationBin is the compiled bytecode used for deploying new contracts.

View Source
const EnforcementABI = "" /* 3697-byte string literal not displayed */

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

View Source
const EnforcementBin = `` /* 7432-byte string literal not displayed */

EnforcementBin is the compiled bytecode used for deploying new contracts.

View Source
const ReserveABI = "" /* 2762-byte string literal not displayed */

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

View Source
const ReserveBin = `` /* 6822-byte string literal not displayed */

ReserveBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountRecovery

type AccountRecovery struct {
	AccountRecoveryCaller     // Read-only binding to the contract
	AccountRecoveryTransactor // Write-only binding to the contract
	AccountRecoveryFilterer   // Log filterer for contract events
}

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

func DeployAccountRecovery

func DeployAccountRecovery(auth *bind.TransactOpts, backend bind.ContractBackend, _cryptoFiat common.Address) (common.Address, *types.Transaction, *AccountRecovery, error)

DeployAccountRecovery deploys a new Ethereum contract, binding an instance of AccountRecovery to it.

func NewAccountRecovery

func NewAccountRecovery(address common.Address, backend bind.ContractBackend) (*AccountRecovery, error)

NewAccountRecovery creates a new instance of AccountRecovery, bound to a specific deployed contract.

type AccountRecoveryAccountApproved

type AccountRecoveryAccountApproved struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

AccountRecoveryAccountApproved represents a AccountApproved event raised by the AccountRecovery contract.

type AccountRecoveryAccountApprovedIterator

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

AccountRecoveryAccountApprovedIterator is returned from FilterAccountApproved and is used to iterate over the raw logs and unpacked data for AccountApproved events raised by the AccountRecovery contract.

func (*AccountRecoveryAccountApprovedIterator) Close

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

func (*AccountRecoveryAccountApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountRecoveryAccountApprovedIterator) 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 AccountRecoveryAccountClosed

type AccountRecoveryAccountClosed struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

AccountRecoveryAccountClosed represents a AccountClosed event raised by the AccountRecovery contract.

type AccountRecoveryAccountClosedIterator

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

AccountRecoveryAccountClosedIterator is returned from FilterAccountClosed and is used to iterate over the raw logs and unpacked data for AccountClosed events raised by the AccountRecovery contract.

func (*AccountRecoveryAccountClosedIterator) Close

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

func (*AccountRecoveryAccountClosedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountRecoveryAccountClosedIterator) 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 AccountRecoveryAccountFreeze

type AccountRecoveryAccountFreeze struct {
	Source common.Address
	Frozen bool
	Raw    types.Log // Blockchain specific contextual infos
}

AccountRecoveryAccountFreeze represents a AccountFreeze event raised by the AccountRecovery contract.

type AccountRecoveryAccountFreezeIterator

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

AccountRecoveryAccountFreezeIterator is returned from FilterAccountFreeze and is used to iterate over the raw logs and unpacked data for AccountFreeze events raised by the AccountRecovery contract.

func (*AccountRecoveryAccountFreezeIterator) Close

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

func (*AccountRecoveryAccountFreezeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountRecoveryAccountFreezeIterator) 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 AccountRecoveryCaller

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

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

func NewAccountRecoveryCaller

func NewAccountRecoveryCaller(address common.Address, caller bind.ContractCaller) (*AccountRecoveryCaller, error)

NewAccountRecoveryCaller creates a new read-only instance of AccountRecovery, bound to a specific deployed contract.

func (*AccountRecoveryCaller) CryptoFiat

func (_AccountRecovery *AccountRecoveryCaller) CryptoFiat(opts *bind.CallOpts) (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*AccountRecoveryCaller) Data

func (_AccountRecovery *AccountRecoveryCaller) Data(opts *bind.CallOpts) (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

type AccountRecoveryCallerRaw

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

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

func (*AccountRecoveryCallerRaw) Call

func (_AccountRecovery *AccountRecoveryCallerRaw) 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 AccountRecoveryCallerSession

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

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

func (*AccountRecoveryCallerSession) CryptoFiat

func (_AccountRecovery *AccountRecoveryCallerSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*AccountRecoveryCallerSession) Data

func (_AccountRecovery *AccountRecoveryCallerSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

type AccountRecoveryFilterer

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

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

func NewAccountRecoveryFilterer

func NewAccountRecoveryFilterer(address common.Address, filterer bind.ContractFilterer) (*AccountRecoveryFilterer, error)

NewAccountRecoveryFilterer creates a new log filterer instance of AccountRecovery, bound to a specific deployed contract.

func (*AccountRecoveryFilterer) FilterAccountApproved

func (_AccountRecovery *AccountRecoveryFilterer) FilterAccountApproved(opts *bind.FilterOpts, source []common.Address) (*AccountRecoveryAccountApprovedIterator, error)

FilterAccountApproved is a free log retrieval operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*AccountRecoveryFilterer) FilterAccountClosed

func (_AccountRecovery *AccountRecoveryFilterer) FilterAccountClosed(opts *bind.FilterOpts, source []common.Address) (*AccountRecoveryAccountClosedIterator, error)

FilterAccountClosed is a free log retrieval operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*AccountRecoveryFilterer) FilterAccountFreeze

func (_AccountRecovery *AccountRecoveryFilterer) FilterAccountFreeze(opts *bind.FilterOpts, source []common.Address) (*AccountRecoveryAccountFreezeIterator, error)

FilterAccountFreeze is a free log retrieval operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*AccountRecoveryFilterer) FilterSupplyChanged

func (_AccountRecovery *AccountRecoveryFilterer) FilterSupplyChanged(opts *bind.FilterOpts) (*AccountRecoverySupplyChangedIterator, error)

FilterSupplyChanged is a free log retrieval operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*AccountRecoveryFilterer) FilterTransfer

func (_AccountRecovery *AccountRecoveryFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, destination []common.Address) (*AccountRecoveryTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

func (*AccountRecoveryFilterer) WatchAccountApproved

func (_AccountRecovery *AccountRecoveryFilterer) WatchAccountApproved(opts *bind.WatchOpts, sink chan<- *AccountRecoveryAccountApproved, source []common.Address) (event.Subscription, error)

WatchAccountApproved is a free log subscription operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*AccountRecoveryFilterer) WatchAccountClosed

func (_AccountRecovery *AccountRecoveryFilterer) WatchAccountClosed(opts *bind.WatchOpts, sink chan<- *AccountRecoveryAccountClosed, source []common.Address) (event.Subscription, error)

WatchAccountClosed is a free log subscription operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*AccountRecoveryFilterer) WatchAccountFreeze

func (_AccountRecovery *AccountRecoveryFilterer) WatchAccountFreeze(opts *bind.WatchOpts, sink chan<- *AccountRecoveryAccountFreeze, source []common.Address) (event.Subscription, error)

WatchAccountFreeze is a free log subscription operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*AccountRecoveryFilterer) WatchSupplyChanged

func (_AccountRecovery *AccountRecoveryFilterer) WatchSupplyChanged(opts *bind.WatchOpts, sink chan<- *AccountRecoverySupplyChanged) (event.Subscription, error)

WatchSupplyChanged is a free log subscription operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*AccountRecoveryFilterer) WatchTransfer

func (_AccountRecovery *AccountRecoveryFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AccountRecoveryTransfer, source []common.Address, destination []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

type AccountRecoveryRaw

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

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

func (*AccountRecoveryRaw) Call

func (_AccountRecovery *AccountRecoveryRaw) 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 (*AccountRecoveryRaw) Transact

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

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

func (*AccountRecoveryRaw) Transfer

func (_AccountRecovery *AccountRecoveryRaw) 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 AccountRecoverySession

type AccountRecoverySession struct {
	Contract     *AccountRecovery  // 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
}

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

func (*AccountRecoverySession) CryptoFiat

func (_AccountRecovery *AccountRecoverySession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*AccountRecoverySession) Data

func (_AccountRecovery *AccountRecoverySession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*AccountRecoverySession) DesignateRecoveryAccount

func (_AccountRecovery *AccountRecoverySession) DesignateRecoveryAccount(recoveryAccount common.Address) (*types.Transaction, error)

DesignateRecoveryAccount is a paid mutator transaction binding the contract method 0xf1375f38.

Solidity: function designateRecoveryAccount(recoveryAccount address) returns()

func (*AccountRecoverySession) RecoverBalance

func (_AccountRecovery *AccountRecoverySession) RecoverBalance(from common.Address, into common.Address) (*types.Transaction, error)

RecoverBalance is a paid mutator transaction binding the contract method 0x2d1c5ff8.

Solidity: function recoverBalance(from address, into address) returns()

func (*AccountRecoverySession) SwitchCryptoFiat

func (_AccountRecovery *AccountRecoverySession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*AccountRecoverySession) SwitchData

func (_AccountRecovery *AccountRecoverySession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

type AccountRecoverySupplyChanged

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

AccountRecoverySupplyChanged represents a SupplyChanged event raised by the AccountRecovery contract.

type AccountRecoverySupplyChangedIterator

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

AccountRecoverySupplyChangedIterator is returned from FilterSupplyChanged and is used to iterate over the raw logs and unpacked data for SupplyChanged events raised by the AccountRecovery contract.

func (*AccountRecoverySupplyChangedIterator) Close

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

func (*AccountRecoverySupplyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountRecoverySupplyChangedIterator) 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 AccountRecoveryTransactor

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

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

func NewAccountRecoveryTransactor

func NewAccountRecoveryTransactor(address common.Address, transactor bind.ContractTransactor) (*AccountRecoveryTransactor, error)

NewAccountRecoveryTransactor creates a new write-only instance of AccountRecovery, bound to a specific deployed contract.

func (*AccountRecoveryTransactor) DesignateRecoveryAccount

func (_AccountRecovery *AccountRecoveryTransactor) DesignateRecoveryAccount(opts *bind.TransactOpts, recoveryAccount common.Address) (*types.Transaction, error)

DesignateRecoveryAccount is a paid mutator transaction binding the contract method 0xf1375f38.

Solidity: function designateRecoveryAccount(recoveryAccount address) returns()

func (*AccountRecoveryTransactor) RecoverBalance

func (_AccountRecovery *AccountRecoveryTransactor) RecoverBalance(opts *bind.TransactOpts, from common.Address, into common.Address) (*types.Transaction, error)

RecoverBalance is a paid mutator transaction binding the contract method 0x2d1c5ff8.

Solidity: function recoverBalance(from address, into address) returns()

func (*AccountRecoveryTransactor) SwitchCryptoFiat

func (_AccountRecovery *AccountRecoveryTransactor) SwitchCryptoFiat(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*AccountRecoveryTransactor) SwitchData

func (_AccountRecovery *AccountRecoveryTransactor) SwitchData(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

type AccountRecoveryTransactorRaw

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

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

func (*AccountRecoveryTransactorRaw) Transact

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

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

func (*AccountRecoveryTransactorRaw) Transfer

func (_AccountRecovery *AccountRecoveryTransactorRaw) 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 AccountRecoveryTransactorSession

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

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

func (*AccountRecoveryTransactorSession) DesignateRecoveryAccount

func (_AccountRecovery *AccountRecoveryTransactorSession) DesignateRecoveryAccount(recoveryAccount common.Address) (*types.Transaction, error)

DesignateRecoveryAccount is a paid mutator transaction binding the contract method 0xf1375f38.

Solidity: function designateRecoveryAccount(recoveryAccount address) returns()

func (*AccountRecoveryTransactorSession) RecoverBalance

func (_AccountRecovery *AccountRecoveryTransactorSession) RecoverBalance(from common.Address, into common.Address) (*types.Transaction, error)

RecoverBalance is a paid mutator transaction binding the contract method 0x2d1c5ff8.

Solidity: function recoverBalance(from address, into address) returns()

func (*AccountRecoveryTransactorSession) SwitchCryptoFiat

func (_AccountRecovery *AccountRecoveryTransactorSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*AccountRecoveryTransactorSession) SwitchData

func (_AccountRecovery *AccountRecoveryTransactorSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

type AccountRecoveryTransfer

type AccountRecoveryTransfer struct {
	Source      common.Address
	Destination common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

AccountRecoveryTransfer represents a Transfer event raised by the AccountRecovery contract.

type AccountRecoveryTransferIterator

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

AccountRecoveryTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the AccountRecovery contract.

func (*AccountRecoveryTransferIterator) Close

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

func (*AccountRecoveryTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountRecoveryTransferIterator) 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 Accounts

type Accounts struct {
	AccountsCaller     // Read-only binding to the contract
	AccountsTransactor // Write-only binding to the contract
	AccountsFilterer   // Log filterer for contract events
}

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

func DeployAccounts

func DeployAccounts(auth *bind.TransactOpts, backend bind.ContractBackend, _cryptoFiat common.Address) (common.Address, *types.Transaction, *Accounts, error)

DeployAccounts deploys a new Ethereum contract, binding an instance of Accounts to it.

func NewAccounts

func NewAccounts(address common.Address, backend bind.ContractBackend) (*Accounts, error)

NewAccounts creates a new instance of Accounts, bound to a specific deployed contract.

type AccountsAccountApproved

type AccountsAccountApproved struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

AccountsAccountApproved represents a AccountApproved event raised by the Accounts contract.

type AccountsAccountApprovedIterator

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

AccountsAccountApprovedIterator is returned from FilterAccountApproved and is used to iterate over the raw logs and unpacked data for AccountApproved events raised by the Accounts contract.

func (*AccountsAccountApprovedIterator) Close

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

func (*AccountsAccountApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountsAccountApprovedIterator) 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 AccountsAccountClosed

type AccountsAccountClosed struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

AccountsAccountClosed represents a AccountClosed event raised by the Accounts contract.

type AccountsAccountClosedIterator

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

AccountsAccountClosedIterator is returned from FilterAccountClosed and is used to iterate over the raw logs and unpacked data for AccountClosed events raised by the Accounts contract.

func (*AccountsAccountClosedIterator) Close

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

func (*AccountsAccountClosedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountsAccountClosedIterator) 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 AccountsAccountFreeze

type AccountsAccountFreeze struct {
	Source common.Address
	Frozen bool
	Raw    types.Log // Blockchain specific contextual infos
}

AccountsAccountFreeze represents a AccountFreeze event raised by the Accounts contract.

type AccountsAccountFreezeIterator

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

AccountsAccountFreezeIterator is returned from FilterAccountFreeze and is used to iterate over the raw logs and unpacked data for AccountFreeze events raised by the Accounts contract.

func (*AccountsAccountFreezeIterator) Close

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

func (*AccountsAccountFreezeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountsAccountFreezeIterator) 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 AccountsCaller

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

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

func NewAccountsCaller

func NewAccountsCaller(address common.Address, caller bind.ContractCaller) (*AccountsCaller, error)

NewAccountsCaller creates a new read-only instance of Accounts, bound to a specific deployed contract.

func (*AccountsCaller) BalanceOf

func (_Accounts *AccountsCaller) BalanceOf(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(addr address) constant returns(uint256)

func (*AccountsCaller) CryptoFiat

func (_Accounts *AccountsCaller) CryptoFiat(opts *bind.CallOpts) (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*AccountsCaller) Data

func (_Accounts *AccountsCaller) Data(opts *bind.CallOpts) (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*AccountsCaller) IsApproved

func (_Accounts *AccountsCaller) IsApproved(opts *bind.CallOpts, account common.Address) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x673448dd.

Solidity: function isApproved(account address) constant returns(bool)

func (*AccountsCaller) IsClosed

func (_Accounts *AccountsCaller) IsClosed(opts *bind.CallOpts, account common.Address) (bool, error)

IsClosed is a free data retrieval call binding the contract method 0x6943b017.

Solidity: function isClosed(account address) constant returns(bool)

func (*AccountsCaller) IsFrozen

func (_Accounts *AccountsCaller) IsFrozen(opts *bind.CallOpts, account common.Address) (bool, error)

IsFrozen is a free data retrieval call binding the contract method 0xe5839836.

Solidity: function isFrozen(account address) constant returns(bool)

func (*AccountsCaller) StatusOf

func (_Accounts *AccountsCaller) StatusOf(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

StatusOf is a free data retrieval call binding the contract method 0x97a5d5b5.

Solidity: function statusOf(addr address) constant returns(uint256)

type AccountsCallerRaw

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

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

func (*AccountsCallerRaw) Call

func (_Accounts *AccountsCallerRaw) 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 AccountsCallerSession

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

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

func (*AccountsCallerSession) BalanceOf

func (_Accounts *AccountsCallerSession) BalanceOf(addr common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(addr address) constant returns(uint256)

func (*AccountsCallerSession) CryptoFiat

func (_Accounts *AccountsCallerSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*AccountsCallerSession) Data

func (_Accounts *AccountsCallerSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*AccountsCallerSession) IsApproved

func (_Accounts *AccountsCallerSession) IsApproved(account common.Address) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x673448dd.

Solidity: function isApproved(account address) constant returns(bool)

func (*AccountsCallerSession) IsClosed

func (_Accounts *AccountsCallerSession) IsClosed(account common.Address) (bool, error)

IsClosed is a free data retrieval call binding the contract method 0x6943b017.

Solidity: function isClosed(account address) constant returns(bool)

func (*AccountsCallerSession) IsFrozen

func (_Accounts *AccountsCallerSession) IsFrozen(account common.Address) (bool, error)

IsFrozen is a free data retrieval call binding the contract method 0xe5839836.

Solidity: function isFrozen(account address) constant returns(bool)

func (*AccountsCallerSession) StatusOf

func (_Accounts *AccountsCallerSession) StatusOf(addr common.Address) (*big.Int, error)

StatusOf is a free data retrieval call binding the contract method 0x97a5d5b5.

Solidity: function statusOf(addr address) constant returns(uint256)

type AccountsFilterer

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

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

func NewAccountsFilterer

func NewAccountsFilterer(address common.Address, filterer bind.ContractFilterer) (*AccountsFilterer, error)

NewAccountsFilterer creates a new log filterer instance of Accounts, bound to a specific deployed contract.

func (*AccountsFilterer) FilterAccountApproved

func (_Accounts *AccountsFilterer) FilterAccountApproved(opts *bind.FilterOpts, source []common.Address) (*AccountsAccountApprovedIterator, error)

FilterAccountApproved is a free log retrieval operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*AccountsFilterer) FilterAccountClosed

func (_Accounts *AccountsFilterer) FilterAccountClosed(opts *bind.FilterOpts, source []common.Address) (*AccountsAccountClosedIterator, error)

FilterAccountClosed is a free log retrieval operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*AccountsFilterer) FilterAccountFreeze

func (_Accounts *AccountsFilterer) FilterAccountFreeze(opts *bind.FilterOpts, source []common.Address) (*AccountsAccountFreezeIterator, error)

FilterAccountFreeze is a free log retrieval operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*AccountsFilterer) FilterSupplyChanged

func (_Accounts *AccountsFilterer) FilterSupplyChanged(opts *bind.FilterOpts) (*AccountsSupplyChangedIterator, error)

FilterSupplyChanged is a free log retrieval operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*AccountsFilterer) FilterTransfer

func (_Accounts *AccountsFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, destination []common.Address) (*AccountsTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

func (*AccountsFilterer) WatchAccountApproved

func (_Accounts *AccountsFilterer) WatchAccountApproved(opts *bind.WatchOpts, sink chan<- *AccountsAccountApproved, source []common.Address) (event.Subscription, error)

WatchAccountApproved is a free log subscription operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*AccountsFilterer) WatchAccountClosed

func (_Accounts *AccountsFilterer) WatchAccountClosed(opts *bind.WatchOpts, sink chan<- *AccountsAccountClosed, source []common.Address) (event.Subscription, error)

WatchAccountClosed is a free log subscription operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*AccountsFilterer) WatchAccountFreeze

func (_Accounts *AccountsFilterer) WatchAccountFreeze(opts *bind.WatchOpts, sink chan<- *AccountsAccountFreeze, source []common.Address) (event.Subscription, error)

WatchAccountFreeze is a free log subscription operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*AccountsFilterer) WatchSupplyChanged

func (_Accounts *AccountsFilterer) WatchSupplyChanged(opts *bind.WatchOpts, sink chan<- *AccountsSupplyChanged) (event.Subscription, error)

WatchSupplyChanged is a free log subscription operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*AccountsFilterer) WatchTransfer

func (_Accounts *AccountsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AccountsTransfer, source []common.Address, destination []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

type AccountsRaw

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

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

func (*AccountsRaw) Call

func (_Accounts *AccountsRaw) 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 (*AccountsRaw) Transact

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

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

func (*AccountsRaw) Transfer

func (_Accounts *AccountsRaw) 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 AccountsSession

type AccountsSession struct {
	Contract     *Accounts         // 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
}

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

func (*AccountsSession) BalanceOf

func (_Accounts *AccountsSession) BalanceOf(addr common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(addr address) constant returns(uint256)

func (*AccountsSession) CryptoFiat

func (_Accounts *AccountsSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*AccountsSession) Data

func (_Accounts *AccountsSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*AccountsSession) IsApproved

func (_Accounts *AccountsSession) IsApproved(account common.Address) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x673448dd.

Solidity: function isApproved(account address) constant returns(bool)

func (*AccountsSession) IsClosed

func (_Accounts *AccountsSession) IsClosed(account common.Address) (bool, error)

IsClosed is a free data retrieval call binding the contract method 0x6943b017.

Solidity: function isClosed(account address) constant returns(bool)

func (*AccountsSession) IsFrozen

func (_Accounts *AccountsSession) IsFrozen(account common.Address) (bool, error)

IsFrozen is a free data retrieval call binding the contract method 0xe5839836.

Solidity: function isFrozen(account address) constant returns(bool)

func (*AccountsSession) StatusOf

func (_Accounts *AccountsSession) StatusOf(addr common.Address) (*big.Int, error)

StatusOf is a free data retrieval call binding the contract method 0x97a5d5b5.

Solidity: function statusOf(addr address) constant returns(uint256)

func (*AccountsSession) SwitchCryptoFiat

func (_Accounts *AccountsSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*AccountsSession) SwitchData

func (_Accounts *AccountsSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*AccountsSession) Transfer

func (_Accounts *AccountsSession) Transfer(destination common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(destination address, amount uint256) returns()

type AccountsSupplyChanged

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

AccountsSupplyChanged represents a SupplyChanged event raised by the Accounts contract.

type AccountsSupplyChangedIterator

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

AccountsSupplyChangedIterator is returned from FilterSupplyChanged and is used to iterate over the raw logs and unpacked data for SupplyChanged events raised by the Accounts contract.

func (*AccountsSupplyChangedIterator) Close

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

func (*AccountsSupplyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountsSupplyChangedIterator) 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 AccountsTransactor

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

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

func NewAccountsTransactor

func NewAccountsTransactor(address common.Address, transactor bind.ContractTransactor) (*AccountsTransactor, error)

NewAccountsTransactor creates a new write-only instance of Accounts, bound to a specific deployed contract.

func (*AccountsTransactor) SwitchCryptoFiat

func (_Accounts *AccountsTransactor) SwitchCryptoFiat(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*AccountsTransactor) SwitchData

func (_Accounts *AccountsTransactor) SwitchData(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*AccountsTransactor) Transfer

func (_Accounts *AccountsTransactor) Transfer(opts *bind.TransactOpts, destination common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(destination address, amount uint256) returns()

type AccountsTransactorRaw

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

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

func (*AccountsTransactorRaw) Transact

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

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

func (*AccountsTransactorRaw) Transfer

func (_Accounts *AccountsTransactorRaw) 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 AccountsTransactorSession

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

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

func (*AccountsTransactorSession) SwitchCryptoFiat

func (_Accounts *AccountsTransactorSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*AccountsTransactorSession) SwitchData

func (_Accounts *AccountsTransactorSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*AccountsTransactorSession) Transfer

func (_Accounts *AccountsTransactorSession) Transfer(destination common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(destination address, amount uint256) returns()

type AccountsTransfer

type AccountsTransfer struct {
	Source      common.Address
	Destination common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

AccountsTransfer represents a Transfer event raised by the Accounts contract.

type AccountsTransferIterator

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

AccountsTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Accounts contract.

func (*AccountsTransferIterator) Close

func (it *AccountsTransferIterator) Close() error

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

func (*AccountsTransferIterator) Error

func (it *AccountsTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountsTransferIterator) Next

func (it *AccountsTransferIterator) 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 Approving

type Approving struct {
	ApprovingCaller     // Read-only binding to the contract
	ApprovingTransactor // Write-only binding to the contract
	ApprovingFilterer   // Log filterer for contract events
}

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

func DeployApproving

func DeployApproving(auth *bind.TransactOpts, backend bind.ContractBackend, _cryptoFiat common.Address, _accountApprover common.Address) (common.Address, *types.Transaction, *Approving, error)

DeployApproving deploys a new Ethereum contract, binding an instance of Approving to it.

func NewApproving

func NewApproving(address common.Address, backend bind.ContractBackend) (*Approving, error)

NewApproving creates a new instance of Approving, bound to a specific deployed contract.

type ApprovingAccountApproved

type ApprovingAccountApproved struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ApprovingAccountApproved represents a AccountApproved event raised by the Approving contract.

type ApprovingAccountApprovedIterator

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

ApprovingAccountApprovedIterator is returned from FilterAccountApproved and is used to iterate over the raw logs and unpacked data for AccountApproved events raised by the Approving contract.

func (*ApprovingAccountApprovedIterator) Close

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

func (*ApprovingAccountApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ApprovingAccountApprovedIterator) 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 ApprovingAccountClosed

type ApprovingAccountClosed struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ApprovingAccountClosed represents a AccountClosed event raised by the Approving contract.

type ApprovingAccountClosedIterator

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

ApprovingAccountClosedIterator is returned from FilterAccountClosed and is used to iterate over the raw logs and unpacked data for AccountClosed events raised by the Approving contract.

func (*ApprovingAccountClosedIterator) Close

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

func (*ApprovingAccountClosedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ApprovingAccountClosedIterator) 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 ApprovingAccountFreeze

type ApprovingAccountFreeze struct {
	Source common.Address
	Frozen bool
	Raw    types.Log // Blockchain specific contextual infos
}

ApprovingAccountFreeze represents a AccountFreeze event raised by the Approving contract.

type ApprovingAccountFreezeIterator

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

ApprovingAccountFreezeIterator is returned from FilterAccountFreeze and is used to iterate over the raw logs and unpacked data for AccountFreeze events raised by the Approving contract.

func (*ApprovingAccountFreezeIterator) Close

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

func (*ApprovingAccountFreezeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ApprovingAccountFreezeIterator) 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 ApprovingCaller

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

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

func NewApprovingCaller

func NewApprovingCaller(address common.Address, caller bind.ContractCaller) (*ApprovingCaller, error)

NewApprovingCaller creates a new read-only instance of Approving, bound to a specific deployed contract.

func (*ApprovingCaller) AccountApprover

func (_Approving *ApprovingCaller) AccountApprover(opts *bind.CallOpts) (common.Address, error)

AccountApprover is a free data retrieval call binding the contract method 0x07a385e6.

Solidity: function accountApprover() constant returns(address)

func (*ApprovingCaller) CryptoFiat

func (_Approving *ApprovingCaller) CryptoFiat(opts *bind.CallOpts) (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*ApprovingCaller) Data

func (_Approving *ApprovingCaller) Data(opts *bind.CallOpts) (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

type ApprovingCallerRaw

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

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

func (*ApprovingCallerRaw) Call

func (_Approving *ApprovingCallerRaw) 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 ApprovingCallerSession

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

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

func (*ApprovingCallerSession) AccountApprover

func (_Approving *ApprovingCallerSession) AccountApprover() (common.Address, error)

AccountApprover is a free data retrieval call binding the contract method 0x07a385e6.

Solidity: function accountApprover() constant returns(address)

func (*ApprovingCallerSession) CryptoFiat

func (_Approving *ApprovingCallerSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*ApprovingCallerSession) Data

func (_Approving *ApprovingCallerSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

type ApprovingFilterer

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

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

func NewApprovingFilterer

func NewApprovingFilterer(address common.Address, filterer bind.ContractFilterer) (*ApprovingFilterer, error)

NewApprovingFilterer creates a new log filterer instance of Approving, bound to a specific deployed contract.

func (*ApprovingFilterer) FilterAccountApproved

func (_Approving *ApprovingFilterer) FilterAccountApproved(opts *bind.FilterOpts, source []common.Address) (*ApprovingAccountApprovedIterator, error)

FilterAccountApproved is a free log retrieval operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*ApprovingFilterer) FilterAccountClosed

func (_Approving *ApprovingFilterer) FilterAccountClosed(opts *bind.FilterOpts, source []common.Address) (*ApprovingAccountClosedIterator, error)

FilterAccountClosed is a free log retrieval operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*ApprovingFilterer) FilterAccountFreeze

func (_Approving *ApprovingFilterer) FilterAccountFreeze(opts *bind.FilterOpts, source []common.Address) (*ApprovingAccountFreezeIterator, error)

FilterAccountFreeze is a free log retrieval operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*ApprovingFilterer) FilterSupplyChanged

func (_Approving *ApprovingFilterer) FilterSupplyChanged(opts *bind.FilterOpts) (*ApprovingSupplyChangedIterator, error)

FilterSupplyChanged is a free log retrieval operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*ApprovingFilterer) FilterTransfer

func (_Approving *ApprovingFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, destination []common.Address) (*ApprovingTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

func (*ApprovingFilterer) WatchAccountApproved

func (_Approving *ApprovingFilterer) WatchAccountApproved(opts *bind.WatchOpts, sink chan<- *ApprovingAccountApproved, source []common.Address) (event.Subscription, error)

WatchAccountApproved is a free log subscription operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*ApprovingFilterer) WatchAccountClosed

func (_Approving *ApprovingFilterer) WatchAccountClosed(opts *bind.WatchOpts, sink chan<- *ApprovingAccountClosed, source []common.Address) (event.Subscription, error)

WatchAccountClosed is a free log subscription operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*ApprovingFilterer) WatchAccountFreeze

func (_Approving *ApprovingFilterer) WatchAccountFreeze(opts *bind.WatchOpts, sink chan<- *ApprovingAccountFreeze, source []common.Address) (event.Subscription, error)

WatchAccountFreeze is a free log subscription operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*ApprovingFilterer) WatchSupplyChanged

func (_Approving *ApprovingFilterer) WatchSupplyChanged(opts *bind.WatchOpts, sink chan<- *ApprovingSupplyChanged) (event.Subscription, error)

WatchSupplyChanged is a free log subscription operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*ApprovingFilterer) WatchTransfer

func (_Approving *ApprovingFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ApprovingTransfer, source []common.Address, destination []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

type ApprovingRaw

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

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

func (*ApprovingRaw) Call

func (_Approving *ApprovingRaw) 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 (*ApprovingRaw) Transact

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

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

func (*ApprovingRaw) Transfer

func (_Approving *ApprovingRaw) 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 ApprovingSession

type ApprovingSession struct {
	Contract     *Approving        // 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
}

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

func (*ApprovingSession) AccountApprover

func (_Approving *ApprovingSession) AccountApprover() (common.Address, error)

AccountApprover is a free data retrieval call binding the contract method 0x07a385e6.

Solidity: function accountApprover() constant returns(address)

func (*ApprovingSession) AppointAccountApprover

func (_Approving *ApprovingSession) AppointAccountApprover(next common.Address) (*types.Transaction, error)

AppointAccountApprover is a paid mutator transaction binding the contract method 0xc8b09109.

Solidity: function appointAccountApprover(next address) returns()

func (*ApprovingSession) ApproveAccount

func (_Approving *ApprovingSession) ApproveAccount(account common.Address) (*types.Transaction, error)

ApproveAccount is a paid mutator transaction binding the contract method 0xf89f4e77.

Solidity: function approveAccount(account address) returns()

func (*ApprovingSession) ApproveAccounts

func (_Approving *ApprovingSession) ApproveAccounts(accounts []common.Address) (*types.Transaction, error)

ApproveAccounts is a paid mutator transaction binding the contract method 0x071a8b53.

Solidity: function approveAccounts(accounts address[]) returns()

func (*ApprovingSession) CloseAccount

func (_Approving *ApprovingSession) CloseAccount(account common.Address) (*types.Transaction, error)

CloseAccount is a paid mutator transaction binding the contract method 0xdd336b94.

Solidity: function closeAccount(account address) returns()

func (*ApprovingSession) CryptoFiat

func (_Approving *ApprovingSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*ApprovingSession) Data

func (_Approving *ApprovingSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*ApprovingSession) SwitchCryptoFiat

func (_Approving *ApprovingSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*ApprovingSession) SwitchData

func (_Approving *ApprovingSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

type ApprovingSupplyChanged

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

ApprovingSupplyChanged represents a SupplyChanged event raised by the Approving contract.

type ApprovingSupplyChangedIterator

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

ApprovingSupplyChangedIterator is returned from FilterSupplyChanged and is used to iterate over the raw logs and unpacked data for SupplyChanged events raised by the Approving contract.

func (*ApprovingSupplyChangedIterator) Close

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

func (*ApprovingSupplyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ApprovingSupplyChangedIterator) 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 ApprovingTransactor

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

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

func NewApprovingTransactor

func NewApprovingTransactor(address common.Address, transactor bind.ContractTransactor) (*ApprovingTransactor, error)

NewApprovingTransactor creates a new write-only instance of Approving, bound to a specific deployed contract.

func (*ApprovingTransactor) AppointAccountApprover

func (_Approving *ApprovingTransactor) AppointAccountApprover(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

AppointAccountApprover is a paid mutator transaction binding the contract method 0xc8b09109.

Solidity: function appointAccountApprover(next address) returns()

func (*ApprovingTransactor) ApproveAccount

func (_Approving *ApprovingTransactor) ApproveAccount(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

ApproveAccount is a paid mutator transaction binding the contract method 0xf89f4e77.

Solidity: function approveAccount(account address) returns()

func (*ApprovingTransactor) ApproveAccounts

func (_Approving *ApprovingTransactor) ApproveAccounts(opts *bind.TransactOpts, accounts []common.Address) (*types.Transaction, error)

ApproveAccounts is a paid mutator transaction binding the contract method 0x071a8b53.

Solidity: function approveAccounts(accounts address[]) returns()

func (*ApprovingTransactor) CloseAccount

func (_Approving *ApprovingTransactor) CloseAccount(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

CloseAccount is a paid mutator transaction binding the contract method 0xdd336b94.

Solidity: function closeAccount(account address) returns()

func (*ApprovingTransactor) SwitchCryptoFiat

func (_Approving *ApprovingTransactor) SwitchCryptoFiat(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*ApprovingTransactor) SwitchData

func (_Approving *ApprovingTransactor) SwitchData(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

type ApprovingTransactorRaw

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

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

func (*ApprovingTransactorRaw) Transact

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

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

func (*ApprovingTransactorRaw) Transfer

func (_Approving *ApprovingTransactorRaw) 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 ApprovingTransactorSession

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

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

func (*ApprovingTransactorSession) AppointAccountApprover

func (_Approving *ApprovingTransactorSession) AppointAccountApprover(next common.Address) (*types.Transaction, error)

AppointAccountApprover is a paid mutator transaction binding the contract method 0xc8b09109.

Solidity: function appointAccountApprover(next address) returns()

func (*ApprovingTransactorSession) ApproveAccount

func (_Approving *ApprovingTransactorSession) ApproveAccount(account common.Address) (*types.Transaction, error)

ApproveAccount is a paid mutator transaction binding the contract method 0xf89f4e77.

Solidity: function approveAccount(account address) returns()

func (*ApprovingTransactorSession) ApproveAccounts

func (_Approving *ApprovingTransactorSession) ApproveAccounts(accounts []common.Address) (*types.Transaction, error)

ApproveAccounts is a paid mutator transaction binding the contract method 0x071a8b53.

Solidity: function approveAccounts(accounts address[]) returns()

func (*ApprovingTransactorSession) CloseAccount

func (_Approving *ApprovingTransactorSession) CloseAccount(account common.Address) (*types.Transaction, error)

CloseAccount is a paid mutator transaction binding the contract method 0xdd336b94.

Solidity: function closeAccount(account address) returns()

func (*ApprovingTransactorSession) SwitchCryptoFiat

func (_Approving *ApprovingTransactorSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*ApprovingTransactorSession) SwitchData

func (_Approving *ApprovingTransactorSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

type ApprovingTransfer

type ApprovingTransfer struct {
	Source      common.Address
	Destination common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ApprovingTransfer represents a Transfer event raised by the Approving contract.

type ApprovingTransferIterator

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

ApprovingTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Approving contract.

func (*ApprovingTransferIterator) Close

func (it *ApprovingTransferIterator) Close() error

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

func (*ApprovingTransferIterator) Error

func (it *ApprovingTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ApprovingTransferIterator) Next

func (it *ApprovingTransferIterator) 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 CryptoFiat

type CryptoFiat struct {
	CryptoFiatCaller     // Read-only binding to the contract
	CryptoFiatTransactor // Write-only binding to the contract
	CryptoFiatFilterer   // Log filterer for contract events
}

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

func DeployCryptoFiat

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

DeployCryptoFiat deploys a new Ethereum contract, binding an instance of CryptoFiat to it.

func NewCryptoFiat

func NewCryptoFiat(address common.Address, backend bind.ContractBackend) (*CryptoFiat, error)

NewCryptoFiat creates a new instance of CryptoFiat, bound to a specific deployed contract.

type CryptoFiatCaller

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

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

func NewCryptoFiatCaller

func NewCryptoFiatCaller(address common.Address, caller bind.ContractCaller) (*CryptoFiatCaller, error)

NewCryptoFiatCaller creates a new read-only instance of CryptoFiat, bound to a specific deployed contract.

func (*CryptoFiatCaller) ContractActive

func (_CryptoFiat *CryptoFiatCaller) ContractActive(opts *bind.CallOpts, addr common.Address) (bool, error)

ContractActive is a free data retrieval call binding the contract method 0xe814861e.

Solidity: function contractActive(addr address) constant returns(bool)

func (*CryptoFiatCaller) ContractAddress

func (_CryptoFiat *CryptoFiatCaller) ContractAddress(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

ContractAddress is a free data retrieval call binding the contract method 0x13c01368.

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

func (*CryptoFiatCaller) ContractId

func (_CryptoFiat *CryptoFiatCaller) ContractId(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ContractId is a free data retrieval call binding the contract method 0x874c3473.

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

func (*CryptoFiatCaller) Contracts

func (_CryptoFiat *CryptoFiatCaller) Contracts(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

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

func (*CryptoFiatCaller) ContractsLength

func (_CryptoFiat *CryptoFiatCaller) ContractsLength(opts *bind.CallOpts) (*big.Int, error)

ContractsLength is a free data retrieval call binding the contract method 0x3fad74ad.

Solidity: function contractsLength() constant returns(uint256)

func (*CryptoFiatCaller) MasterAccount

func (_CryptoFiat *CryptoFiatCaller) MasterAccount(opts *bind.CallOpts) (common.Address, error)

MasterAccount is a free data retrieval call binding the contract method 0x9afd453c.

Solidity: function masterAccount() constant returns(address)

type CryptoFiatCallerRaw

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

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

func (*CryptoFiatCallerRaw) Call

func (_CryptoFiat *CryptoFiatCallerRaw) 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 CryptoFiatCallerSession

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

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

func (*CryptoFiatCallerSession) ContractActive

func (_CryptoFiat *CryptoFiatCallerSession) ContractActive(addr common.Address) (bool, error)

ContractActive is a free data retrieval call binding the contract method 0xe814861e.

Solidity: function contractActive(addr address) constant returns(bool)

func (*CryptoFiatCallerSession) ContractAddress

func (_CryptoFiat *CryptoFiatCallerSession) ContractAddress(arg0 *big.Int) (common.Address, error)

ContractAddress is a free data retrieval call binding the contract method 0x13c01368.

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

func (*CryptoFiatCallerSession) ContractId

func (_CryptoFiat *CryptoFiatCallerSession) ContractId(arg0 common.Address) (*big.Int, error)

ContractId is a free data retrieval call binding the contract method 0x874c3473.

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

func (*CryptoFiatCallerSession) Contracts

func (_CryptoFiat *CryptoFiatCallerSession) Contracts(arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

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

func (*CryptoFiatCallerSession) ContractsLength

func (_CryptoFiat *CryptoFiatCallerSession) ContractsLength() (*big.Int, error)

ContractsLength is a free data retrieval call binding the contract method 0x3fad74ad.

Solidity: function contractsLength() constant returns(uint256)

func (*CryptoFiatCallerSession) MasterAccount

func (_CryptoFiat *CryptoFiatCallerSession) MasterAccount() (common.Address, error)

MasterAccount is a free data retrieval call binding the contract method 0x9afd453c.

Solidity: function masterAccount() constant returns(address)

type CryptoFiatContractUpgraded

type CryptoFiatContractUpgraded struct {
	Id       *big.Int
	Previous common.Address
	Next     common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CryptoFiatContractUpgraded represents a ContractUpgraded event raised by the CryptoFiat contract.

type CryptoFiatContractUpgradedIterator

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

CryptoFiatContractUpgradedIterator is returned from FilterContractUpgraded and is used to iterate over the raw logs and unpacked data for ContractUpgraded events raised by the CryptoFiat contract.

func (*CryptoFiatContractUpgradedIterator) Close

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

func (*CryptoFiatContractUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CryptoFiatContractUpgradedIterator) 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 CryptoFiatFilterer

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

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

func NewCryptoFiatFilterer

func NewCryptoFiatFilterer(address common.Address, filterer bind.ContractFilterer) (*CryptoFiatFilterer, error)

NewCryptoFiatFilterer creates a new log filterer instance of CryptoFiat, bound to a specific deployed contract.

func (*CryptoFiatFilterer) FilterContractUpgraded

func (_CryptoFiat *CryptoFiatFilterer) FilterContractUpgraded(opts *bind.FilterOpts, id []*big.Int) (*CryptoFiatContractUpgradedIterator, error)

FilterContractUpgraded is a free log retrieval operation binding the contract event 0xdc69b57038334451ee12fd1742228917cea7f40dbd33cda5162e7e5754acee1c.

Solidity: e ContractUpgraded(id indexed uint256, previous address, next address)

func (*CryptoFiatFilterer) WatchContractUpgraded

func (_CryptoFiat *CryptoFiatFilterer) WatchContractUpgraded(opts *bind.WatchOpts, sink chan<- *CryptoFiatContractUpgraded, id []*big.Int) (event.Subscription, error)

WatchContractUpgraded is a free log subscription operation binding the contract event 0xdc69b57038334451ee12fd1742228917cea7f40dbd33cda5162e7e5754acee1c.

Solidity: e ContractUpgraded(id indexed uint256, previous address, next address)

type CryptoFiatRaw

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

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

func (*CryptoFiatRaw) Call

func (_CryptoFiat *CryptoFiatRaw) 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 (*CryptoFiatRaw) Transact

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

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

func (*CryptoFiatRaw) Transfer

func (_CryptoFiat *CryptoFiatRaw) 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 CryptoFiatSession

type CryptoFiatSession struct {
	Contract     *CryptoFiat       // 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
}

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

func (*CryptoFiatSession) AppointMasterAccount

func (_CryptoFiat *CryptoFiatSession) AppointMasterAccount(next common.Address) (*types.Transaction, error)

AppointMasterAccount is a paid mutator transaction binding the contract method 0x5db4380d.

Solidity: function appointMasterAccount(next address) returns()

func (*CryptoFiatSession) ContractActive

func (_CryptoFiat *CryptoFiatSession) ContractActive(addr common.Address) (bool, error)

ContractActive is a free data retrieval call binding the contract method 0xe814861e.

Solidity: function contractActive(addr address) constant returns(bool)

func (*CryptoFiatSession) ContractAddress

func (_CryptoFiat *CryptoFiatSession) ContractAddress(arg0 *big.Int) (common.Address, error)

ContractAddress is a free data retrieval call binding the contract method 0x13c01368.

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

func (*CryptoFiatSession) ContractId

func (_CryptoFiat *CryptoFiatSession) ContractId(arg0 common.Address) (*big.Int, error)

ContractId is a free data retrieval call binding the contract method 0x874c3473.

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

func (*CryptoFiatSession) Contracts

func (_CryptoFiat *CryptoFiatSession) Contracts(arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

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

func (*CryptoFiatSession) ContractsLength

func (_CryptoFiat *CryptoFiatSession) ContractsLength() (*big.Int, error)

ContractsLength is a free data retrieval call binding the contract method 0x3fad74ad.

Solidity: function contractsLength() constant returns(uint256)

func (*CryptoFiatSession) MasterAccount

func (_CryptoFiat *CryptoFiatSession) MasterAccount() (common.Address, error)

MasterAccount is a free data retrieval call binding the contract method 0x9afd453c.

Solidity: function masterAccount() constant returns(address)

func (*CryptoFiatSession) Upgrade

func (_CryptoFiat *CryptoFiatSession) Upgrade(id *big.Int, next common.Address) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x028f4e47.

Solidity: function upgrade(id uint256, next address) returns()

type CryptoFiatTransactor

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

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

func NewCryptoFiatTransactor

func NewCryptoFiatTransactor(address common.Address, transactor bind.ContractTransactor) (*CryptoFiatTransactor, error)

NewCryptoFiatTransactor creates a new write-only instance of CryptoFiat, bound to a specific deployed contract.

func (*CryptoFiatTransactor) AppointMasterAccount

func (_CryptoFiat *CryptoFiatTransactor) AppointMasterAccount(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

AppointMasterAccount is a paid mutator transaction binding the contract method 0x5db4380d.

Solidity: function appointMasterAccount(next address) returns()

func (*CryptoFiatTransactor) Upgrade

func (_CryptoFiat *CryptoFiatTransactor) Upgrade(opts *bind.TransactOpts, id *big.Int, next common.Address) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x028f4e47.

Solidity: function upgrade(id uint256, next address) returns()

type CryptoFiatTransactorRaw

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

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

func (*CryptoFiatTransactorRaw) Transact

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

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

func (*CryptoFiatTransactorRaw) Transfer

func (_CryptoFiat *CryptoFiatTransactorRaw) 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 CryptoFiatTransactorSession

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

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

func (*CryptoFiatTransactorSession) AppointMasterAccount

func (_CryptoFiat *CryptoFiatTransactorSession) AppointMasterAccount(next common.Address) (*types.Transaction, error)

AppointMasterAccount is a paid mutator transaction binding the contract method 0x5db4380d.

Solidity: function appointMasterAccount(next address) returns()

func (*CryptoFiatTransactorSession) Upgrade

func (_CryptoFiat *CryptoFiatTransactorSession) Upgrade(id *big.Int, next common.Address) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0x028f4e47.

Solidity: function upgrade(id uint256, next address) returns()

type Data

type Data struct {
	DataCaller     // Read-only binding to the contract
	DataTransactor // Write-only binding to the contract
	DataFilterer   // Log filterer for contract events
}

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

func DeployData

func DeployData(auth *bind.TransactOpts, backend bind.ContractBackend, _cryptoFiat common.Address) (common.Address, *types.Transaction, *Data, error)

DeployData deploys a new Ethereum contract, binding an instance of Data to it.

func NewData

func NewData(address common.Address, backend bind.ContractBackend) (*Data, error)

NewData creates a new instance of Data, bound to a specific deployed contract.

type DataCaller

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

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

func NewDataCaller

func NewDataCaller(address common.Address, caller bind.ContractCaller) (*DataCaller, error)

NewDataCaller creates a new read-only instance of Data, bound to a specific deployed contract.

func (*DataCaller) CryptoFiat

func (_Data *DataCaller) CryptoFiat(opts *bind.CallOpts) (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*DataCaller) Get

func (_Data *DataCaller) Get(opts *bind.CallOpts, bucket *big.Int, key [32]byte) ([32]byte, error)

Get is a free data retrieval call binding the contract method 0x295f36d7.

Solidity: function get(bucket uint256, key bytes32) constant returns(bytes32)

type DataCallerRaw

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

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

func (*DataCallerRaw) Call

func (_Data *DataCallerRaw) 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 DataCallerSession

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

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

func (*DataCallerSession) CryptoFiat

func (_Data *DataCallerSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*DataCallerSession) Get

func (_Data *DataCallerSession) Get(bucket *big.Int, key [32]byte) ([32]byte, error)

Get is a free data retrieval call binding the contract method 0x295f36d7.

Solidity: function get(bucket uint256, key bytes32) constant returns(bytes32)

type DataFilterer

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

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

func NewDataFilterer

func NewDataFilterer(address common.Address, filterer bind.ContractFilterer) (*DataFilterer, error)

NewDataFilterer creates a new log filterer instance of Data, bound to a specific deployed contract.

type DataRaw

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

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

func (*DataRaw) Call

func (_Data *DataRaw) 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 (*DataRaw) Transact

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

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

func (*DataRaw) Transfer

func (_Data *DataRaw) 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 DataSession

type DataSession struct {
	Contract     *Data             // 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
}

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

func (*DataSession) CryptoFiat

func (_Data *DataSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*DataSession) Get

func (_Data *DataSession) Get(bucket *big.Int, key [32]byte) ([32]byte, error)

Get is a free data retrieval call binding the contract method 0x295f36d7.

Solidity: function get(bucket uint256, key bytes32) constant returns(bytes32)

func (*DataSession) Set

func (_Data *DataSession) Set(bucket *big.Int, key [32]byte, value [32]byte) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x461b09c0.

Solidity: function set(bucket uint256, key bytes32, value bytes32) returns()

type DataTransactor

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

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

func NewDataTransactor

func NewDataTransactor(address common.Address, transactor bind.ContractTransactor) (*DataTransactor, error)

NewDataTransactor creates a new write-only instance of Data, bound to a specific deployed contract.

func (*DataTransactor) Set

func (_Data *DataTransactor) Set(opts *bind.TransactOpts, bucket *big.Int, key [32]byte, value [32]byte) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x461b09c0.

Solidity: function set(bucket uint256, key bytes32, value bytes32) returns()

type DataTransactorRaw

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

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

func (*DataTransactorRaw) Transact

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

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

func (*DataTransactorRaw) Transfer

func (_Data *DataTransactorRaw) 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 DataTransactorSession

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

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

func (*DataTransactorSession) Set

func (_Data *DataTransactorSession) Set(bucket *big.Int, key [32]byte, value [32]byte) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x461b09c0.

Solidity: function set(bucket uint256, key bytes32, value bytes32) returns()

type Delegation

type Delegation struct {
	DelegationCaller     // Read-only binding to the contract
	DelegationTransactor // Write-only binding to the contract
	DelegationFilterer   // Log filterer for contract events
}

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

func DeployDelegation

func DeployDelegation(auth *bind.TransactOpts, backend bind.ContractBackend, _cryptoFiat common.Address) (common.Address, *types.Transaction, *Delegation, error)

DeployDelegation deploys a new Ethereum contract, binding an instance of Delegation to it.

func NewDelegation

func NewDelegation(address common.Address, backend bind.ContractBackend) (*Delegation, error)

NewDelegation creates a new instance of Delegation, bound to a specific deployed contract.

type DelegationAccountApproved

type DelegationAccountApproved struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

DelegationAccountApproved represents a AccountApproved event raised by the Delegation contract.

type DelegationAccountApprovedIterator

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

DelegationAccountApprovedIterator is returned from FilterAccountApproved and is used to iterate over the raw logs and unpacked data for AccountApproved events raised by the Delegation contract.

func (*DelegationAccountApprovedIterator) Close

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

func (*DelegationAccountApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegationAccountApprovedIterator) 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 DelegationAccountClosed

type DelegationAccountClosed struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

DelegationAccountClosed represents a AccountClosed event raised by the Delegation contract.

type DelegationAccountClosedIterator

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

DelegationAccountClosedIterator is returned from FilterAccountClosed and is used to iterate over the raw logs and unpacked data for AccountClosed events raised by the Delegation contract.

func (*DelegationAccountClosedIterator) Close

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

func (*DelegationAccountClosedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegationAccountClosedIterator) 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 DelegationAccountFreeze

type DelegationAccountFreeze struct {
	Source common.Address
	Frozen bool
	Raw    types.Log // Blockchain specific contextual infos
}

DelegationAccountFreeze represents a AccountFreeze event raised by the Delegation contract.

type DelegationAccountFreezeIterator

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

DelegationAccountFreezeIterator is returned from FilterAccountFreeze and is used to iterate over the raw logs and unpacked data for AccountFreeze events raised by the Delegation contract.

func (*DelegationAccountFreezeIterator) Close

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

func (*DelegationAccountFreezeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegationAccountFreezeIterator) 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 DelegationCaller

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

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

func NewDelegationCaller

func NewDelegationCaller(address common.Address, caller bind.ContractCaller) (*DelegationCaller, error)

NewDelegationCaller creates a new read-only instance of Delegation, bound to a specific deployed contract.

func (*DelegationCaller) CryptoFiat

func (_Delegation *DelegationCaller) CryptoFiat(opts *bind.CallOpts) (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*DelegationCaller) Data

func (_Delegation *DelegationCaller) Data(opts *bind.CallOpts) (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*DelegationCaller) NonceOf

func (_Delegation *DelegationCaller) NonceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

NonceOf is a free data retrieval call binding the contract method 0xed2a2d64.

Solidity: function nonceOf(account address) constant returns(uint256)

type DelegationCallerRaw

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

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

func (*DelegationCallerRaw) Call

func (_Delegation *DelegationCallerRaw) 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 DelegationCallerSession

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

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

func (*DelegationCallerSession) CryptoFiat

func (_Delegation *DelegationCallerSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*DelegationCallerSession) Data

func (_Delegation *DelegationCallerSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*DelegationCallerSession) NonceOf

func (_Delegation *DelegationCallerSession) NonceOf(account common.Address) (*big.Int, error)

NonceOf is a free data retrieval call binding the contract method 0xed2a2d64.

Solidity: function nonceOf(account address) constant returns(uint256)

type DelegationFilterer

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

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

func NewDelegationFilterer

func NewDelegationFilterer(address common.Address, filterer bind.ContractFilterer) (*DelegationFilterer, error)

NewDelegationFilterer creates a new log filterer instance of Delegation, bound to a specific deployed contract.

func (*DelegationFilterer) FilterAccountApproved

func (_Delegation *DelegationFilterer) FilterAccountApproved(opts *bind.FilterOpts, source []common.Address) (*DelegationAccountApprovedIterator, error)

FilterAccountApproved is a free log retrieval operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*DelegationFilterer) FilterAccountClosed

func (_Delegation *DelegationFilterer) FilterAccountClosed(opts *bind.FilterOpts, source []common.Address) (*DelegationAccountClosedIterator, error)

FilterAccountClosed is a free log retrieval operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*DelegationFilterer) FilterAccountFreeze

func (_Delegation *DelegationFilterer) FilterAccountFreeze(opts *bind.FilterOpts, source []common.Address) (*DelegationAccountFreezeIterator, error)

FilterAccountFreeze is a free log retrieval operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*DelegationFilterer) FilterSupplyChanged

func (_Delegation *DelegationFilterer) FilterSupplyChanged(opts *bind.FilterOpts) (*DelegationSupplyChangedIterator, error)

FilterSupplyChanged is a free log retrieval operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*DelegationFilterer) FilterTransfer

func (_Delegation *DelegationFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, destination []common.Address) (*DelegationTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

func (*DelegationFilterer) WatchAccountApproved

func (_Delegation *DelegationFilterer) WatchAccountApproved(opts *bind.WatchOpts, sink chan<- *DelegationAccountApproved, source []common.Address) (event.Subscription, error)

WatchAccountApproved is a free log subscription operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*DelegationFilterer) WatchAccountClosed

func (_Delegation *DelegationFilterer) WatchAccountClosed(opts *bind.WatchOpts, sink chan<- *DelegationAccountClosed, source []common.Address) (event.Subscription, error)

WatchAccountClosed is a free log subscription operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*DelegationFilterer) WatchAccountFreeze

func (_Delegation *DelegationFilterer) WatchAccountFreeze(opts *bind.WatchOpts, sink chan<- *DelegationAccountFreeze, source []common.Address) (event.Subscription, error)

WatchAccountFreeze is a free log subscription operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*DelegationFilterer) WatchSupplyChanged

func (_Delegation *DelegationFilterer) WatchSupplyChanged(opts *bind.WatchOpts, sink chan<- *DelegationSupplyChanged) (event.Subscription, error)

WatchSupplyChanged is a free log subscription operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*DelegationFilterer) WatchTransfer

func (_Delegation *DelegationFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DelegationTransfer, source []common.Address, destination []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

type DelegationRaw

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

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

func (*DelegationRaw) Call

func (_Delegation *DelegationRaw) 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 (*DelegationRaw) Transact

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

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

func (*DelegationRaw) Transfer

func (_Delegation *DelegationRaw) 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 DelegationSession

type DelegationSession struct {
	Contract     *Delegation       // 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
}

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

func (*DelegationSession) CryptoFiat

func (_Delegation *DelegationSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*DelegationSession) Data

func (_Delegation *DelegationSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*DelegationSession) Multitransfer

func (_Delegation *DelegationSession) Multitransfer(count *big.Int, transfers []byte, delegate common.Address) (*types.Transaction, error)

Multitransfer is a paid mutator transaction binding the contract method 0x05bafaa4.

Solidity: function multitransfer(count uint256, transfers bytes, delegate address) returns()

func (*DelegationSession) NonceOf

func (_Delegation *DelegationSession) NonceOf(account common.Address) (*big.Int, error)

NonceOf is a free data retrieval call binding the contract method 0xed2a2d64.

Solidity: function nonceOf(account address) constant returns(uint256)

func (*DelegationSession) SwitchCryptoFiat

func (_Delegation *DelegationSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*DelegationSession) SwitchData

func (_Delegation *DelegationSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*DelegationSession) Transfer

func (_Delegation *DelegationSession) Transfer(nonce *big.Int, destination common.Address, amount *big.Int, fee *big.Int, signature []byte, delegate common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xe218e6d2.

Solidity: function transfer(nonce uint256, destination address, amount uint256, fee uint256, signature bytes, delegate address) returns()

type DelegationSupplyChanged

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

DelegationSupplyChanged represents a SupplyChanged event raised by the Delegation contract.

type DelegationSupplyChangedIterator

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

DelegationSupplyChangedIterator is returned from FilterSupplyChanged and is used to iterate over the raw logs and unpacked data for SupplyChanged events raised by the Delegation contract.

func (*DelegationSupplyChangedIterator) Close

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

func (*DelegationSupplyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegationSupplyChangedIterator) 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 DelegationTransactor

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

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

func NewDelegationTransactor

func NewDelegationTransactor(address common.Address, transactor bind.ContractTransactor) (*DelegationTransactor, error)

NewDelegationTransactor creates a new write-only instance of Delegation, bound to a specific deployed contract.

func (*DelegationTransactor) Multitransfer

func (_Delegation *DelegationTransactor) Multitransfer(opts *bind.TransactOpts, count *big.Int, transfers []byte, delegate common.Address) (*types.Transaction, error)

Multitransfer is a paid mutator transaction binding the contract method 0x05bafaa4.

Solidity: function multitransfer(count uint256, transfers bytes, delegate address) returns()

func (*DelegationTransactor) SwitchCryptoFiat

func (_Delegation *DelegationTransactor) SwitchCryptoFiat(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*DelegationTransactor) SwitchData

func (_Delegation *DelegationTransactor) SwitchData(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*DelegationTransactor) Transfer

func (_Delegation *DelegationTransactor) Transfer(opts *bind.TransactOpts, nonce *big.Int, destination common.Address, amount *big.Int, fee *big.Int, signature []byte, delegate common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xe218e6d2.

Solidity: function transfer(nonce uint256, destination address, amount uint256, fee uint256, signature bytes, delegate address) returns()

type DelegationTransactorRaw

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

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

func (*DelegationTransactorRaw) Transact

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

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

func (*DelegationTransactorRaw) Transfer

func (_Delegation *DelegationTransactorRaw) 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 DelegationTransactorSession

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

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

func (*DelegationTransactorSession) Multitransfer

func (_Delegation *DelegationTransactorSession) Multitransfer(count *big.Int, transfers []byte, delegate common.Address) (*types.Transaction, error)

Multitransfer is a paid mutator transaction binding the contract method 0x05bafaa4.

Solidity: function multitransfer(count uint256, transfers bytes, delegate address) returns()

func (*DelegationTransactorSession) SwitchCryptoFiat

func (_Delegation *DelegationTransactorSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*DelegationTransactorSession) SwitchData

func (_Delegation *DelegationTransactorSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*DelegationTransactorSession) Transfer

func (_Delegation *DelegationTransactorSession) Transfer(nonce *big.Int, destination common.Address, amount *big.Int, fee *big.Int, signature []byte, delegate common.Address) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xe218e6d2.

Solidity: function transfer(nonce uint256, destination address, amount uint256, fee uint256, signature bytes, delegate address) returns()

type DelegationTransfer

type DelegationTransfer struct {
	Source      common.Address
	Destination common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

DelegationTransfer represents a Transfer event raised by the Delegation contract.

type DelegationTransferIterator

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

DelegationTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Delegation contract.

func (*DelegationTransferIterator) Close

func (it *DelegationTransferIterator) Close() error

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

func (*DelegationTransferIterator) Error

func (it *DelegationTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DelegationTransferIterator) Next

func (it *DelegationTransferIterator) 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 Enforcement

type Enforcement struct {
	EnforcementCaller     // Read-only binding to the contract
	EnforcementTransactor // Write-only binding to the contract
	EnforcementFilterer   // Log filterer for contract events
}

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

func DeployEnforcement

func DeployEnforcement(auth *bind.TransactOpts, backend bind.ContractBackend, _cryptoFiat common.Address, _lawEnforcer common.Address, _enforcementAccountDesignator common.Address, _enforcementAccount common.Address) (common.Address, *types.Transaction, *Enforcement, error)

DeployEnforcement deploys a new Ethereum contract, binding an instance of Enforcement to it.

func NewEnforcement

func NewEnforcement(address common.Address, backend bind.ContractBackend) (*Enforcement, error)

NewEnforcement creates a new instance of Enforcement, bound to a specific deployed contract.

type EnforcementAccountApproved

type EnforcementAccountApproved struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

EnforcementAccountApproved represents a AccountApproved event raised by the Enforcement contract.

type EnforcementAccountApprovedIterator

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

EnforcementAccountApprovedIterator is returned from FilterAccountApproved and is used to iterate over the raw logs and unpacked data for AccountApproved events raised by the Enforcement contract.

func (*EnforcementAccountApprovedIterator) Close

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

func (*EnforcementAccountApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnforcementAccountApprovedIterator) 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 EnforcementAccountClosed

type EnforcementAccountClosed struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

EnforcementAccountClosed represents a AccountClosed event raised by the Enforcement contract.

type EnforcementAccountClosedIterator

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

EnforcementAccountClosedIterator is returned from FilterAccountClosed and is used to iterate over the raw logs and unpacked data for AccountClosed events raised by the Enforcement contract.

func (*EnforcementAccountClosedIterator) Close

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

func (*EnforcementAccountClosedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnforcementAccountClosedIterator) 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 EnforcementAccountFreeze

type EnforcementAccountFreeze struct {
	Source common.Address
	Frozen bool
	Raw    types.Log // Blockchain specific contextual infos
}

EnforcementAccountFreeze represents a AccountFreeze event raised by the Enforcement contract.

type EnforcementAccountFreezeIterator

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

EnforcementAccountFreezeIterator is returned from FilterAccountFreeze and is used to iterate over the raw logs and unpacked data for AccountFreeze events raised by the Enforcement contract.

func (*EnforcementAccountFreezeIterator) Close

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

func (*EnforcementAccountFreezeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnforcementAccountFreezeIterator) 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 EnforcementCaller

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

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

func NewEnforcementCaller

func NewEnforcementCaller(address common.Address, caller bind.ContractCaller) (*EnforcementCaller, error)

NewEnforcementCaller creates a new read-only instance of Enforcement, bound to a specific deployed contract.

func (*EnforcementCaller) Account

func (_Enforcement *EnforcementCaller) Account(opts *bind.CallOpts) (common.Address, error)

Account is a free data retrieval call binding the contract method 0x5dab2420.

Solidity: function account() constant returns(address)

func (*EnforcementCaller) AccountDesignator

func (_Enforcement *EnforcementCaller) AccountDesignator(opts *bind.CallOpts) (common.Address, error)

AccountDesignator is a free data retrieval call binding the contract method 0x85a0f282.

Solidity: function accountDesignator() constant returns(address)

func (*EnforcementCaller) CryptoFiat

func (_Enforcement *EnforcementCaller) CryptoFiat(opts *bind.CallOpts) (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*EnforcementCaller) Data

func (_Enforcement *EnforcementCaller) Data(opts *bind.CallOpts) (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*EnforcementCaller) LawEnforcer

func (_Enforcement *EnforcementCaller) LawEnforcer(opts *bind.CallOpts) (common.Address, error)

LawEnforcer is a free data retrieval call binding the contract method 0x72cfc9dc.

Solidity: function lawEnforcer() constant returns(address)

type EnforcementCallerRaw

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

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

func (*EnforcementCallerRaw) Call

func (_Enforcement *EnforcementCallerRaw) 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 EnforcementCallerSession

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

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

func (*EnforcementCallerSession) Account

func (_Enforcement *EnforcementCallerSession) Account() (common.Address, error)

Account is a free data retrieval call binding the contract method 0x5dab2420.

Solidity: function account() constant returns(address)

func (*EnforcementCallerSession) AccountDesignator

func (_Enforcement *EnforcementCallerSession) AccountDesignator() (common.Address, error)

AccountDesignator is a free data retrieval call binding the contract method 0x85a0f282.

Solidity: function accountDesignator() constant returns(address)

func (*EnforcementCallerSession) CryptoFiat

func (_Enforcement *EnforcementCallerSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*EnforcementCallerSession) Data

func (_Enforcement *EnforcementCallerSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*EnforcementCallerSession) LawEnforcer

func (_Enforcement *EnforcementCallerSession) LawEnforcer() (common.Address, error)

LawEnforcer is a free data retrieval call binding the contract method 0x72cfc9dc.

Solidity: function lawEnforcer() constant returns(address)

type EnforcementFilterer

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

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

func NewEnforcementFilterer

func NewEnforcementFilterer(address common.Address, filterer bind.ContractFilterer) (*EnforcementFilterer, error)

NewEnforcementFilterer creates a new log filterer instance of Enforcement, bound to a specific deployed contract.

func (*EnforcementFilterer) FilterAccountApproved

func (_Enforcement *EnforcementFilterer) FilterAccountApproved(opts *bind.FilterOpts, source []common.Address) (*EnforcementAccountApprovedIterator, error)

FilterAccountApproved is a free log retrieval operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*EnforcementFilterer) FilterAccountClosed

func (_Enforcement *EnforcementFilterer) FilterAccountClosed(opts *bind.FilterOpts, source []common.Address) (*EnforcementAccountClosedIterator, error)

FilterAccountClosed is a free log retrieval operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*EnforcementFilterer) FilterAccountFreeze

func (_Enforcement *EnforcementFilterer) FilterAccountFreeze(opts *bind.FilterOpts, source []common.Address) (*EnforcementAccountFreezeIterator, error)

FilterAccountFreeze is a free log retrieval operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*EnforcementFilterer) FilterSupplyChanged

func (_Enforcement *EnforcementFilterer) FilterSupplyChanged(opts *bind.FilterOpts) (*EnforcementSupplyChangedIterator, error)

FilterSupplyChanged is a free log retrieval operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*EnforcementFilterer) FilterTransfer

func (_Enforcement *EnforcementFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, destination []common.Address) (*EnforcementTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

func (*EnforcementFilterer) WatchAccountApproved

func (_Enforcement *EnforcementFilterer) WatchAccountApproved(opts *bind.WatchOpts, sink chan<- *EnforcementAccountApproved, source []common.Address) (event.Subscription, error)

WatchAccountApproved is a free log subscription operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*EnforcementFilterer) WatchAccountClosed

func (_Enforcement *EnforcementFilterer) WatchAccountClosed(opts *bind.WatchOpts, sink chan<- *EnforcementAccountClosed, source []common.Address) (event.Subscription, error)

WatchAccountClosed is a free log subscription operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*EnforcementFilterer) WatchAccountFreeze

func (_Enforcement *EnforcementFilterer) WatchAccountFreeze(opts *bind.WatchOpts, sink chan<- *EnforcementAccountFreeze, source []common.Address) (event.Subscription, error)

WatchAccountFreeze is a free log subscription operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*EnforcementFilterer) WatchSupplyChanged

func (_Enforcement *EnforcementFilterer) WatchSupplyChanged(opts *bind.WatchOpts, sink chan<- *EnforcementSupplyChanged) (event.Subscription, error)

WatchSupplyChanged is a free log subscription operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*EnforcementFilterer) WatchTransfer

func (_Enforcement *EnforcementFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EnforcementTransfer, source []common.Address, destination []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

type EnforcementRaw

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

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

func (*EnforcementRaw) Call

func (_Enforcement *EnforcementRaw) 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 (*EnforcementRaw) Transact

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

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

func (*EnforcementRaw) Transfer

func (_Enforcement *EnforcementRaw) 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 EnforcementSession

type EnforcementSession struct {
	Contract     *Enforcement      // 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
}

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

func (*EnforcementSession) Account

func (_Enforcement *EnforcementSession) Account() (common.Address, error)

Account is a free data retrieval call binding the contract method 0x5dab2420.

Solidity: function account() constant returns(address)

func (*EnforcementSession) AccountDesignator

func (_Enforcement *EnforcementSession) AccountDesignator() (common.Address, error)

AccountDesignator is a free data retrieval call binding the contract method 0x85a0f282.

Solidity: function accountDesignator() constant returns(address)

func (*EnforcementSession) AppointAccountDesignator

func (_Enforcement *EnforcementSession) AppointAccountDesignator(next common.Address) (*types.Transaction, error)

AppointAccountDesignator is a paid mutator transaction binding the contract method 0x90f28e74.

Solidity: function appointAccountDesignator(next address) returns()

func (*EnforcementSession) AppointLawEnforcer

func (_Enforcement *EnforcementSession) AppointLawEnforcer(next common.Address) (*types.Transaction, error)

AppointLawEnforcer is a paid mutator transaction binding the contract method 0xb10725e8.

Solidity: function appointLawEnforcer(next address) returns()

func (*EnforcementSession) CryptoFiat

func (_Enforcement *EnforcementSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*EnforcementSession) Data

func (_Enforcement *EnforcementSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*EnforcementSession) DesignateAccount

func (_Enforcement *EnforcementSession) DesignateAccount(_account common.Address) (*types.Transaction, error)

DesignateAccount is a paid mutator transaction binding the contract method 0xb9b0330f.

Solidity: function designateAccount(_account address) returns()

func (*EnforcementSession) FreezeAccount

func (_Enforcement *EnforcementSession) FreezeAccount(target common.Address) (*types.Transaction, error)

FreezeAccount is a paid mutator transaction binding the contract method 0xf26c159f.

Solidity: function freezeAccount(target address) returns()

func (*EnforcementSession) LawEnforcer

func (_Enforcement *EnforcementSession) LawEnforcer() (common.Address, error)

LawEnforcer is a free data retrieval call binding the contract method 0x72cfc9dc.

Solidity: function lawEnforcer() constant returns(address)

func (*EnforcementSession) SwitchCryptoFiat

func (_Enforcement *EnforcementSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*EnforcementSession) SwitchData

func (_Enforcement *EnforcementSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*EnforcementSession) UnfreezeAccount

func (_Enforcement *EnforcementSession) UnfreezeAccount(target common.Address) (*types.Transaction, error)

UnfreezeAccount is a paid mutator transaction binding the contract method 0x788649ea.

Solidity: function unfreezeAccount(target address) returns()

func (*EnforcementSession) Withdraw

func (_Enforcement *EnforcementSession) Withdraw(from common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(from address, amount uint256) returns()

type EnforcementSupplyChanged

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

EnforcementSupplyChanged represents a SupplyChanged event raised by the Enforcement contract.

type EnforcementSupplyChangedIterator

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

EnforcementSupplyChangedIterator is returned from FilterSupplyChanged and is used to iterate over the raw logs and unpacked data for SupplyChanged events raised by the Enforcement contract.

func (*EnforcementSupplyChangedIterator) Close

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

func (*EnforcementSupplyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnforcementSupplyChangedIterator) 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 EnforcementTransactor

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

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

func NewEnforcementTransactor

func NewEnforcementTransactor(address common.Address, transactor bind.ContractTransactor) (*EnforcementTransactor, error)

NewEnforcementTransactor creates a new write-only instance of Enforcement, bound to a specific deployed contract.

func (*EnforcementTransactor) AppointAccountDesignator

func (_Enforcement *EnforcementTransactor) AppointAccountDesignator(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

AppointAccountDesignator is a paid mutator transaction binding the contract method 0x90f28e74.

Solidity: function appointAccountDesignator(next address) returns()

func (*EnforcementTransactor) AppointLawEnforcer

func (_Enforcement *EnforcementTransactor) AppointLawEnforcer(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

AppointLawEnforcer is a paid mutator transaction binding the contract method 0xb10725e8.

Solidity: function appointLawEnforcer(next address) returns()

func (*EnforcementTransactor) DesignateAccount

func (_Enforcement *EnforcementTransactor) DesignateAccount(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

DesignateAccount is a paid mutator transaction binding the contract method 0xb9b0330f.

Solidity: function designateAccount(_account address) returns()

func (*EnforcementTransactor) FreezeAccount

func (_Enforcement *EnforcementTransactor) FreezeAccount(opts *bind.TransactOpts, target common.Address) (*types.Transaction, error)

FreezeAccount is a paid mutator transaction binding the contract method 0xf26c159f.

Solidity: function freezeAccount(target address) returns()

func (*EnforcementTransactor) SwitchCryptoFiat

func (_Enforcement *EnforcementTransactor) SwitchCryptoFiat(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*EnforcementTransactor) SwitchData

func (_Enforcement *EnforcementTransactor) SwitchData(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*EnforcementTransactor) UnfreezeAccount

func (_Enforcement *EnforcementTransactor) UnfreezeAccount(opts *bind.TransactOpts, target common.Address) (*types.Transaction, error)

UnfreezeAccount is a paid mutator transaction binding the contract method 0x788649ea.

Solidity: function unfreezeAccount(target address) returns()

func (*EnforcementTransactor) Withdraw

func (_Enforcement *EnforcementTransactor) Withdraw(opts *bind.TransactOpts, from common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(from address, amount uint256) returns()

type EnforcementTransactorRaw

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

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

func (*EnforcementTransactorRaw) Transact

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

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

func (*EnforcementTransactorRaw) Transfer

func (_Enforcement *EnforcementTransactorRaw) 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 EnforcementTransactorSession

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

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

func (*EnforcementTransactorSession) AppointAccountDesignator

func (_Enforcement *EnforcementTransactorSession) AppointAccountDesignator(next common.Address) (*types.Transaction, error)

AppointAccountDesignator is a paid mutator transaction binding the contract method 0x90f28e74.

Solidity: function appointAccountDesignator(next address) returns()

func (*EnforcementTransactorSession) AppointLawEnforcer

func (_Enforcement *EnforcementTransactorSession) AppointLawEnforcer(next common.Address) (*types.Transaction, error)

AppointLawEnforcer is a paid mutator transaction binding the contract method 0xb10725e8.

Solidity: function appointLawEnforcer(next address) returns()

func (*EnforcementTransactorSession) DesignateAccount

func (_Enforcement *EnforcementTransactorSession) DesignateAccount(_account common.Address) (*types.Transaction, error)

DesignateAccount is a paid mutator transaction binding the contract method 0xb9b0330f.

Solidity: function designateAccount(_account address) returns()

func (*EnforcementTransactorSession) FreezeAccount

func (_Enforcement *EnforcementTransactorSession) FreezeAccount(target common.Address) (*types.Transaction, error)

FreezeAccount is a paid mutator transaction binding the contract method 0xf26c159f.

Solidity: function freezeAccount(target address) returns()

func (*EnforcementTransactorSession) SwitchCryptoFiat

func (_Enforcement *EnforcementTransactorSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*EnforcementTransactorSession) SwitchData

func (_Enforcement *EnforcementTransactorSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*EnforcementTransactorSession) UnfreezeAccount

func (_Enforcement *EnforcementTransactorSession) UnfreezeAccount(target common.Address) (*types.Transaction, error)

UnfreezeAccount is a paid mutator transaction binding the contract method 0x788649ea.

Solidity: function unfreezeAccount(target address) returns()

func (*EnforcementTransactorSession) Withdraw

func (_Enforcement *EnforcementTransactorSession) Withdraw(from common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(from address, amount uint256) returns()

type EnforcementTransfer

type EnforcementTransfer struct {
	Source      common.Address
	Destination common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

EnforcementTransfer represents a Transfer event raised by the Enforcement contract.

type EnforcementTransferIterator

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

EnforcementTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Enforcement contract.

func (*EnforcementTransferIterator) Close

func (it *EnforcementTransferIterator) Close() error

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

func (*EnforcementTransferIterator) Error

func (it *EnforcementTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnforcementTransferIterator) Next

func (it *EnforcementTransferIterator) 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 Reserve

type Reserve struct {
	ReserveCaller     // Read-only binding to the contract
	ReserveTransactor // Write-only binding to the contract
	ReserveFilterer   // Log filterer for contract events
}

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

func DeployReserve

func DeployReserve(auth *bind.TransactOpts, backend bind.ContractBackend, _cryptoFiat common.Address, _reserveBank common.Address) (common.Address, *types.Transaction, *Reserve, error)

DeployReserve deploys a new Ethereum contract, binding an instance of Reserve to it.

func NewReserve

func NewReserve(address common.Address, backend bind.ContractBackend) (*Reserve, error)

NewReserve creates a new instance of Reserve, bound to a specific deployed contract.

type ReserveAccountApproved

type ReserveAccountApproved struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ReserveAccountApproved represents a AccountApproved event raised by the Reserve contract.

type ReserveAccountApprovedIterator

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

ReserveAccountApprovedIterator is returned from FilterAccountApproved and is used to iterate over the raw logs and unpacked data for AccountApproved events raised by the Reserve contract.

func (*ReserveAccountApprovedIterator) Close

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

func (*ReserveAccountApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveAccountApprovedIterator) 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 ReserveAccountClosed

type ReserveAccountClosed struct {
	Source common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ReserveAccountClosed represents a AccountClosed event raised by the Reserve contract.

type ReserveAccountClosedIterator

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

ReserveAccountClosedIterator is returned from FilterAccountClosed and is used to iterate over the raw logs and unpacked data for AccountClosed events raised by the Reserve contract.

func (*ReserveAccountClosedIterator) Close

func (it *ReserveAccountClosedIterator) Close() error

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

func (*ReserveAccountClosedIterator) Error

func (it *ReserveAccountClosedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveAccountClosedIterator) 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 ReserveAccountFreeze

type ReserveAccountFreeze struct {
	Source common.Address
	Frozen bool
	Raw    types.Log // Blockchain specific contextual infos
}

ReserveAccountFreeze represents a AccountFreeze event raised by the Reserve contract.

type ReserveAccountFreezeIterator

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

ReserveAccountFreezeIterator is returned from FilterAccountFreeze and is used to iterate over the raw logs and unpacked data for AccountFreeze events raised by the Reserve contract.

func (*ReserveAccountFreezeIterator) Close

func (it *ReserveAccountFreezeIterator) Close() error

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

func (*ReserveAccountFreezeIterator) Error

func (it *ReserveAccountFreezeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveAccountFreezeIterator) 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 ReserveCaller

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

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

func NewReserveCaller

func NewReserveCaller(address common.Address, caller bind.ContractCaller) (*ReserveCaller, error)

NewReserveCaller creates a new read-only instance of Reserve, bound to a specific deployed contract.

func (*ReserveCaller) CryptoFiat

func (_Reserve *ReserveCaller) CryptoFiat(opts *bind.CallOpts) (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*ReserveCaller) Data

func (_Reserve *ReserveCaller) Data(opts *bind.CallOpts) (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*ReserveCaller) ReserveBank

func (_Reserve *ReserveCaller) ReserveBank(opts *bind.CallOpts) (common.Address, error)

ReserveBank is a free data retrieval call binding the contract method 0x02946804.

Solidity: function reserveBank() constant returns(address)

func (*ReserveCaller) TotalSupply

func (_Reserve *ReserveCaller) 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)

type ReserveCallerRaw

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

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

func (*ReserveCallerRaw) Call

func (_Reserve *ReserveCallerRaw) 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 ReserveCallerSession

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

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

func (*ReserveCallerSession) CryptoFiat

func (_Reserve *ReserveCallerSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*ReserveCallerSession) Data

func (_Reserve *ReserveCallerSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*ReserveCallerSession) ReserveBank

func (_Reserve *ReserveCallerSession) ReserveBank() (common.Address, error)

ReserveBank is a free data retrieval call binding the contract method 0x02946804.

Solidity: function reserveBank() constant returns(address)

func (*ReserveCallerSession) TotalSupply

func (_Reserve *ReserveCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ReserveFilterer

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

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

func NewReserveFilterer

func NewReserveFilterer(address common.Address, filterer bind.ContractFilterer) (*ReserveFilterer, error)

NewReserveFilterer creates a new log filterer instance of Reserve, bound to a specific deployed contract.

func (*ReserveFilterer) FilterAccountApproved

func (_Reserve *ReserveFilterer) FilterAccountApproved(opts *bind.FilterOpts, source []common.Address) (*ReserveAccountApprovedIterator, error)

FilterAccountApproved is a free log retrieval operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*ReserveFilterer) FilterAccountClosed

func (_Reserve *ReserveFilterer) FilterAccountClosed(opts *bind.FilterOpts, source []common.Address) (*ReserveAccountClosedIterator, error)

FilterAccountClosed is a free log retrieval operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*ReserveFilterer) FilterAccountFreeze

func (_Reserve *ReserveFilterer) FilterAccountFreeze(opts *bind.FilterOpts, source []common.Address) (*ReserveAccountFreezeIterator, error)

FilterAccountFreeze is a free log retrieval operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*ReserveFilterer) FilterSupplyChanged

func (_Reserve *ReserveFilterer) FilterSupplyChanged(opts *bind.FilterOpts) (*ReserveSupplyChangedIterator, error)

FilterSupplyChanged is a free log retrieval operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*ReserveFilterer) FilterTransfer

func (_Reserve *ReserveFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, destination []common.Address) (*ReserveTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

func (*ReserveFilterer) WatchAccountApproved

func (_Reserve *ReserveFilterer) WatchAccountApproved(opts *bind.WatchOpts, sink chan<- *ReserveAccountApproved, source []common.Address) (event.Subscription, error)

WatchAccountApproved is a free log subscription operation binding the contract event 0xbc7abdf8533487db28f8c616affbb4e122d90c5ab8deb258fd21b09cee595730.

Solidity: e AccountApproved(source indexed address)

func (*ReserveFilterer) WatchAccountClosed

func (_Reserve *ReserveFilterer) WatchAccountClosed(opts *bind.WatchOpts, sink chan<- *ReserveAccountClosed, source []common.Address) (event.Subscription, error)

WatchAccountClosed is a free log subscription operation binding the contract event 0xa29911196d428d7968f8bde7515181a391bfa16e26042f789f3f2da7665e25de.

Solidity: e AccountClosed(source indexed address)

func (*ReserveFilterer) WatchAccountFreeze

func (_Reserve *ReserveFilterer) WatchAccountFreeze(opts *bind.WatchOpts, sink chan<- *ReserveAccountFreeze, source []common.Address) (event.Subscription, error)

WatchAccountFreeze is a free log subscription operation binding the contract event 0xc0a52010de04a4a5a920bfbaa006102b1014b44a1e1f7315f03903cbcf5318ee.

Solidity: e AccountFreeze(source indexed address, frozen bool)

func (*ReserveFilterer) WatchSupplyChanged

func (_Reserve *ReserveFilterer) WatchSupplyChanged(opts *bind.WatchOpts, sink chan<- *ReserveSupplyChanged) (event.Subscription, error)

WatchSupplyChanged is a free log subscription operation binding the contract event 0xf71f9c3841c0bab7774017ffe585aeab36b5438d148506067901d47c5fa6f7e9.

Solidity: e SupplyChanged(totalSupply uint256)

func (*ReserveFilterer) WatchTransfer

func (_Reserve *ReserveFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ReserveTransfer, source []common.Address, destination []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(source indexed address, destination indexed address, amount uint256)

type ReserveRaw

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

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

func (*ReserveRaw) Call

func (_Reserve *ReserveRaw) 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 (*ReserveRaw) Transact

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

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

func (*ReserveRaw) Transfer

func (_Reserve *ReserveRaw) 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 ReserveSession

type ReserveSession struct {
	Contract     *Reserve          // 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
}

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

func (*ReserveSession) AppointReserveBank

func (_Reserve *ReserveSession) AppointReserveBank(next common.Address) (*types.Transaction, error)

AppointReserveBank is a paid mutator transaction binding the contract method 0xddf05f59.

Solidity: function appointReserveBank(next address) returns()

func (*ReserveSession) CryptoFiat

func (_Reserve *ReserveSession) CryptoFiat() (common.Address, error)

CryptoFiat is a free data retrieval call binding the contract method 0x516c4b84.

Solidity: function cryptoFiat() constant returns(address)

func (*ReserveSession) Data

func (_Reserve *ReserveSession) Data() (common.Address, error)

Data is a free data retrieval call binding the contract method 0x73d4a13a.

Solidity: function data() constant returns(address)

func (*ReserveSession) DecreaseSupply

func (_Reserve *ReserveSession) DecreaseSupply(amount *big.Int) (*types.Transaction, error)

DecreaseSupply is a paid mutator transaction binding the contract method 0x98e52f9a.

Solidity: function decreaseSupply(amount uint256) returns()

func (*ReserveSession) IncreaseSupply

func (_Reserve *ReserveSession) IncreaseSupply(amount *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0xb921e163.

Solidity: function increaseSupply(amount uint256) returns()

func (*ReserveSession) ReserveBank

func (_Reserve *ReserveSession) ReserveBank() (common.Address, error)

ReserveBank is a free data retrieval call binding the contract method 0x02946804.

Solidity: function reserveBank() constant returns(address)

func (*ReserveSession) SwitchCryptoFiat

func (_Reserve *ReserveSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*ReserveSession) SwitchData

func (_Reserve *ReserveSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

func (*ReserveSession) TotalSupply

func (_Reserve *ReserveSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ReserveSupplyChanged

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

ReserveSupplyChanged represents a SupplyChanged event raised by the Reserve contract.

type ReserveSupplyChangedIterator

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

ReserveSupplyChangedIterator is returned from FilterSupplyChanged and is used to iterate over the raw logs and unpacked data for SupplyChanged events raised by the Reserve contract.

func (*ReserveSupplyChangedIterator) Close

func (it *ReserveSupplyChangedIterator) Close() error

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

func (*ReserveSupplyChangedIterator) Error

func (it *ReserveSupplyChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveSupplyChangedIterator) 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 ReserveTransactor

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

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

func NewReserveTransactor

func NewReserveTransactor(address common.Address, transactor bind.ContractTransactor) (*ReserveTransactor, error)

NewReserveTransactor creates a new write-only instance of Reserve, bound to a specific deployed contract.

func (*ReserveTransactor) AppointReserveBank

func (_Reserve *ReserveTransactor) AppointReserveBank(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

AppointReserveBank is a paid mutator transaction binding the contract method 0xddf05f59.

Solidity: function appointReserveBank(next address) returns()

func (*ReserveTransactor) DecreaseSupply

func (_Reserve *ReserveTransactor) DecreaseSupply(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

DecreaseSupply is a paid mutator transaction binding the contract method 0x98e52f9a.

Solidity: function decreaseSupply(amount uint256) returns()

func (*ReserveTransactor) IncreaseSupply

func (_Reserve *ReserveTransactor) IncreaseSupply(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0xb921e163.

Solidity: function increaseSupply(amount uint256) returns()

func (*ReserveTransactor) SwitchCryptoFiat

func (_Reserve *ReserveTransactor) SwitchCryptoFiat(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*ReserveTransactor) SwitchData

func (_Reserve *ReserveTransactor) SwitchData(opts *bind.TransactOpts, next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

type ReserveTransactorRaw

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

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

func (*ReserveTransactorRaw) Transact

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

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

func (*ReserveTransactorRaw) Transfer

func (_Reserve *ReserveTransactorRaw) 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 ReserveTransactorSession

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

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

func (*ReserveTransactorSession) AppointReserveBank

func (_Reserve *ReserveTransactorSession) AppointReserveBank(next common.Address) (*types.Transaction, error)

AppointReserveBank is a paid mutator transaction binding the contract method 0xddf05f59.

Solidity: function appointReserveBank(next address) returns()

func (*ReserveTransactorSession) DecreaseSupply

func (_Reserve *ReserveTransactorSession) DecreaseSupply(amount *big.Int) (*types.Transaction, error)

DecreaseSupply is a paid mutator transaction binding the contract method 0x98e52f9a.

Solidity: function decreaseSupply(amount uint256) returns()

func (*ReserveTransactorSession) IncreaseSupply

func (_Reserve *ReserveTransactorSession) IncreaseSupply(amount *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0xb921e163.

Solidity: function increaseSupply(amount uint256) returns()

func (*ReserveTransactorSession) SwitchCryptoFiat

func (_Reserve *ReserveTransactorSession) SwitchCryptoFiat(next common.Address) (*types.Transaction, error)

SwitchCryptoFiat is a paid mutator transaction binding the contract method 0xfb55a055.

Solidity: function switchCryptoFiat(next address) returns()

func (*ReserveTransactorSession) SwitchData

func (_Reserve *ReserveTransactorSession) SwitchData(next common.Address) (*types.Transaction, error)

SwitchData is a paid mutator transaction binding the contract method 0x3363375c.

Solidity: function switchData(next address) returns()

type ReserveTransfer

type ReserveTransfer struct {
	Source      common.Address
	Destination common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ReserveTransfer represents a Transfer event raised by the Reserve contract.

type ReserveTransferIterator

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

ReserveTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Reserve contract.

func (*ReserveTransferIterator) Close

func (it *ReserveTransferIterator) Close() error

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

func (*ReserveTransferIterator) Error

func (it *ReserveTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveTransferIterator) Next

func (it *ReserveTransferIterator) 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.

Directories

Path Synopsis
analyse program prints different statistics about the cost of operations with CryptoFiat contracts
analyse program prints different statistics about the cost of operations with CryptoFiat contracts

Jump to

Keyboard shortcuts

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