erc20

package
v0.0.0-...-d673ec7 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const Erc20ABI = "" /* 7897-byte string literal not displayed */

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

Variables

View Source
var (
	FlagKeystore = crypto.FlagKeystore
	FlagPassword = crypto.FlagPassword
	FlagRpcAddr  = chain.FlagRpcAddr

	FlagErc20Addr = cli.StringFlag{
		Name:  "erc20",
		Usage: "erc20 token address",
		Value: "",
	}
)
View Source
var AddMinterCmd = cli.Command{
	Name:      "add-minter",
	Usage:     "add a new minter",
	UsageText: "add-minter <account> <minter>",
	Action:    AddMinterAction,
	Flags:     []cli.Flag{},
}
View Source
var AddPauserCmd = cli.Command{
	Name:      "add-pauser",
	Usage:     "add a new pauser",
	UsageText: "add-pauser <account> <pauser>",
	Action:    AddPauserAction,
	Flags:     []cli.Flag{},
}
View Source
var AllowanceCmd = cli.Command{
	Name:      "allowance",
	Usage:     "get SPENDER's allowance of OWNER account",
	UsageText: "allowance <owner> <spender>",
	Action:    AllowanceAction,
	Flags:     []cli.Flag{},
}
View Source
var ApproveCmd = cli.Command{
	Name:      "approve",
	Usage:     "approve SPENDER spends VALUE tokens",
	UsageText: "approve <account> <spender> <value>",
	Action:    ApproveAction,
	Flags:     []cli.Flag{},
}
View Source
var BalanceOfCmd = cli.Command{
	Name:      "balanceof",
	Usage:     "get balance of OWNER account",
	UsageText: "balanceof <owner>",
	Action:    BalanceOfAction,
	Flags:     []cli.Flag{},
}
View Source
var BurnCmd = cli.Command{
	Name:      "burn",
	Usage:     "burn tokens",
	UsageText: "mint <account> <value>",
	Action:    BurnAction,
	Flags:     []cli.Flag{},
}
View Source
var BurnFromCmd = cli.Command{
	Name:      "burn-from",
	Usage:     "burn tokens for ACCOUNT",
	UsageText: "burn-from <account> <from> <value>",
	Action:    BurnFromAction,
	Flags:     []cli.Flag{},
}
View Source
var Erc20Bin = "" /* 12924-byte string literal not displayed */

Erc20Bin is the compiled bytecode used for deploying new contracts.

View Source
var (
	ErrInsufficientArguments = fmt.Errorf("insufficient arguments")
)
View Source
var IsMinterCmd = cli.Command{
	Name:      "is-minter",
	Usage:     "check whether ACCOUNT is a minter",
	UsageText: "is-minter <minter>",
	Action:    IsMinterAction,
	Flags:     []cli.Flag{},
}
View Source
var IsPauserCmd = cli.Command{
	Name:      "is-pauser",
	Usage:     "check whether ACCOUNT is a pauser",
	UsageText: "is-pauser <pauser>",
	Action:    IsPauserAction,
	Flags:     []cli.Flag{},
}
View Source
var MintCmd = cli.Command{
	Name:      "mint",
	Usage:     "mint tokens to TO address",
	UsageText: "mint <account> <to> <value>",
	Action:    MintAction,
	Flags:     []cli.Flag{},
}
View Source
var ParseBigInt = utils.ParseBigInt
View Source
var ParseFlagKeystore = crypto.ParseFlagKeystore
View Source
var ParseFlagPassword = crypto.ParseFlagPassword
View Source
var ParseUint64 = utils.ParseUint64
View Source
var PauseCmd = cli.Command{
	Name:      "pause",
	Usage:     "pause contract",
	UsageText: "pause <account>",
	Action:    PauseAction,
	Flags:     []cli.Flag{},
}
View Source
var PausedCmd = cli.Command{
	Name:      "paused",
	Usage:     "get paused state",
	UsageText: "paused",
	Action:    PausedAction,
	Flags:     []cli.Flag{},
}
View Source
var ReadPassphrase = crypto.ReadPassphrase
View Source
var RenounceMinterCmd = cli.Command{
	Name:      "renounce-minter",
	Usage:     "renounce minter",
	UsageText: "renounce-minter <account>",
	Action:    RenounceMinterAction,
	Flags:     []cli.Flag{},
}
View Source
var RenouncePauserCmd = cli.Command{
	Name:      "renounce-pauser",
	Usage:     "renounce pauser",
	UsageText: "renounce-pauser <account>",
	Action:    RenouncePauserAction,
	Flags:     []cli.Flag{},
}
View Source
var TotalSupplyCmd = cli.Command{
	Name:      "supply",
	Usage:     "get total supply",
	UsageText: "supply",
	Action:    TotalSupplyAction,
	Flags:     []cli.Flag{},
}
View Source
var TransferCmd = cli.Command{
	Name:      "transfer",
	Usage:     "transfer VALUE tokens from this account to TO account",
	UsageText: "transfer <account> <to> <value>",
	Action:    TransferAction,
	Flags:     []cli.Flag{},
}
View Source
var TransferFromCmd = cli.Command{
	Name:      "transfer-from",
	Usage:     "transfer VALUE tokens from FROM account to TO account",
	UsageText: "transfer-from <account> <from> <to> <value>",
	Action:    TransferFromAction,
	Flags:     []cli.Flag{},
}
View Source
var UnpauseCmd = cli.Command{
	Name:      "unpause",
	Usage:     "unpause contract",
	UsageText: "unpause <account>",
	Action:    UnpauseAction,
	Flags:     []cli.Flag{},
}

Functions

func AddMinterAction

func AddMinterAction(c *cli.Context) error

func AddPauserAction

func AddPauserAction(c *cli.Context) error

func AllowanceAction

func AllowanceAction(c *cli.Context) error

func ApproveAction

func ApproveAction(c *cli.Context) error

func BalanceOfAction

func BalanceOfAction(c *cli.Context) error

func BurnAction

func BurnAction(c *cli.Context) error

func BurnFromAction

func BurnFromAction(c *cli.Context) error

func IsMinterAction

func IsMinterAction(c *cli.Context) error

func IsPauserAction

func IsPauserAction(c *cli.Context) error

func MintAction

func MintAction(c *cli.Context) error

func PauseAction

func PauseAction(c *cli.Context) error

func PausedAction

func PausedAction(c *cli.Context) error

func RenounceMinterAction

func RenounceMinterAction(c *cli.Context) error

func RenouncePauserAction

func RenouncePauserAction(c *cli.Context) error

func TotalSupplyAction

func TotalSupplyAction(c *cli.Context) error

func TransferAction

func TransferAction(c *cli.Context) error

func TransferFromAction

func TransferFromAction(c *cli.Context) error

func UnpauseAction

func UnpauseAction(c *cli.Context) error

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 DeployErc20

func DeployErc20(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string, decimals uint8) (common.Address, *types.Transaction, *Erc20, error)

DeployErc20 deploys a new Ethereum contract, binding an instance of Erc20 to it.

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(address owner, address spender) constant returns(uint256)

func (*Erc20Caller) BalanceOf

func (_Erc20 *Erc20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) 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) 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(address account) constant returns(bool)

func (*Erc20Caller) IsPauser

func (_Erc20 *Erc20Caller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) 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) Paused

func (_Erc20 *Erc20Caller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

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(address owner, address spender) constant returns(uint256)

func (*Erc20CallerSession) BalanceOf

func (_Erc20 *Erc20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) 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) 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(address account) constant returns(bool)

func (*Erc20CallerSession) IsPauser

func (_Erc20 *Erc20CallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) 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) Paused

func (_Erc20 *Erc20CallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

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

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: event MinterAdded(address indexed account)

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: event MinterRemoved(address indexed account)

func (*Erc20Filterer) FilterPaused

func (_Erc20 *Erc20Filterer) FilterPaused(opts *bind.FilterOpts) (*Erc20PausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc20Filterer) FilterPauserAdded

func (_Erc20 *Erc20Filterer) FilterPauserAdded(opts *bind.FilterOpts, account []common.Address) (*Erc20PauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*Erc20Filterer) FilterPauserRemoved

func (_Erc20 *Erc20Filterer) FilterPauserRemoved(opts *bind.FilterOpts, account []common.Address) (*Erc20PauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

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) FilterUnpaused

func (_Erc20 *Erc20Filterer) FilterUnpaused(opts *bind.FilterOpts) (*Erc20UnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

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) ParseMinterAdded

func (_Erc20 *Erc20Filterer) ParseMinterAdded(log types.Log) (*Erc20MinterAdded, error)

ParseMinterAdded is a log parse operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*Erc20Filterer) ParseMinterRemoved

func (_Erc20 *Erc20Filterer) ParseMinterRemoved(log types.Log) (*Erc20MinterRemoved, error)

ParseMinterRemoved is a log parse operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*Erc20Filterer) ParsePaused

func (_Erc20 *Erc20Filterer) ParsePaused(log types.Log) (*Erc20Paused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc20Filterer) ParsePauserAdded

func (_Erc20 *Erc20Filterer) ParsePauserAdded(log types.Log) (*Erc20PauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*Erc20Filterer) ParsePauserRemoved

func (_Erc20 *Erc20Filterer) ParsePauserRemoved(log types.Log) (*Erc20PauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

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) ParseUnpaused

func (_Erc20 *Erc20Filterer) ParseUnpaused(log types.Log) (*Erc20Unpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

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) 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: event MinterAdded(address indexed account)

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: event MinterRemoved(address indexed account)

func (*Erc20Filterer) WatchPaused

func (_Erc20 *Erc20Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *Erc20Paused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc20Filterer) WatchPauserAdded

func (_Erc20 *Erc20Filterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *Erc20PauserAdded, account []common.Address) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*Erc20Filterer) WatchPauserRemoved

func (_Erc20 *Erc20Filterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *Erc20PauserRemoved, account []common.Address) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

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)

func (*Erc20Filterer) WatchUnpaused

func (_Erc20 *Erc20Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *Erc20Unpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

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 Erc20Paused

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

Erc20Paused represents a Paused event raised by the Erc20 contract.

type Erc20PausedIterator

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

Erc20PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Erc20 contract.

func (*Erc20PausedIterator) Close

func (it *Erc20PausedIterator) Close() error

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

func (*Erc20PausedIterator) Error

func (it *Erc20PausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20PausedIterator) Next

func (it *Erc20PausedIterator) 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 Erc20PauserAdded

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

Erc20PauserAdded represents a PauserAdded event raised by the Erc20 contract.

type Erc20PauserAddedIterator

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

Erc20PauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the Erc20 contract.

func (*Erc20PauserAddedIterator) Close

func (it *Erc20PauserAddedIterator) Close() error

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

func (*Erc20PauserAddedIterator) Error

func (it *Erc20PauserAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20PauserAddedIterator) Next

func (it *Erc20PauserAddedIterator) 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 Erc20PauserRemoved

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

Erc20PauserRemoved represents a PauserRemoved event raised by the Erc20 contract.

type Erc20PauserRemovedIterator

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

Erc20PauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the Erc20 contract.

func (*Erc20PauserRemovedIterator) Close

func (it *Erc20PauserRemovedIterator) Close() error

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

func (*Erc20PauserRemovedIterator) Error

func (it *Erc20PauserRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20PauserRemovedIterator) Next

func (it *Erc20PauserRemovedIterator) 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) 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(address account) returns()

func (*Erc20Session) AddPauser

func (_Erc20 *Erc20Session) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) 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(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

func (_Erc20 *Erc20Session) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*Erc20Session) Burn

func (_Erc20 *Erc20Session) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*Erc20Session) BurnFrom

func (_Erc20 *Erc20Session) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

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(address spender, uint256 subtractedValue) 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(address spender, uint256 addedValue) 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(address account) constant returns(bool)

func (*Erc20Session) IsPauser

func (_Erc20 *Erc20Session) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

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

func (*Erc20Session) Mint

func (_Erc20 *Erc20Session) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

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) Pause

func (_Erc20 *Erc20Session) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*Erc20Session) Paused

func (_Erc20 *Erc20Session) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

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) RenouncePauser

func (_Erc20 *Erc20Session) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() 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(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)

func (*Erc20Session) Unpause

func (_Erc20 *Erc20Session) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

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) 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(address account) returns()

func (*Erc20Transactor) AddPauser

func (_Erc20 *Erc20Transactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) 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(address spender, uint256 value) returns(bool)

func (*Erc20Transactor) Burn

func (_Erc20 *Erc20Transactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*Erc20Transactor) BurnFrom

func (_Erc20 *Erc20Transactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

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(address spender, uint256 subtractedValue) 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(address spender, uint256 addedValue) returns(bool)

func (*Erc20Transactor) Mint

func (_Erc20 *Erc20Transactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*Erc20Transactor) Pause

func (_Erc20 *Erc20Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() 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) RenouncePauser

func (_Erc20 *Erc20Transactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() 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(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)

func (*Erc20Transactor) Unpause

func (_Erc20 *Erc20Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

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) 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(address account) returns()

func (*Erc20TransactorSession) AddPauser

func (_Erc20 *Erc20TransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) 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(address spender, uint256 value) returns(bool)

func (*Erc20TransactorSession) Burn

func (_Erc20 *Erc20TransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*Erc20TransactorSession) BurnFrom

func (_Erc20 *Erc20TransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

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(address spender, uint256 subtractedValue) 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(address spender, uint256 addedValue) returns(bool)

func (*Erc20TransactorSession) Mint

func (_Erc20 *Erc20TransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*Erc20TransactorSession) Pause

func (_Erc20 *Erc20TransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() 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) RenouncePauser

func (_Erc20 *Erc20TransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() 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(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)

func (*Erc20TransactorSession) Unpause

func (_Erc20 *Erc20TransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

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 Erc20Unpaused

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

Erc20Unpaused represents a Unpaused event raised by the Erc20 contract.

type Erc20UnpausedIterator

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

Erc20UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Erc20 contract.

func (*Erc20UnpausedIterator) Close

func (it *Erc20UnpausedIterator) Close() error

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

func (*Erc20UnpausedIterator) Error

func (it *Erc20UnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20UnpausedIterator) Next

func (it *Erc20UnpausedIterator) 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.

Jump to

Keyboard shortcuts

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