Documentation ¶
Index ¶
- Constants
- type AbstractTokenSRC21
- type AbstractTokenSRC21Caller
- type AbstractTokenSRC21CallerRaw
- type AbstractTokenSRC21CallerSession
- type AbstractTokenSRC21Filterer
- type AbstractTokenSRC21Raw
- func (_AbstractTokenSRC21 *AbstractTokenSRC21Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_AbstractTokenSRC21 *AbstractTokenSRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AbstractTokenSRC21 *AbstractTokenSRC21Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AbstractTokenSRC21Session
- type AbstractTokenSRC21Transactor
- type AbstractTokenSRC21TransactorRaw
- type AbstractTokenSRC21TransactorSession
- type ISRC21
- type ISRC21Approval
- type ISRC21ApprovalIterator
- type ISRC21Caller
- func (_ISRC21 *ISRC21Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ISRC21 *ISRC21Caller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)
- func (_ISRC21 *ISRC21Caller) EstimateFee(opts *bind.CallOpts, value *big.Int) (*big.Int, error)
- func (_ISRC21 *ISRC21Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ISRC21CallerRaw
- type ISRC21CallerSession
- func (_ISRC21 *ISRC21CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ISRC21 *ISRC21CallerSession) BalanceOf(who common.Address) (*big.Int, error)
- func (_ISRC21 *ISRC21CallerSession) EstimateFee(value *big.Int) (*big.Int, error)
- func (_ISRC21 *ISRC21CallerSession) TotalSupply() (*big.Int, error)
- type ISRC21Fee
- type ISRC21FeeIterator
- type ISRC21Filterer
- func (_ISRC21 *ISRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ISRC21ApprovalIterator, error)
- func (_ISRC21 *ISRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ISRC21FeeIterator, error)
- func (_ISRC21 *ISRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ISRC21TransferIterator, error)
- func (_ISRC21 *ISRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ISRC21Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ISRC21 *ISRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *ISRC21Fee, from []common.Address, ...) (event.Subscription, error)
- func (_ISRC21 *ISRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ISRC21Transfer, from []common.Address, ...) (event.Subscription, error)
- type ISRC21Raw
- func (_ISRC21 *ISRC21Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ISRC21 *ISRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ISRC21 *ISRC21Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ISRC21Session
- func (_ISRC21 *ISRC21Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ISRC21 *ISRC21Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ISRC21 *ISRC21Session) BalanceOf(who common.Address) (*big.Int, error)
- func (_ISRC21 *ISRC21Session) EstimateFee(value *big.Int) (*big.Int, error)
- func (_ISRC21 *ISRC21Session) TotalSupply() (*big.Int, error)
- func (_ISRC21 *ISRC21Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ISRC21 *ISRC21Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type ISRC21Transactor
- func (_ISRC21 *ISRC21Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ISRC21 *ISRC21Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ISRC21 *ISRC21Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type ISRC21TransactorRaw
- type ISRC21TransactorSession
- func (_ISRC21 *ISRC21TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ISRC21 *ISRC21TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ISRC21 *ISRC21TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type ISRC21Transfer
- type ISRC21TransferIterator
- type MySRC21
- type MySRC21Approval
- type MySRC21ApprovalIterator
- type MySRC21Caller
- func (_MySRC21 *MySRC21Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_MySRC21 *MySRC21Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_MySRC21 *MySRC21Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_MySRC21 *MySRC21Caller) EstimateFee(opts *bind.CallOpts, value *big.Int) (*big.Int, error)
- func (_MySRC21 *MySRC21Caller) Issuer(opts *bind.CallOpts) (common.Address, error)
- func (_MySRC21 *MySRC21Caller) MinFee(opts *bind.CallOpts) (*big.Int, error)
- func (_MySRC21 *MySRC21Caller) Name(opts *bind.CallOpts) (string, error)
- func (_MySRC21 *MySRC21Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_MySRC21 *MySRC21Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type MySRC21CallerRaw
- type MySRC21CallerSession
- func (_MySRC21 *MySRC21CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_MySRC21 *MySRC21CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_MySRC21 *MySRC21CallerSession) Decimals() (uint8, error)
- func (_MySRC21 *MySRC21CallerSession) EstimateFee(value *big.Int) (*big.Int, error)
- func (_MySRC21 *MySRC21CallerSession) Issuer() (common.Address, error)
- func (_MySRC21 *MySRC21CallerSession) MinFee() (*big.Int, error)
- func (_MySRC21 *MySRC21CallerSession) Name() (string, error)
- func (_MySRC21 *MySRC21CallerSession) Symbol() (string, error)
- func (_MySRC21 *MySRC21CallerSession) TotalSupply() (*big.Int, error)
- type MySRC21Fee
- type MySRC21FeeIterator
- type MySRC21Filterer
- func (_MySRC21 *MySRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MySRC21ApprovalIterator, error)
- func (_MySRC21 *MySRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*MySRC21FeeIterator, error)
- func (_MySRC21 *MySRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MySRC21TransferIterator, error)
- func (_MySRC21 *MySRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MySRC21Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_MySRC21 *MySRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *MySRC21Fee, from []common.Address, ...) (event.Subscription, error)
- func (_MySRC21 *MySRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MySRC21Transfer, from []common.Address, ...) (event.Subscription, error)
- type MySRC21Raw
- func (_MySRC21 *MySRC21Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_MySRC21 *MySRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MySRC21 *MySRC21Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MySRC21Session
- func (_MySRC21 *MySRC21Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_MySRC21 *MySRC21Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_MySRC21 *MySRC21Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_MySRC21 *MySRC21Session) Decimals() (uint8, error)
- func (_MySRC21 *MySRC21Session) EstimateFee(value *big.Int) (*big.Int, error)
- func (_MySRC21 *MySRC21Session) Issuer() (common.Address, error)
- func (_MySRC21 *MySRC21Session) MinFee() (*big.Int, error)
- func (_MySRC21 *MySRC21Session) Name() (string, error)
- func (_MySRC21 *MySRC21Session) Symbol() (string, error)
- func (_MySRC21 *MySRC21Session) TotalSupply() (*big.Int, error)
- func (_MySRC21 *MySRC21Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_MySRC21 *MySRC21Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type MySRC21Transactor
- func (_MySRC21 *MySRC21Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_MySRC21 *MySRC21Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_MySRC21 *MySRC21Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type MySRC21TransactorRaw
- type MySRC21TransactorSession
- func (_MySRC21 *MySRC21TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_MySRC21 *MySRC21TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_MySRC21 *MySRC21TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type MySRC21Transfer
- type MySRC21TransferIterator
- type SRC21
- type SRC21Approval
- type SRC21ApprovalIterator
- type SRC21Caller
- func (_SRC21 *SRC21Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_SRC21 *SRC21Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_SRC21 *SRC21Caller) EstimateFee(opts *bind.CallOpts, value *big.Int) (*big.Int, error)
- func (_SRC21 *SRC21Caller) Issuer(opts *bind.CallOpts) (common.Address, error)
- func (_SRC21 *SRC21Caller) MinFee(opts *bind.CallOpts) (*big.Int, error)
- func (_SRC21 *SRC21Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SRC21CallerRaw
- type SRC21CallerSession
- func (_SRC21 *SRC21CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_SRC21 *SRC21CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_SRC21 *SRC21CallerSession) EstimateFee(value *big.Int) (*big.Int, error)
- func (_SRC21 *SRC21CallerSession) Issuer() (common.Address, error)
- func (_SRC21 *SRC21CallerSession) MinFee() (*big.Int, error)
- func (_SRC21 *SRC21CallerSession) TotalSupply() (*big.Int, error)
- type SRC21Fee
- type SRC21FeeIterator
- type SRC21Filterer
- func (_SRC21 *SRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SRC21ApprovalIterator, error)
- func (_SRC21 *SRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*SRC21FeeIterator, error)
- func (_SRC21 *SRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SRC21TransferIterator, error)
- func (_SRC21 *SRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SRC21Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_SRC21 *SRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *SRC21Fee, from []common.Address, ...) (event.Subscription, error)
- func (_SRC21 *SRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SRC21Transfer, from []common.Address, ...) (event.Subscription, error)
- type SRC21Issuer
- type SRC21IssuerApply
- type SRC21IssuerApplyIterator
- type SRC21IssuerCaller
- type SRC21IssuerCallerRaw
- type SRC21IssuerCallerSession
- type SRC21IssuerCharge
- type SRC21IssuerChargeIterator
- type SRC21IssuerFilterer
- func (_SRC21Issuer *SRC21IssuerFilterer) FilterApply(opts *bind.FilterOpts, issuer []common.Address, token []common.Address) (*SRC21IssuerApplyIterator, error)
- func (_SRC21Issuer *SRC21IssuerFilterer) FilterCharge(opts *bind.FilterOpts, supporter []common.Address, token []common.Address) (*SRC21IssuerChargeIterator, error)
- func (_SRC21Issuer *SRC21IssuerFilterer) WatchApply(opts *bind.WatchOpts, sink chan<- *SRC21IssuerApply, issuer []common.Address, ...) (event.Subscription, error)
- func (_SRC21Issuer *SRC21IssuerFilterer) WatchCharge(opts *bind.WatchOpts, sink chan<- *SRC21IssuerCharge, ...) (event.Subscription, error)
- type SRC21IssuerRaw
- func (_SRC21Issuer *SRC21IssuerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SRC21Issuer *SRC21IssuerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SRC21Issuer *SRC21IssuerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SRC21IssuerSession
- func (_SRC21Issuer *SRC21IssuerSession) Apply(token common.Address) (*types.Transaction, error)
- func (_SRC21Issuer *SRC21IssuerSession) Charge(token common.Address) (*types.Transaction, error)
- func (_SRC21Issuer *SRC21IssuerSession) GetTokenCapacity(token common.Address) (*big.Int, error)
- func (_SRC21Issuer *SRC21IssuerSession) MinCap() (*big.Int, error)
- func (_SRC21Issuer *SRC21IssuerSession) Tokens() ([]common.Address, error)
- type SRC21IssuerTransactor
- type SRC21IssuerTransactorRaw
- type SRC21IssuerTransactorSession
- type SRC21Raw
- func (_SRC21 *SRC21Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SRC21 *SRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SRC21 *SRC21Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SRC21Session
- func (_SRC21 *SRC21Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_SRC21 *SRC21Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_SRC21 *SRC21Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_SRC21 *SRC21Session) EstimateFee(value *big.Int) (*big.Int, error)
- func (_SRC21 *SRC21Session) Issuer() (common.Address, error)
- func (_SRC21 *SRC21Session) MinFee() (*big.Int, error)
- func (_SRC21 *SRC21Session) TotalSupply() (*big.Int, error)
- func (_SRC21 *SRC21Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_SRC21 *SRC21Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type SRC21Transactor
- func (_SRC21 *SRC21Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_SRC21 *SRC21Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_SRC21 *SRC21Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type SRC21TransactorRaw
- type SRC21TransactorSession
- func (_SRC21 *SRC21TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_SRC21 *SRC21TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_SRC21 *SRC21TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type SRC21Transfer
- type SRC21TransferIterator
Constants ¶
const AbstractTokenSRC21ABI = "" /* 175-byte string literal not displayed */
AbstractTokenSRC21ABI is the input ABI used to generate the binding from.
const AbstractTokenSRC21Bin = `0x`
AbstractTokenSRC21Bin is the compiled bytecode used for deploying new contracts.
const ISRC21ABI = "" /* 2518-byte string literal not displayed */
ISRC21ABI is the input ABI used to generate the binding from.
const ISRC21Bin = `0x`
ISRC21Bin is the compiled bytecode used for deploying new contracts.
const MySRC21ABI = "" /* 3687-byte string literal not displayed */
MySRC21ABI is the input ABI used to generate the binding from.
const MySRC21Bin = `` /* 5732-byte string literal not displayed */
MySRC21Bin is the compiled bytecode used for deploying new contracts.
const SRC21ABI = "" /* 2868-byte string literal not displayed */
SRC21ABI is the input ABI used to generate the binding from.
const SRC21Bin = `` /* 3478-byte string literal not displayed */
SRC21Bin is the compiled bytecode used for deploying new contracts.
const SRC21IssuerABI = "" /* 1582-byte string literal not displayed */
SRC21IssuerABI is the input ABI used to generate the binding from.
const SRC21IssuerBin = `` /* 2300-byte string literal not displayed */
SRC21IssuerBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractTokenSRC21 ¶
type AbstractTokenSRC21 struct { AbstractTokenSRC21Caller // Read-only binding to the contract AbstractTokenSRC21Transactor // Write-only binding to the contract AbstractTokenSRC21Filterer // Log filterer for contract events }
AbstractTokenSRC21 is an auto generated Go binding around an Ethereum contract.
func DeployAbstractTokenSRC21 ¶
func DeployAbstractTokenSRC21(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AbstractTokenSRC21, error)
DeployAbstractTokenSRC21 deploys a new Ethereum contract, binding an instance of AbstractTokenSRC21 to it.
func NewAbstractTokenSRC21 ¶
func NewAbstractTokenSRC21(address common.Address, backend bind.ContractBackend) (*AbstractTokenSRC21, error)
NewAbstractTokenSRC21 creates a new instance of AbstractTokenSRC21, bound to a specific deployed contract.
type AbstractTokenSRC21Caller ¶
type AbstractTokenSRC21Caller struct {
// contains filtered or unexported fields
}
AbstractTokenSRC21Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewAbstractTokenSRC21Caller ¶
func NewAbstractTokenSRC21Caller(address common.Address, caller bind.ContractCaller) (*AbstractTokenSRC21Caller, error)
NewAbstractTokenSRC21Caller creates a new read-only instance of AbstractTokenSRC21, bound to a specific deployed contract.
type AbstractTokenSRC21CallerRaw ¶
type AbstractTokenSRC21CallerRaw struct {
Contract *AbstractTokenSRC21Caller // Generic read-only contract binding to access the raw methods on
}
AbstractTokenSRC21CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AbstractTokenSRC21CallerRaw) Call ¶
func (_AbstractTokenSRC21 *AbstractTokenSRC21CallerRaw) 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 AbstractTokenSRC21CallerSession ¶
type AbstractTokenSRC21CallerSession struct { Contract *AbstractTokenSRC21Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AbstractTokenSRC21CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AbstractTokenSRC21Filterer ¶
type AbstractTokenSRC21Filterer struct {
// contains filtered or unexported fields
}
AbstractTokenSRC21Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAbstractTokenSRC21Filterer ¶
func NewAbstractTokenSRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*AbstractTokenSRC21Filterer, error)
NewAbstractTokenSRC21Filterer creates a new log filterer instance of AbstractTokenSRC21, bound to a specific deployed contract.
type AbstractTokenSRC21Raw ¶
type AbstractTokenSRC21Raw struct {
Contract *AbstractTokenSRC21 // Generic contract binding to access the raw methods on
}
AbstractTokenSRC21Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*AbstractTokenSRC21Raw) Call ¶
func (_AbstractTokenSRC21 *AbstractTokenSRC21Raw) 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 (*AbstractTokenSRC21Raw) Transact ¶
func (_AbstractTokenSRC21 *AbstractTokenSRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AbstractTokenSRC21Raw) Transfer ¶
func (_AbstractTokenSRC21 *AbstractTokenSRC21Raw) 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 AbstractTokenSRC21Session ¶
type AbstractTokenSRC21Session struct { Contract *AbstractTokenSRC21 // 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 }
AbstractTokenSRC21Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AbstractTokenSRC21Transactor ¶
type AbstractTokenSRC21Transactor struct {
// contains filtered or unexported fields
}
AbstractTokenSRC21Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAbstractTokenSRC21Transactor ¶
func NewAbstractTokenSRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*AbstractTokenSRC21Transactor, error)
NewAbstractTokenSRC21Transactor creates a new write-only instance of AbstractTokenSRC21, bound to a specific deployed contract.
type AbstractTokenSRC21TransactorRaw ¶
type AbstractTokenSRC21TransactorRaw struct {
Contract *AbstractTokenSRC21Transactor // Generic write-only contract binding to access the raw methods on
}
AbstractTokenSRC21TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AbstractTokenSRC21TransactorRaw) Transact ¶
func (_AbstractTokenSRC21 *AbstractTokenSRC21TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AbstractTokenSRC21TransactorRaw) Transfer ¶
func (_AbstractTokenSRC21 *AbstractTokenSRC21TransactorRaw) 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 AbstractTokenSRC21TransactorSession ¶
type AbstractTokenSRC21TransactorSession struct { Contract *AbstractTokenSRC21Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AbstractTokenSRC21TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ISRC21 ¶
type ISRC21 struct { ISRC21Caller // Read-only binding to the contract ISRC21Transactor // Write-only binding to the contract ISRC21Filterer // Log filterer for contract events }
ISRC21 is an auto generated Go binding around an Ethereum contract.
func DeployISRC21 ¶
func DeployISRC21(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ISRC21, error)
DeployISRC21 deploys a new Ethereum contract, binding an instance of ISRC21 to it.
type ISRC21Approval ¶
type ISRC21Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ISRC21Approval represents a Approval event raised by the ISRC21 contract.
type ISRC21ApprovalIterator ¶
type ISRC21ApprovalIterator struct { Event *ISRC21Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ISRC21ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ISRC21 contract.
func (*ISRC21ApprovalIterator) Close ¶
func (it *ISRC21ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ISRC21ApprovalIterator) Error ¶
func (it *ISRC21ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ISRC21ApprovalIterator) Next ¶
func (it *ISRC21ApprovalIterator) 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 ISRC21Caller ¶
type ISRC21Caller struct {
// contains filtered or unexported fields
}
ISRC21Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewISRC21Caller ¶
func NewISRC21Caller(address common.Address, caller bind.ContractCaller) (*ISRC21Caller, error)
NewISRC21Caller creates a new read-only instance of ISRC21, bound to a specific deployed contract.
func (*ISRC21Caller) Allowance ¶
func (_ISRC21 *ISRC21Caller) 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 (*ISRC21Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ISRC21Caller) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*ISRC21Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ISRC21CallerRaw ¶
type ISRC21CallerRaw struct {
Contract *ISRC21Caller // Generic read-only contract binding to access the raw methods on
}
ISRC21CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ISRC21CallerRaw) Call ¶
func (_ISRC21 *ISRC21CallerRaw) 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 ISRC21CallerSession ¶
type ISRC21CallerSession struct { Contract *ISRC21Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ISRC21CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ISRC21CallerSession) Allowance ¶
func (_ISRC21 *ISRC21CallerSession) 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 (*ISRC21CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ISRC21CallerSession) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*ISRC21CallerSession) TotalSupply ¶
func (_ISRC21 *ISRC21CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ISRC21Fee ¶
type ISRC21Fee struct { From common.Address To common.Address Issuer common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ISRC21Fee represents a Fee event raised by the ISRC21 contract.
type ISRC21FeeIterator ¶
type ISRC21FeeIterator struct { Event *ISRC21Fee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ISRC21FeeIterator is returned from FilterFee and is used to iterate over the raw logs and unpacked data for Fee events raised by the ISRC21 contract.
func (*ISRC21FeeIterator) Close ¶
func (it *ISRC21FeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ISRC21FeeIterator) Error ¶
func (it *ISRC21FeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ISRC21FeeIterator) Next ¶
func (it *ISRC21FeeIterator) 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 ISRC21Filterer ¶
type ISRC21Filterer struct {
// contains filtered or unexported fields
}
ISRC21Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewISRC21Filterer ¶
func NewISRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*ISRC21Filterer, error)
NewISRC21Filterer creates a new log filterer instance of ISRC21, bound to a specific deployed contract.
func (*ISRC21Filterer) FilterApproval ¶
func (_ISRC21 *ISRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ISRC21ApprovalIterator, 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 (*ISRC21Filterer) FilterFee ¶
func (_ISRC21 *ISRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, issuer []common.Address) (*ISRC21FeeIterator, error)
FilterFee is a free log retrieval operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.
Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)
func (*ISRC21Filterer) FilterTransfer ¶
func (_ISRC21 *ISRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ISRC21TransferIterator, 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 (*ISRC21Filterer) WatchApproval ¶
func (_ISRC21 *ISRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ISRC21Approval, 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 (*ISRC21Filterer) WatchFee ¶
func (_ISRC21 *ISRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *ISRC21Fee, from []common.Address, to []common.Address, issuer []common.Address) (event.Subscription, error)
WatchFee is a free log subscription operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.
Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)
func (*ISRC21Filterer) WatchTransfer ¶
func (_ISRC21 *ISRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ISRC21Transfer, 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 ISRC21Raw ¶
type ISRC21Raw struct {
Contract *ISRC21 // Generic contract binding to access the raw methods on
}
ISRC21Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ISRC21Raw) Call ¶
func (_ISRC21 *ISRC21Raw) 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 (*ISRC21Raw) Transact ¶
func (_ISRC21 *ISRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISRC21Raw) Transfer ¶
func (_ISRC21 *ISRC21Raw) 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 ISRC21Session ¶
type ISRC21Session struct { Contract *ISRC21 // 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 }
ISRC21Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ISRC21Session) Allowance ¶
func (_ISRC21 *ISRC21Session) 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 (*ISRC21Session) Approve ¶
func (_ISRC21 *ISRC21Session) 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 (*ISRC21Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ISRC21Session) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*ISRC21Session) TotalSupply ¶
func (_ISRC21 *ISRC21Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ISRC21Session) Transfer ¶
func (_ISRC21 *ISRC21Session) 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 (*ISRC21Session) TransferFrom ¶
func (_ISRC21 *ISRC21Session) 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 ISRC21Transactor ¶
type ISRC21Transactor struct {
// contains filtered or unexported fields
}
ISRC21Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewISRC21Transactor ¶
func NewISRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*ISRC21Transactor, error)
NewISRC21Transactor creates a new write-only instance of ISRC21, bound to a specific deployed contract.
func (*ISRC21Transactor) Approve ¶
func (_ISRC21 *ISRC21Transactor) 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 (*ISRC21Transactor) Transfer ¶
func (_ISRC21 *ISRC21Transactor) 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 (*ISRC21Transactor) TransferFrom ¶
func (_ISRC21 *ISRC21Transactor) 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 ISRC21TransactorRaw ¶
type ISRC21TransactorRaw struct {
Contract *ISRC21Transactor // Generic write-only contract binding to access the raw methods on
}
ISRC21TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ISRC21TransactorRaw) Transact ¶
func (_ISRC21 *ISRC21TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ISRC21TransactorRaw) Transfer ¶
func (_ISRC21 *ISRC21TransactorRaw) 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 ISRC21TransactorSession ¶
type ISRC21TransactorSession struct { Contract *ISRC21Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ISRC21TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ISRC21TransactorSession) Approve ¶
func (_ISRC21 *ISRC21TransactorSession) 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 (*ISRC21TransactorSession) Transfer ¶
func (_ISRC21 *ISRC21TransactorSession) 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 (*ISRC21TransactorSession) TransferFrom ¶
func (_ISRC21 *ISRC21TransactorSession) 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 ISRC21Transfer ¶
type ISRC21Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ISRC21Transfer represents a Transfer event raised by the ISRC21 contract.
type ISRC21TransferIterator ¶
type ISRC21TransferIterator struct { Event *ISRC21Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ISRC21TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ISRC21 contract.
func (*ISRC21TransferIterator) Close ¶
func (it *ISRC21TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ISRC21TransferIterator) Error ¶
func (it *ISRC21TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ISRC21TransferIterator) Next ¶
func (it *ISRC21TransferIterator) 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 MySRC21 ¶
type MySRC21 struct { MySRC21Caller // Read-only binding to the contract MySRC21Transactor // Write-only binding to the contract MySRC21Filterer // Log filterer for contract events }
MySRC21 is an auto generated Go binding around an Ethereum contract.
func DeployMySRC21 ¶
func DeployMySRC21(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string, decimals uint8, cap *big.Int, minFee *big.Int) (common.Address, *types.Transaction, *MySRC21, error)
DeployMySRC21 deploys a new Ethereum contract, binding an instance of MySRC21 to it.
func NewMySRC21 ¶
NewMySRC21 creates a new instance of MySRC21, bound to a specific deployed contract.
type MySRC21Approval ¶
type MySRC21Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MySRC21Approval represents a Approval event raised by the MySRC21 contract.
type MySRC21ApprovalIterator ¶
type MySRC21ApprovalIterator struct { Event *MySRC21Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MySRC21ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MySRC21 contract.
func (*MySRC21ApprovalIterator) Close ¶
func (it *MySRC21ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MySRC21ApprovalIterator) Error ¶
func (it *MySRC21ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MySRC21ApprovalIterator) Next ¶
func (it *MySRC21ApprovalIterator) 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 MySRC21Caller ¶
type MySRC21Caller struct {
// contains filtered or unexported fields
}
MySRC21Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewMySRC21Caller ¶
func NewMySRC21Caller(address common.Address, caller bind.ContractCaller) (*MySRC21Caller, error)
NewMySRC21Caller creates a new read-only instance of MySRC21, bound to a specific deployed contract.
func (*MySRC21Caller) Allowance ¶
func (_MySRC21 *MySRC21Caller) 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 (*MySRC21Caller) BalanceOf ¶
func (_MySRC21 *MySRC21Caller) 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 (*MySRC21Caller) Decimals ¶
func (_MySRC21 *MySRC21Caller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*MySRC21Caller) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*MySRC21Caller) Issuer ¶
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() constant returns(address)
func (*MySRC21Caller) MinFee ¶
MinFee is a free data retrieval call binding the contract method 0x24ec7590.
Solidity: function minFee() constant returns(uint256)
func (*MySRC21Caller) Name ¶
func (_MySRC21 *MySRC21Caller) 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 (*MySRC21Caller) Symbol ¶
func (_MySRC21 *MySRC21Caller) 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 (*MySRC21Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type MySRC21CallerRaw ¶
type MySRC21CallerRaw struct {
Contract *MySRC21Caller // Generic read-only contract binding to access the raw methods on
}
MySRC21CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MySRC21CallerRaw) Call ¶
func (_MySRC21 *MySRC21CallerRaw) 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 MySRC21CallerSession ¶
type MySRC21CallerSession struct { Contract *MySRC21Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MySRC21CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MySRC21CallerSession) Allowance ¶
func (_MySRC21 *MySRC21CallerSession) 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 (*MySRC21CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(owner address) constant returns(uint256)
func (*MySRC21CallerSession) Decimals ¶
func (_MySRC21 *MySRC21CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*MySRC21CallerSession) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*MySRC21CallerSession) Issuer ¶
func (_MySRC21 *MySRC21CallerSession) Issuer() (common.Address, error)
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() constant returns(address)
func (*MySRC21CallerSession) MinFee ¶
func (_MySRC21 *MySRC21CallerSession) MinFee() (*big.Int, error)
MinFee is a free data retrieval call binding the contract method 0x24ec7590.
Solidity: function minFee() constant returns(uint256)
func (*MySRC21CallerSession) Name ¶
func (_MySRC21 *MySRC21CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*MySRC21CallerSession) Symbol ¶
func (_MySRC21 *MySRC21CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*MySRC21CallerSession) TotalSupply ¶
func (_MySRC21 *MySRC21CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type MySRC21Fee ¶
type MySRC21Fee struct { From common.Address To common.Address Issuer common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MySRC21Fee represents a Fee event raised by the MySRC21 contract.
type MySRC21FeeIterator ¶
type MySRC21FeeIterator struct { Event *MySRC21Fee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MySRC21FeeIterator is returned from FilterFee and is used to iterate over the raw logs and unpacked data for Fee events raised by the MySRC21 contract.
func (*MySRC21FeeIterator) Close ¶
func (it *MySRC21FeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MySRC21FeeIterator) Error ¶
func (it *MySRC21FeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MySRC21FeeIterator) Next ¶
func (it *MySRC21FeeIterator) 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 MySRC21Filterer ¶
type MySRC21Filterer struct {
// contains filtered or unexported fields
}
MySRC21Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMySRC21Filterer ¶
func NewMySRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*MySRC21Filterer, error)
NewMySRC21Filterer creates a new log filterer instance of MySRC21, bound to a specific deployed contract.
func (*MySRC21Filterer) FilterApproval ¶
func (_MySRC21 *MySRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MySRC21ApprovalIterator, 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 (*MySRC21Filterer) FilterFee ¶
func (_MySRC21 *MySRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, issuer []common.Address) (*MySRC21FeeIterator, error)
FilterFee is a free log retrieval operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.
Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)
func (*MySRC21Filterer) FilterTransfer ¶
func (_MySRC21 *MySRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MySRC21TransferIterator, 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 (*MySRC21Filterer) WatchApproval ¶
func (_MySRC21 *MySRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MySRC21Approval, 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 (*MySRC21Filterer) WatchFee ¶
func (_MySRC21 *MySRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *MySRC21Fee, from []common.Address, to []common.Address, issuer []common.Address) (event.Subscription, error)
WatchFee is a free log subscription operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.
Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)
func (*MySRC21Filterer) WatchTransfer ¶
func (_MySRC21 *MySRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MySRC21Transfer, 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 MySRC21Raw ¶
type MySRC21Raw struct {
Contract *MySRC21 // Generic contract binding to access the raw methods on
}
MySRC21Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*MySRC21Raw) Call ¶
func (_MySRC21 *MySRC21Raw) 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 (*MySRC21Raw) Transact ¶
func (_MySRC21 *MySRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MySRC21Raw) Transfer ¶
func (_MySRC21 *MySRC21Raw) 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 MySRC21Session ¶
type MySRC21Session struct { Contract *MySRC21 // 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 }
MySRC21Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MySRC21Session) Allowance ¶
func (_MySRC21 *MySRC21Session) 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 (*MySRC21Session) Approve ¶
func (_MySRC21 *MySRC21Session) 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 (*MySRC21Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(owner address) constant returns(uint256)
func (*MySRC21Session) Decimals ¶
func (_MySRC21 *MySRC21Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*MySRC21Session) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*MySRC21Session) Issuer ¶
func (_MySRC21 *MySRC21Session) Issuer() (common.Address, error)
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() constant returns(address)
func (*MySRC21Session) MinFee ¶
func (_MySRC21 *MySRC21Session) MinFee() (*big.Int, error)
MinFee is a free data retrieval call binding the contract method 0x24ec7590.
Solidity: function minFee() constant returns(uint256)
func (*MySRC21Session) Name ¶
func (_MySRC21 *MySRC21Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*MySRC21Session) Symbol ¶
func (_MySRC21 *MySRC21Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*MySRC21Session) TotalSupply ¶
func (_MySRC21 *MySRC21Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*MySRC21Session) Transfer ¶
func (_MySRC21 *MySRC21Session) 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 (*MySRC21Session) TransferFrom ¶
func (_MySRC21 *MySRC21Session) 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 MySRC21Transactor ¶
type MySRC21Transactor struct {
// contains filtered or unexported fields
}
MySRC21Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMySRC21Transactor ¶
func NewMySRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*MySRC21Transactor, error)
NewMySRC21Transactor creates a new write-only instance of MySRC21, bound to a specific deployed contract.
func (*MySRC21Transactor) Approve ¶
func (_MySRC21 *MySRC21Transactor) 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 (*MySRC21Transactor) Transfer ¶
func (_MySRC21 *MySRC21Transactor) 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 (*MySRC21Transactor) TransferFrom ¶
func (_MySRC21 *MySRC21Transactor) 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 MySRC21TransactorRaw ¶
type MySRC21TransactorRaw struct {
Contract *MySRC21Transactor // Generic write-only contract binding to access the raw methods on
}
MySRC21TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MySRC21TransactorRaw) Transact ¶
func (_MySRC21 *MySRC21TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MySRC21TransactorRaw) Transfer ¶
func (_MySRC21 *MySRC21TransactorRaw) 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 MySRC21TransactorSession ¶
type MySRC21TransactorSession struct { Contract *MySRC21Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MySRC21TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MySRC21TransactorSession) Approve ¶
func (_MySRC21 *MySRC21TransactorSession) 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 (*MySRC21TransactorSession) Transfer ¶
func (_MySRC21 *MySRC21TransactorSession) 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 (*MySRC21TransactorSession) TransferFrom ¶
func (_MySRC21 *MySRC21TransactorSession) 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 MySRC21Transfer ¶
type MySRC21Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MySRC21Transfer represents a Transfer event raised by the MySRC21 contract.
type MySRC21TransferIterator ¶
type MySRC21TransferIterator struct { Event *MySRC21Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MySRC21TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MySRC21 contract.
func (*MySRC21TransferIterator) Close ¶
func (it *MySRC21TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MySRC21TransferIterator) Error ¶
func (it *MySRC21TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MySRC21TransferIterator) Next ¶
func (it *MySRC21TransferIterator) 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 SRC21 ¶
type SRC21 struct { SRC21Caller // Read-only binding to the contract SRC21Transactor // Write-only binding to the contract SRC21Filterer // Log filterer for contract events }
SRC21 is an auto generated Go binding around an Ethereum contract.
func DeploySRC21 ¶
func DeploySRC21(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SRC21, error)
DeploySRC21 deploys a new Ethereum contract, binding an instance of SRC21 to it.
type SRC21Approval ¶
type SRC21Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SRC21Approval represents a Approval event raised by the SRC21 contract.
type SRC21ApprovalIterator ¶
type SRC21ApprovalIterator struct { Event *SRC21Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SRC21ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SRC21 contract.
func (*SRC21ApprovalIterator) Close ¶
func (it *SRC21ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SRC21ApprovalIterator) Error ¶
func (it *SRC21ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SRC21ApprovalIterator) Next ¶
func (it *SRC21ApprovalIterator) 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 SRC21Caller ¶
type SRC21Caller struct {
// contains filtered or unexported fields
}
SRC21Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewSRC21Caller ¶
func NewSRC21Caller(address common.Address, caller bind.ContractCaller) (*SRC21Caller, error)
NewSRC21Caller creates a new read-only instance of SRC21, bound to a specific deployed contract.
func (*SRC21Caller) Allowance ¶
func (_SRC21 *SRC21Caller) 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 (*SRC21Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(owner address) constant returns(uint256)
func (*SRC21Caller) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*SRC21Caller) Issuer ¶
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() constant returns(address)
func (*SRC21Caller) MinFee ¶
MinFee is a free data retrieval call binding the contract method 0x24ec7590.
Solidity: function minFee() constant returns(uint256)
func (*SRC21Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SRC21CallerRaw ¶
type SRC21CallerRaw struct {
Contract *SRC21Caller // Generic read-only contract binding to access the raw methods on
}
SRC21CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SRC21CallerRaw) Call ¶
func (_SRC21 *SRC21CallerRaw) 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 SRC21CallerSession ¶
type SRC21CallerSession struct { Contract *SRC21Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SRC21CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SRC21CallerSession) Allowance ¶
func (_SRC21 *SRC21CallerSession) 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 (*SRC21CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(owner address) constant returns(uint256)
func (*SRC21CallerSession) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*SRC21CallerSession) Issuer ¶
func (_SRC21 *SRC21CallerSession) Issuer() (common.Address, error)
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() constant returns(address)
func (*SRC21CallerSession) MinFee ¶
func (_SRC21 *SRC21CallerSession) MinFee() (*big.Int, error)
MinFee is a free data retrieval call binding the contract method 0x24ec7590.
Solidity: function minFee() constant returns(uint256)
func (*SRC21CallerSession) TotalSupply ¶
func (_SRC21 *SRC21CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SRC21Fee ¶
type SRC21Fee struct { From common.Address To common.Address Issuer common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SRC21Fee represents a Fee event raised by the SRC21 contract.
type SRC21FeeIterator ¶
type SRC21FeeIterator struct { Event *SRC21Fee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SRC21FeeIterator is returned from FilterFee and is used to iterate over the raw logs and unpacked data for Fee events raised by the SRC21 contract.
func (*SRC21FeeIterator) Close ¶
func (it *SRC21FeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SRC21FeeIterator) Error ¶
func (it *SRC21FeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SRC21FeeIterator) Next ¶
func (it *SRC21FeeIterator) 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 SRC21Filterer ¶
type SRC21Filterer struct {
// contains filtered or unexported fields
}
SRC21Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSRC21Filterer ¶
func NewSRC21Filterer(address common.Address, filterer bind.ContractFilterer) (*SRC21Filterer, error)
NewSRC21Filterer creates a new log filterer instance of SRC21, bound to a specific deployed contract.
func (*SRC21Filterer) FilterApproval ¶
func (_SRC21 *SRC21Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SRC21ApprovalIterator, 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 (*SRC21Filterer) FilterFee ¶
func (_SRC21 *SRC21Filterer) FilterFee(opts *bind.FilterOpts, from []common.Address, to []common.Address, issuer []common.Address) (*SRC21FeeIterator, error)
FilterFee is a free log retrieval operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.
Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)
func (*SRC21Filterer) FilterTransfer ¶
func (_SRC21 *SRC21Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SRC21TransferIterator, 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 (*SRC21Filterer) WatchApproval ¶
func (_SRC21 *SRC21Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SRC21Approval, 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 (*SRC21Filterer) WatchFee ¶
func (_SRC21 *SRC21Filterer) WatchFee(opts *bind.WatchOpts, sink chan<- *SRC21Fee, from []common.Address, to []common.Address, issuer []common.Address) (event.Subscription, error)
WatchFee is a free log subscription operation binding the contract event 0xfcf5b3276434181e3c48bd3fe569b8939808f11e845d4b963693b9d7dbd6dd99.
Solidity: event Fee(from indexed address, to indexed address, issuer indexed address, value uint256)
func (*SRC21Filterer) WatchTransfer ¶
func (_SRC21 *SRC21Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SRC21Transfer, 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 SRC21Issuer ¶
type SRC21Issuer struct { SRC21IssuerCaller // Read-only binding to the contract SRC21IssuerTransactor // Write-only binding to the contract SRC21IssuerFilterer // Log filterer for contract events }
SRC21Issuer is an auto generated Go binding around an Ethereum contract.
func DeploySRC21Issuer ¶
func DeploySRC21Issuer(auth *bind.TransactOpts, backend bind.ContractBackend, value *big.Int) (common.Address, *types.Transaction, *SRC21Issuer, error)
DeploySRC21Issuer deploys a new Ethereum contract, binding an instance of SRC21Issuer to it.
func NewSRC21Issuer ¶
func NewSRC21Issuer(address common.Address, backend bind.ContractBackend) (*SRC21Issuer, error)
NewSRC21Issuer creates a new instance of SRC21Issuer, bound to a specific deployed contract.
type SRC21IssuerApply ¶
type SRC21IssuerApply struct { Issuer common.Address Token common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SRC21IssuerApply represents a Apply event raised by the SRC21Issuer contract.
type SRC21IssuerApplyIterator ¶
type SRC21IssuerApplyIterator struct { Event *SRC21IssuerApply // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SRC21IssuerApplyIterator is returned from FilterApply and is used to iterate over the raw logs and unpacked data for Apply events raised by the SRC21Issuer contract.
func (*SRC21IssuerApplyIterator) Close ¶
func (it *SRC21IssuerApplyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SRC21IssuerApplyIterator) Error ¶
func (it *SRC21IssuerApplyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SRC21IssuerApplyIterator) Next ¶
func (it *SRC21IssuerApplyIterator) 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 SRC21IssuerCaller ¶
type SRC21IssuerCaller struct {
// contains filtered or unexported fields
}
SRC21IssuerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSRC21IssuerCaller ¶
func NewSRC21IssuerCaller(address common.Address, caller bind.ContractCaller) (*SRC21IssuerCaller, error)
NewSRC21IssuerCaller creates a new read-only instance of SRC21Issuer, bound to a specific deployed contract.
func (*SRC21IssuerCaller) GetTokenCapacity ¶
func (_SRC21Issuer *SRC21IssuerCaller) GetTokenCapacity(opts *bind.CallOpts, token common.Address) (*big.Int, error)
GetTokenCapacity is a free data retrieval call binding the contract method 0x8f3a981c.
Solidity: function getTokenCapacity(token address) constant returns(uint256)
type SRC21IssuerCallerRaw ¶
type SRC21IssuerCallerRaw struct {
Contract *SRC21IssuerCaller // Generic read-only contract binding to access the raw methods on
}
SRC21IssuerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SRC21IssuerCallerRaw) Call ¶
func (_SRC21Issuer *SRC21IssuerCallerRaw) 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 SRC21IssuerCallerSession ¶
type SRC21IssuerCallerSession struct { Contract *SRC21IssuerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SRC21IssuerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SRC21IssuerCallerSession) GetTokenCapacity ¶
func (_SRC21Issuer *SRC21IssuerCallerSession) GetTokenCapacity(token common.Address) (*big.Int, error)
GetTokenCapacity is a free data retrieval call binding the contract method 0x8f3a981c.
Solidity: function getTokenCapacity(token address) constant returns(uint256)
type SRC21IssuerCharge ¶
type SRC21IssuerCharge struct { Supporter common.Address Token common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SRC21IssuerCharge represents a Charge event raised by the SRC21Issuer contract.
type SRC21IssuerChargeIterator ¶
type SRC21IssuerChargeIterator struct { Event *SRC21IssuerCharge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SRC21IssuerChargeIterator is returned from FilterCharge and is used to iterate over the raw logs and unpacked data for Charge events raised by the SRC21Issuer contract.
func (*SRC21IssuerChargeIterator) Close ¶
func (it *SRC21IssuerChargeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SRC21IssuerChargeIterator) Error ¶
func (it *SRC21IssuerChargeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SRC21IssuerChargeIterator) Next ¶
func (it *SRC21IssuerChargeIterator) 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 SRC21IssuerFilterer ¶
type SRC21IssuerFilterer struct {
// contains filtered or unexported fields
}
SRC21IssuerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSRC21IssuerFilterer ¶
func NewSRC21IssuerFilterer(address common.Address, filterer bind.ContractFilterer) (*SRC21IssuerFilterer, error)
NewSRC21IssuerFilterer creates a new log filterer instance of SRC21Issuer, bound to a specific deployed contract.
func (*SRC21IssuerFilterer) FilterApply ¶
func (_SRC21Issuer *SRC21IssuerFilterer) FilterApply(opts *bind.FilterOpts, issuer []common.Address, token []common.Address) (*SRC21IssuerApplyIterator, error)
FilterApply is a free log retrieval operation binding the contract event 0x2d485624158277d5113a56388c3abf5c20e3511dd112123ba376d16b21e4d716.
Solidity: event Apply(issuer indexed address, token indexed address, value uint256)
func (*SRC21IssuerFilterer) FilterCharge ¶
func (_SRC21Issuer *SRC21IssuerFilterer) FilterCharge(opts *bind.FilterOpts, supporter []common.Address, token []common.Address) (*SRC21IssuerChargeIterator, error)
FilterCharge is a free log retrieval operation binding the contract event 0x5cffac866325fd9b2a8ea8df2f110a0058313b279402d15ae28dd324a2282e06.
Solidity: event Charge(supporter indexed address, token indexed address, value uint256)
func (*SRC21IssuerFilterer) WatchApply ¶
func (_SRC21Issuer *SRC21IssuerFilterer) WatchApply(opts *bind.WatchOpts, sink chan<- *SRC21IssuerApply, issuer []common.Address, token []common.Address) (event.Subscription, error)
WatchApply is a free log subscription operation binding the contract event 0x2d485624158277d5113a56388c3abf5c20e3511dd112123ba376d16b21e4d716.
Solidity: event Apply(issuer indexed address, token indexed address, value uint256)
func (*SRC21IssuerFilterer) WatchCharge ¶
func (_SRC21Issuer *SRC21IssuerFilterer) WatchCharge(opts *bind.WatchOpts, sink chan<- *SRC21IssuerCharge, supporter []common.Address, token []common.Address) (event.Subscription, error)
WatchCharge is a free log subscription operation binding the contract event 0x5cffac866325fd9b2a8ea8df2f110a0058313b279402d15ae28dd324a2282e06.
Solidity: event Charge(supporter indexed address, token indexed address, value uint256)
type SRC21IssuerRaw ¶
type SRC21IssuerRaw struct {
Contract *SRC21Issuer // Generic contract binding to access the raw methods on
}
SRC21IssuerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SRC21IssuerRaw) Call ¶
func (_SRC21Issuer *SRC21IssuerRaw) 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 (*SRC21IssuerRaw) Transact ¶
func (_SRC21Issuer *SRC21IssuerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SRC21IssuerRaw) Transfer ¶
func (_SRC21Issuer *SRC21IssuerRaw) 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 SRC21IssuerSession ¶
type SRC21IssuerSession struct { Contract *SRC21Issuer // 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 }
SRC21IssuerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SRC21IssuerSession) Apply ¶
func (_SRC21Issuer *SRC21IssuerSession) Apply(token common.Address) (*types.Transaction, error)
Apply is a paid mutator transaction binding the contract method 0xc6b32f34.
Solidity: function apply(token address) returns()
func (*SRC21IssuerSession) Charge ¶
func (_SRC21Issuer *SRC21IssuerSession) Charge(token common.Address) (*types.Transaction, error)
Charge is a paid mutator transaction binding the contract method 0xfc6bd76a.
Solidity: function charge(token address) returns()
func (*SRC21IssuerSession) GetTokenCapacity ¶
GetTokenCapacity is a free data retrieval call binding the contract method 0x8f3a981c.
Solidity: function getTokenCapacity(token address) constant returns(uint256)
type SRC21IssuerTransactor ¶
type SRC21IssuerTransactor struct {
// contains filtered or unexported fields
}
SRC21IssuerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSRC21IssuerTransactor ¶
func NewSRC21IssuerTransactor(address common.Address, transactor bind.ContractTransactor) (*SRC21IssuerTransactor, error)
NewSRC21IssuerTransactor creates a new write-only instance of SRC21Issuer, bound to a specific deployed contract.
func (*SRC21IssuerTransactor) Apply ¶
func (_SRC21Issuer *SRC21IssuerTransactor) Apply(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
Apply is a paid mutator transaction binding the contract method 0xc6b32f34.
Solidity: function apply(token address) returns()
func (*SRC21IssuerTransactor) Charge ¶
func (_SRC21Issuer *SRC21IssuerTransactor) Charge(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
Charge is a paid mutator transaction binding the contract method 0xfc6bd76a.
Solidity: function charge(token address) returns()
type SRC21IssuerTransactorRaw ¶
type SRC21IssuerTransactorRaw struct {
Contract *SRC21IssuerTransactor // Generic write-only contract binding to access the raw methods on
}
SRC21IssuerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SRC21IssuerTransactorRaw) Transact ¶
func (_SRC21Issuer *SRC21IssuerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SRC21IssuerTransactorRaw) Transfer ¶
func (_SRC21Issuer *SRC21IssuerTransactorRaw) 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 SRC21IssuerTransactorSession ¶
type SRC21IssuerTransactorSession struct { Contract *SRC21IssuerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SRC21IssuerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SRC21IssuerTransactorSession) Apply ¶
func (_SRC21Issuer *SRC21IssuerTransactorSession) Apply(token common.Address) (*types.Transaction, error)
Apply is a paid mutator transaction binding the contract method 0xc6b32f34.
Solidity: function apply(token address) returns()
func (*SRC21IssuerTransactorSession) Charge ¶
func (_SRC21Issuer *SRC21IssuerTransactorSession) Charge(token common.Address) (*types.Transaction, error)
Charge is a paid mutator transaction binding the contract method 0xfc6bd76a.
Solidity: function charge(token address) returns()
type SRC21Raw ¶
type SRC21Raw struct {
Contract *SRC21 // Generic contract binding to access the raw methods on
}
SRC21Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*SRC21Raw) Call ¶
func (_SRC21 *SRC21Raw) 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 (*SRC21Raw) Transact ¶
func (_SRC21 *SRC21Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SRC21Raw) Transfer ¶
func (_SRC21 *SRC21Raw) 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 SRC21Session ¶
type SRC21Session struct { Contract *SRC21 // 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 }
SRC21Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SRC21Session) Allowance ¶
func (_SRC21 *SRC21Session) 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 (*SRC21Session) Approve ¶
func (_SRC21 *SRC21Session) 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 (*SRC21Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(owner address) constant returns(uint256)
func (*SRC21Session) EstimateFee ¶
EstimateFee is a free data retrieval call binding the contract method 0x127e8e4d.
Solidity: function estimateFee(value uint256) constant returns(uint256)
func (*SRC21Session) Issuer ¶
func (_SRC21 *SRC21Session) Issuer() (common.Address, error)
Issuer is a free data retrieval call binding the contract method 0x1d143848.
Solidity: function issuer() constant returns(address)
func (*SRC21Session) MinFee ¶
func (_SRC21 *SRC21Session) MinFee() (*big.Int, error)
MinFee is a free data retrieval call binding the contract method 0x24ec7590.
Solidity: function minFee() constant returns(uint256)
func (*SRC21Session) TotalSupply ¶
func (_SRC21 *SRC21Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*SRC21Session) Transfer ¶
func (_SRC21 *SRC21Session) 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 (*SRC21Session) TransferFrom ¶
func (_SRC21 *SRC21Session) 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 SRC21Transactor ¶
type SRC21Transactor struct {
// contains filtered or unexported fields
}
SRC21Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSRC21Transactor ¶
func NewSRC21Transactor(address common.Address, transactor bind.ContractTransactor) (*SRC21Transactor, error)
NewSRC21Transactor creates a new write-only instance of SRC21, bound to a specific deployed contract.
func (*SRC21Transactor) Approve ¶
func (_SRC21 *SRC21Transactor) 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 (*SRC21Transactor) Transfer ¶
func (_SRC21 *SRC21Transactor) 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 (*SRC21Transactor) TransferFrom ¶
func (_SRC21 *SRC21Transactor) 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 SRC21TransactorRaw ¶
type SRC21TransactorRaw struct {
Contract *SRC21Transactor // Generic write-only contract binding to access the raw methods on
}
SRC21TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SRC21TransactorRaw) Transact ¶
func (_SRC21 *SRC21TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SRC21TransactorRaw) Transfer ¶
func (_SRC21 *SRC21TransactorRaw) 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 SRC21TransactorSession ¶
type SRC21TransactorSession struct { Contract *SRC21Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SRC21TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SRC21TransactorSession) Approve ¶
func (_SRC21 *SRC21TransactorSession) 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 (*SRC21TransactorSession) Transfer ¶
func (_SRC21 *SRC21TransactorSession) 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 (*SRC21TransactorSession) TransferFrom ¶
func (_SRC21 *SRC21TransactorSession) 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 SRC21Transfer ¶
type SRC21Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SRC21Transfer represents a Transfer event raised by the SRC21 contract.
type SRC21TransferIterator ¶
type SRC21TransferIterator struct { Event *SRC21Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SRC21TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SRC21 contract.
func (*SRC21TransferIterator) Close ¶
func (it *SRC21TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SRC21TransferIterator) Error ¶
func (it *SRC21TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SRC21TransferIterator) Next ¶
func (it *SRC21TransferIterator) 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.