Documentation ¶
Index ¶
- Constants
- type Factory
- type FactoryCaller
- type FactoryCallerRaw
- type FactoryCallerSession
- type FactoryFilterer
- func (_Factory *FactoryFilterer) FilterHolderCreated(opts *bind.FilterOpts) (*FactoryHolderCreatedIterator, error)
- func (_Factory *FactoryFilterer) FilterTokenCreated(opts *bind.FilterOpts) (*FactoryTokenCreatedIterator, error)
- func (_Factory *FactoryFilterer) WatchHolderCreated(opts *bind.WatchOpts, sink chan<- *FactoryHolderCreated) (event.Subscription, error)
- func (_Factory *FactoryFilterer) WatchTokenCreated(opts *bind.WatchOpts, sink chan<- *FactoryTokenCreated) (event.Subscription, error)
- type FactoryHolderCreated
- type FactoryHolderCreatedIterator
- type FactoryRaw
- func (_Factory *FactoryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Factory *FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Factory *FactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FactorySession
- type FactoryTokenCreated
- type FactoryTokenCreatedIterator
- type FactoryTransactor
- type FactoryTransactorRaw
- type FactoryTransactorSession
- type Holder
- type HolderCaller
- type HolderCallerRaw
- type HolderCallerSession
- type HolderFilterer
- type HolderRaw
- func (_Holder *HolderRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Holder *HolderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Holder *HolderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HolderSession
- func (_Holder *HolderSession) AddTokenContract(tokenContract common.Address) (*types.Transaction, error)
- func (_Holder *HolderSession) Destroy() (*types.Transaction, error)
- func (_Holder *HolderSession) GetAllowance(_spender common.Address) (*big.Int, error)
- func (_Holder *HolderSession) GetBalance() (*big.Int, error)
- func (_Holder *HolderSession) RemoveTokenContract(tokenContract common.Address, prev common.Address) (*types.Transaction, error)
- func (_Holder *HolderSession) SENTINELTOKENCONTRACTS() (common.Address, error)
- func (_Holder *HolderSession) SetAllowance(_spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Holder *HolderSession) SetBalance(value *big.Int) (*types.Transaction, error)
- func (_Holder *HolderSession) SetOwner(_owner common.Address, init_code_hash [32]byte) (*types.Transaction, error)
- type HolderTransactor
- func (_Holder *HolderTransactor) AddTokenContract(opts *bind.TransactOpts, tokenContract common.Address) (*types.Transaction, error)
- func (_Holder *HolderTransactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Holder *HolderTransactor) RemoveTokenContract(opts *bind.TransactOpts, tokenContract common.Address, prev common.Address) (*types.Transaction, error)
- func (_Holder *HolderTransactor) SetAllowance(opts *bind.TransactOpts, _spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Holder *HolderTransactor) SetBalance(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_Holder *HolderTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address, init_code_hash [32]byte) (*types.Transaction, error)
- type HolderTransactorRaw
- type HolderTransactorSession
- func (_Holder *HolderTransactorSession) AddTokenContract(tokenContract common.Address) (*types.Transaction, error)
- func (_Holder *HolderTransactorSession) Destroy() (*types.Transaction, error)
- func (_Holder *HolderTransactorSession) RemoveTokenContract(tokenContract common.Address, prev common.Address) (*types.Transaction, error)
- func (_Holder *HolderTransactorSession) SetAllowance(_spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Holder *HolderTransactorSession) SetBalance(value *big.Int) (*types.Transaction, error)
- func (_Holder *HolderTransactorSession) SetOwner(_owner common.Address, init_code_hash [32]byte) (*types.Transaction, error)
- type Token
- type TokenCaller
- func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, a common.Address, _spender common.Address) (*big.Int, error)
- func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, a common.Address) (*big.Int, error)
- func (_Token *TokenCaller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) Minter(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type TokenCallerRaw
- type TokenCallerSession
- func (_Token *TokenCallerSession) Allowance(a common.Address, _spender common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) BalanceOf(a common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) Factory() (common.Address, error)
- func (_Token *TokenCallerSession) Minter() (common.Address, error)
- func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
- type TokenFilterer
- type TokenRaw
- func (_Token *TokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenSession
- func (_Token *TokenSession) Allowance(a common.Address, _spender common.Address) (*big.Int, error)
- func (_Token *TokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) BalanceOf(a common.Address) (*big.Int, error)
- func (_Token *TokenSession) Factory() (common.Address, error)
- func (_Token *TokenSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Minter() (common.Address, error)
- func (_Token *TokenSession) TotalSupply() (*big.Int, error)
- func (_Token *TokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type TokenTransactor
- func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type TokenTransactorRaw
- type TokenTransactorSession
- func (_Token *TokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type TokenTransfer
- type TokenTransferIterator
Constants ¶
const FactoryABI = "" /* 862-byte string literal not displayed */
FactoryABI is the input ABI used to generate the binding from.
const FactoryBin = `` /* 17264-byte string literal not displayed */
FactoryBin is the compiled bytecode used for deploying new contracts.
const HolderABI = "" /* 2027-byte string literal not displayed */
HolderABI is the input ABI used to generate the binding from.
const HolderBin = `` /* 3508-byte string literal not displayed */
HolderBin is the compiled bytecode used for deploying new contracts.
const TokenABI = "" /* 2601-byte string literal not displayed */
TokenABI is the input ABI used to generate the binding from.
const TokenBin = `` /* 6278-byte string literal not displayed */
TokenBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { FactoryCaller // Read-only binding to the contract FactoryTransactor // Write-only binding to the contract FactoryFilterer // Log filterer for contract events }
Factory is an auto generated Go binding around an Ethereum contract.
func DeployFactory ¶
func DeployFactory(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Factory, error)
DeployFactory deploys a new Ethereum contract, binding an instance of Factory to it.
func NewFactory ¶
NewFactory creates a new instance of Factory, bound to a specific deployed contract.
type FactoryCaller ¶
type FactoryCaller struct {
// contains filtered or unexported fields
}
FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFactoryCaller ¶
func NewFactoryCaller(address common.Address, caller bind.ContractCaller) (*FactoryCaller, error)
NewFactoryCaller creates a new read-only instance of Factory, bound to a specific deployed contract.
type FactoryCallerRaw ¶
type FactoryCallerRaw struct {
Contract *FactoryCaller // Generic read-only contract binding to access the raw methods on
}
FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FactoryCallerRaw) Call ¶
func (_Factory *FactoryCallerRaw) 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 FactoryCallerSession ¶
type FactoryCallerSession struct { Contract *FactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type FactoryFilterer ¶
type FactoryFilterer struct {
// contains filtered or unexported fields
}
FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFactoryFilterer ¶
func NewFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*FactoryFilterer, error)
NewFactoryFilterer creates a new log filterer instance of Factory, bound to a specific deployed contract.
func (*FactoryFilterer) FilterHolderCreated ¶
func (_Factory *FactoryFilterer) FilterHolderCreated(opts *bind.FilterOpts) (*FactoryHolderCreatedIterator, error)
FilterHolderCreated is a free log retrieval operation binding the contract event 0x4c6f74edaaaad2c1bf11ab46b1a77f3644b07c39ee9575704ec557c6a1716055.
Solidity: e HolderCreated(holder address, owner address)
func (*FactoryFilterer) FilterTokenCreated ¶
func (_Factory *FactoryFilterer) FilterTokenCreated(opts *bind.FilterOpts) (*FactoryTokenCreatedIterator, error)
FilterTokenCreated is a free log retrieval operation binding the contract event 0xd5f9bdf12adf29dab0248c349842c3822d53ae2bb4f36352f301630d018c8139.
Solidity: e TokenCreated(token address, minter address)
func (*FactoryFilterer) WatchHolderCreated ¶
func (_Factory *FactoryFilterer) WatchHolderCreated(opts *bind.WatchOpts, sink chan<- *FactoryHolderCreated) (event.Subscription, error)
WatchHolderCreated is a free log subscription operation binding the contract event 0x4c6f74edaaaad2c1bf11ab46b1a77f3644b07c39ee9575704ec557c6a1716055.
Solidity: e HolderCreated(holder address, owner address)
func (*FactoryFilterer) WatchTokenCreated ¶
func (_Factory *FactoryFilterer) WatchTokenCreated(opts *bind.WatchOpts, sink chan<- *FactoryTokenCreated) (event.Subscription, error)
WatchTokenCreated is a free log subscription operation binding the contract event 0xd5f9bdf12adf29dab0248c349842c3822d53ae2bb4f36352f301630d018c8139.
Solidity: e TokenCreated(token address, minter address)
type FactoryHolderCreated ¶
type FactoryHolderCreated struct { Holder common.Address Owner common.Address Raw types.Log // Blockchain specific contextual infos }
FactoryHolderCreated represents a HolderCreated event raised by the Factory contract.
type FactoryHolderCreatedIterator ¶
type FactoryHolderCreatedIterator struct { Event *FactoryHolderCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FactoryHolderCreatedIterator is returned from FilterHolderCreated and is used to iterate over the raw logs and unpacked data for HolderCreated events raised by the Factory contract.
func (*FactoryHolderCreatedIterator) Close ¶
func (it *FactoryHolderCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FactoryHolderCreatedIterator) Error ¶
func (it *FactoryHolderCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FactoryHolderCreatedIterator) Next ¶
func (it *FactoryHolderCreatedIterator) 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 FactoryRaw ¶
type FactoryRaw struct {
Contract *Factory // Generic contract binding to access the raw methods on
}
FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FactoryRaw) Call ¶
func (_Factory *FactoryRaw) 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 (*FactoryRaw) Transact ¶
func (_Factory *FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FactoryRaw) Transfer ¶
func (_Factory *FactoryRaw) 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 FactorySession ¶
type FactorySession struct { Contract *Factory // 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 }
FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FactorySession) CreateHolder ¶
func (_Factory *FactorySession) CreateHolder(_owner common.Address) (*types.Transaction, error)
CreateHolder is a paid mutator transaction binding the contract method 0x51e8054c.
Solidity: function createHolder(_owner address) returns(address)
func (*FactorySession) CreateToken ¶
func (_Factory *FactorySession) CreateToken(_minter common.Address) (*types.Transaction, error)
CreateToken is a paid mutator transaction binding the contract method 0xc21ab7f9.
Solidity: function createToken(_minter address) returns(address)
type FactoryTokenCreated ¶
type FactoryTokenCreated struct { Token common.Address Minter common.Address Raw types.Log // Blockchain specific contextual infos }
FactoryTokenCreated represents a TokenCreated event raised by the Factory contract.
type FactoryTokenCreatedIterator ¶
type FactoryTokenCreatedIterator struct { Event *FactoryTokenCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FactoryTokenCreatedIterator is returned from FilterTokenCreated and is used to iterate over the raw logs and unpacked data for TokenCreated events raised by the Factory contract.
func (*FactoryTokenCreatedIterator) Close ¶
func (it *FactoryTokenCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FactoryTokenCreatedIterator) Error ¶
func (it *FactoryTokenCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FactoryTokenCreatedIterator) Next ¶
func (it *FactoryTokenCreatedIterator) 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 FactoryTransactor ¶
type FactoryTransactor struct {
// contains filtered or unexported fields
}
FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFactoryTransactor ¶
func NewFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*FactoryTransactor, error)
NewFactoryTransactor creates a new write-only instance of Factory, bound to a specific deployed contract.
func (*FactoryTransactor) CreateHolder ¶
func (_Factory *FactoryTransactor) CreateHolder(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
CreateHolder is a paid mutator transaction binding the contract method 0x51e8054c.
Solidity: function createHolder(_owner address) returns(address)
func (*FactoryTransactor) CreateToken ¶
func (_Factory *FactoryTransactor) CreateToken(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)
CreateToken is a paid mutator transaction binding the contract method 0xc21ab7f9.
Solidity: function createToken(_minter address) returns(address)
type FactoryTransactorRaw ¶
type FactoryTransactorRaw struct {
Contract *FactoryTransactor // Generic write-only contract binding to access the raw methods on
}
FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FactoryTransactorRaw) Transact ¶
func (_Factory *FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FactoryTransactorRaw) Transfer ¶
func (_Factory *FactoryTransactorRaw) 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 FactoryTransactorSession ¶
type FactoryTransactorSession struct { Contract *FactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FactoryTransactorSession) CreateHolder ¶
func (_Factory *FactoryTransactorSession) CreateHolder(_owner common.Address) (*types.Transaction, error)
CreateHolder is a paid mutator transaction binding the contract method 0x51e8054c.
Solidity: function createHolder(_owner address) returns(address)
func (*FactoryTransactorSession) CreateToken ¶
func (_Factory *FactoryTransactorSession) CreateToken(_minter common.Address) (*types.Transaction, error)
CreateToken is a paid mutator transaction binding the contract method 0xc21ab7f9.
Solidity: function createToken(_minter address) returns(address)
type Holder ¶
type Holder struct { HolderCaller // Read-only binding to the contract HolderTransactor // Write-only binding to the contract HolderFilterer // Log filterer for contract events }
Holder is an auto generated Go binding around an Ethereum contract.
func DeployHolder ¶
func DeployHolder(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Holder, error)
DeployHolder deploys a new Ethereum contract, binding an instance of Holder to it.
type HolderCaller ¶
type HolderCaller struct {
// contains filtered or unexported fields
}
HolderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHolderCaller ¶
func NewHolderCaller(address common.Address, caller bind.ContractCaller) (*HolderCaller, error)
NewHolderCaller creates a new read-only instance of Holder, bound to a specific deployed contract.
func (*HolderCaller) GetAllowance ¶
func (_Holder *HolderCaller) GetAllowance(opts *bind.CallOpts, _spender common.Address) (*big.Int, error)
GetAllowance is a free data retrieval call binding the contract method 0xeb5a662e.
Solidity: function getAllowance(_spender address) constant returns(uint256)
func (*HolderCaller) GetBalance ¶
GetBalance is a free data retrieval call binding the contract method 0x12065fe0.
Solidity: function getBalance() constant returns(uint256)
func (*HolderCaller) SENTINELTOKENCONTRACTS ¶
SENTINELTOKENCONTRACTS is a free data retrieval call binding the contract method 0x4df4d039.
Solidity: function SENTINEL_TOKEN_CONTRACTS() constant returns(address)
type HolderCallerRaw ¶
type HolderCallerRaw struct {
Contract *HolderCaller // Generic read-only contract binding to access the raw methods on
}
HolderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HolderCallerRaw) Call ¶
func (_Holder *HolderCallerRaw) 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 HolderCallerSession ¶
type HolderCallerSession struct { Contract *HolderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HolderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HolderCallerSession) GetAllowance ¶
GetAllowance is a free data retrieval call binding the contract method 0xeb5a662e.
Solidity: function getAllowance(_spender address) constant returns(uint256)
func (*HolderCallerSession) GetBalance ¶
func (_Holder *HolderCallerSession) GetBalance() (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x12065fe0.
Solidity: function getBalance() constant returns(uint256)
func (*HolderCallerSession) SENTINELTOKENCONTRACTS ¶
func (_Holder *HolderCallerSession) SENTINELTOKENCONTRACTS() (common.Address, error)
SENTINELTOKENCONTRACTS is a free data retrieval call binding the contract method 0x4df4d039.
Solidity: function SENTINEL_TOKEN_CONTRACTS() constant returns(address)
type HolderFilterer ¶
type HolderFilterer struct {
// contains filtered or unexported fields
}
HolderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHolderFilterer ¶
func NewHolderFilterer(address common.Address, filterer bind.ContractFilterer) (*HolderFilterer, error)
NewHolderFilterer creates a new log filterer instance of Holder, bound to a specific deployed contract.
type HolderRaw ¶
type HolderRaw struct {
Contract *Holder // Generic contract binding to access the raw methods on
}
HolderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HolderRaw) Call ¶
func (_Holder *HolderRaw) 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 (*HolderRaw) Transact ¶
func (_Holder *HolderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HolderRaw) Transfer ¶
func (_Holder *HolderRaw) 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 HolderSession ¶
type HolderSession struct { Contract *Holder // 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 }
HolderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HolderSession) AddTokenContract ¶
func (_Holder *HolderSession) AddTokenContract(tokenContract common.Address) (*types.Transaction, error)
AddTokenContract is a paid mutator transaction binding the contract method 0x2a847f46.
Solidity: function addTokenContract(tokenContract address) returns()
func (*HolderSession) Destroy ¶
func (_Holder *HolderSession) Destroy() (*types.Transaction, error)
Destroy is a paid mutator transaction binding the contract method 0x83197ef0.
Solidity: function destroy() returns()
func (*HolderSession) GetAllowance ¶
GetAllowance is a free data retrieval call binding the contract method 0xeb5a662e.
Solidity: function getAllowance(_spender address) constant returns(uint256)
func (*HolderSession) GetBalance ¶
func (_Holder *HolderSession) GetBalance() (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x12065fe0.
Solidity: function getBalance() constant returns(uint256)
func (*HolderSession) RemoveTokenContract ¶
func (_Holder *HolderSession) RemoveTokenContract(tokenContract common.Address, prev common.Address) (*types.Transaction, error)
RemoveTokenContract is a paid mutator transaction binding the contract method 0x8852671e.
Solidity: function removeTokenContract(tokenContract address, prev address) returns()
func (*HolderSession) SENTINELTOKENCONTRACTS ¶
func (_Holder *HolderSession) SENTINELTOKENCONTRACTS() (common.Address, error)
SENTINELTOKENCONTRACTS is a free data retrieval call binding the contract method 0x4df4d039.
Solidity: function SENTINEL_TOKEN_CONTRACTS() constant returns(address)
func (*HolderSession) SetAllowance ¶
func (_Holder *HolderSession) SetAllowance(_spender common.Address, value *big.Int) (*types.Transaction, error)
SetAllowance is a paid mutator transaction binding the contract method 0x310ec4a7.
Solidity: function setAllowance(_spender address, value uint256) returns()
func (*HolderSession) SetBalance ¶
func (_Holder *HolderSession) SetBalance(value *big.Int) (*types.Transaction, error)
SetBalance is a paid mutator transaction binding the contract method 0xfb1669ca.
Solidity: function setBalance(value uint256) returns()
func (*HolderSession) SetOwner ¶
func (_Holder *HolderSession) SetOwner(_owner common.Address, init_code_hash [32]byte) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x99d3c204.
Solidity: function setOwner(_owner address, init_code_hash bytes32) returns()
type HolderTransactor ¶
type HolderTransactor struct {
// contains filtered or unexported fields
}
HolderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHolderTransactor ¶
func NewHolderTransactor(address common.Address, transactor bind.ContractTransactor) (*HolderTransactor, error)
NewHolderTransactor creates a new write-only instance of Holder, bound to a specific deployed contract.
func (*HolderTransactor) AddTokenContract ¶
func (_Holder *HolderTransactor) AddTokenContract(opts *bind.TransactOpts, tokenContract common.Address) (*types.Transaction, error)
AddTokenContract is a paid mutator transaction binding the contract method 0x2a847f46.
Solidity: function addTokenContract(tokenContract address) returns()
func (*HolderTransactor) Destroy ¶
func (_Holder *HolderTransactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)
Destroy is a paid mutator transaction binding the contract method 0x83197ef0.
Solidity: function destroy() returns()
func (*HolderTransactor) RemoveTokenContract ¶
func (_Holder *HolderTransactor) RemoveTokenContract(opts *bind.TransactOpts, tokenContract common.Address, prev common.Address) (*types.Transaction, error)
RemoveTokenContract is a paid mutator transaction binding the contract method 0x8852671e.
Solidity: function removeTokenContract(tokenContract address, prev address) returns()
func (*HolderTransactor) SetAllowance ¶
func (_Holder *HolderTransactor) SetAllowance(opts *bind.TransactOpts, _spender common.Address, value *big.Int) (*types.Transaction, error)
SetAllowance is a paid mutator transaction binding the contract method 0x310ec4a7.
Solidity: function setAllowance(_spender address, value uint256) returns()
func (*HolderTransactor) SetBalance ¶
func (_Holder *HolderTransactor) SetBalance(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
SetBalance is a paid mutator transaction binding the contract method 0xfb1669ca.
Solidity: function setBalance(value uint256) returns()
func (*HolderTransactor) SetOwner ¶
func (_Holder *HolderTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address, init_code_hash [32]byte) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x99d3c204.
Solidity: function setOwner(_owner address, init_code_hash bytes32) returns()
type HolderTransactorRaw ¶
type HolderTransactorRaw struct {
Contract *HolderTransactor // Generic write-only contract binding to access the raw methods on
}
HolderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HolderTransactorRaw) Transact ¶
func (_Holder *HolderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HolderTransactorRaw) Transfer ¶
func (_Holder *HolderTransactorRaw) 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 HolderTransactorSession ¶
type HolderTransactorSession struct { Contract *HolderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HolderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HolderTransactorSession) AddTokenContract ¶
func (_Holder *HolderTransactorSession) AddTokenContract(tokenContract common.Address) (*types.Transaction, error)
AddTokenContract is a paid mutator transaction binding the contract method 0x2a847f46.
Solidity: function addTokenContract(tokenContract address) returns()
func (*HolderTransactorSession) Destroy ¶
func (_Holder *HolderTransactorSession) Destroy() (*types.Transaction, error)
Destroy is a paid mutator transaction binding the contract method 0x83197ef0.
Solidity: function destroy() returns()
func (*HolderTransactorSession) RemoveTokenContract ¶
func (_Holder *HolderTransactorSession) RemoveTokenContract(tokenContract common.Address, prev common.Address) (*types.Transaction, error)
RemoveTokenContract is a paid mutator transaction binding the contract method 0x8852671e.
Solidity: function removeTokenContract(tokenContract address, prev address) returns()
func (*HolderTransactorSession) SetAllowance ¶
func (_Holder *HolderTransactorSession) SetAllowance(_spender common.Address, value *big.Int) (*types.Transaction, error)
SetAllowance is a paid mutator transaction binding the contract method 0x310ec4a7.
Solidity: function setAllowance(_spender address, value uint256) returns()
func (*HolderTransactorSession) SetBalance ¶
func (_Holder *HolderTransactorSession) SetBalance(value *big.Int) (*types.Transaction, error)
SetBalance is a paid mutator transaction binding the contract method 0xfb1669ca.
Solidity: function setBalance(value uint256) returns()
func (*HolderTransactorSession) SetOwner ¶
func (_Holder *HolderTransactorSession) SetOwner(_owner common.Address, init_code_hash [32]byte) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x99d3c204.
Solidity: function setOwner(_owner address, init_code_hash bytes32) returns()
type Token ¶
type Token struct { TokenCaller // Read-only binding to the contract TokenTransactor // Write-only binding to the contract TokenFilterer // Log filterer for contract events }
Token is an auto generated Go binding around an Ethereum contract.
func DeployToken ¶
func DeployToken(auth *bind.TransactOpts, backend bind.ContractBackend, _minter common.Address, _factory common.Address) (common.Address, *types.Transaction, *Token, error)
DeployToken deploys a new Ethereum contract, binding an instance of Token to it.
type TokenCaller ¶
type TokenCaller struct {
// contains filtered or unexported fields
}
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenCaller ¶
func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
func (*TokenCaller) Allowance ¶
func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, a common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(a address, _spender address) constant returns(uint256)
func (*TokenCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(a address) constant returns(uint256)
func (*TokenCaller) Factory ¶
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() constant returns(address)
func (*TokenCaller) Minter ¶
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() constant returns(address)
func (*TokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type TokenCallerRaw ¶
type TokenCallerRaw struct {
Contract *TokenCaller // Generic read-only contract binding to access the raw methods on
}
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenCallerRaw) Call ¶
func (_Token *TokenCallerRaw) 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 TokenCallerSession ¶
type TokenCallerSession struct { Contract *TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenCallerSession) Allowance ¶
func (_Token *TokenCallerSession) Allowance(a common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(a address, _spender address) constant returns(uint256)
func (*TokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(a address) constant returns(uint256)
func (*TokenCallerSession) Factory ¶
func (_Token *TokenCallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() constant returns(address)
func (*TokenCallerSession) Minter ¶
func (_Token *TokenCallerSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() constant returns(address)
func (*TokenCallerSession) TotalSupply ¶
func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type TokenFilterer ¶
type TokenFilterer struct {
// contains filtered or unexported fields
}
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenFilterer ¶
func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
func (*TokenFilterer) FilterTransfer ¶
func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: e Transfer(from indexed address, to indexed address, value uint256)
func (*TokenFilterer) WatchTransfer ¶
func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: e Transfer(from indexed address, to indexed address, value uint256)
type TokenRaw ¶
type TokenRaw struct {
Contract *Token // Generic contract binding to access the raw methods on
}
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenRaw) Call ¶
func (_Token *TokenRaw) 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 (*TokenRaw) Transact ¶
func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenRaw) Transfer ¶
func (_Token *TokenRaw) 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 TokenSession ¶
type TokenSession struct { Contract *Token // 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 }
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(a address, _spender address) constant returns(uint256)
func (*TokenSession) Approve ¶
func (_Token *TokenSession) 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 (*TokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(a address) constant returns(uint256)
func (*TokenSession) Factory ¶
func (_Token *TokenSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() constant returns(address)
func (*TokenSession) Mint ¶
func (_Token *TokenSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(_to address, _value uint256) returns(bool)
func (*TokenSession) Minter ¶
func (_Token *TokenSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() constant returns(address)
func (*TokenSession) TotalSupply ¶
func (_Token *TokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*TokenSession) Transfer ¶
func (_Token *TokenSession) 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 (*TokenSession) TransferFrom ¶
func (_Token *TokenSession) 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 TokenTransactor ¶
type TokenTransactor struct {
// contains filtered or unexported fields
}
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenTransactor ¶
func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
func (*TokenTransactor) Approve ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) Mint ¶
func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(_to address, _value uint256) returns(bool)
func (*TokenTransactor) Transfer ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) TransferFrom ¶
func (_Token *TokenTransactor) 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 TokenTransactorRaw ¶
type TokenTransactorRaw struct {
Contract *TokenTransactor // Generic write-only contract binding to access the raw methods on
}
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenTransactorRaw) Transact ¶
func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenTransactorRaw) Transfer ¶
func (_Token *TokenTransactorRaw) 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 TokenTransactorSession ¶
type TokenTransactorSession struct { Contract *TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenTransactorSession) Approve ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) Mint ¶
func (_Token *TokenTransactorSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(_to address, _value uint256) returns(bool)
func (*TokenTransactorSession) Transfer ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) TransferFrom ¶
func (_Token *TokenTransactorSession) 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 TokenTransfer ¶
type TokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenTransfer represents a Transfer event raised by the Token contract.
type TokenTransferIterator ¶
type TokenTransferIterator struct { Event *TokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.
func (*TokenTransferIterator) Close ¶
func (it *TokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenTransferIterator) Error ¶
func (it *TokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenTransferIterator) Next ¶
func (it *TokenTransferIterator) 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.