erc20

package
v0.0.0-...-0b06f50 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ERC20ABI = "" /* 7696-byte string literal not displayed */

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

Variables

This section is empty.

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.

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed 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(owner address, spender address) constant returns(uint256)

func (*ERC20Caller) BalanceOf

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*ERC20Caller) Decimals

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) IsGateway

func (_ERC20 *ERC20Caller) IsGateway(opts *bind.CallOpts, gateway common.Address) (bool, error)

IsGateway is a free data retrieval call binding the contract method 0xbfe69d9a.

Solidity: function isGateway(gateway address) constant returns(bool)

func (*ERC20Caller) IsMinter

func (_ERC20 *ERC20Caller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

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

func (*ERC20Caller) IsValidator

func (_ERC20 *ERC20Caller) IsValidator(opts *bind.CallOpts, validator common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(validator address) constant returns(bool)

func (*ERC20Caller) Name

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Symbol

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) Decimals

func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*ERC20CallerSession) IsGateway

func (_ERC20 *ERC20CallerSession) IsGateway(gateway common.Address) (bool, error)

IsGateway is a free data retrieval call binding the contract method 0xbfe69d9a.

Solidity: function isGateway(gateway address) constant returns(bool)

func (*ERC20CallerSession) IsMinter

func (_ERC20 *ERC20CallerSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

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

func (*ERC20CallerSession) IsValidator

func (_ERC20 *ERC20CallerSession) IsValidator(validator common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(validator address) constant returns(bool)

func (*ERC20CallerSession) Name

func (_ERC20 *ERC20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*ERC20CallerSession) Symbol

func (_ERC20 *ERC20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

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: e Approval(owner indexed address, spender indexed address, value uint256)

func (*ERC20Filterer) FilterGatewayAdded

func (_ERC20 *ERC20Filterer) FilterGatewayAdded(opts *bind.FilterOpts) (*ERC20GatewayAddedIterator, error)

FilterGatewayAdded is a free log retrieval operation binding the contract event 0x7137528d21fb7b0b9462886348954009edac49570e27ef9dba8bb3a676fc11e2.

Solidity: e GatewayAdded(gateway address)

func (*ERC20Filterer) FilterGatewayRemoved

func (_ERC20 *ERC20Filterer) FilterGatewayRemoved(opts *bind.FilterOpts) (*ERC20GatewayRemovedIterator, error)

FilterGatewayRemoved is a free log retrieval operation binding the contract event 0x6ad07cb5676ab639fa3821550f0ec4379900d542e2d8bd8f0f8158d8bd352da2.

Solidity: e GatewayRemoved(gateway address)

func (*ERC20Filterer) FilterMinterAdded

func (_ERC20 *ERC20Filterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC20MinterAddedIterator, error)

FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: e MinterAdded(account indexed address)

func (*ERC20Filterer) FilterMinterRemoved

func (_ERC20 *ERC20Filterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC20MinterRemovedIterator, error)

FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: e MinterRemoved(account indexed address)

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: e Transfer(from indexed address, to indexed address, value uint256)

func (*ERC20Filterer) FilterValidatorAdded

func (_ERC20 *ERC20Filterer) FilterValidatorAdded(opts *bind.FilterOpts) (*ERC20ValidatorAddedIterator, error)

FilterValidatorAdded is a free log retrieval operation binding the contract event 0xe366c1c0452ed8eec96861e9e54141ebff23c9ec89fe27b996b45f5ec3884987.

Solidity: e ValidatorAdded(validator address)

func (*ERC20Filterer) FilterValidatorRemoved

func (_ERC20 *ERC20Filterer) FilterValidatorRemoved(opts *bind.FilterOpts) (*ERC20ValidatorRemovedIterator, error)

FilterValidatorRemoved is a free log retrieval operation binding the contract event 0xe1434e25d6611e0db941968fdc97811c982ac1602e951637d206f5fdda9dd8f1.

Solidity: e ValidatorRemoved(validator address)

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: e Approval(owner indexed address, spender indexed address, value uint256)

func (*ERC20Filterer) WatchGatewayAdded

func (_ERC20 *ERC20Filterer) WatchGatewayAdded(opts *bind.WatchOpts, sink chan<- *ERC20GatewayAdded) (event.Subscription, error)

WatchGatewayAdded is a free log subscription operation binding the contract event 0x7137528d21fb7b0b9462886348954009edac49570e27ef9dba8bb3a676fc11e2.

Solidity: e GatewayAdded(gateway address)

func (*ERC20Filterer) WatchGatewayRemoved

func (_ERC20 *ERC20Filterer) WatchGatewayRemoved(opts *bind.WatchOpts, sink chan<- *ERC20GatewayRemoved) (event.Subscription, error)

WatchGatewayRemoved is a free log subscription operation binding the contract event 0x6ad07cb5676ab639fa3821550f0ec4379900d542e2d8bd8f0f8158d8bd352da2.

Solidity: e GatewayRemoved(gateway address)

func (*ERC20Filterer) WatchMinterAdded

func (_ERC20 *ERC20Filterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC20MinterAdded, account []common.Address) (event.Subscription, error)

WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: e MinterAdded(account indexed address)

func (*ERC20Filterer) WatchMinterRemoved

func (_ERC20 *ERC20Filterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC20MinterRemoved, account []common.Address) (event.Subscription, error)

WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: e MinterRemoved(account indexed address)

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: e Transfer(from indexed address, to indexed address, value uint256)

func (*ERC20Filterer) WatchValidatorAdded

func (_ERC20 *ERC20Filterer) WatchValidatorAdded(opts *bind.WatchOpts, sink chan<- *ERC20ValidatorAdded) (event.Subscription, error)

WatchValidatorAdded is a free log subscription operation binding the contract event 0xe366c1c0452ed8eec96861e9e54141ebff23c9ec89fe27b996b45f5ec3884987.

Solidity: e ValidatorAdded(validator address)

func (*ERC20Filterer) WatchValidatorRemoved

func (_ERC20 *ERC20Filterer) WatchValidatorRemoved(opts *bind.WatchOpts, sink chan<- *ERC20ValidatorRemoved) (event.Subscription, error)

WatchValidatorRemoved is a free log subscription operation binding the contract event 0xe1434e25d6611e0db941968fdc97811c982ac1602e951637d206f5fdda9dd8f1.

Solidity: e ValidatorRemoved(validator address)

type ERC20GatewayAdded

type ERC20GatewayAdded struct {
	Gateway common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20GatewayAdded represents a GatewayAdded event raised by the ERC20 contract.

type ERC20GatewayAddedIterator

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

ERC20GatewayAddedIterator is returned from FilterGatewayAdded and is used to iterate over the raw logs and unpacked data for GatewayAdded events raised by the ERC20 contract.

func (*ERC20GatewayAddedIterator) Close

func (it *ERC20GatewayAddedIterator) Close() error

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

func (*ERC20GatewayAddedIterator) Error

func (it *ERC20GatewayAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20GatewayAddedIterator) Next

func (it *ERC20GatewayAddedIterator) 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 ERC20GatewayRemoved

type ERC20GatewayRemoved struct {
	Gateway common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20GatewayRemoved represents a GatewayRemoved event raised by the ERC20 contract.

type ERC20GatewayRemovedIterator

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

ERC20GatewayRemovedIterator is returned from FilterGatewayRemoved and is used to iterate over the raw logs and unpacked data for GatewayRemoved events raised by the ERC20 contract.

func (*ERC20GatewayRemovedIterator) Close

func (it *ERC20GatewayRemovedIterator) Close() error

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

func (*ERC20GatewayRemovedIterator) Error

func (it *ERC20GatewayRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20GatewayRemovedIterator) Next

func (it *ERC20GatewayRemovedIterator) 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 ERC20MinterAdded

type ERC20MinterAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20MinterAdded represents a MinterAdded event raised by the ERC20 contract.

type ERC20MinterAddedIterator

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

ERC20MinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the ERC20 contract.

func (*ERC20MinterAddedIterator) Close

func (it *ERC20MinterAddedIterator) Close() error

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

func (*ERC20MinterAddedIterator) Error

func (it *ERC20MinterAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20MinterAddedIterator) Next

func (it *ERC20MinterAddedIterator) 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 ERC20MinterRemoved

type ERC20MinterRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20MinterRemoved represents a MinterRemoved event raised by the ERC20 contract.

type ERC20MinterRemovedIterator

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

ERC20MinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the ERC20 contract.

func (*ERC20MinterRemovedIterator) Close

func (it *ERC20MinterRemovedIterator) Close() error

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

func (*ERC20MinterRemovedIterator) Error

func (it *ERC20MinterRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20MinterRemovedIterator) Next

func (it *ERC20MinterRemovedIterator) 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) AddGateway

func (_ERC20 *ERC20Session) AddGateway(_gateway common.Address) (*types.Transaction, error)

AddGateway is a paid mutator transaction binding the contract method 0x68bb3795.

Solidity: function addGateway(_gateway address) returns()

func (*ERC20Session) AddMinter

func (_ERC20 *ERC20Session) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(account address) returns()

func (*ERC20Session) AddValidator

func (_ERC20 *ERC20Session) AddValidator(newValidator common.Address) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x4d238c8e.

Solidity: function addValidator(newValidator address) returns()

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(owner address, spender address) constant returns(uint256)

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ERC20Session) Decimals

func (_ERC20 *ERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*ERC20Session) DecreaseAllowance

func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(spender address, subtractedValue uint256) returns(bool)

func (*ERC20Session) IncreaseAllowance

func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(spender address, addedValue uint256) returns(bool)

func (*ERC20Session) IsGateway

func (_ERC20 *ERC20Session) IsGateway(gateway common.Address) (bool, error)

IsGateway is a free data retrieval call binding the contract method 0xbfe69d9a.

Solidity: function isGateway(gateway address) constant returns(bool)

func (*ERC20Session) IsMinter

func (_ERC20 *ERC20Session) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

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

func (*ERC20Session) IsValidator

func (_ERC20 *ERC20Session) IsValidator(validator common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(validator address) constant returns(bool)

func (*ERC20Session) Mint

func (_ERC20 *ERC20Session) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(_to address, _amount uint256) returns(bool)

func (*ERC20Session) MintTo

func (_ERC20 *ERC20Session) MintTo(_to common.Address, _amount *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x449a52f8.

Solidity: function mintTo(_to address, _amount uint256) returns()

func (*ERC20Session) Name

func (_ERC20 *ERC20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*ERC20Session) RemoveGateway

func (_ERC20 *ERC20Session) RemoveGateway(_gateway common.Address) (*types.Transaction, error)

RemoveGateway is a paid mutator transaction binding the contract method 0x8a885e35.

Solidity: function removeGateway(_gateway address) returns()

func (*ERC20Session) RemoveValidator

func (_ERC20 *ERC20Session) RemoveValidator(validator common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(validator address) returns()

func (*ERC20Session) RenounceMinter

func (_ERC20 *ERC20Session) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*ERC20Session) Symbol

func (_ERC20 *ERC20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(to address, value uint256) returns(bool)

func (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type ERC20Transactor

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

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

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) AddGateway

func (_ERC20 *ERC20Transactor) AddGateway(opts *bind.TransactOpts, _gateway common.Address) (*types.Transaction, error)

AddGateway is a paid mutator transaction binding the contract method 0x68bb3795.

Solidity: function addGateway(_gateway address) returns()

func (*ERC20Transactor) AddMinter

func (_ERC20 *ERC20Transactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(account address) returns()

func (*ERC20Transactor) AddValidator

func (_ERC20 *ERC20Transactor) AddValidator(opts *bind.TransactOpts, newValidator common.Address) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x4d238c8e.

Solidity: function addValidator(newValidator address) returns()

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*ERC20Transactor) DecreaseAllowance

func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(spender address, subtractedValue uint256) returns(bool)

func (*ERC20Transactor) IncreaseAllowance

func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(spender address, addedValue uint256) returns(bool)

func (*ERC20Transactor) Mint

func (_ERC20 *ERC20Transactor) 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(_to address, _amount uint256) returns(bool)

func (*ERC20Transactor) MintTo

func (_ERC20 *ERC20Transactor) MintTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x449a52f8.

Solidity: function mintTo(_to address, _amount uint256) returns()

func (*ERC20Transactor) RemoveGateway

func (_ERC20 *ERC20Transactor) RemoveGateway(opts *bind.TransactOpts, _gateway common.Address) (*types.Transaction, error)

RemoveGateway is a paid mutator transaction binding the contract method 0x8a885e35.

Solidity: function removeGateway(_gateway address) returns()

func (*ERC20Transactor) RemoveValidator

func (_ERC20 *ERC20Transactor) RemoveValidator(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(validator address) returns()

func (*ERC20Transactor) RenounceMinter

func (_ERC20 *ERC20Transactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(to address, value uint256) returns(bool)

func (*ERC20Transactor) TransferFrom

func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ERC20TransactorSession

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

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

func (*ERC20TransactorSession) AddGateway

func (_ERC20 *ERC20TransactorSession) AddGateway(_gateway common.Address) (*types.Transaction, error)

AddGateway is a paid mutator transaction binding the contract method 0x68bb3795.

Solidity: function addGateway(_gateway address) returns()

func (*ERC20TransactorSession) AddMinter

func (_ERC20 *ERC20TransactorSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(account address) returns()

func (*ERC20TransactorSession) AddValidator

func (_ERC20 *ERC20TransactorSession) AddValidator(newValidator common.Address) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x4d238c8e.

Solidity: function addValidator(newValidator address) returns()

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(spender address, value uint256) returns(bool)

func (*ERC20TransactorSession) DecreaseAllowance

func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(spender address, subtractedValue uint256) returns(bool)

func (*ERC20TransactorSession) IncreaseAllowance

func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(spender address, addedValue uint256) returns(bool)

func (*ERC20TransactorSession) Mint

func (_ERC20 *ERC20TransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(_to address, _amount uint256) returns(bool)

func (*ERC20TransactorSession) MintTo

func (_ERC20 *ERC20TransactorSession) MintTo(_to common.Address, _amount *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x449a52f8.

Solidity: function mintTo(_to address, _amount uint256) returns()

func (*ERC20TransactorSession) RemoveGateway

func (_ERC20 *ERC20TransactorSession) RemoveGateway(_gateway common.Address) (*types.Transaction, error)

RemoveGateway is a paid mutator transaction binding the contract method 0x8a885e35.

Solidity: function removeGateway(_gateway address) returns()

func (*ERC20TransactorSession) RemoveValidator

func (_ERC20 *ERC20TransactorSession) RemoveValidator(validator common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(validator address) returns()

func (*ERC20TransactorSession) RenounceMinter

func (_ERC20 *ERC20TransactorSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(to address, value uint256) returns(bool)

func (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(from address, to address, value uint256) returns(bool)

type ERC20Transfer

type ERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

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

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

func (it *ERC20TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20ValidatorAdded

type ERC20ValidatorAdded struct {
	Validator common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

ERC20ValidatorAdded represents a ValidatorAdded event raised by the ERC20 contract.

type ERC20ValidatorAddedIterator

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

ERC20ValidatorAddedIterator is returned from FilterValidatorAdded and is used to iterate over the raw logs and unpacked data for ValidatorAdded events raised by the ERC20 contract.

func (*ERC20ValidatorAddedIterator) Close

func (it *ERC20ValidatorAddedIterator) Close() error

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

func (*ERC20ValidatorAddedIterator) Error

func (it *ERC20ValidatorAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ValidatorAddedIterator) Next

func (it *ERC20ValidatorAddedIterator) 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 ERC20ValidatorRemoved

type ERC20ValidatorRemoved struct {
	Validator common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

ERC20ValidatorRemoved represents a ValidatorRemoved event raised by the ERC20 contract.

type ERC20ValidatorRemovedIterator

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

ERC20ValidatorRemovedIterator is returned from FilterValidatorRemoved and is used to iterate over the raw logs and unpacked data for ValidatorRemoved events raised by the ERC20 contract.

func (*ERC20ValidatorRemovedIterator) Close

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

func (*ERC20ValidatorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ValidatorRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL