Documentation ¶
Index ¶
- Constants
- Variables
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Caller
- type ERC20CallerRaw
- type ERC20CallerSession
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*ERC20MintIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
- func (_ERC20 *ERC20Filterer) ParseMint(log types.Log) (*ERC20Mint, error)
- func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *ERC20Mint, to []common.Address) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Mint
- type ERC20MintIterator
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(_who common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type ERC20Transfer
- type ERC20TransferIterator
- type MintableERC20
- type MintableERC20Approval
- type MintableERC20ApprovalIterator
- type MintableERC20Caller
- func (_MintableERC20 *MintableERC20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MintableERC20 *MintableERC20Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_MintableERC20 *MintableERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_MintableERC20 *MintableERC20Caller) Name(opts *bind.CallOpts) (string, error)
- func (_MintableERC20 *MintableERC20Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_MintableERC20 *MintableERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type MintableERC20CallerRaw
- type MintableERC20CallerSession
- func (_MintableERC20 *MintableERC20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MintableERC20 *MintableERC20CallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_MintableERC20 *MintableERC20CallerSession) Decimals() (uint8, error)
- func (_MintableERC20 *MintableERC20CallerSession) Name() (string, error)
- func (_MintableERC20 *MintableERC20CallerSession) Symbol() (string, error)
- func (_MintableERC20 *MintableERC20CallerSession) TotalSupply() (*big.Int, error)
- type MintableERC20Filterer
- func (_MintableERC20 *MintableERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MintableERC20ApprovalIterator, error)
- func (_MintableERC20 *MintableERC20Filterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*MintableERC20MintIterator, error)
- func (_MintableERC20 *MintableERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MintableERC20TransferIterator, error)
- func (_MintableERC20 *MintableERC20Filterer) ParseApproval(log types.Log) (*MintableERC20Approval, error)
- func (_MintableERC20 *MintableERC20Filterer) ParseMint(log types.Log) (*MintableERC20Mint, error)
- func (_MintableERC20 *MintableERC20Filterer) ParseTransfer(log types.Log) (*MintableERC20Transfer, error)
- func (_MintableERC20 *MintableERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MintableERC20Approval, ...) (event.Subscription, error)
- func (_MintableERC20 *MintableERC20Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MintableERC20Mint, to []common.Address) (event.Subscription, error)
- func (_MintableERC20 *MintableERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MintableERC20Transfer, ...) (event.Subscription, error)
- type MintableERC20Mint
- type MintableERC20MintIterator
- type MintableERC20Raw
- func (_MintableERC20 *MintableERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_MintableERC20 *MintableERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MintableERC20Session
- func (_MintableERC20 *MintableERC20Session) AddMintPermission(_permissionedAddress common.Address) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MintableERC20 *MintableERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Session) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_MintableERC20 *MintableERC20Session) Decimals() (uint8, error)
- func (_MintableERC20 *MintableERC20Session) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Session) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Session) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Session) Name() (string, error)
- func (_MintableERC20 *MintableERC20Session) Symbol() (string, error)
- func (_MintableERC20 *MintableERC20Session) TotalSupply() (*big.Int, error)
- func (_MintableERC20 *MintableERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type MintableERC20Transactor
- func (_MintableERC20 *MintableERC20Transactor) AddMintPermission(opts *bind.TransactOpts, _permissionedAddress common.Address) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Transactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Transactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Transactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type MintableERC20TransactorRaw
- type MintableERC20TransactorSession
- func (_MintableERC20 *MintableERC20TransactorSession) AddMintPermission(_permissionedAddress common.Address) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20TransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20TransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20TransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableERC20 *MintableERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type MintableERC20Transfer
- type MintableERC20TransferIterator
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
Constants ¶
const ERC20ABI = "" /* 2192-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const MintableERC20ABI = "" /* 3875-byte string literal not displayed */
MintableERC20ABI is the input ABI used to generate the binding from.
const SafeMathABI = "" /* 210-byte string literal not displayed */
SafeMathABI is the input ABI used to generate the binding from.
Variables ¶
var ERC20FuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
ERC20FuncSigs maps the 4-byte function signature to its string representation.
var MintableERC20Bin = "" /* 6398-byte string literal not displayed */
MintableERC20Bin is the compiled bytecode used for deploying new contracts.
var MintableERC20FuncSigs = map[string]string{
"1e61ecd3": "addMintPermission(address)",
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"313ce567": "decimals()",
"66188463": "decreaseApproval(address,uint256)",
"d73dd623": "increaseApproval(address,uint256)",
"40c10f19": "mint(address,uint256)",
"06fdde03": "name()",
"95d89b41": "symbol()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
MintableERC20FuncSigs maps the 4-byte function signature to its string representation.
var SafeMathBin = "" /* 672-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
var SafeMathFuncSigs = map[string]string{
"677342ce": "sqrt(uint256)",
}
SafeMathFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type ERC20 ¶
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Ethereum contract.
type ERC20Approval ¶
type ERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20CallerRaw ¶
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20CallerRaw) Call ¶
func (_ERC20 *ERC20CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ERC20CallerSession ¶
type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20CallerSession) TotalSupply ¶
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) FilterMint ¶
func (_ERC20 *ERC20Filterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*ERC20MintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) ParseApproval ¶
func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) ParseMint ¶
func (_ERC20 *ERC20Filterer) ParseMint(log types.Log) (*ERC20Mint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*ERC20Filterer) ParseTransfer ¶
func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) WatchMint ¶
func (_ERC20 *ERC20Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *ERC20Mint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ERC20Mint ¶
type ERC20Mint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Mint represents a Mint event raised by the ERC20 contract.
type ERC20MintIterator ¶
type ERC20MintIterator struct { Event *ERC20Mint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20MintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the ERC20 contract.
func (*ERC20MintIterator) Close ¶
func (it *ERC20MintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20MintIterator) Error ¶
func (it *ERC20MintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20MintIterator) Next ¶
func (it *ERC20MintIterator) 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 ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20Session ¶
type ERC20Session struct { Contract *ERC20 // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20Session) TotalSupply ¶
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20TransactorSession ¶
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ERC20Transfer ¶
type ERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MintableERC20 ¶
type MintableERC20 struct { MintableERC20Caller // Read-only binding to the contract MintableERC20Transactor // Write-only binding to the contract MintableERC20Filterer // Log filterer for contract events }
MintableERC20 is an auto generated Go binding around an Ethereum contract.
func DeployMintableERC20 ¶
func DeployMintableERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MintableERC20, error)
DeployMintableERC20 deploys a new Ethereum contract, binding an instance of MintableERC20 to it.
func NewMintableERC20 ¶
func NewMintableERC20(address common.Address, backend bind.ContractBackend) (*MintableERC20, error)
NewMintableERC20 creates a new instance of MintableERC20, bound to a specific deployed contract.
type MintableERC20Approval ¶
type MintableERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MintableERC20Approval represents a Approval event raised by the MintableERC20 contract.
type MintableERC20ApprovalIterator ¶
type MintableERC20ApprovalIterator struct { Event *MintableERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintableERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MintableERC20 contract.
func (*MintableERC20ApprovalIterator) Close ¶
func (it *MintableERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintableERC20ApprovalIterator) Error ¶
func (it *MintableERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintableERC20ApprovalIterator) Next ¶
func (it *MintableERC20ApprovalIterator) 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 MintableERC20Caller ¶
type MintableERC20Caller struct {
// contains filtered or unexported fields
}
MintableERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewMintableERC20Caller ¶
func NewMintableERC20Caller(address common.Address, caller bind.ContractCaller) (*MintableERC20Caller, error)
NewMintableERC20Caller creates a new read-only instance of MintableERC20, bound to a specific deployed contract.
func (*MintableERC20Caller) Allowance ¶
func (_MintableERC20 *MintableERC20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*MintableERC20Caller) BalanceOf ¶
func (_MintableERC20 *MintableERC20Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*MintableERC20Caller) Decimals ¶
func (_MintableERC20 *MintableERC20Caller) 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 (*MintableERC20Caller) Name ¶
func (_MintableERC20 *MintableERC20Caller) 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 (*MintableERC20Caller) Symbol ¶
func (_MintableERC20 *MintableERC20Caller) 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 (*MintableERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type MintableERC20CallerRaw ¶
type MintableERC20CallerRaw struct {
Contract *MintableERC20Caller // Generic read-only contract binding to access the raw methods on
}
MintableERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MintableERC20CallerRaw) Call ¶
func (_MintableERC20 *MintableERC20CallerRaw) 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 MintableERC20CallerSession ¶
type MintableERC20CallerSession struct { Contract *MintableERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MintableERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MintableERC20CallerSession) Allowance ¶
func (_MintableERC20 *MintableERC20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*MintableERC20CallerSession) BalanceOf ¶
func (_MintableERC20 *MintableERC20CallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*MintableERC20CallerSession) Decimals ¶
func (_MintableERC20 *MintableERC20CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*MintableERC20CallerSession) Name ¶
func (_MintableERC20 *MintableERC20CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*MintableERC20CallerSession) Symbol ¶
func (_MintableERC20 *MintableERC20CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*MintableERC20CallerSession) TotalSupply ¶
func (_MintableERC20 *MintableERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type MintableERC20Filterer ¶
type MintableERC20Filterer struct {
// contains filtered or unexported fields
}
MintableERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMintableERC20Filterer ¶
func NewMintableERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*MintableERC20Filterer, error)
NewMintableERC20Filterer creates a new log filterer instance of MintableERC20, bound to a specific deployed contract.
func (*MintableERC20Filterer) FilterApproval ¶
func (_MintableERC20 *MintableERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MintableERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*MintableERC20Filterer) FilterMint ¶
func (_MintableERC20 *MintableERC20Filterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*MintableERC20MintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MintableERC20Filterer) FilterTransfer ¶
func (_MintableERC20 *MintableERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MintableERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*MintableERC20Filterer) ParseApproval ¶
func (_MintableERC20 *MintableERC20Filterer) ParseApproval(log types.Log) (*MintableERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*MintableERC20Filterer) ParseMint ¶
func (_MintableERC20 *MintableERC20Filterer) ParseMint(log types.Log) (*MintableERC20Mint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MintableERC20Filterer) ParseTransfer ¶
func (_MintableERC20 *MintableERC20Filterer) ParseTransfer(log types.Log) (*MintableERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*MintableERC20Filterer) WatchApproval ¶
func (_MintableERC20 *MintableERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MintableERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*MintableERC20Filterer) WatchMint ¶
func (_MintableERC20 *MintableERC20Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MintableERC20Mint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MintableERC20Filterer) WatchTransfer ¶
func (_MintableERC20 *MintableERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MintableERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type MintableERC20Mint ¶
type MintableERC20Mint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MintableERC20Mint represents a Mint event raised by the MintableERC20 contract.
type MintableERC20MintIterator ¶
type MintableERC20MintIterator struct { Event *MintableERC20Mint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintableERC20MintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the MintableERC20 contract.
func (*MintableERC20MintIterator) Close ¶
func (it *MintableERC20MintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintableERC20MintIterator) Error ¶
func (it *MintableERC20MintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintableERC20MintIterator) Next ¶
func (it *MintableERC20MintIterator) 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 MintableERC20Raw ¶
type MintableERC20Raw struct {
Contract *MintableERC20 // Generic contract binding to access the raw methods on
}
MintableERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*MintableERC20Raw) Call ¶
func (_MintableERC20 *MintableERC20Raw) 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 (*MintableERC20Raw) Transact ¶
func (_MintableERC20 *MintableERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MintableERC20Raw) Transfer ¶
func (_MintableERC20 *MintableERC20Raw) 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 MintableERC20Session ¶
type MintableERC20Session struct { Contract *MintableERC20 // 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 }
MintableERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MintableERC20Session) AddMintPermission ¶
func (_MintableERC20 *MintableERC20Session) AddMintPermission(_permissionedAddress common.Address) (*types.Transaction, error)
AddMintPermission is a paid mutator transaction binding the contract method 0x1e61ecd3.
Solidity: function addMintPermission(address _permissionedAddress) returns(bool)
func (*MintableERC20Session) Allowance ¶
func (_MintableERC20 *MintableERC20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*MintableERC20Session) Approve ¶
func (_MintableERC20 *MintableERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*MintableERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*MintableERC20Session) Decimals ¶
func (_MintableERC20 *MintableERC20Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*MintableERC20Session) DecreaseApproval ¶
func (_MintableERC20 *MintableERC20Session) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*MintableERC20Session) IncreaseApproval ¶
func (_MintableERC20 *MintableERC20Session) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*MintableERC20Session) Mint ¶
func (_MintableERC20 *MintableERC20Session) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MintableERC20Session) Name ¶
func (_MintableERC20 *MintableERC20Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*MintableERC20Session) Symbol ¶
func (_MintableERC20 *MintableERC20Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*MintableERC20Session) TotalSupply ¶
func (_MintableERC20 *MintableERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*MintableERC20Session) Transfer ¶
func (_MintableERC20 *MintableERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*MintableERC20Session) TransferFrom ¶
func (_MintableERC20 *MintableERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type MintableERC20Transactor ¶
type MintableERC20Transactor struct {
// contains filtered or unexported fields
}
MintableERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMintableERC20Transactor ¶
func NewMintableERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*MintableERC20Transactor, error)
NewMintableERC20Transactor creates a new write-only instance of MintableERC20, bound to a specific deployed contract.
func (*MintableERC20Transactor) AddMintPermission ¶
func (_MintableERC20 *MintableERC20Transactor) AddMintPermission(opts *bind.TransactOpts, _permissionedAddress common.Address) (*types.Transaction, error)
AddMintPermission is a paid mutator transaction binding the contract method 0x1e61ecd3.
Solidity: function addMintPermission(address _permissionedAddress) returns(bool)
func (*MintableERC20Transactor) Approve ¶
func (_MintableERC20 *MintableERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*MintableERC20Transactor) DecreaseApproval ¶
func (_MintableERC20 *MintableERC20Transactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*MintableERC20Transactor) IncreaseApproval ¶
func (_MintableERC20 *MintableERC20Transactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*MintableERC20Transactor) Mint ¶
func (_MintableERC20 *MintableERC20Transactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MintableERC20Transactor) Transfer ¶
func (_MintableERC20 *MintableERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*MintableERC20Transactor) TransferFrom ¶
func (_MintableERC20 *MintableERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type MintableERC20TransactorRaw ¶
type MintableERC20TransactorRaw struct {
Contract *MintableERC20Transactor // Generic write-only contract binding to access the raw methods on
}
MintableERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MintableERC20TransactorRaw) Transact ¶
func (_MintableERC20 *MintableERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MintableERC20TransactorRaw) Transfer ¶
func (_MintableERC20 *MintableERC20TransactorRaw) 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 MintableERC20TransactorSession ¶
type MintableERC20TransactorSession struct { Contract *MintableERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MintableERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MintableERC20TransactorSession) AddMintPermission ¶
func (_MintableERC20 *MintableERC20TransactorSession) AddMintPermission(_permissionedAddress common.Address) (*types.Transaction, error)
AddMintPermission is a paid mutator transaction binding the contract method 0x1e61ecd3.
Solidity: function addMintPermission(address _permissionedAddress) returns(bool)
func (*MintableERC20TransactorSession) Approve ¶
func (_MintableERC20 *MintableERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*MintableERC20TransactorSession) DecreaseApproval ¶
func (_MintableERC20 *MintableERC20TransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*MintableERC20TransactorSession) IncreaseApproval ¶
func (_MintableERC20 *MintableERC20TransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*MintableERC20TransactorSession) Mint ¶
func (_MintableERC20 *MintableERC20TransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MintableERC20TransactorSession) Transfer ¶
func (_MintableERC20 *MintableERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*MintableERC20TransactorSession) TransferFrom ¶
func (_MintableERC20 *MintableERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type MintableERC20Transfer ¶
type MintableERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MintableERC20Transfer represents a Transfer event raised by the MintableERC20 contract.
type MintableERC20TransferIterator ¶
type MintableERC20TransferIterator struct { Event *MintableERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintableERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MintableERC20 contract.
func (*MintableERC20TransferIterator) Close ¶
func (it *MintableERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintableERC20TransferIterator) Error ¶
func (it *MintableERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintableERC20TransferIterator) Next ¶
func (it *MintableERC20TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.