Documentation
¶
Index ¶
- Constants
- type BasicToken
- type BasicTokenCaller
- type BasicTokenCallerRaw
- type BasicTokenCallerSession
- type BasicTokenFilterer
- func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, error)
- func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type BasicTokenRaw
- func (_BasicToken *BasicTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BasicToken *BasicTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BasicToken *BasicTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BasicTokenSession
- type BasicTokenTransactor
- type BasicTokenTransactorRaw
- type BasicTokenTransactorSession
- type BasicTokenTransfer
- type BasicTokenTransferIterator
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Basic
- type ERC20BasicCaller
- type ERC20BasicCallerRaw
- type ERC20BasicCallerSession
- type ERC20BasicFilterer
- func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)
- func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20BasicRaw
- func (_ERC20Basic *ERC20BasicRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20Basic *ERC20BasicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Basic *ERC20BasicRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20BasicSession
- type ERC20BasicTransactor
- type ERC20BasicTransactorRaw
- type ERC20BasicTransactorSession
- type ERC20BasicTransfer
- type ERC20BasicTransferIterator
- type ERC20Caller
- type ERC20CallerRaw
- type ERC20CallerSession
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(who common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type ERC20Transfer
- type ERC20TransferIterator
- type Migrations
- type MigrationsCaller
- type MigrationsCallerRaw
- type MigrationsCallerSession
- type MigrationsFilterer
- type MigrationsRaw
- func (_Migrations *MigrationsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Migrations *MigrationsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Migrations *MigrationsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MigrationsSession
- func (_Migrations *MigrationsSession) Last_completed_migration() (*big.Int, error)
- func (_Migrations *MigrationsSession) Owner() (common.Address, error)
- func (_Migrations *MigrationsSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
- func (_Migrations *MigrationsSession) Upgrade(new_address common.Address) (*types.Transaction, error)
- type MigrationsTransactor
- type MigrationsTransactorRaw
- type MigrationsTransactorSession
- type OracleUSD
- type OracleUSDCaller
- type OracleUSDCallerRaw
- type OracleUSDCallerSession
- type OracleUSDFilterer
- func (_OracleUSD *OracleUSDFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OracleUSDOwnershipTransferredIterator, error)
- func (_OracleUSD *OracleUSDFilterer) FilterPriceChanged(opts *bind.FilterOpts) (*OracleUSDPriceChangedIterator, error)
- func (_OracleUSD *OracleUSDFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OracleUSDOwnershipTransferred, ...) (event.Subscription, error)
- func (_OracleUSD *OracleUSDFilterer) WatchPriceChanged(opts *bind.WatchOpts, sink chan<- *OracleUSDPriceChanged) (event.Subscription, error)
- type OracleUSDOwnershipTransferred
- type OracleUSDOwnershipTransferredIterator
- type OracleUSDPriceChanged
- type OracleUSDPriceChangedIterator
- type OracleUSDRaw
- func (_OracleUSD *OracleUSDRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_OracleUSD *OracleUSDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OracleUSD *OracleUSDRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OracleUSDSession
- func (_OracleUSD *OracleUSDSession) GetCurrentPrice() (*big.Int, error)
- func (_OracleUSD *OracleUSDSession) Owner() (common.Address, error)
- func (_OracleUSD *OracleUSDSession) SetCurrentPrice(_price *big.Int) (*types.Transaction, error)
- func (_OracleUSD *OracleUSDSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OracleUSDTransactor
- type OracleUSDTransactorRaw
- type OracleUSDTransactorSession
- type Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
- type ProfileRegistry
- type ProfileRegistryCaller
- func (_ProfileRegistry *ProfileRegistryCaller) Certificates(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_ProfileRegistry *ProfileRegistryCaller) CheckProfileLevel(opts *bind.CallOpts, _owner common.Address, _levelRequired *big.Int) (bool, error)
- func (_ProfileRegistry *ProfileRegistryCaller) GetAttributeCount(opts *bind.CallOpts, _owner common.Address, _type *big.Int) (*big.Int, error)
- func (_ProfileRegistry *ProfileRegistryCaller) GetAttributeValue(opts *bind.CallOpts, _owner common.Address, _type *big.Int) ([]byte, error)
- func (_ProfileRegistry *ProfileRegistryCaller) GetCertificate(opts *bind.CallOpts, _id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
- func (_ProfileRegistry *ProfileRegistryCaller) GetValidatorLevel(opts *bind.CallOpts, _validator common.Address) (int8, error)
- func (_ProfileRegistry *ProfileRegistryCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (int8, error)
- type ProfileRegistryCallerRaw
- type ProfileRegistryCallerSession
- func (_ProfileRegistry *ProfileRegistryCallerSession) Certificates(arg0 *big.Int) (struct{ ... }, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) CheckProfileLevel(_owner common.Address, _levelRequired *big.Int) (bool, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) GetAttributeCount(_owner common.Address, _type *big.Int) (*big.Int, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) GetAttributeValue(_owner common.Address, _type *big.Int) ([]byte, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) GetCertificate(_id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) GetValidatorLevel(_validator common.Address) (int8, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) Validators(arg0 common.Address) (int8, error)
- type ProfileRegistryCertificateCreated
- type ProfileRegistryCertificateCreatedIterator
- type ProfileRegistryCertificateUpdated
- type ProfileRegistryCertificateUpdatedIterator
- type ProfileRegistryFilterer
- func (_ProfileRegistry *ProfileRegistryFilterer) FilterCertificateCreated(opts *bind.FilterOpts, id []*big.Int) (*ProfileRegistryCertificateCreatedIterator, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) FilterCertificateUpdated(opts *bind.FilterOpts, id []*big.Int) (*ProfileRegistryCertificateUpdatedIterator, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) FilterValidatorCreated(opts *bind.FilterOpts, validator []common.Address) (*ProfileRegistryValidatorCreatedIterator, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) FilterValidatorDeleted(opts *bind.FilterOpts, validator []common.Address) (*ProfileRegistryValidatorDeletedIterator, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) WatchCertificateCreated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryCertificateCreated, ...) (event.Subscription, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) WatchCertificateUpdated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryCertificateUpdated, ...) (event.Subscription, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) WatchValidatorCreated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryValidatorCreated, ...) (event.Subscription, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) WatchValidatorDeleted(opts *bind.WatchOpts, sink chan<- *ProfileRegistryValidatorDeleted, ...) (event.Subscription, error)
- type ProfileRegistryRaw
- func (_ProfileRegistry *ProfileRegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ProfileRegistry *ProfileRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProfileRegistrySession
- func (_ProfileRegistry *ProfileRegistrySession) AddValidator(_validator common.Address, _level int8) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistrySession) Certificates(arg0 *big.Int) (struct{ ... }, error)
- func (_ProfileRegistry *ProfileRegistrySession) CheckProfileLevel(_owner common.Address, _levelRequired *big.Int) (bool, error)
- func (_ProfileRegistry *ProfileRegistrySession) CreateCertificate(_owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistrySession) GetAttributeCount(_owner common.Address, _type *big.Int) (*big.Int, error)
- func (_ProfileRegistry *ProfileRegistrySession) GetAttributeValue(_owner common.Address, _type *big.Int) ([]byte, error)
- func (_ProfileRegistry *ProfileRegistrySession) GetCertificate(_id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
- func (_ProfileRegistry *ProfileRegistrySession) GetValidatorLevel(_validator common.Address) (int8, error)
- func (_ProfileRegistry *ProfileRegistrySession) RemoveCertificate(_id *big.Int) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistrySession) RemoveValidator(_validator common.Address) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistrySession) Validators(arg0 common.Address) (int8, error)
- type ProfileRegistryTransactor
- func (_ProfileRegistry *ProfileRegistryTransactor) AddValidator(opts *bind.TransactOpts, _validator common.Address, _level int8) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactor) CreateCertificate(opts *bind.TransactOpts, _owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactor) RemoveCertificate(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactor) RemoveValidator(opts *bind.TransactOpts, _validator common.Address) (*types.Transaction, error)
- type ProfileRegistryTransactorRaw
- type ProfileRegistryTransactorSession
- func (_ProfileRegistry *ProfileRegistryTransactorSession) AddValidator(_validator common.Address, _level int8) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactorSession) CreateCertificate(_owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactorSession) RemoveCertificate(_id *big.Int) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactorSession) RemoveValidator(_validator common.Address) (*types.Transaction, error)
- type ProfileRegistryValidatorCreated
- type ProfileRegistryValidatorCreatedIterator
- type ProfileRegistryValidatorDeleted
- type ProfileRegistryValidatorDeletedIterator
- type SNM
- type SNMApproval
- type SNMApprovalIterator
- type SNMCaller
- func (_SNM *SNMCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNM *SNMCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_SNM *SNMCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_SNM *SNMCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SNM *SNMCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SNM *SNMCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SNM *SNMCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SNMCallerRaw
- type SNMCallerSession
- func (_SNM *SNMCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNM *SNMCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNM *SNMCallerSession) Decimals() (*big.Int, error)
- func (_SNM *SNMCallerSession) Name() (string, error)
- func (_SNM *SNMCallerSession) Owner() (common.Address, error)
- func (_SNM *SNMCallerSession) Symbol() (string, error)
- func (_SNM *SNMCallerSession) TotalSupply() (*big.Int, error)
- type SNMD
- type SNMDApproval
- type SNMDApprovalIterator
- type SNMDCaller
- func (_SNMD *SNMDCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMD *SNMDCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_SNMD *SNMDCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_SNMD *SNMDCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SNMD *SNMDCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SNMD *SNMDCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SNMD *SNMDCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SNMDCallerRaw
- type SNMDCallerSession
- func (_SNMD *SNMDCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMD *SNMDCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNMD *SNMDCallerSession) Decimals() (*big.Int, error)
- func (_SNMD *SNMDCallerSession) Name() (string, error)
- func (_SNMD *SNMDCallerSession) Owner() (common.Address, error)
- func (_SNMD *SNMDCallerSession) Symbol() (string, error)
- func (_SNMD *SNMDCallerSession) TotalSupply() (*big.Int, error)
- type SNMDFilterer
- func (_SNMD *SNMDFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMDApprovalIterator, error)
- func (_SNMD *SNMDFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SNMDOwnershipTransferredIterator, error)
- func (_SNMD *SNMDFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMDTransferIterator, error)
- func (_SNMD *SNMDFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMDApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_SNMD *SNMDFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SNMDOwnershipTransferred, ...) (event.Subscription, error)
- func (_SNMD *SNMDFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMDTransfer, from []common.Address, ...) (event.Subscription, error)
- type SNMDOwnershipTransferred
- type SNMDOwnershipTransferredIterator
- type SNMDRaw
- func (_SNMD *SNMDRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SNMD *SNMDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SNMD *SNMDRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SNMDSession
- func (_SNMD *SNMDSession) AddMarket(_newMarket common.Address) (*types.Transaction, error)
- func (_SNMD *SNMDSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMD *SNMDSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNMD *SNMDSession) Decimals() (*big.Int, error)
- func (_SNMD *SNMDSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) Name() (string, error)
- func (_SNMD *SNMDSession) Owner() (common.Address, error)
- func (_SNMD *SNMDSession) Symbol() (string, error)
- func (_SNMD *SNMDSession) TotalSupply() (*big.Int, error)
- func (_SNMD *SNMDSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMDTransactor
- func (_SNMD *SNMDTransactor) AddMarket(opts *bind.TransactOpts, _newMarket common.Address) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SNMDTransactorRaw
- type SNMDTransactorSession
- func (_SNMD *SNMDTransactorSession) AddMarket(_newMarket common.Address) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMDTransfer
- type SNMDTransferIterator
- type SNMFilterer
- func (_SNM *SNMFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMApprovalIterator, error)
- func (_SNM *SNMFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SNMOwnershipTransferredIterator, error)
- func (_SNM *SNMFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMTransferIterator, error)
- func (_SNM *SNMFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_SNM *SNMFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SNMOwnershipTransferred, ...) (event.Subscription, error)
- func (_SNM *SNMFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMTransfer, from []common.Address, ...) (event.Subscription, error)
- type SNMOwnershipTransferred
- type SNMOwnershipTransferredIterator
- type SNMRaw
- func (_SNM *SNMRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SNM *SNMRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SNM *SNMRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SNMSession
- func (_SNM *SNMSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNM *SNMSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNM *SNMSession) Decimals() (*big.Int, error)
- func (_SNM *SNMSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) Name() (string, error)
- func (_SNM *SNMSession) Owner() (common.Address, error)
- func (_SNM *SNMSession) Symbol() (string, error)
- func (_SNM *SNMSession) TotalSupply() (*big.Int, error)
- func (_SNM *SNMSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMTToken
- type SNMTTokenApproval
- type SNMTTokenApprovalIterator
- type SNMTTokenCaller
- func (_SNMTToken *SNMTTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SNMTToken *SNMTTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SNMTToken *SNMTTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SNMTToken *SNMTTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SNMTTokenCallerRaw
- type SNMTTokenCallerSession
- func (_SNMTToken *SNMTTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCallerSession) Decimals() (*big.Int, error)
- func (_SNMTToken *SNMTTokenCallerSession) Name() (string, error)
- func (_SNMTToken *SNMTTokenCallerSession) Owner() (common.Address, error)
- func (_SNMTToken *SNMTTokenCallerSession) Symbol() (string, error)
- func (_SNMTToken *SNMTTokenCallerSession) TotalSupply() (*big.Int, error)
- type SNMTTokenFilterer
- func (_SNMTToken *SNMTTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMTTokenApprovalIterator, error)
- func (_SNMTToken *SNMTTokenFilterer) FilterGiveAway(opts *bind.FilterOpts) (*SNMTTokenGiveAwayIterator, error)
- func (_SNMTToken *SNMTTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMTTokenTransferIterator, error)
- func (_SNMTToken *SNMTTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMTTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_SNMTToken *SNMTTokenFilterer) WatchGiveAway(opts *bind.WatchOpts, sink chan<- *SNMTTokenGiveAway) (event.Subscription, error)
- func (_SNMTToken *SNMTTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMTTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type SNMTTokenGiveAway
- type SNMTTokenGiveAwayIterator
- type SNMTTokenRaw
- func (_SNMTToken *SNMTTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SNMTToken *SNMTTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SNMTTokenSession
- func (_SNMTToken *SNMTTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenSession) Decimals() (*big.Int, error)
- func (_SNMTToken *SNMTTokenSession) GetTokens() (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) Name() (string, error)
- func (_SNMTToken *SNMTTokenSession) Owner() (common.Address, error)
- func (_SNMTToken *SNMTTokenSession) Symbol() (string, error)
- func (_SNMTToken *SNMTTokenSession) TotalSupply() (*big.Int, error)
- func (_SNMTToken *SNMTTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMTTokenTransactor
- func (_SNMTToken *SNMTTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) GetTokens(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) MintToken(opts *bind.TransactOpts, target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SNMTTokenTransactorRaw
- type SNMTTokenTransactorSession
- func (_SNMTToken *SNMTTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) GetTokens() (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMTTokenTransfer
- type SNMTTokenTransferIterator
- type SNMTransactor
- func (_SNM *SNMTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_SNM *SNMTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SNMTransactorRaw
- type SNMTransactorSession
- func (_SNM *SNMTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMTransfer
- type SNMTransferIterator
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type SimpleGatekeeper
- type SimpleGatekeeperCaller
- func (_SimpleGatekeeper *SimpleGatekeeperCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SimpleGatekeeper *SimpleGatekeeperCaller) Paid(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_SimpleGatekeeper *SimpleGatekeeperCaller) TransactionAmount(opts *bind.CallOpts) (*big.Int, error)
- type SimpleGatekeeperCallerRaw
- type SimpleGatekeeperCallerSession
- type SimpleGatekeeperFilterer
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SimpleGatekeeperOwnershipTransferredIterator, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterPayInTx(opts *bind.FilterOpts, from []common.Address, txNumber []*big.Int, ...) (*SimpleGatekeeperPayInTxIterator, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterPayoutTx(opts *bind.FilterOpts, from []common.Address, txNumber []*big.Int, ...) (*SimpleGatekeeperPayoutTxIterator, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterSuicide(opts *bind.FilterOpts) (*SimpleGatekeeperSuicideIterator, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperOwnershipTransferred, ...) (event.Subscription, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchPayInTx(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperPayInTx, ...) (event.Subscription, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchPayoutTx(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperPayoutTx, ...) (event.Subscription, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchSuicide(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperSuicide) (event.Subscription, error)
- type SimpleGatekeeperOwnershipTransferred
- type SimpleGatekeeperOwnershipTransferredIterator
- type SimpleGatekeeperPayInTx
- type SimpleGatekeeperPayInTxIterator
- type SimpleGatekeeperPayoutTx
- type SimpleGatekeeperPayoutTxIterator
- type SimpleGatekeeperRaw
- func (_SimpleGatekeeper *SimpleGatekeeperRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SimpleGatekeeper *SimpleGatekeeperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleGatekeeperSession
- func (_SimpleGatekeeper *SimpleGatekeeperSession) Kill() (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) Owner() (common.Address, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) Paid(arg0 [32]byte) (bool, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) PayIn(_value *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) Payout(_to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) TransactionAmount() (*big.Int, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SimpleGatekeeperSuicide
- type SimpleGatekeeperSuicideIterator
- type SimpleGatekeeperTransactor
- func (_SimpleGatekeeper *SimpleGatekeeperTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactor) PayIn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactor) Payout(opts *bind.TransactOpts, _to common.Address, _value *big.Int, ...) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SimpleGatekeeperTransactorRaw
- type SimpleGatekeeperTransactorSession
- func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) Kill() (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) PayIn(_value *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) Payout(_to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type StandardToken
- type StandardTokenApproval
- type StandardTokenApprovalIterator
- type StandardTokenCaller
- func (_StandardToken *StandardTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type StandardTokenCallerRaw
- type StandardTokenCallerSession
- func (_StandardToken *StandardTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)
- type StandardTokenFilterer
- func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, error)
- func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, error)
- func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, ...) (event.Subscription, error)
- func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, ...) (event.Subscription, error)
- type StandardTokenRaw
- func (_StandardToken *StandardTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StandardToken *StandardTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StandardTokenSession
- func (_StandardToken *StandardTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)
- func (_StandardToken *StandardTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type StandardTokenTransactor
- func (_StandardToken *StandardTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type StandardTokenTransactorRaw
- type StandardTokenTransactorSession
- func (_StandardToken *StandardTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type StandardTokenTransfer
- type StandardTokenTransferIterator
Constants ¶
const BasicTokenABI = "" /* 911-byte string literal not displayed */
BasicTokenABI is the input ABI used to generate the binding from.
const BasicTokenBin = `` /* 1338-byte string literal not displayed */
BasicTokenBin is the compiled bytecode used for deploying new contracts.
const ERC20ABI = "" /* 1993-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC20BasicABI = "" /* 906-byte string literal not displayed */
ERC20BasicABI is the input ABI used to generate the binding from.
const ERC20BasicBin = `0x`
ERC20BasicBin is the compiled bytecode used for deploying new contracts.
const ERC20Bin = `0x`
ERC20Bin is the compiled bytecode used for deploying new contracts.
const MigrationsABI = "" /* 849-byte string literal not displayed */
MigrationsABI is the input ABI used to generate the binding from.
const MigrationsBin = `` /* 1246-byte string literal not displayed */
MigrationsBin is the compiled bytecode used for deploying new contracts.
const OracleUSDABI = "" /* 1204-byte string literal not displayed */
OracleUSDABI is the input ABI used to generate the binding from.
const OracleUSDBin = `` /* 1240-byte string literal not displayed */
OracleUSDBin is the compiled bytecode used for deploying new contracts.
const OwnableABI = "" /* 685-byte string literal not displayed */
OwnableABI is the input ABI used to generate the binding from.
const OwnableBin = `` /* 844-byte string literal not displayed */
OwnableBin is the compiled bytecode used for deploying new contracts.
const ProfileRegistryABI = "" /* 3587-byte string literal not displayed */
ProfileRegistryABI is the input ABI used to generate the binding from.
const ProfileRegistryBin = `` /* 7938-byte string literal not displayed */
ProfileRegistryBin is the compiled bytecode used for deploying new contracts.
const SNMABI = "" /* 3774-byte string literal not displayed */
SNMABI is the input ABI used to generate the binding from.
const SNMBin = `` /* 5648-byte string literal not displayed */
SNMBin is the compiled bytecode used for deploying new contracts.
const SNMDABI = "" /* 3968-byte string literal not displayed */
SNMDABI is the input ABI used to generate the binding from.
const SNMDBin = `` /* 6486-byte string literal not displayed */
SNMDBin is the compiled bytecode used for deploying new contracts.
const SNMTTokenABI = "" /* 3730-byte string literal not displayed */
SNMTTokenABI is the input ABI used to generate the binding from.
const SNMTTokenBin = `` /* 5134-byte string literal not displayed */
SNMTTokenBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
const SimpleGatekeeperABI = "" /* 2363-byte string literal not displayed */
SimpleGatekeeperABI is the input ABI used to generate the binding from.
const SimpleGatekeeperBin = `` /* 3436-byte string literal not displayed */
SimpleGatekeeperBin is the compiled bytecode used for deploying new contracts.
const StandardTokenABI = "" /* 2570-byte string literal not displayed */
StandardTokenABI is the input ABI used to generate the binding from.
const StandardTokenBin = `` /* 3496-byte string literal not displayed */
StandardTokenBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicToken ¶
type BasicToken struct {
BasicTokenCaller // Read-only binding to the contract
BasicTokenTransactor // Write-only binding to the contract
BasicTokenFilterer // Log filterer for contract events
}
BasicToken is an auto generated Go binding around an Ethereum contract.
func DeployBasicToken ¶
func DeployBasicToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BasicToken, error)
DeployBasicToken deploys a new Ethereum contract, binding an instance of BasicToken to it.
func NewBasicToken ¶
func NewBasicToken(address common.Address, backend bind.ContractBackend) (*BasicToken, error)
NewBasicToken creates a new instance of BasicToken, bound to a specific deployed contract.
type BasicTokenCaller ¶
type BasicTokenCaller struct {
// contains filtered or unexported fields
}
BasicTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBasicTokenCaller ¶
func NewBasicTokenCaller(address common.Address, caller bind.ContractCaller) (*BasicTokenCaller, error)
NewBasicTokenCaller creates a new read-only instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenCaller) BalanceOf ¶
func (_BasicToken *BasicTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*BasicTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BasicTokenCallerRaw ¶
type BasicTokenCallerRaw struct {
Contract *BasicTokenCaller // Generic read-only contract binding to access the raw methods on
}
BasicTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BasicTokenCallerRaw) Call ¶
func (_BasicToken *BasicTokenCallerRaw) 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 BasicTokenCallerSession ¶
type BasicTokenCallerSession struct {
Contract *BasicTokenCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
BasicTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BasicTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*BasicTokenCallerSession) TotalSupply ¶
func (_BasicToken *BasicTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BasicTokenFilterer ¶
type BasicTokenFilterer struct {
// contains filtered or unexported fields
}
BasicTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBasicTokenFilterer ¶
func NewBasicTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BasicTokenFilterer, error)
NewBasicTokenFilterer creates a new log filterer instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenFilterer) FilterTransfer ¶
func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*BasicTokenFilterer) WatchTransfer ¶
func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type BasicTokenRaw ¶
type BasicTokenRaw struct {
Contract *BasicToken // Generic contract binding to access the raw methods on
}
BasicTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BasicTokenRaw) Call ¶
func (_BasicToken *BasicTokenRaw) 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 (*BasicTokenRaw) Transact ¶
func (_BasicToken *BasicTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasicTokenRaw) Transfer ¶
func (_BasicToken *BasicTokenRaw) 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 BasicTokenSession ¶
type BasicTokenSession struct {
Contract *BasicToken // 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
}
BasicTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BasicTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*BasicTokenSession) TotalSupply ¶
func (_BasicToken *BasicTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*BasicTokenSession) Transfer ¶
func (_BasicToken *BasicTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
type BasicTokenTransactor ¶
type BasicTokenTransactor struct {
// contains filtered or unexported fields
}
BasicTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBasicTokenTransactor ¶
func NewBasicTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BasicTokenTransactor, error)
NewBasicTokenTransactor creates a new write-only instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenTransactor) Transfer ¶
func (_BasicToken *BasicTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
type BasicTokenTransactorRaw ¶
type BasicTokenTransactorRaw struct {
Contract *BasicTokenTransactor // Generic write-only contract binding to access the raw methods on
}
BasicTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BasicTokenTransactorRaw) Transact ¶
func (_BasicToken *BasicTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasicTokenTransactorRaw) Transfer ¶
func (_BasicToken *BasicTokenTransactorRaw) 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 BasicTokenTransactorSession ¶
type BasicTokenTransactorSession struct {
Contract *BasicTokenTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
BasicTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BasicTokenTransactorSession) Transfer ¶
func (_BasicToken *BasicTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
type BasicTokenTransfer ¶
type BasicTokenTransfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
BasicTokenTransfer represents a Transfer event raised by the BasicToken contract.
type BasicTokenTransferIterator ¶
type BasicTokenTransferIterator struct {
Event *BasicTokenTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
BasicTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BasicToken contract.
func (*BasicTokenTransferIterator) Close ¶
func (it *BasicTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BasicTokenTransferIterator) Error ¶
func (it *BasicTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BasicTokenTransferIterator) Next ¶
func (it *BasicTokenTransferIterator) 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 ERC20 ¶
type ERC20 struct {
ERC20Caller // Read-only binding to the contract
ERC20Transactor // Write-only binding to the contract
ERC20Filterer // Log filterer for contract events
}
ERC20 is an auto generated Go binding around an Ethereum contract.
func DeployERC20 ¶
func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error)
DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.
type ERC20Approval ¶
type ERC20Approval struct {
Owner common.Address
Spender common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct {
Event *ERC20Approval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) 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 ERC20Basic ¶
type ERC20Basic struct {
ERC20BasicCaller // Read-only binding to the contract
ERC20BasicTransactor // Write-only binding to the contract
ERC20BasicFilterer // Log filterer for contract events
}
ERC20Basic is an auto generated Go binding around an Ethereum contract.
func DeployERC20Basic ¶
func DeployERC20Basic(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Basic, error)
DeployERC20Basic deploys a new Ethereum contract, binding an instance of ERC20Basic to it.
func NewERC20Basic ¶
func NewERC20Basic(address common.Address, backend bind.ContractBackend) (*ERC20Basic, error)
NewERC20Basic creates a new instance of ERC20Basic, bound to a specific deployed contract.
type ERC20BasicCaller ¶
type ERC20BasicCaller struct {
// contains filtered or unexported fields
}
ERC20BasicCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20BasicCaller ¶
func NewERC20BasicCaller(address common.Address, caller bind.ContractCaller) (*ERC20BasicCaller, error)
NewERC20BasicCaller creates a new read-only instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicCaller) BalanceOf ¶
func (_ERC20Basic *ERC20BasicCaller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20BasicCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20BasicCallerRaw ¶
type ERC20BasicCallerRaw struct {
Contract *ERC20BasicCaller // Generic read-only contract binding to access the raw methods on
}
ERC20BasicCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20BasicCallerRaw) Call ¶
func (_ERC20Basic *ERC20BasicCallerRaw) 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 ERC20BasicCallerSession ¶
type ERC20BasicCallerSession struct {
Contract *ERC20BasicCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ERC20BasicCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20BasicCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20BasicCallerSession) TotalSupply ¶
func (_ERC20Basic *ERC20BasicCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20BasicFilterer ¶
type ERC20BasicFilterer struct {
// contains filtered or unexported fields
}
ERC20BasicFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20BasicFilterer ¶
func NewERC20BasicFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BasicFilterer, error)
NewERC20BasicFilterer creates a new log filterer instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicFilterer) FilterTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*ERC20BasicFilterer) WatchTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type ERC20BasicRaw ¶
type ERC20BasicRaw struct {
Contract *ERC20Basic // Generic contract binding to access the raw methods on
}
ERC20BasicRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20BasicRaw) Call ¶
func (_ERC20Basic *ERC20BasicRaw) 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 (*ERC20BasicRaw) Transact ¶
func (_ERC20Basic *ERC20BasicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BasicRaw) Transfer ¶
func (_ERC20Basic *ERC20BasicRaw) 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 ERC20BasicSession ¶
type ERC20BasicSession struct {
Contract *ERC20Basic // 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
}
ERC20BasicSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20BasicSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20BasicSession) TotalSupply ¶
func (_ERC20Basic *ERC20BasicSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ERC20BasicSession) Transfer ¶
func (_ERC20Basic *ERC20BasicSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(to address, value uint256) returns(bool)
type ERC20BasicTransactor ¶
type ERC20BasicTransactor struct {
// contains filtered or unexported fields
}
ERC20BasicTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20BasicTransactor ¶
func NewERC20BasicTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BasicTransactor, error)
NewERC20BasicTransactor creates a new write-only instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicTransactor) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(to address, value uint256) returns(bool)
type ERC20BasicTransactorRaw ¶
type ERC20BasicTransactorRaw struct {
Contract *ERC20BasicTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20BasicTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20BasicTransactorRaw) Transact ¶
func (_ERC20Basic *ERC20BasicTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BasicTransactorRaw) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactorRaw) 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 ERC20BasicTransactorSession ¶
type ERC20BasicTransactorSession struct {
Contract *ERC20BasicTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ERC20BasicTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20BasicTransactorSession) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(to address, value uint256) returns(bool)
type ERC20BasicTransfer ¶
type ERC20BasicTransfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ERC20BasicTransfer represents a Transfer event raised by the ERC20Basic contract.
type ERC20BasicTransferIterator ¶
type ERC20BasicTransferIterator struct {
Event *ERC20BasicTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ERC20BasicTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20Basic contract.
func (*ERC20BasicTransferIterator) Close ¶
func (it *ERC20BasicTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20BasicTransferIterator) Error ¶
func (it *ERC20BasicTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20BasicTransferIterator) Next ¶
func (it *ERC20BasicTransferIterator) 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 ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(owner address, spender address) constant returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20CallerRaw ¶
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20CallerRaw) Call ¶
func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession ¶
type ERC20CallerSession struct {
Contract *ERC20Caller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(owner address, spender address) constant returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20CallerSession) TotalSupply ¶
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) 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 ERC20Session ¶
type ERC20Session struct {
Contract *ERC20 // 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
}
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(owner address, spender address) constant returns(uint256)
func (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(spender address, value uint256) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20Session) TotalSupply ¶
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(to address, value uint256) returns(bool)
func (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(from address, to address, value uint256) returns(bool)
type ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(spender address, value uint256) returns(bool)
func (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(to address, value uint256) returns(bool)
func (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(from address, to address, value uint256) returns(bool)
type ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession ¶
type ERC20TransactorSession struct {
Contract *ERC20Transactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(spender address, value uint256) returns(bool)
func (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(to address, value uint256) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(from address, to address, value uint256) returns(bool)
type ERC20Transfer ¶
type ERC20Transfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct {
Event *ERC20Transfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) 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 Migrations ¶
type Migrations struct {
MigrationsCaller // Read-only binding to the contract
MigrationsTransactor // Write-only binding to the contract
MigrationsFilterer // Log filterer for contract events
}
Migrations is an auto generated Go binding around an Ethereum contract.
func DeployMigrations ¶
func DeployMigrations(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Migrations, error)
DeployMigrations deploys a new Ethereum contract, binding an instance of Migrations to it.
func NewMigrations ¶
func NewMigrations(address common.Address, backend bind.ContractBackend) (*Migrations, error)
NewMigrations creates a new instance of Migrations, bound to a specific deployed contract.
type MigrationsCaller ¶
type MigrationsCaller struct {
// contains filtered or unexported fields
}
MigrationsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMigrationsCaller ¶
func NewMigrationsCaller(address common.Address, caller bind.ContractCaller) (*MigrationsCaller, error)
NewMigrationsCaller creates a new read-only instance of Migrations, bound to a specific deployed contract.
func (*MigrationsCaller) Last_completed_migration ¶
func (_Migrations *MigrationsCaller) Last_completed_migration(opts *bind.CallOpts) (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
type MigrationsCallerRaw ¶
type MigrationsCallerRaw struct {
Contract *MigrationsCaller // Generic read-only contract binding to access the raw methods on
}
MigrationsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MigrationsCallerRaw) Call ¶
func (_Migrations *MigrationsCallerRaw) 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 MigrationsCallerSession ¶
type MigrationsCallerSession struct {
Contract *MigrationsCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
MigrationsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MigrationsCallerSession) Last_completed_migration ¶
func (_Migrations *MigrationsCallerSession) Last_completed_migration() (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
type MigrationsFilterer ¶
type MigrationsFilterer struct {
// contains filtered or unexported fields
}
MigrationsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMigrationsFilterer ¶
func NewMigrationsFilterer(address common.Address, filterer bind.ContractFilterer) (*MigrationsFilterer, error)
NewMigrationsFilterer creates a new log filterer instance of Migrations, bound to a specific deployed contract.
type MigrationsRaw ¶
type MigrationsRaw struct {
Contract *Migrations // Generic contract binding to access the raw methods on
}
MigrationsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MigrationsRaw) Call ¶
func (_Migrations *MigrationsRaw) 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 (*MigrationsRaw) Transact ¶
func (_Migrations *MigrationsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MigrationsRaw) Transfer ¶
func (_Migrations *MigrationsRaw) 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 MigrationsSession ¶
type MigrationsSession struct {
Contract *Migrations // 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
}
MigrationsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MigrationsSession) Last_completed_migration ¶
func (_Migrations *MigrationsSession) Last_completed_migration() (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
func (*MigrationsSession) Owner ¶
func (_Migrations *MigrationsSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*MigrationsSession) SetCompleted ¶
func (_Migrations *MigrationsSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsSession) Upgrade ¶
func (_Migrations *MigrationsSession) Upgrade(new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()
type MigrationsTransactor ¶
type MigrationsTransactor struct {
// contains filtered or unexported fields
}
MigrationsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMigrationsTransactor ¶
func NewMigrationsTransactor(address common.Address, transactor bind.ContractTransactor) (*MigrationsTransactor, error)
NewMigrationsTransactor creates a new write-only instance of Migrations, bound to a specific deployed contract.
func (*MigrationsTransactor) SetCompleted ¶
func (_Migrations *MigrationsTransactor) SetCompleted(opts *bind.TransactOpts, completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsTransactor) Upgrade ¶
func (_Migrations *MigrationsTransactor) Upgrade(opts *bind.TransactOpts, new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()
type MigrationsTransactorRaw ¶
type MigrationsTransactorRaw struct {
Contract *MigrationsTransactor // Generic write-only contract binding to access the raw methods on
}
MigrationsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MigrationsTransactorRaw) Transact ¶
func (_Migrations *MigrationsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MigrationsTransactorRaw) Transfer ¶
func (_Migrations *MigrationsTransactorRaw) 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 MigrationsTransactorSession ¶
type MigrationsTransactorSession struct {
Contract *MigrationsTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
MigrationsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MigrationsTransactorSession) SetCompleted ¶
func (_Migrations *MigrationsTransactorSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsTransactorSession) Upgrade ¶
func (_Migrations *MigrationsTransactorSession) Upgrade(new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()
type OracleUSD ¶
type OracleUSD struct {
OracleUSDCaller // Read-only binding to the contract
OracleUSDTransactor // Write-only binding to the contract
OracleUSDFilterer // Log filterer for contract events
}
OracleUSD is an auto generated Go binding around an Ethereum contract.
func DeployOracleUSD ¶
func DeployOracleUSD(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *OracleUSD, error)
DeployOracleUSD deploys a new Ethereum contract, binding an instance of OracleUSD to it.
func NewOracleUSD ¶
NewOracleUSD creates a new instance of OracleUSD, bound to a specific deployed contract.
type OracleUSDCaller ¶
type OracleUSDCaller struct {
// contains filtered or unexported fields
}
OracleUSDCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOracleUSDCaller ¶
func NewOracleUSDCaller(address common.Address, caller bind.ContractCaller) (*OracleUSDCaller, error)
NewOracleUSDCaller creates a new read-only instance of OracleUSD, bound to a specific deployed contract.
func (*OracleUSDCaller) GetCurrentPrice ¶
GetCurrentPrice is a free data retrieval call binding the contract method 0xeb91d37e.
Solidity: function getCurrentPrice() constant returns(uint256)
type OracleUSDCallerRaw ¶
type OracleUSDCallerRaw struct {
Contract *OracleUSDCaller // Generic read-only contract binding to access the raw methods on
}
OracleUSDCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OracleUSDCallerRaw) Call ¶
func (_OracleUSD *OracleUSDCallerRaw) 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 OracleUSDCallerSession ¶
type OracleUSDCallerSession struct {
Contract *OracleUSDCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
OracleUSDCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OracleUSDCallerSession) GetCurrentPrice ¶
func (_OracleUSD *OracleUSDCallerSession) GetCurrentPrice() (*big.Int, error)
GetCurrentPrice is a free data retrieval call binding the contract method 0xeb91d37e.
Solidity: function getCurrentPrice() constant returns(uint256)
type OracleUSDFilterer ¶
type OracleUSDFilterer struct {
// contains filtered or unexported fields
}
OracleUSDFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOracleUSDFilterer ¶
func NewOracleUSDFilterer(address common.Address, filterer bind.ContractFilterer) (*OracleUSDFilterer, error)
NewOracleUSDFilterer creates a new log filterer instance of OracleUSD, bound to a specific deployed contract.
func (*OracleUSDFilterer) FilterOwnershipTransferred ¶
func (_OracleUSD *OracleUSDFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OracleUSDOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*OracleUSDFilterer) FilterPriceChanged ¶
func (_OracleUSD *OracleUSDFilterer) FilterPriceChanged(opts *bind.FilterOpts) (*OracleUSDPriceChangedIterator, error)
FilterPriceChanged is a free log retrieval operation binding the contract event 0xa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d622.
Solidity: event PriceChanged(price uint256)
func (*OracleUSDFilterer) WatchOwnershipTransferred ¶
func (_OracleUSD *OracleUSDFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OracleUSDOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*OracleUSDFilterer) WatchPriceChanged ¶
func (_OracleUSD *OracleUSDFilterer) WatchPriceChanged(opts *bind.WatchOpts, sink chan<- *OracleUSDPriceChanged) (event.Subscription, error)
WatchPriceChanged is a free log subscription operation binding the contract event 0xa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d622.
Solidity: event PriceChanged(price uint256)
type OracleUSDOwnershipTransferred ¶
type OracleUSDOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
OracleUSDOwnershipTransferred represents a OwnershipTransferred event raised by the OracleUSD contract.
type OracleUSDOwnershipTransferredIterator ¶
type OracleUSDOwnershipTransferredIterator struct {
Event *OracleUSDOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
OracleUSDOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the OracleUSD contract.
func (*OracleUSDOwnershipTransferredIterator) Close ¶
func (it *OracleUSDOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OracleUSDOwnershipTransferredIterator) Error ¶
func (it *OracleUSDOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OracleUSDOwnershipTransferredIterator) Next ¶
func (it *OracleUSDOwnershipTransferredIterator) 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 OracleUSDPriceChanged ¶
type OracleUSDPriceChanged struct {
Price *big.Int
Raw types.Log // Blockchain specific contextual infos
}
OracleUSDPriceChanged represents a PriceChanged event raised by the OracleUSD contract.
type OracleUSDPriceChangedIterator ¶
type OracleUSDPriceChangedIterator struct {
Event *OracleUSDPriceChanged // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
OracleUSDPriceChangedIterator is returned from FilterPriceChanged and is used to iterate over the raw logs and unpacked data for PriceChanged events raised by the OracleUSD contract.
func (*OracleUSDPriceChangedIterator) Close ¶
func (it *OracleUSDPriceChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OracleUSDPriceChangedIterator) Error ¶
func (it *OracleUSDPriceChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OracleUSDPriceChangedIterator) Next ¶
func (it *OracleUSDPriceChangedIterator) 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 OracleUSDRaw ¶
type OracleUSDRaw struct {
Contract *OracleUSD // Generic contract binding to access the raw methods on
}
OracleUSDRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OracleUSDRaw) Call ¶
func (_OracleUSD *OracleUSDRaw) 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 (*OracleUSDRaw) Transact ¶
func (_OracleUSD *OracleUSDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OracleUSDRaw) Transfer ¶
func (_OracleUSD *OracleUSDRaw) 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 OracleUSDSession ¶
type OracleUSDSession struct {
Contract *OracleUSD // 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
}
OracleUSDSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OracleUSDSession) GetCurrentPrice ¶
func (_OracleUSD *OracleUSDSession) GetCurrentPrice() (*big.Int, error)
GetCurrentPrice is a free data retrieval call binding the contract method 0xeb91d37e.
Solidity: function getCurrentPrice() constant returns(uint256)
func (*OracleUSDSession) Owner ¶
func (_OracleUSD *OracleUSDSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*OracleUSDSession) SetCurrentPrice ¶
func (_OracleUSD *OracleUSDSession) SetCurrentPrice(_price *big.Int) (*types.Transaction, error)
SetCurrentPrice is a paid mutator transaction binding the contract method 0x18b20071.
Solidity: function setCurrentPrice(_price uint256) returns()
func (*OracleUSDSession) TransferOwnership ¶
func (_OracleUSD *OracleUSDSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OracleUSDTransactor ¶
type OracleUSDTransactor struct {
// contains filtered or unexported fields
}
OracleUSDTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOracleUSDTransactor ¶
func NewOracleUSDTransactor(address common.Address, transactor bind.ContractTransactor) (*OracleUSDTransactor, error)
NewOracleUSDTransactor creates a new write-only instance of OracleUSD, bound to a specific deployed contract.
func (*OracleUSDTransactor) SetCurrentPrice ¶
func (_OracleUSD *OracleUSDTransactor) SetCurrentPrice(opts *bind.TransactOpts, _price *big.Int) (*types.Transaction, error)
SetCurrentPrice is a paid mutator transaction binding the contract method 0x18b20071.
Solidity: function setCurrentPrice(_price uint256) returns()
func (*OracleUSDTransactor) TransferOwnership ¶
func (_OracleUSD *OracleUSDTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OracleUSDTransactorRaw ¶
type OracleUSDTransactorRaw struct {
Contract *OracleUSDTransactor // Generic write-only contract binding to access the raw methods on
}
OracleUSDTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OracleUSDTransactorRaw) Transact ¶
func (_OracleUSD *OracleUSDTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OracleUSDTransactorRaw) Transfer ¶
func (_OracleUSD *OracleUSDTransactorRaw) 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 OracleUSDTransactorSession ¶
type OracleUSDTransactorSession struct {
Contract *OracleUSDTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
OracleUSDTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OracleUSDTransactorSession) SetCurrentPrice ¶
func (_OracleUSD *OracleUSDTransactorSession) SetCurrentPrice(_price *big.Int) (*types.Transaction, error)
SetCurrentPrice is a paid mutator transaction binding the contract method 0x18b20071.
Solidity: function setCurrentPrice(_price uint256) returns()
func (*OracleUSDTransactorSession) TransferOwnership ¶
func (_OracleUSD *OracleUSDTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type Ownable ¶
type Ownable struct {
OwnableCaller // Read-only binding to the contract
OwnableTransactor // Write-only binding to the contract
OwnableFilterer // Log filterer for contract events
}
Ownable is an auto generated Go binding around an Ethereum contract.
func DeployOwnable ¶
func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error)
DeployOwnable deploys a new Ethereum contract, binding an instance of Ownable to it.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct {
Contract *OwnableCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
type OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct {
Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct {
Contract *Ownable // 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
}
OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct {
Contract *OwnableTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type ProfileRegistry ¶
type ProfileRegistry struct {
ProfileRegistryCaller // Read-only binding to the contract
ProfileRegistryTransactor // Write-only binding to the contract
ProfileRegistryFilterer // Log filterer for contract events
}
ProfileRegistry is an auto generated Go binding around an Ethereum contract.
func DeployProfileRegistry ¶
func DeployProfileRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ProfileRegistry, error)
DeployProfileRegistry deploys a new Ethereum contract, binding an instance of ProfileRegistry to it.
func NewProfileRegistry ¶
func NewProfileRegistry(address common.Address, backend bind.ContractBackend) (*ProfileRegistry, error)
NewProfileRegistry creates a new instance of ProfileRegistry, bound to a specific deployed contract.
type ProfileRegistryCaller ¶
type ProfileRegistryCaller struct {
// contains filtered or unexported fields
}
ProfileRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewProfileRegistryCaller ¶
func NewProfileRegistryCaller(address common.Address, caller bind.ContractCaller) (*ProfileRegistryCaller, error)
NewProfileRegistryCaller creates a new read-only instance of ProfileRegistry, bound to a specific deployed contract.
func (*ProfileRegistryCaller) Certificates ¶
func (_ProfileRegistry *ProfileRegistryCaller) Certificates(opts *bind.CallOpts, arg0 *big.Int) (struct { From common.Address To common.Address AttributeType *big.Int Value []byte }, error)
Certificates is a free data retrieval call binding the contract method 0x663b3e22.
Solidity: function certificates( uint256) constant returns(from address, to address, attributeType uint256, value bytes)
func (*ProfileRegistryCaller) CheckProfileLevel ¶
func (_ProfileRegistry *ProfileRegistryCaller) CheckProfileLevel(opts *bind.CallOpts, _owner common.Address, _levelRequired *big.Int) (bool, error)
CheckProfileLevel is a free data retrieval call binding the contract method 0xce0d6edb.
Solidity: function CheckProfileLevel(_owner address, _levelRequired uint256) constant returns(bool)
func (*ProfileRegistryCaller) GetAttributeCount ¶
func (_ProfileRegistry *ProfileRegistryCaller) GetAttributeCount(opts *bind.CallOpts, _owner common.Address, _type *big.Int) (*big.Int, error)
GetAttributeCount is a free data retrieval call binding the contract method 0x6209a633.
Solidity: function GetAttributeCount(_owner address, _type uint256) constant returns(uint256)
func (*ProfileRegistryCaller) GetAttributeValue ¶
func (_ProfileRegistry *ProfileRegistryCaller) GetAttributeValue(opts *bind.CallOpts, _owner common.Address, _type *big.Int) ([]byte, error)
GetAttributeValue is a free data retrieval call binding the contract method 0x0074fc39.
Solidity: function GetAttributeValue(_owner address, _type uint256) constant returns(bytes)
func (*ProfileRegistryCaller) GetCertificate ¶
func (_ProfileRegistry *ProfileRegistryCaller) GetCertificate(opts *bind.CallOpts, _id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
GetCertificate is a free data retrieval call binding the contract method 0x3e34e129.
Solidity: function GetCertificate(_id uint256) constant returns(address, address, uint256, bytes)
func (*ProfileRegistryCaller) GetValidatorLevel ¶
func (_ProfileRegistry *ProfileRegistryCaller) GetValidatorLevel(opts *bind.CallOpts, _validator common.Address) (int8, error)
GetValidatorLevel is a free data retrieval call binding the contract method 0x8997d27a.
Solidity: function GetValidatorLevel(_validator address) constant returns(int8)
func (*ProfileRegistryCaller) Validators ¶
func (_ProfileRegistry *ProfileRegistryCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (int8, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators( address) constant returns(int8)
type ProfileRegistryCallerRaw ¶
type ProfileRegistryCallerRaw struct {
Contract *ProfileRegistryCaller // Generic read-only contract binding to access the raw methods on
}
ProfileRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ProfileRegistryCallerRaw) Call ¶
func (_ProfileRegistry *ProfileRegistryCallerRaw) 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 ProfileRegistryCallerSession ¶
type ProfileRegistryCallerSession struct {
Contract *ProfileRegistryCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ProfileRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ProfileRegistryCallerSession) Certificates ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) Certificates(arg0 *big.Int) (struct { From common.Address To common.Address AttributeType *big.Int Value []byte }, error)
Certificates is a free data retrieval call binding the contract method 0x663b3e22.
Solidity: function certificates( uint256) constant returns(from address, to address, attributeType uint256, value bytes)
func (*ProfileRegistryCallerSession) CheckProfileLevel ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) CheckProfileLevel(_owner common.Address, _levelRequired *big.Int) (bool, error)
CheckProfileLevel is a free data retrieval call binding the contract method 0xce0d6edb.
Solidity: function CheckProfileLevel(_owner address, _levelRequired uint256) constant returns(bool)
func (*ProfileRegistryCallerSession) GetAttributeCount ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) GetAttributeCount(_owner common.Address, _type *big.Int) (*big.Int, error)
GetAttributeCount is a free data retrieval call binding the contract method 0x6209a633.
Solidity: function GetAttributeCount(_owner address, _type uint256) constant returns(uint256)
func (*ProfileRegistryCallerSession) GetAttributeValue ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) GetAttributeValue(_owner common.Address, _type *big.Int) ([]byte, error)
GetAttributeValue is a free data retrieval call binding the contract method 0x0074fc39.
Solidity: function GetAttributeValue(_owner address, _type uint256) constant returns(bytes)
func (*ProfileRegistryCallerSession) GetCertificate ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) GetCertificate(_id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
GetCertificate is a free data retrieval call binding the contract method 0x3e34e129.
Solidity: function GetCertificate(_id uint256) constant returns(address, address, uint256, bytes)
func (*ProfileRegistryCallerSession) GetValidatorLevel ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) GetValidatorLevel(_validator common.Address) (int8, error)
GetValidatorLevel is a free data retrieval call binding the contract method 0x8997d27a.
Solidity: function GetValidatorLevel(_validator address) constant returns(int8)
func (*ProfileRegistryCallerSession) Validators ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) Validators(arg0 common.Address) (int8, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators( address) constant returns(int8)
type ProfileRegistryCertificateCreated ¶
type ProfileRegistryCertificateCreated struct {
Id *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ProfileRegistryCertificateCreated represents a CertificateCreated event raised by the ProfileRegistry contract.
type ProfileRegistryCertificateCreatedIterator ¶
type ProfileRegistryCertificateCreatedIterator struct {
Event *ProfileRegistryCertificateCreated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProfileRegistryCertificateCreatedIterator is returned from FilterCertificateCreated and is used to iterate over the raw logs and unpacked data for CertificateCreated events raised by the ProfileRegistry contract.
func (*ProfileRegistryCertificateCreatedIterator) Close ¶
func (it *ProfileRegistryCertificateCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProfileRegistryCertificateCreatedIterator) Error ¶
func (it *ProfileRegistryCertificateCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProfileRegistryCertificateCreatedIterator) Next ¶
func (it *ProfileRegistryCertificateCreatedIterator) 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 ProfileRegistryCertificateUpdated ¶
type ProfileRegistryCertificateUpdated struct {
Id *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ProfileRegistryCertificateUpdated represents a CertificateUpdated event raised by the ProfileRegistry contract.
type ProfileRegistryCertificateUpdatedIterator ¶
type ProfileRegistryCertificateUpdatedIterator struct {
Event *ProfileRegistryCertificateUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProfileRegistryCertificateUpdatedIterator is returned from FilterCertificateUpdated and is used to iterate over the raw logs and unpacked data for CertificateUpdated events raised by the ProfileRegistry contract.
func (*ProfileRegistryCertificateUpdatedIterator) Close ¶
func (it *ProfileRegistryCertificateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProfileRegistryCertificateUpdatedIterator) Error ¶
func (it *ProfileRegistryCertificateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProfileRegistryCertificateUpdatedIterator) Next ¶
func (it *ProfileRegistryCertificateUpdatedIterator) 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 ProfileRegistryFilterer ¶
type ProfileRegistryFilterer struct {
// contains filtered or unexported fields
}
ProfileRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewProfileRegistryFilterer ¶
func NewProfileRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ProfileRegistryFilterer, error)
NewProfileRegistryFilterer creates a new log filterer instance of ProfileRegistry, bound to a specific deployed contract.
func (*ProfileRegistryFilterer) FilterCertificateCreated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) FilterCertificateCreated(opts *bind.FilterOpts, id []*big.Int) (*ProfileRegistryCertificateCreatedIterator, error)
FilterCertificateCreated is a free log retrieval operation binding the contract event 0xb9bb1df26fde5c1295a7ccd167330e5d6cb9df14fe4c3884669a64433cc9e760.
Solidity: event CertificateCreated(id indexed uint256)
func (*ProfileRegistryFilterer) FilterCertificateUpdated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) FilterCertificateUpdated(opts *bind.FilterOpts, id []*big.Int) (*ProfileRegistryCertificateUpdatedIterator, error)
FilterCertificateUpdated is a free log retrieval operation binding the contract event 0x9a100d2018161ede6ca34c8007992b09bbffc636a636014a922e4c8750412628.
Solidity: event CertificateUpdated(id indexed uint256)
func (*ProfileRegistryFilterer) FilterValidatorCreated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) FilterValidatorCreated(opts *bind.FilterOpts, validator []common.Address) (*ProfileRegistryValidatorCreatedIterator, error)
FilterValidatorCreated is a free log retrieval operation binding the contract event 0x02db26aafd16e8ecd93c4fa202917d50b1693f30b1594e57f7a432ede944eefc.
Solidity: event ValidatorCreated(validator indexed address)
func (*ProfileRegistryFilterer) FilterValidatorDeleted ¶
func (_ProfileRegistry *ProfileRegistryFilterer) FilterValidatorDeleted(opts *bind.FilterOpts, validator []common.Address) (*ProfileRegistryValidatorDeletedIterator, error)
FilterValidatorDeleted is a free log retrieval operation binding the contract event 0xa7a579573d398d7b67cd7450121bb250bbd060b29eabafdebc3ce0918658635c.
Solidity: event ValidatorDeleted(validator indexed address)
func (*ProfileRegistryFilterer) WatchCertificateCreated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) WatchCertificateCreated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryCertificateCreated, id []*big.Int) (event.Subscription, error)
WatchCertificateCreated is a free log subscription operation binding the contract event 0xb9bb1df26fde5c1295a7ccd167330e5d6cb9df14fe4c3884669a64433cc9e760.
Solidity: event CertificateCreated(id indexed uint256)
func (*ProfileRegistryFilterer) WatchCertificateUpdated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) WatchCertificateUpdated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryCertificateUpdated, id []*big.Int) (event.Subscription, error)
WatchCertificateUpdated is a free log subscription operation binding the contract event 0x9a100d2018161ede6ca34c8007992b09bbffc636a636014a922e4c8750412628.
Solidity: event CertificateUpdated(id indexed uint256)
func (*ProfileRegistryFilterer) WatchValidatorCreated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) WatchValidatorCreated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryValidatorCreated, validator []common.Address) (event.Subscription, error)
WatchValidatorCreated is a free log subscription operation binding the contract event 0x02db26aafd16e8ecd93c4fa202917d50b1693f30b1594e57f7a432ede944eefc.
Solidity: event ValidatorCreated(validator indexed address)
func (*ProfileRegistryFilterer) WatchValidatorDeleted ¶
func (_ProfileRegistry *ProfileRegistryFilterer) WatchValidatorDeleted(opts *bind.WatchOpts, sink chan<- *ProfileRegistryValidatorDeleted, validator []common.Address) (event.Subscription, error)
WatchValidatorDeleted is a free log subscription operation binding the contract event 0xa7a579573d398d7b67cd7450121bb250bbd060b29eabafdebc3ce0918658635c.
Solidity: event ValidatorDeleted(validator indexed address)
type ProfileRegistryRaw ¶
type ProfileRegistryRaw struct {
Contract *ProfileRegistry // Generic contract binding to access the raw methods on
}
ProfileRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ProfileRegistryRaw) Call ¶
func (_ProfileRegistry *ProfileRegistryRaw) 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 (*ProfileRegistryRaw) Transact ¶
func (_ProfileRegistry *ProfileRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProfileRegistryRaw) Transfer ¶
func (_ProfileRegistry *ProfileRegistryRaw) 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 ProfileRegistrySession ¶
type ProfileRegistrySession struct {
Contract *ProfileRegistry // 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
}
ProfileRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ProfileRegistrySession) AddValidator ¶
func (_ProfileRegistry *ProfileRegistrySession) AddValidator(_validator common.Address, _level int8) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xe7bcef44.
Solidity: function AddValidator(_validator address, _level int8) returns(address)
func (*ProfileRegistrySession) Certificates ¶
func (_ProfileRegistry *ProfileRegistrySession) Certificates(arg0 *big.Int) (struct { From common.Address To common.Address AttributeType *big.Int Value []byte }, error)
Certificates is a free data retrieval call binding the contract method 0x663b3e22.
Solidity: function certificates( uint256) constant returns(from address, to address, attributeType uint256, value bytes)
func (*ProfileRegistrySession) CheckProfileLevel ¶
func (_ProfileRegistry *ProfileRegistrySession) CheckProfileLevel(_owner common.Address, _levelRequired *big.Int) (bool, error)
CheckProfileLevel is a free data retrieval call binding the contract method 0xce0d6edb.
Solidity: function CheckProfileLevel(_owner address, _levelRequired uint256) constant returns(bool)
func (*ProfileRegistrySession) CreateCertificate ¶
func (_ProfileRegistry *ProfileRegistrySession) CreateCertificate(_owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
CreateCertificate is a paid mutator transaction binding the contract method 0x93d76742.
Solidity: function CreateCertificate(_owner address, _type uint256, _value bytes) returns()
func (*ProfileRegistrySession) GetAttributeCount ¶
func (_ProfileRegistry *ProfileRegistrySession) GetAttributeCount(_owner common.Address, _type *big.Int) (*big.Int, error)
GetAttributeCount is a free data retrieval call binding the contract method 0x6209a633.
Solidity: function GetAttributeCount(_owner address, _type uint256) constant returns(uint256)
func (*ProfileRegistrySession) GetAttributeValue ¶
func (_ProfileRegistry *ProfileRegistrySession) GetAttributeValue(_owner common.Address, _type *big.Int) ([]byte, error)
GetAttributeValue is a free data retrieval call binding the contract method 0x0074fc39.
Solidity: function GetAttributeValue(_owner address, _type uint256) constant returns(bytes)
func (*ProfileRegistrySession) GetCertificate ¶
func (_ProfileRegistry *ProfileRegistrySession) GetCertificate(_id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
GetCertificate is a free data retrieval call binding the contract method 0x3e34e129.
Solidity: function GetCertificate(_id uint256) constant returns(address, address, uint256, bytes)
func (*ProfileRegistrySession) GetValidatorLevel ¶
func (_ProfileRegistry *ProfileRegistrySession) GetValidatorLevel(_validator common.Address) (int8, error)
GetValidatorLevel is a free data retrieval call binding the contract method 0x8997d27a.
Solidity: function GetValidatorLevel(_validator address) constant returns(int8)
func (*ProfileRegistrySession) RemoveCertificate ¶
func (_ProfileRegistry *ProfileRegistrySession) RemoveCertificate(_id *big.Int) (*types.Transaction, error)
RemoveCertificate is a paid mutator transaction binding the contract method 0x2eb4b2a5.
Solidity: function RemoveCertificate(_id uint256) returns()
func (*ProfileRegistrySession) RemoveValidator ¶
func (_ProfileRegistry *ProfileRegistrySession) RemoveValidator(_validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x1af60f72.
Solidity: function RemoveValidator(_validator address) returns(address)
func (*ProfileRegistrySession) Validators ¶
func (_ProfileRegistry *ProfileRegistrySession) Validators(arg0 common.Address) (int8, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators( address) constant returns(int8)
type ProfileRegistryTransactor ¶
type ProfileRegistryTransactor struct {
// contains filtered or unexported fields
}
ProfileRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewProfileRegistryTransactor ¶
func NewProfileRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ProfileRegistryTransactor, error)
NewProfileRegistryTransactor creates a new write-only instance of ProfileRegistry, bound to a specific deployed contract.
func (*ProfileRegistryTransactor) AddValidator ¶
func (_ProfileRegistry *ProfileRegistryTransactor) AddValidator(opts *bind.TransactOpts, _validator common.Address, _level int8) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xe7bcef44.
Solidity: function AddValidator(_validator address, _level int8) returns(address)
func (*ProfileRegistryTransactor) CreateCertificate ¶
func (_ProfileRegistry *ProfileRegistryTransactor) CreateCertificate(opts *bind.TransactOpts, _owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
CreateCertificate is a paid mutator transaction binding the contract method 0x93d76742.
Solidity: function CreateCertificate(_owner address, _type uint256, _value bytes) returns()
func (*ProfileRegistryTransactor) RemoveCertificate ¶
func (_ProfileRegistry *ProfileRegistryTransactor) RemoveCertificate(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)
RemoveCertificate is a paid mutator transaction binding the contract method 0x2eb4b2a5.
Solidity: function RemoveCertificate(_id uint256) returns()
func (*ProfileRegistryTransactor) RemoveValidator ¶
func (_ProfileRegistry *ProfileRegistryTransactor) RemoveValidator(opts *bind.TransactOpts, _validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x1af60f72.
Solidity: function RemoveValidator(_validator address) returns(address)
type ProfileRegistryTransactorRaw ¶
type ProfileRegistryTransactorRaw struct {
Contract *ProfileRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
ProfileRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ProfileRegistryTransactorRaw) Transact ¶
func (_ProfileRegistry *ProfileRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProfileRegistryTransactorRaw) Transfer ¶
func (_ProfileRegistry *ProfileRegistryTransactorRaw) 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 ProfileRegistryTransactorSession ¶
type ProfileRegistryTransactorSession struct {
Contract *ProfileRegistryTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ProfileRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ProfileRegistryTransactorSession) AddValidator ¶
func (_ProfileRegistry *ProfileRegistryTransactorSession) AddValidator(_validator common.Address, _level int8) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xe7bcef44.
Solidity: function AddValidator(_validator address, _level int8) returns(address)
func (*ProfileRegistryTransactorSession) CreateCertificate ¶
func (_ProfileRegistry *ProfileRegistryTransactorSession) CreateCertificate(_owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
CreateCertificate is a paid mutator transaction binding the contract method 0x93d76742.
Solidity: function CreateCertificate(_owner address, _type uint256, _value bytes) returns()
func (*ProfileRegistryTransactorSession) RemoveCertificate ¶
func (_ProfileRegistry *ProfileRegistryTransactorSession) RemoveCertificate(_id *big.Int) (*types.Transaction, error)
RemoveCertificate is a paid mutator transaction binding the contract method 0x2eb4b2a5.
Solidity: function RemoveCertificate(_id uint256) returns()
func (*ProfileRegistryTransactorSession) RemoveValidator ¶
func (_ProfileRegistry *ProfileRegistryTransactorSession) RemoveValidator(_validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x1af60f72.
Solidity: function RemoveValidator(_validator address) returns(address)
type ProfileRegistryValidatorCreated ¶
type ProfileRegistryValidatorCreated struct {
Validator common.Address
Raw types.Log // Blockchain specific contextual infos
}
ProfileRegistryValidatorCreated represents a ValidatorCreated event raised by the ProfileRegistry contract.
type ProfileRegistryValidatorCreatedIterator ¶
type ProfileRegistryValidatorCreatedIterator struct {
Event *ProfileRegistryValidatorCreated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProfileRegistryValidatorCreatedIterator is returned from FilterValidatorCreated and is used to iterate over the raw logs and unpacked data for ValidatorCreated events raised by the ProfileRegistry contract.
func (*ProfileRegistryValidatorCreatedIterator) Close ¶
func (it *ProfileRegistryValidatorCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProfileRegistryValidatorCreatedIterator) Error ¶
func (it *ProfileRegistryValidatorCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProfileRegistryValidatorCreatedIterator) Next ¶
func (it *ProfileRegistryValidatorCreatedIterator) 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 ProfileRegistryValidatorDeleted ¶
type ProfileRegistryValidatorDeleted struct {
Validator common.Address
Raw types.Log // Blockchain specific contextual infos
}
ProfileRegistryValidatorDeleted represents a ValidatorDeleted event raised by the ProfileRegistry contract.
type ProfileRegistryValidatorDeletedIterator ¶
type ProfileRegistryValidatorDeletedIterator struct {
Event *ProfileRegistryValidatorDeleted // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ProfileRegistryValidatorDeletedIterator is returned from FilterValidatorDeleted and is used to iterate over the raw logs and unpacked data for ValidatorDeleted events raised by the ProfileRegistry contract.
func (*ProfileRegistryValidatorDeletedIterator) Close ¶
func (it *ProfileRegistryValidatorDeletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProfileRegistryValidatorDeletedIterator) Error ¶
func (it *ProfileRegistryValidatorDeletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProfileRegistryValidatorDeletedIterator) Next ¶
func (it *ProfileRegistryValidatorDeletedIterator) 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 SNM ¶
type SNM struct {
SNMCaller // Read-only binding to the contract
SNMTransactor // Write-only binding to the contract
SNMFilterer // Log filterer for contract events
}
SNM is an auto generated Go binding around an Ethereum contract.
func DeploySNM ¶
func DeploySNM(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SNM, error)
DeploySNM deploys a new Ethereum contract, binding an instance of SNM to it.
type SNMApproval ¶
type SNMApproval struct {
Owner common.Address
Spender common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SNMApproval represents a Approval event raised by the SNM contract.
type SNMApprovalIterator ¶
type SNMApprovalIterator struct {
Event *SNMApproval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SNM contract.
func (*SNMApprovalIterator) Close ¶
func (it *SNMApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMApprovalIterator) Error ¶
func (it *SNMApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMApprovalIterator) Next ¶
func (it *SNMApprovalIterator) 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 SNMCaller ¶
type SNMCaller struct {
// contains filtered or unexported fields
}
SNMCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSNMCaller ¶
NewSNMCaller creates a new read-only instance of SNM, bound to a specific deployed contract.
func (*SNMCaller) Allowance ¶
func (_SNM *SNMCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*SNMCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMCaller) Name ¶
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
type SNMCallerRaw ¶
type SNMCallerRaw struct {
Contract *SNMCaller // Generic read-only contract binding to access the raw methods on
}
SNMCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SNMCallerRaw) Call ¶
func (_SNM *SNMCallerRaw) 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 SNMCallerSession ¶
type SNMCallerSession struct {
Contract *SNMCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SNMCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SNMCallerSession) Allowance ¶
func (_SNM *SNMCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*SNMCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMCallerSession) Decimals ¶
func (_SNM *SNMCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMCallerSession) Name ¶
func (_SNM *SNMCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMCallerSession) Owner ¶
func (_SNM *SNMCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMCallerSession) Symbol ¶
func (_SNM *SNMCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMCallerSession) TotalSupply ¶
func (_SNM *SNMCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMD ¶
type SNMD struct {
SNMDCaller // Read-only binding to the contract
SNMDTransactor // Write-only binding to the contract
SNMDFilterer // Log filterer for contract events
}
SNMD is an auto generated Go binding around an Ethereum contract.
func DeploySNMD ¶
func DeploySNMD(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SNMD, error)
DeploySNMD deploys a new Ethereum contract, binding an instance of SNMD to it.
type SNMDApproval ¶
type SNMDApproval struct {
Owner common.Address
Spender common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SNMDApproval represents a Approval event raised by the SNMD contract.
type SNMDApprovalIterator ¶
type SNMDApprovalIterator struct {
Event *SNMDApproval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMDApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SNMD contract.
func (*SNMDApprovalIterator) Close ¶
func (it *SNMDApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMDApprovalIterator) Error ¶
func (it *SNMDApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMDApprovalIterator) Next ¶
func (it *SNMDApprovalIterator) 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 SNMDCaller ¶
type SNMDCaller struct {
// contains filtered or unexported fields
}
SNMDCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSNMDCaller ¶
func NewSNMDCaller(address common.Address, caller bind.ContractCaller) (*SNMDCaller, error)
NewSNMDCaller creates a new read-only instance of SNMD, bound to a specific deployed contract.
func (*SNMDCaller) Allowance ¶
func (_SNMD *SNMDCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*SNMDCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMDCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMDCaller) Name ¶
func (_SNMD *SNMDCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMDCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMDCaller) Symbol ¶
func (_SNMD *SNMDCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMDCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMDCallerRaw ¶
type SNMDCallerRaw struct {
Contract *SNMDCaller // Generic read-only contract binding to access the raw methods on
}
SNMDCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SNMDCallerRaw) Call ¶
func (_SNMD *SNMDCallerRaw) 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 SNMDCallerSession ¶
type SNMDCallerSession struct {
Contract *SNMDCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SNMDCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SNMDCallerSession) Allowance ¶
func (_SNMD *SNMDCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*SNMDCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMDCallerSession) Decimals ¶
func (_SNMD *SNMDCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMDCallerSession) Name ¶
func (_SNMD *SNMDCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMDCallerSession) Owner ¶
func (_SNMD *SNMDCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMDCallerSession) Symbol ¶
func (_SNMD *SNMDCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMDCallerSession) TotalSupply ¶
func (_SNMD *SNMDCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMDFilterer ¶
type SNMDFilterer struct {
// contains filtered or unexported fields
}
SNMDFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSNMDFilterer ¶
func NewSNMDFilterer(address common.Address, filterer bind.ContractFilterer) (*SNMDFilterer, error)
NewSNMDFilterer creates a new log filterer instance of SNMD, bound to a specific deployed contract.
func (*SNMDFilterer) FilterApproval ¶
func (_SNMD *SNMDFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMDApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMDFilterer) FilterOwnershipTransferred ¶
func (_SNMD *SNMDFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SNMDOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SNMDFilterer) FilterTransfer ¶
func (_SNMD *SNMDFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMDTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*SNMDFilterer) WatchApproval ¶
func (_SNMD *SNMDFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMDApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMDFilterer) WatchOwnershipTransferred ¶
func (_SNMD *SNMDFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SNMDOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SNMDFilterer) WatchTransfer ¶
func (_SNMD *SNMDFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMDTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type SNMDOwnershipTransferred ¶
type SNMDOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
SNMDOwnershipTransferred represents a OwnershipTransferred event raised by the SNMD contract.
type SNMDOwnershipTransferredIterator ¶
type SNMDOwnershipTransferredIterator struct {
Event *SNMDOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMDOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SNMD contract.
func (*SNMDOwnershipTransferredIterator) Close ¶
func (it *SNMDOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMDOwnershipTransferredIterator) Error ¶
func (it *SNMDOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMDOwnershipTransferredIterator) Next ¶
func (it *SNMDOwnershipTransferredIterator) 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 SNMDRaw ¶
type SNMDRaw struct {
Contract *SNMD // Generic contract binding to access the raw methods on
}
SNMDRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SNMDRaw) Call ¶
func (_SNMD *SNMDRaw) 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 (*SNMDRaw) Transact ¶
func (_SNMD *SNMDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMDRaw) Transfer ¶
func (_SNMD *SNMDRaw) 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 SNMDSession ¶
type SNMDSession struct {
Contract *SNMD // 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
}
SNMDSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SNMDSession) AddMarket ¶
func (_SNMD *SNMDSession) AddMarket(_newMarket common.Address) (*types.Transaction, error)
AddMarket is a paid mutator transaction binding the contract method 0xc3dfb88e.
Solidity: function AddMarket(_newMarket address) returns()
func (*SNMDSession) Allowance ¶
func (_SNMD *SNMDSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*SNMDSession) Approve ¶
func (_SNMD *SNMDSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMDSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMDSession) Decimals ¶
func (_SNMD *SNMDSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMDSession) DecreaseApproval ¶
func (_SNMD *SNMDSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMDSession) IncreaseApproval ¶
func (_SNMD *SNMDSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMDSession) Name ¶
func (_SNMD *SNMDSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMDSession) Owner ¶
func (_SNMD *SNMDSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMDSession) Symbol ¶
func (_SNMD *SNMDSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMDSession) TotalSupply ¶
func (_SNMD *SNMDSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*SNMDSession) Transfer ¶
func (_SNMD *SNMDSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMDSession) TransferFrom ¶
func (_SNMD *SNMDSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMDSession) TransferOwnership ¶
func (_SNMD *SNMDSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMDTransactor ¶
type SNMDTransactor struct {
// contains filtered or unexported fields
}
SNMDTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSNMDTransactor ¶
func NewSNMDTransactor(address common.Address, transactor bind.ContractTransactor) (*SNMDTransactor, error)
NewSNMDTransactor creates a new write-only instance of SNMD, bound to a specific deployed contract.
func (*SNMDTransactor) AddMarket ¶
func (_SNMD *SNMDTransactor) AddMarket(opts *bind.TransactOpts, _newMarket common.Address) (*types.Transaction, error)
AddMarket is a paid mutator transaction binding the contract method 0xc3dfb88e.
Solidity: function AddMarket(_newMarket address) returns()
func (*SNMDTransactor) Approve ¶
func (_SNMD *SNMDTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMDTransactor) DecreaseApproval ¶
func (_SNMD *SNMDTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMDTransactor) IncreaseApproval ¶
func (_SNMD *SNMDTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMDTransactor) Transfer ¶
func (_SNMD *SNMDTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMDTransactor) TransferFrom ¶
func (_SNMD *SNMDTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMDTransactor) TransferOwnership ¶
func (_SNMD *SNMDTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMDTransactorRaw ¶
type SNMDTransactorRaw struct {
Contract *SNMDTransactor // Generic write-only contract binding to access the raw methods on
}
SNMDTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SNMDTransactorRaw) Transact ¶
func (_SNMD *SNMDTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMDTransactorRaw) Transfer ¶
func (_SNMD *SNMDTransactorRaw) 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 SNMDTransactorSession ¶
type SNMDTransactorSession struct {
Contract *SNMDTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SNMDTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SNMDTransactorSession) AddMarket ¶
func (_SNMD *SNMDTransactorSession) AddMarket(_newMarket common.Address) (*types.Transaction, error)
AddMarket is a paid mutator transaction binding the contract method 0xc3dfb88e.
Solidity: function AddMarket(_newMarket address) returns()
func (*SNMDTransactorSession) Approve ¶
func (_SNMD *SNMDTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMDTransactorSession) DecreaseApproval ¶
func (_SNMD *SNMDTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMDTransactorSession) IncreaseApproval ¶
func (_SNMD *SNMDTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMDTransactorSession) Transfer ¶
func (_SNMD *SNMDTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMDTransactorSession) TransferFrom ¶
func (_SNMD *SNMDTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMDTransactorSession) TransferOwnership ¶
func (_SNMD *SNMDTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMDTransfer ¶
type SNMDTransfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SNMDTransfer represents a Transfer event raised by the SNMD contract.
type SNMDTransferIterator ¶
type SNMDTransferIterator struct {
Event *SNMDTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMDTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SNMD contract.
func (*SNMDTransferIterator) Close ¶
func (it *SNMDTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMDTransferIterator) Error ¶
func (it *SNMDTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMDTransferIterator) Next ¶
func (it *SNMDTransferIterator) 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 SNMFilterer ¶
type SNMFilterer struct {
// contains filtered or unexported fields
}
SNMFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSNMFilterer ¶
func NewSNMFilterer(address common.Address, filterer bind.ContractFilterer) (*SNMFilterer, error)
NewSNMFilterer creates a new log filterer instance of SNM, bound to a specific deployed contract.
func (*SNMFilterer) FilterApproval ¶
func (_SNM *SNMFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMFilterer) FilterOwnershipTransferred ¶
func (_SNM *SNMFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SNMOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SNMFilterer) FilterTransfer ¶
func (_SNM *SNMFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*SNMFilterer) WatchApproval ¶
func (_SNM *SNMFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMFilterer) WatchOwnershipTransferred ¶
func (_SNM *SNMFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SNMOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SNMFilterer) WatchTransfer ¶
func (_SNM *SNMFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type SNMOwnershipTransferred ¶
type SNMOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
SNMOwnershipTransferred represents a OwnershipTransferred event raised by the SNM contract.
type SNMOwnershipTransferredIterator ¶
type SNMOwnershipTransferredIterator struct {
Event *SNMOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SNM contract.
func (*SNMOwnershipTransferredIterator) Close ¶
func (it *SNMOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMOwnershipTransferredIterator) Error ¶
func (it *SNMOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMOwnershipTransferredIterator) Next ¶
func (it *SNMOwnershipTransferredIterator) 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 SNMRaw ¶
type SNMRaw struct {
Contract *SNM // Generic contract binding to access the raw methods on
}
SNMRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SNMRaw) Call ¶
func (_SNM *SNMRaw) 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 (*SNMRaw) Transact ¶
func (_SNM *SNMRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMRaw) Transfer ¶
func (_SNM *SNMRaw) 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 SNMSession ¶
type SNMSession struct {
Contract *SNM // 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
}
SNMSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SNMSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*SNMSession) Approve ¶
func (_SNM *SNMSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMSession) Decimals ¶
func (_SNM *SNMSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMSession) DecreaseApproval ¶
func (_SNM *SNMSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMSession) IncreaseApproval ¶
func (_SNM *SNMSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMSession) Name ¶
func (_SNM *SNMSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMSession) Owner ¶
func (_SNM *SNMSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMSession) Symbol ¶
func (_SNM *SNMSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMSession) TotalSupply ¶
func (_SNM *SNMSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*SNMSession) Transfer ¶
func (_SNM *SNMSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMSession) TransferFrom ¶
func (_SNM *SNMSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMSession) TransferOwnership ¶
func (_SNM *SNMSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTToken ¶
type SNMTToken struct {
SNMTTokenCaller // Read-only binding to the contract
SNMTTokenTransactor // Write-only binding to the contract
SNMTTokenFilterer // Log filterer for contract events
}
SNMTToken is an auto generated Go binding around an Ethereum contract.
func DeploySNMTToken ¶
func DeploySNMTToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SNMTToken, error)
DeploySNMTToken deploys a new Ethereum contract, binding an instance of SNMTToken to it.
func NewSNMTToken ¶
NewSNMTToken creates a new instance of SNMTToken, bound to a specific deployed contract.
type SNMTTokenApproval ¶
type SNMTTokenApproval struct {
Owner common.Address
Spender common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SNMTTokenApproval represents a Approval event raised by the SNMTToken contract.
type SNMTTokenApprovalIterator ¶
type SNMTTokenApprovalIterator struct {
Event *SNMTTokenApproval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMTTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SNMTToken contract.
func (*SNMTTokenApprovalIterator) Close ¶
func (it *SNMTTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMTTokenApprovalIterator) Error ¶
func (it *SNMTTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMTTokenApprovalIterator) Next ¶
func (it *SNMTTokenApprovalIterator) 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 SNMTTokenCaller ¶
type SNMTTokenCaller struct {
// contains filtered or unexported fields
}
SNMTTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSNMTTokenCaller ¶
func NewSNMTTokenCaller(address common.Address, caller bind.ContractCaller) (*SNMTTokenCaller, error)
NewSNMTTokenCaller creates a new read-only instance of SNMTToken, bound to a specific deployed contract.
func (*SNMTTokenCaller) Allowance ¶
func (_SNMTToken *SNMTTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(remaining uint256)
func (*SNMTTokenCaller) BalanceOf ¶
func (_SNMTToken *SNMTTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SNMTTokenCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMTTokenCaller) Name ¶
func (_SNMTToken *SNMTTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMTTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMTTokenCaller) Symbol ¶
func (_SNMTToken *SNMTTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMTTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMTTokenCallerRaw ¶
type SNMTTokenCallerRaw struct {
Contract *SNMTTokenCaller // Generic read-only contract binding to access the raw methods on
}
SNMTTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SNMTTokenCallerRaw) Call ¶
func (_SNMTToken *SNMTTokenCallerRaw) 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 SNMTTokenCallerSession ¶
type SNMTTokenCallerSession struct {
Contract *SNMTTokenCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SNMTTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SNMTTokenCallerSession) Allowance ¶
func (_SNMTToken *SNMTTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(remaining uint256)
func (*SNMTTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SNMTTokenCallerSession) Decimals ¶
func (_SNMTToken *SNMTTokenCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMTTokenCallerSession) Name ¶
func (_SNMTToken *SNMTTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMTTokenCallerSession) Owner ¶
func (_SNMTToken *SNMTTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMTTokenCallerSession) Symbol ¶
func (_SNMTToken *SNMTTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMTTokenCallerSession) TotalSupply ¶
func (_SNMTToken *SNMTTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMTTokenFilterer ¶
type SNMTTokenFilterer struct {
// contains filtered or unexported fields
}
SNMTTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSNMTTokenFilterer ¶
func NewSNMTTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*SNMTTokenFilterer, error)
NewSNMTTokenFilterer creates a new log filterer instance of SNMTToken, bound to a specific deployed contract.
func (*SNMTTokenFilterer) FilterApproval ¶
func (_SNMTToken *SNMTTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMTTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMTTokenFilterer) FilterGiveAway ¶
func (_SNMTToken *SNMTTokenFilterer) FilterGiveAway(opts *bind.FilterOpts) (*SNMTTokenGiveAwayIterator, error)
FilterGiveAway is a free log retrieval operation binding the contract event 0xe08e9d066634006283658128ec91f58d444719d7a07d49f72924da4352ff94ad.
Solidity: event GiveAway(whom address, amount uint256)
func (*SNMTTokenFilterer) FilterTransfer ¶
func (_SNMTToken *SNMTTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMTTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*SNMTTokenFilterer) WatchApproval ¶
func (_SNMTToken *SNMTTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMTTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMTTokenFilterer) WatchGiveAway ¶
func (_SNMTToken *SNMTTokenFilterer) WatchGiveAway(opts *bind.WatchOpts, sink chan<- *SNMTTokenGiveAway) (event.Subscription, error)
WatchGiveAway is a free log subscription operation binding the contract event 0xe08e9d066634006283658128ec91f58d444719d7a07d49f72924da4352ff94ad.
Solidity: event GiveAway(whom address, amount uint256)
func (*SNMTTokenFilterer) WatchTransfer ¶
func (_SNMTToken *SNMTTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMTTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type SNMTTokenGiveAway ¶
type SNMTTokenGiveAway struct {
Whom common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SNMTTokenGiveAway represents a GiveAway event raised by the SNMTToken contract.
type SNMTTokenGiveAwayIterator ¶
type SNMTTokenGiveAwayIterator struct {
Event *SNMTTokenGiveAway // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMTTokenGiveAwayIterator is returned from FilterGiveAway and is used to iterate over the raw logs and unpacked data for GiveAway events raised by the SNMTToken contract.
func (*SNMTTokenGiveAwayIterator) Close ¶
func (it *SNMTTokenGiveAwayIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMTTokenGiveAwayIterator) Error ¶
func (it *SNMTTokenGiveAwayIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMTTokenGiveAwayIterator) Next ¶
func (it *SNMTTokenGiveAwayIterator) 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 SNMTTokenRaw ¶
type SNMTTokenRaw struct {
Contract *SNMTToken // Generic contract binding to access the raw methods on
}
SNMTTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SNMTTokenRaw) Call ¶
func (_SNMTToken *SNMTTokenRaw) 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 (*SNMTTokenRaw) Transact ¶
func (_SNMTToken *SNMTTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMTTokenRaw) Transfer ¶
func (_SNMTToken *SNMTTokenRaw) 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 SNMTTokenSession ¶
type SNMTTokenSession struct {
Contract *SNMTToken // 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
}
SNMTTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SNMTTokenSession) Allowance ¶
func (_SNMTToken *SNMTTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(remaining uint256)
func (*SNMTTokenSession) Approve ¶
func (_SNMTToken *SNMTTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMTTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SNMTTokenSession) Decimals ¶
func (_SNMTToken *SNMTTokenSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMTTokenSession) GetTokens ¶
func (_SNMTToken *SNMTTokenSession) GetTokens() (*types.Transaction, error)
GetTokens is a paid mutator transaction binding the contract method 0xaa6ca808.
Solidity: function getTokens() returns(bool)
func (*SNMTTokenSession) MintToken ¶
func (_SNMTToken *SNMTTokenSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
MintToken is a paid mutator transaction binding the contract method 0x79c65068.
Solidity: function mintToken(target address, mintedAmount uint256) returns(bool)
func (*SNMTTokenSession) Name ¶
func (_SNMTToken *SNMTTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMTTokenSession) Owner ¶
func (_SNMTToken *SNMTTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMTTokenSession) Symbol ¶
func (_SNMTToken *SNMTTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMTTokenSession) TotalSupply ¶
func (_SNMTToken *SNMTTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*SNMTTokenSession) Transfer ¶
func (_SNMTToken *SNMTTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMTTokenSession) TransferFrom ¶
func (_SNMTToken *SNMTTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTTokenSession) TransferOwnership ¶
func (_SNMTToken *SNMTTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTTokenTransactor ¶
type SNMTTokenTransactor struct {
// contains filtered or unexported fields
}
SNMTTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSNMTTokenTransactor ¶
func NewSNMTTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*SNMTTokenTransactor, error)
NewSNMTTokenTransactor creates a new write-only instance of SNMTToken, bound to a specific deployed contract.
func (*SNMTTokenTransactor) Approve ¶
func (_SNMTToken *SNMTTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMTTokenTransactor) GetTokens ¶
func (_SNMTToken *SNMTTokenTransactor) GetTokens(opts *bind.TransactOpts) (*types.Transaction, error)
GetTokens is a paid mutator transaction binding the contract method 0xaa6ca808.
Solidity: function getTokens() returns(bool)
func (*SNMTTokenTransactor) MintToken ¶
func (_SNMTToken *SNMTTokenTransactor) MintToken(opts *bind.TransactOpts, target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
MintToken is a paid mutator transaction binding the contract method 0x79c65068.
Solidity: function mintToken(target address, mintedAmount uint256) returns(bool)
func (*SNMTTokenTransactor) Transfer ¶
func (_SNMTToken *SNMTTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMTTokenTransactor) TransferFrom ¶
func (_SNMTToken *SNMTTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTTokenTransactor) TransferOwnership ¶
func (_SNMTToken *SNMTTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTTokenTransactorRaw ¶
type SNMTTokenTransactorRaw struct {
Contract *SNMTTokenTransactor // Generic write-only contract binding to access the raw methods on
}
SNMTTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SNMTTokenTransactorRaw) Transact ¶
func (_SNMTToken *SNMTTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMTTokenTransactorRaw) Transfer ¶
func (_SNMTToken *SNMTTokenTransactorRaw) 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 SNMTTokenTransactorSession ¶
type SNMTTokenTransactorSession struct {
Contract *SNMTTokenTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SNMTTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SNMTTokenTransactorSession) Approve ¶
func (_SNMTToken *SNMTTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMTTokenTransactorSession) GetTokens ¶
func (_SNMTToken *SNMTTokenTransactorSession) GetTokens() (*types.Transaction, error)
GetTokens is a paid mutator transaction binding the contract method 0xaa6ca808.
Solidity: function getTokens() returns(bool)
func (*SNMTTokenTransactorSession) MintToken ¶
func (_SNMTToken *SNMTTokenTransactorSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
MintToken is a paid mutator transaction binding the contract method 0x79c65068.
Solidity: function mintToken(target address, mintedAmount uint256) returns(bool)
func (*SNMTTokenTransactorSession) Transfer ¶
func (_SNMTToken *SNMTTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMTTokenTransactorSession) TransferFrom ¶
func (_SNMTToken *SNMTTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTTokenTransactorSession) TransferOwnership ¶
func (_SNMTToken *SNMTTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTTokenTransfer ¶
type SNMTTokenTransfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SNMTTokenTransfer represents a Transfer event raised by the SNMTToken contract.
type SNMTTokenTransferIterator ¶
type SNMTTokenTransferIterator struct {
Event *SNMTTokenTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMTTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SNMTToken contract.
func (*SNMTTokenTransferIterator) Close ¶
func (it *SNMTTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMTTokenTransferIterator) Error ¶
func (it *SNMTTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMTTokenTransferIterator) Next ¶
func (it *SNMTTokenTransferIterator) 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 SNMTransactor ¶
type SNMTransactor struct {
// contains filtered or unexported fields
}
SNMTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSNMTransactor ¶
func NewSNMTransactor(address common.Address, transactor bind.ContractTransactor) (*SNMTransactor, error)
NewSNMTransactor creates a new write-only instance of SNM, bound to a specific deployed contract.
func (*SNMTransactor) Approve ¶
func (_SNM *SNMTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMTransactor) DecreaseApproval ¶
func (_SNM *SNMTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMTransactor) IncreaseApproval ¶
func (_SNM *SNMTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMTransactor) Transfer ¶
func (_SNM *SNMTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMTransactor) TransferFrom ¶
func (_SNM *SNMTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTransactor) TransferOwnership ¶
func (_SNM *SNMTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTransactorRaw ¶
type SNMTransactorRaw struct {
Contract *SNMTransactor // Generic write-only contract binding to access the raw methods on
}
SNMTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SNMTransactorRaw) Transact ¶
func (_SNM *SNMTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMTransactorRaw) Transfer ¶
func (_SNM *SNMTransactorRaw) 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 SNMTransactorSession ¶
type SNMTransactorSession struct {
Contract *SNMTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SNMTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SNMTransactorSession) Approve ¶
func (_SNM *SNMTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SNMTransactorSession) DecreaseApproval ¶
func (_SNM *SNMTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMTransactorSession) IncreaseApproval ¶
func (_SNM *SNMTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMTransactorSession) Transfer ¶
func (_SNM *SNMTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SNMTransactorSession) TransferFrom ¶
func (_SNM *SNMTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTransactorSession) TransferOwnership ¶
func (_SNM *SNMTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTransfer ¶
type SNMTransfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SNMTransfer represents a Transfer event raised by the SNM contract.
type SNMTransferIterator ¶
type SNMTransferIterator struct {
Event *SNMTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SNMTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SNM contract.
func (*SNMTransferIterator) Close ¶
func (it *SNMTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMTransferIterator) Error ¶
func (it *SNMTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMTransferIterator) Next ¶
func (it *SNMTransferIterator) 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 SafeMath ¶
type SafeMath struct {
SafeMathCaller // Read-only binding to the contract
SafeMathTransactor // Write-only binding to the contract
SafeMathFilterer // Log filterer for contract events
}
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct {
Contract *SafeMathCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct {
Contract *SafeMath // 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
}
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct {
Contract *SafeMathTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SimpleGatekeeper ¶
type SimpleGatekeeper struct {
SimpleGatekeeperCaller // Read-only binding to the contract
SimpleGatekeeperTransactor // Write-only binding to the contract
SimpleGatekeeperFilterer // Log filterer for contract events
}
SimpleGatekeeper is an auto generated Go binding around an Ethereum contract.
func DeploySimpleGatekeeper ¶
func DeploySimpleGatekeeper(auth *bind.TransactOpts, backend bind.ContractBackend, _token common.Address) (common.Address, *types.Transaction, *SimpleGatekeeper, error)
DeploySimpleGatekeeper deploys a new Ethereum contract, binding an instance of SimpleGatekeeper to it.
func NewSimpleGatekeeper ¶
func NewSimpleGatekeeper(address common.Address, backend bind.ContractBackend) (*SimpleGatekeeper, error)
NewSimpleGatekeeper creates a new instance of SimpleGatekeeper, bound to a specific deployed contract.
type SimpleGatekeeperCaller ¶
type SimpleGatekeeperCaller struct {
// contains filtered or unexported fields
}
SimpleGatekeeperCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSimpleGatekeeperCaller ¶
func NewSimpleGatekeeperCaller(address common.Address, caller bind.ContractCaller) (*SimpleGatekeeperCaller, error)
NewSimpleGatekeeperCaller creates a new read-only instance of SimpleGatekeeper, bound to a specific deployed contract.
func (*SimpleGatekeeperCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SimpleGatekeeperCaller) Paid ¶
func (_SimpleGatekeeper *SimpleGatekeeperCaller) Paid(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
Paid is a free data retrieval call binding the contract method 0xadd89bb2.
Solidity: function paid( bytes32) constant returns(bool)
func (*SimpleGatekeeperCaller) TransactionAmount ¶
func (_SimpleGatekeeper *SimpleGatekeeperCaller) TransactionAmount(opts *bind.CallOpts) (*big.Int, error)
TransactionAmount is a free data retrieval call binding the contract method 0xd942bffa.
Solidity: function transactionAmount() constant returns(uint256)
type SimpleGatekeeperCallerRaw ¶
type SimpleGatekeeperCallerRaw struct {
Contract *SimpleGatekeeperCaller // Generic read-only contract binding to access the raw methods on
}
SimpleGatekeeperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SimpleGatekeeperCallerRaw) Call ¶
func (_SimpleGatekeeper *SimpleGatekeeperCallerRaw) 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 SimpleGatekeeperCallerSession ¶
type SimpleGatekeeperCallerSession struct {
Contract *SimpleGatekeeperCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SimpleGatekeeperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SimpleGatekeeperCallerSession) Owner ¶
func (_SimpleGatekeeper *SimpleGatekeeperCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SimpleGatekeeperCallerSession) Paid ¶
func (_SimpleGatekeeper *SimpleGatekeeperCallerSession) Paid(arg0 [32]byte) (bool, error)
Paid is a free data retrieval call binding the contract method 0xadd89bb2.
Solidity: function paid( bytes32) constant returns(bool)
func (*SimpleGatekeeperCallerSession) TransactionAmount ¶
func (_SimpleGatekeeper *SimpleGatekeeperCallerSession) TransactionAmount() (*big.Int, error)
TransactionAmount is a free data retrieval call binding the contract method 0xd942bffa.
Solidity: function transactionAmount() constant returns(uint256)
type SimpleGatekeeperFilterer ¶
type SimpleGatekeeperFilterer struct {
// contains filtered or unexported fields
}
SimpleGatekeeperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSimpleGatekeeperFilterer ¶
func NewSimpleGatekeeperFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleGatekeeperFilterer, error)
NewSimpleGatekeeperFilterer creates a new log filterer instance of SimpleGatekeeper, bound to a specific deployed contract.
func (*SimpleGatekeeperFilterer) FilterOwnershipTransferred ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SimpleGatekeeperOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SimpleGatekeeperFilterer) FilterPayInTx ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterPayInTx(opts *bind.FilterOpts, from []common.Address, txNumber []*big.Int, value []*big.Int) (*SimpleGatekeeperPayInTxIterator, error)
FilterPayInTx is a free log retrieval operation binding the contract event 0x63768eabd21c026cb17439a3c6556436c1b0219c2046875297ad3f4b14e6700f.
Solidity: event PayInTx(from indexed address, txNumber indexed uint256, value indexed uint256)
func (*SimpleGatekeeperFilterer) FilterPayoutTx ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterPayoutTx(opts *bind.FilterOpts, from []common.Address, txNumber []*big.Int, value []*big.Int) (*SimpleGatekeeperPayoutTxIterator, error)
FilterPayoutTx is a free log retrieval operation binding the contract event 0x731af16374848c2c73a6154fd410cb421138e7db45c5a904e5a475c756faa8d9.
Solidity: event PayoutTx(from indexed address, txNumber indexed uint256, value indexed uint256)
func (*SimpleGatekeeperFilterer) FilterSuicide ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterSuicide(opts *bind.FilterOpts) (*SimpleGatekeeperSuicideIterator, error)
FilterSuicide is a free log retrieval operation binding the contract event 0xa1ea9b09ea114021983e9ecf71cf2ffddfd80f5cb4f925e5bf24f9bdb5e55fde.
Solidity: event Suicide(block uint256)
func (*SimpleGatekeeperFilterer) WatchOwnershipTransferred ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SimpleGatekeeperFilterer) WatchPayInTx ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchPayInTx(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperPayInTx, from []common.Address, txNumber []*big.Int, value []*big.Int) (event.Subscription, error)
WatchPayInTx is a free log subscription operation binding the contract event 0x63768eabd21c026cb17439a3c6556436c1b0219c2046875297ad3f4b14e6700f.
Solidity: event PayInTx(from indexed address, txNumber indexed uint256, value indexed uint256)
func (*SimpleGatekeeperFilterer) WatchPayoutTx ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchPayoutTx(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperPayoutTx, from []common.Address, txNumber []*big.Int, value []*big.Int) (event.Subscription, error)
WatchPayoutTx is a free log subscription operation binding the contract event 0x731af16374848c2c73a6154fd410cb421138e7db45c5a904e5a475c756faa8d9.
Solidity: event PayoutTx(from indexed address, txNumber indexed uint256, value indexed uint256)
func (*SimpleGatekeeperFilterer) WatchSuicide ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchSuicide(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperSuicide) (event.Subscription, error)
WatchSuicide is a free log subscription operation binding the contract event 0xa1ea9b09ea114021983e9ecf71cf2ffddfd80f5cb4f925e5bf24f9bdb5e55fde.
Solidity: event Suicide(block uint256)
type SimpleGatekeeperOwnershipTransferred ¶
type SimpleGatekeeperOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
SimpleGatekeeperOwnershipTransferred represents a OwnershipTransferred event raised by the SimpleGatekeeper contract.
type SimpleGatekeeperOwnershipTransferredIterator ¶
type SimpleGatekeeperOwnershipTransferredIterator struct {
Event *SimpleGatekeeperOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleGatekeeperOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SimpleGatekeeper contract.
func (*SimpleGatekeeperOwnershipTransferredIterator) Close ¶
func (it *SimpleGatekeeperOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleGatekeeperOwnershipTransferredIterator) Error ¶
func (it *SimpleGatekeeperOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleGatekeeperOwnershipTransferredIterator) Next ¶
func (it *SimpleGatekeeperOwnershipTransferredIterator) 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 SimpleGatekeeperPayInTx ¶
type SimpleGatekeeperPayInTx struct {
From common.Address
TxNumber *big.Int
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SimpleGatekeeperPayInTx represents a PayInTx event raised by the SimpleGatekeeper contract.
type SimpleGatekeeperPayInTxIterator ¶
type SimpleGatekeeperPayInTxIterator struct {
Event *SimpleGatekeeperPayInTx // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleGatekeeperPayInTxIterator is returned from FilterPayInTx and is used to iterate over the raw logs and unpacked data for PayInTx events raised by the SimpleGatekeeper contract.
func (*SimpleGatekeeperPayInTxIterator) Close ¶
func (it *SimpleGatekeeperPayInTxIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleGatekeeperPayInTxIterator) Error ¶
func (it *SimpleGatekeeperPayInTxIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleGatekeeperPayInTxIterator) Next ¶
func (it *SimpleGatekeeperPayInTxIterator) 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 SimpleGatekeeperPayoutTx ¶
type SimpleGatekeeperPayoutTx struct {
From common.Address
TxNumber *big.Int
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SimpleGatekeeperPayoutTx represents a PayoutTx event raised by the SimpleGatekeeper contract.
type SimpleGatekeeperPayoutTxIterator ¶
type SimpleGatekeeperPayoutTxIterator struct {
Event *SimpleGatekeeperPayoutTx // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleGatekeeperPayoutTxIterator is returned from FilterPayoutTx and is used to iterate over the raw logs and unpacked data for PayoutTx events raised by the SimpleGatekeeper contract.
func (*SimpleGatekeeperPayoutTxIterator) Close ¶
func (it *SimpleGatekeeperPayoutTxIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleGatekeeperPayoutTxIterator) Error ¶
func (it *SimpleGatekeeperPayoutTxIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleGatekeeperPayoutTxIterator) Next ¶
func (it *SimpleGatekeeperPayoutTxIterator) 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 SimpleGatekeeperRaw ¶
type SimpleGatekeeperRaw struct {
Contract *SimpleGatekeeper // Generic contract binding to access the raw methods on
}
SimpleGatekeeperRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SimpleGatekeeperRaw) Call ¶
func (_SimpleGatekeeper *SimpleGatekeeperRaw) 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 (*SimpleGatekeeperRaw) Transact ¶
func (_SimpleGatekeeper *SimpleGatekeeperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleGatekeeperRaw) Transfer ¶
func (_SimpleGatekeeper *SimpleGatekeeperRaw) 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 SimpleGatekeeperSession ¶
type SimpleGatekeeperSession struct {
Contract *SimpleGatekeeper // 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
}
SimpleGatekeeperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SimpleGatekeeperSession) Kill ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) Kill() (*types.Transaction, error)
Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.
Solidity: function kill() returns()
func (*SimpleGatekeeperSession) Owner ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SimpleGatekeeperSession) Paid ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) Paid(arg0 [32]byte) (bool, error)
Paid is a free data retrieval call binding the contract method 0xadd89bb2.
Solidity: function paid( bytes32) constant returns(bool)
func (*SimpleGatekeeperSession) PayIn ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) PayIn(_value *big.Int) (*types.Transaction, error)
PayIn is a paid mutator transaction binding the contract method 0x9fab56ac.
Solidity: function PayIn(_value uint256) returns()
func (*SimpleGatekeeperSession) Payout ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) Payout(_to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x634235fc.
Solidity: function Payout(_to address, _value uint256, _txNumber uint256) returns()
func (*SimpleGatekeeperSession) TransactionAmount ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) TransactionAmount() (*big.Int, error)
TransactionAmount is a free data retrieval call binding the contract method 0xd942bffa.
Solidity: function transactionAmount() constant returns(uint256)
func (*SimpleGatekeeperSession) TransferOwnership ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SimpleGatekeeperSuicide ¶
type SimpleGatekeeperSuicide struct {
Block *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SimpleGatekeeperSuicide represents a Suicide event raised by the SimpleGatekeeper contract.
type SimpleGatekeeperSuicideIterator ¶
type SimpleGatekeeperSuicideIterator struct {
Event *SimpleGatekeeperSuicide // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleGatekeeperSuicideIterator is returned from FilterSuicide and is used to iterate over the raw logs and unpacked data for Suicide events raised by the SimpleGatekeeper contract.
func (*SimpleGatekeeperSuicideIterator) Close ¶
func (it *SimpleGatekeeperSuicideIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleGatekeeperSuicideIterator) Error ¶
func (it *SimpleGatekeeperSuicideIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleGatekeeperSuicideIterator) Next ¶
func (it *SimpleGatekeeperSuicideIterator) 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 SimpleGatekeeperTransactor ¶
type SimpleGatekeeperTransactor struct {
// contains filtered or unexported fields
}
SimpleGatekeeperTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSimpleGatekeeperTransactor ¶
func NewSimpleGatekeeperTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleGatekeeperTransactor, error)
NewSimpleGatekeeperTransactor creates a new write-only instance of SimpleGatekeeper, bound to a specific deployed contract.
func (*SimpleGatekeeperTransactor) Kill ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)
Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.
Solidity: function kill() returns()
func (*SimpleGatekeeperTransactor) PayIn ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactor) PayIn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
PayIn is a paid mutator transaction binding the contract method 0x9fab56ac.
Solidity: function PayIn(_value uint256) returns()
func (*SimpleGatekeeperTransactor) Payout ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactor) Payout(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x634235fc.
Solidity: function Payout(_to address, _value uint256, _txNumber uint256) returns()
func (*SimpleGatekeeperTransactor) TransferOwnership ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SimpleGatekeeperTransactorRaw ¶
type SimpleGatekeeperTransactorRaw struct {
Contract *SimpleGatekeeperTransactor // Generic write-only contract binding to access the raw methods on
}
SimpleGatekeeperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SimpleGatekeeperTransactorRaw) Transact ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleGatekeeperTransactorRaw) Transfer ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorRaw) 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 SimpleGatekeeperTransactorSession ¶
type SimpleGatekeeperTransactorSession struct {
Contract *SimpleGatekeeperTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SimpleGatekeeperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SimpleGatekeeperTransactorSession) Kill ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) Kill() (*types.Transaction, error)
Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.
Solidity: function kill() returns()
func (*SimpleGatekeeperTransactorSession) PayIn ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) PayIn(_value *big.Int) (*types.Transaction, error)
PayIn is a paid mutator transaction binding the contract method 0x9fab56ac.
Solidity: function PayIn(_value uint256) returns()
func (*SimpleGatekeeperTransactorSession) Payout ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) Payout(_to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x634235fc.
Solidity: function Payout(_to address, _value uint256, _txNumber uint256) returns()
func (*SimpleGatekeeperTransactorSession) TransferOwnership ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type StandardToken ¶
type StandardToken struct {
StandardTokenCaller // Read-only binding to the contract
StandardTokenTransactor // Write-only binding to the contract
StandardTokenFilterer // Log filterer for contract events
}
StandardToken is an auto generated Go binding around an Ethereum contract.
func DeployStandardToken ¶
func DeployStandardToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StandardToken, error)
DeployStandardToken deploys a new Ethereum contract, binding an instance of StandardToken to it.
func NewStandardToken ¶
func NewStandardToken(address common.Address, backend bind.ContractBackend) (*StandardToken, error)
NewStandardToken creates a new instance of StandardToken, bound to a specific deployed contract.
type StandardTokenApproval ¶
type StandardTokenApproval struct {
Owner common.Address
Spender common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StandardTokenApproval represents a Approval event raised by the StandardToken contract.
type StandardTokenApprovalIterator ¶
type StandardTokenApprovalIterator struct {
Event *StandardTokenApproval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StandardTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StandardToken contract.
func (*StandardTokenApprovalIterator) Close ¶
func (it *StandardTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StandardTokenApprovalIterator) Error ¶
func (it *StandardTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StandardTokenApprovalIterator) Next ¶
func (it *StandardTokenApprovalIterator) 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 StandardTokenCaller ¶
type StandardTokenCaller struct {
// contains filtered or unexported fields
}
StandardTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStandardTokenCaller ¶
func NewStandardTokenCaller(address common.Address, caller bind.ContractCaller) (*StandardTokenCaller, error)
NewStandardTokenCaller creates a new read-only instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenCaller) Allowance ¶
func (_StandardToken *StandardTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*StandardTokenCaller) BalanceOf ¶
func (_StandardToken *StandardTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*StandardTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type StandardTokenCallerRaw ¶
type StandardTokenCallerRaw struct {
Contract *StandardTokenCaller // Generic read-only contract binding to access the raw methods on
}
StandardTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StandardTokenCallerRaw) Call ¶
func (_StandardToken *StandardTokenCallerRaw) 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 StandardTokenCallerSession ¶
type StandardTokenCallerSession struct {
Contract *StandardTokenCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
StandardTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StandardTokenCallerSession) Allowance ¶
func (_StandardToken *StandardTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*StandardTokenCallerSession) BalanceOf ¶
func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*StandardTokenCallerSession) TotalSupply ¶
func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type StandardTokenFilterer ¶
type StandardTokenFilterer struct {
// contains filtered or unexported fields
}
StandardTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStandardTokenFilterer ¶
func NewStandardTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*StandardTokenFilterer, error)
NewStandardTokenFilterer creates a new log filterer instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenFilterer) FilterApproval ¶
func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*StandardTokenFilterer) FilterTransfer ¶
func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*StandardTokenFilterer) WatchApproval ¶
func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*StandardTokenFilterer) WatchTransfer ¶
func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type StandardTokenRaw ¶
type StandardTokenRaw struct {
Contract *StandardToken // Generic contract binding to access the raw methods on
}
StandardTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StandardTokenRaw) Call ¶
func (_StandardToken *StandardTokenRaw) 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 (*StandardTokenRaw) Transact ¶
func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StandardTokenRaw) Transfer ¶
func (_StandardToken *StandardTokenRaw) 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 StandardTokenSession ¶
type StandardTokenSession struct {
Contract *StandardToken // 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
}
StandardTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StandardTokenSession) Allowance ¶
func (_StandardToken *StandardTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*StandardTokenSession) Approve ¶
func (_StandardToken *StandardTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*StandardTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*StandardTokenSession) DecreaseApproval ¶
func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*StandardTokenSession) IncreaseApproval ¶
func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*StandardTokenSession) TotalSupply ¶
func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*StandardTokenSession) Transfer ¶
func (_StandardToken *StandardTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*StandardTokenSession) TransferFrom ¶
func (_StandardToken *StandardTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
type StandardTokenTransactor ¶
type StandardTokenTransactor struct {
// contains filtered or unexported fields
}
StandardTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStandardTokenTransactor ¶
func NewStandardTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*StandardTokenTransactor, error)
NewStandardTokenTransactor creates a new write-only instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenTransactor) Approve ¶
func (_StandardToken *StandardTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*StandardTokenTransactor) DecreaseApproval ¶
func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*StandardTokenTransactor) IncreaseApproval ¶
func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*StandardTokenTransactor) Transfer ¶
func (_StandardToken *StandardTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*StandardTokenTransactor) TransferFrom ¶
func (_StandardToken *StandardTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
type StandardTokenTransactorRaw ¶
type StandardTokenTransactorRaw struct {
Contract *StandardTokenTransactor // Generic write-only contract binding to access the raw methods on
}
StandardTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StandardTokenTransactorRaw) Transact ¶
func (_StandardToken *StandardTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StandardTokenTransactorRaw) Transfer ¶
func (_StandardToken *StandardTokenTransactorRaw) 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 StandardTokenTransactorSession ¶
type StandardTokenTransactorSession struct {
Contract *StandardTokenTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
StandardTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StandardTokenTransactorSession) Approve ¶
func (_StandardToken *StandardTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*StandardTokenTransactorSession) DecreaseApproval ¶
func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*StandardTokenTransactorSession) IncreaseApproval ¶
func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*StandardTokenTransactorSession) Transfer ¶
func (_StandardToken *StandardTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*StandardTokenTransactorSession) TransferFrom ¶
func (_StandardToken *StandardTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
type StandardTokenTransfer ¶
type StandardTokenTransfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StandardTokenTransfer represents a Transfer event raised by the StandardToken contract.
type StandardTokenTransferIterator ¶
type StandardTokenTransferIterator struct {
Event *StandardTokenTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StandardTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StandardToken contract.
func (*StandardTokenTransferIterator) Close ¶
func (it *StandardTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StandardTokenTransferIterator) Error ¶
func (it *StandardTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StandardTokenTransferIterator) Next ¶
func (it *StandardTokenTransferIterator) 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.