erc20

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERC20ABI = ERC20MetaData.ABI

ERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MetaData.ABI instead.

View Source
var ERC20MetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_upgradedAddress\",\"type\":\"address\"}],\"name\":\"deprecate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"deprecated\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_evilUser\",\"type\":\"address\"}],\"name\":\"addBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"upgradedAddress\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"balances\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maximumFee\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_maker\",\"type\":\"address\"}],\"name\":\"getBlackListStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowed\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"who\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newBasisPoints\",\"type\":\"uint256\"},{\"name\":\"newMaxFee\",\"type\":\"uint256\"}],\"name\":\"setParams\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"issue\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"basisPointsRate\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"isBlackListed\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_clearedUser\",\"type\":\"address\"}],\"name\":\"removeBlackList\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MAX_UINT\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_blackListedUser\",\"type\":\"address\"}],\"name\":\"destroyBlackFunds\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_initialSupply\",\"type\":\"uint256\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_decimals\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Issue\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"Deprecate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"feeBasisPoints\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"maxFee\",\"type\":\"uint256\"}],\"name\":\"Params\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_blackListedUser\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_balance\",\"type\":\"uint256\"}],\"name\":\"DestroyedBlackFunds\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"AddedBlackList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"RemovedBlackList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"}]",
}

ERC20MetaData contains all meta data concerning the ERC20 contract.

Functions

func FilterERC20Approval

func FilterERC20Approval(l types.Log) bool

func FilterERC20Transfer

func FilterERC20Transfer(l types.Log) bool

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 ERC20AddedBlackList

type ERC20AddedBlackList struct {
	User common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ERC20AddedBlackList represents a AddedBlackList event raised by the ERC20 contract.

type ERC20AddedBlackListIterator

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

ERC20AddedBlackListIterator is returned from FilterAddedBlackList and is used to iterate over the raw logs and unpacked data for AddedBlackList events raised by the ERC20 contract.

func (*ERC20AddedBlackListIterator) Close

func (it *ERC20AddedBlackListIterator) Close() error

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

func (*ERC20AddedBlackListIterator) Error

func (it *ERC20AddedBlackListIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20AddedBlackListIterator) Next

func (it *ERC20AddedBlackListIterator) 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 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) view returns(uint256 remaining)

func (*ERC20Caller) Allowed

func (_ERC20 *ERC20Caller) Allowed(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowed is a free data retrieval call binding the contract method 0x5c658165.

Solidity: function allowed(address , address ) view returns(uint256)

func (*ERC20Caller) BalanceOf

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

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

Solidity: function balanceOf(address who) view returns(uint256)

func (*ERC20Caller) Balances

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

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances(address ) view returns(uint256)

func (*ERC20Caller) BasisPointsRate

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

BasisPointsRate is a free data retrieval call binding the contract method 0xdd644f72.

Solidity: function basisPointsRate() view 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() view returns(uint8)

func (*ERC20Caller) Deprecated

func (_ERC20 *ERC20Caller) Deprecated(opts *bind.CallOpts) (bool, error)

Deprecated is a free data retrieval call binding the contract method 0x0e136b19.

Solidity: function deprecated() view returns(bool)

func (*ERC20Caller) GetBlackListStatus

func (_ERC20 *ERC20Caller) GetBlackListStatus(opts *bind.CallOpts, _maker common.Address) (bool, error)

GetBlackListStatus is a free data retrieval call binding the contract method 0x59bf1abe.

Solidity: function getBlackListStatus(address _maker) view returns(bool)

func (*ERC20Caller) GetOwner

func (_ERC20 *ERC20Caller) GetOwner(opts *bind.CallOpts) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*ERC20Caller) IsBlackListed

func (_ERC20 *ERC20Caller) IsBlackListed(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsBlackListed is a free data retrieval call binding the contract method 0xe47d6060.

Solidity: function isBlackListed(address ) view returns(bool)

func (*ERC20Caller) MAXUINT

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

MAXUINT is a free data retrieval call binding the contract method 0xe5b5019a.

Solidity: function MAX_UINT() view returns(uint256)

func (*ERC20Caller) MaximumFee

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

MaximumFee is a free data retrieval call binding the contract method 0x35390714.

Solidity: function maximumFee() view returns(uint256)

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() view returns(string)

func (*ERC20Caller) Owner

func (_ERC20 *ERC20Caller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

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() view 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() view 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() view returns(uint256)

func (*ERC20Caller) UpgradedAddress

func (_ERC20 *ERC20Caller) UpgradedAddress(opts *bind.CallOpts) (common.Address, error)

UpgradedAddress is a free data retrieval call binding the contract method 0x26976e3f.

Solidity: function upgradedAddress() view returns(address)

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) view returns(uint256 remaining)

func (*ERC20CallerSession) Allowed

func (_ERC20 *ERC20CallerSession) Allowed(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowed is a free data retrieval call binding the contract method 0x5c658165.

Solidity: function allowed(address , address ) view returns(uint256)

func (*ERC20CallerSession) BalanceOf

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

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

Solidity: function balanceOf(address who) view returns(uint256)

func (*ERC20CallerSession) Balances

func (_ERC20 *ERC20CallerSession) Balances(arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances(address ) view returns(uint256)

func (*ERC20CallerSession) BasisPointsRate

func (_ERC20 *ERC20CallerSession) BasisPointsRate() (*big.Int, error)

BasisPointsRate is a free data retrieval call binding the contract method 0xdd644f72.

Solidity: function basisPointsRate() view 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() view returns(uint8)

func (*ERC20CallerSession) Deprecated

func (_ERC20 *ERC20CallerSession) Deprecated() (bool, error)

Deprecated is a free data retrieval call binding the contract method 0x0e136b19.

Solidity: function deprecated() view returns(bool)

func (*ERC20CallerSession) GetBlackListStatus

func (_ERC20 *ERC20CallerSession) GetBlackListStatus(_maker common.Address) (bool, error)

GetBlackListStatus is a free data retrieval call binding the contract method 0x59bf1abe.

Solidity: function getBlackListStatus(address _maker) view returns(bool)

func (*ERC20CallerSession) GetOwner

func (_ERC20 *ERC20CallerSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*ERC20CallerSession) IsBlackListed

func (_ERC20 *ERC20CallerSession) IsBlackListed(arg0 common.Address) (bool, error)

IsBlackListed is a free data retrieval call binding the contract method 0xe47d6060.

Solidity: function isBlackListed(address ) view returns(bool)

func (*ERC20CallerSession) MAXUINT

func (_ERC20 *ERC20CallerSession) MAXUINT() (*big.Int, error)

MAXUINT is a free data retrieval call binding the contract method 0xe5b5019a.

Solidity: function MAX_UINT() view returns(uint256)

func (*ERC20CallerSession) MaximumFee

func (_ERC20 *ERC20CallerSession) MaximumFee() (*big.Int, error)

MaximumFee is a free data retrieval call binding the contract method 0x35390714.

Solidity: function maximumFee() view returns(uint256)

func (*ERC20CallerSession) Name

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

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

Solidity: function name() view returns(string)

func (*ERC20CallerSession) Owner

func (_ERC20 *ERC20CallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ERC20CallerSession) Paused

func (_ERC20 *ERC20CallerSession) Paused() (bool, error)

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

Solidity: function paused() view 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() view 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() view returns(uint256)

func (*ERC20CallerSession) UpgradedAddress

func (_ERC20 *ERC20CallerSession) UpgradedAddress() (common.Address, error)

UpgradedAddress is a free data retrieval call binding the contract method 0x26976e3f.

Solidity: function upgradedAddress() view returns(address)

type ERC20Deprecate

type ERC20Deprecate struct {
	NewAddress common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

ERC20Deprecate represents a Deprecate event raised by the ERC20 contract.

type ERC20DeprecateIterator

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

ERC20DeprecateIterator is returned from FilterDeprecate and is used to iterate over the raw logs and unpacked data for Deprecate events raised by the ERC20 contract.

func (*ERC20DeprecateIterator) Close

func (it *ERC20DeprecateIterator) Close() error

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

func (*ERC20DeprecateIterator) Error

func (it *ERC20DeprecateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20DeprecateIterator) Next

func (it *ERC20DeprecateIterator) 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 ERC20DestroyedBlackFunds

type ERC20DestroyedBlackFunds struct {
	BlackListedUser common.Address
	Balance         *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ERC20DestroyedBlackFunds represents a DestroyedBlackFunds event raised by the ERC20 contract.

type ERC20DestroyedBlackFundsIterator

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

ERC20DestroyedBlackFundsIterator is returned from FilterDestroyedBlackFunds and is used to iterate over the raw logs and unpacked data for DestroyedBlackFunds events raised by the ERC20 contract.

func (*ERC20DestroyedBlackFundsIterator) Close

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

func (*ERC20DestroyedBlackFundsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

func (_ERC20 *ERC20Filterer) FilterAddedBlackList(opts *bind.FilterOpts) (*ERC20AddedBlackListIterator, error)

FilterAddedBlackList is a free log retrieval operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.

Solidity: event AddedBlackList(address _user)

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

func (_ERC20 *ERC20Filterer) FilterDeprecate(opts *bind.FilterOpts) (*ERC20DeprecateIterator, error)

FilterDeprecate is a free log retrieval operation binding the contract event 0xcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e.

Solidity: event Deprecate(address newAddress)

func (*ERC20Filterer) FilterDestroyedBlackFunds

func (_ERC20 *ERC20Filterer) FilterDestroyedBlackFunds(opts *bind.FilterOpts) (*ERC20DestroyedBlackFundsIterator, error)

FilterDestroyedBlackFunds is a free log retrieval operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*ERC20Filterer) FilterIssue

func (_ERC20 *ERC20Filterer) FilterIssue(opts *bind.FilterOpts) (*ERC20IssueIterator, error)

FilterIssue is a free log retrieval operation binding the contract event 0xcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a.

Solidity: event Issue(uint256 amount)

func (*ERC20Filterer) FilterParams

func (_ERC20 *ERC20Filterer) FilterParams(opts *bind.FilterOpts) (*ERC20ParamsIterator, error)

FilterParams is a free log retrieval operation binding the contract event 0xb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e.

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*ERC20Filterer) FilterPause

func (_ERC20 *ERC20Filterer) FilterPause(opts *bind.FilterOpts) (*ERC20PauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*ERC20Filterer) FilterRedeem

func (_ERC20 *ERC20Filterer) FilterRedeem(opts *bind.FilterOpts) (*ERC20RedeemIterator, error)

FilterRedeem is a free log retrieval operation binding the contract event 0x702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a44.

Solidity: event Redeem(uint256 amount)

func (*ERC20Filterer) FilterRemovedBlackList

func (_ERC20 *ERC20Filterer) FilterRemovedBlackList(opts *bind.FilterOpts) (*ERC20RemovedBlackListIterator, error)

FilterRemovedBlackList is a free log retrieval operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.

Solidity: event RemovedBlackList(address _user)

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

func (_ERC20 *ERC20Filterer) FilterUnpause(opts *bind.FilterOpts) (*ERC20UnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*ERC20Filterer) ParseAddedBlackList

func (_ERC20 *ERC20Filterer) ParseAddedBlackList(log types.Log) (*ERC20AddedBlackList, error)

ParseAddedBlackList is a log parse operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.

Solidity: event AddedBlackList(address _user)

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

func (_ERC20 *ERC20Filterer) ParseDeprecate(log types.Log) (*ERC20Deprecate, error)

ParseDeprecate is a log parse operation binding the contract event 0xcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e.

Solidity: event Deprecate(address newAddress)

func (*ERC20Filterer) ParseDestroyedBlackFunds

func (_ERC20 *ERC20Filterer) ParseDestroyedBlackFunds(log types.Log) (*ERC20DestroyedBlackFunds, error)

ParseDestroyedBlackFunds is a log parse operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*ERC20Filterer) ParseIssue

func (_ERC20 *ERC20Filterer) ParseIssue(log types.Log) (*ERC20Issue, error)

ParseIssue is a log parse operation binding the contract event 0xcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a.

Solidity: event Issue(uint256 amount)

func (*ERC20Filterer) ParseParams

func (_ERC20 *ERC20Filterer) ParseParams(log types.Log) (*ERC20Params, error)

ParseParams is a log parse operation binding the contract event 0xb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e.

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*ERC20Filterer) ParsePause

func (_ERC20 *ERC20Filterer) ParsePause(log types.Log) (*ERC20Pause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*ERC20Filterer) ParseRedeem

func (_ERC20 *ERC20Filterer) ParseRedeem(log types.Log) (*ERC20Redeem, error)

ParseRedeem is a log parse operation binding the contract event 0x702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a44.

Solidity: event Redeem(uint256 amount)

func (*ERC20Filterer) ParseRemovedBlackList

func (_ERC20 *ERC20Filterer) ParseRemovedBlackList(log types.Log) (*ERC20RemovedBlackList, error)

ParseRemovedBlackList is a log parse operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.

Solidity: event RemovedBlackList(address _user)

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

func (_ERC20 *ERC20Filterer) ParseUnpause(log types.Log) (*ERC20Unpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*ERC20Filterer) WatchAddedBlackList

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

WatchAddedBlackList is a free log subscription operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.

Solidity: event AddedBlackList(address _user)

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

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

WatchDeprecate is a free log subscription operation binding the contract event 0xcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e.

Solidity: event Deprecate(address newAddress)

func (*ERC20Filterer) WatchDestroyedBlackFunds

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

WatchDestroyedBlackFunds is a free log subscription operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*ERC20Filterer) WatchIssue

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

WatchIssue is a free log subscription operation binding the contract event 0xcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a.

Solidity: event Issue(uint256 amount)

func (*ERC20Filterer) WatchParams

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

WatchParams is a free log subscription operation binding the contract event 0xb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e.

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*ERC20Filterer) WatchPause

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

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*ERC20Filterer) WatchRedeem

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

WatchRedeem is a free log subscription operation binding the contract event 0x702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a44.

Solidity: event Redeem(uint256 amount)

func (*ERC20Filterer) WatchRemovedBlackList

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

WatchRemovedBlackList is a free log subscription operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.

Solidity: event RemovedBlackList(address _user)

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

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

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type ERC20Issue

type ERC20Issue struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ERC20Issue represents a Issue event raised by the ERC20 contract.

type ERC20IssueIterator

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

ERC20IssueIterator is returned from FilterIssue and is used to iterate over the raw logs and unpacked data for Issue events raised by the ERC20 contract.

func (*ERC20IssueIterator) Close

func (it *ERC20IssueIterator) Close() error

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

func (*ERC20IssueIterator) Error

func (it *ERC20IssueIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20IssueIterator) Next

func (it *ERC20IssueIterator) 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 ERC20Params

type ERC20Params struct {
	FeeBasisPoints *big.Int
	MaxFee         *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

ERC20Params represents a Params event raised by the ERC20 contract.

type ERC20ParamsIterator

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

ERC20ParamsIterator is returned from FilterParams and is used to iterate over the raw logs and unpacked data for Params events raised by the ERC20 contract.

func (*ERC20ParamsIterator) Close

func (it *ERC20ParamsIterator) Close() error

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

func (*ERC20ParamsIterator) Error

func (it *ERC20ParamsIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ParamsIterator) Next

func (it *ERC20ParamsIterator) 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 ERC20Pause

type ERC20Pause struct {
	Raw types.Log // Blockchain specific contextual infos
}

ERC20Pause represents a Pause event raised by the ERC20 contract.

type ERC20PauseIterator

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

ERC20PauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the ERC20 contract.

func (*ERC20PauseIterator) Close

func (it *ERC20PauseIterator) Close() error

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

func (*ERC20PauseIterator) Error

func (it *ERC20PauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20PauseIterator) Next

func (it *ERC20PauseIterator) 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 ERC20Redeem

type ERC20Redeem struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ERC20Redeem represents a Redeem event raised by the ERC20 contract.

type ERC20RedeemIterator

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

ERC20RedeemIterator is returned from FilterRedeem and is used to iterate over the raw logs and unpacked data for Redeem events raised by the ERC20 contract.

func (*ERC20RedeemIterator) Close

func (it *ERC20RedeemIterator) Close() error

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

func (*ERC20RedeemIterator) Error

func (it *ERC20RedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20RedeemIterator) Next

func (it *ERC20RedeemIterator) 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 ERC20RemovedBlackList

type ERC20RemovedBlackList struct {
	User common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ERC20RemovedBlackList represents a RemovedBlackList event raised by the ERC20 contract.

type ERC20RemovedBlackListIterator

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

ERC20RemovedBlackListIterator is returned from FilterRemovedBlackList and is used to iterate over the raw logs and unpacked data for RemovedBlackList events raised by the ERC20 contract.

func (*ERC20RemovedBlackListIterator) Close

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

func (*ERC20RemovedBlackListIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

func (_ERC20 *ERC20Session) AddBlackList(_evilUser common.Address) (*types.Transaction, error)

AddBlackList is a paid mutator transaction binding the contract method 0x0ecb93c0.

Solidity: function addBlackList(address _evilUser) 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) view returns(uint256 remaining)

func (*ERC20Session) Allowed

func (_ERC20 *ERC20Session) Allowed(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowed is a free data retrieval call binding the contract method 0x5c658165.

Solidity: function allowed(address , address ) view 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()

func (*ERC20Session) BalanceOf

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

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

Solidity: function balanceOf(address who) view returns(uint256)

func (*ERC20Session) Balances

func (_ERC20 *ERC20Session) Balances(arg0 common.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances(address ) view returns(uint256)

func (*ERC20Session) BasisPointsRate

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

BasisPointsRate is a free data retrieval call binding the contract method 0xdd644f72.

Solidity: function basisPointsRate() view 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() view returns(uint8)

func (*ERC20Session) Deprecate

func (_ERC20 *ERC20Session) Deprecate(_upgradedAddress common.Address) (*types.Transaction, error)

Deprecate is a paid mutator transaction binding the contract method 0x0753c30c.

Solidity: function deprecate(address _upgradedAddress) returns()

func (*ERC20Session) Deprecated

func (_ERC20 *ERC20Session) Deprecated() (bool, error)

Deprecated is a free data retrieval call binding the contract method 0x0e136b19.

Solidity: function deprecated() view returns(bool)

func (*ERC20Session) DestroyBlackFunds

func (_ERC20 *ERC20Session) DestroyBlackFunds(_blackListedUser common.Address) (*types.Transaction, error)

DestroyBlackFunds is a paid mutator transaction binding the contract method 0xf3bdc228.

Solidity: function destroyBlackFunds(address _blackListedUser) returns()

func (*ERC20Session) GetBlackListStatus

func (_ERC20 *ERC20Session) GetBlackListStatus(_maker common.Address) (bool, error)

GetBlackListStatus is a free data retrieval call binding the contract method 0x59bf1abe.

Solidity: function getBlackListStatus(address _maker) view returns(bool)

func (*ERC20Session) GetOwner

func (_ERC20 *ERC20Session) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*ERC20Session) IsBlackListed

func (_ERC20 *ERC20Session) IsBlackListed(arg0 common.Address) (bool, error)

IsBlackListed is a free data retrieval call binding the contract method 0xe47d6060.

Solidity: function isBlackListed(address ) view returns(bool)

func (*ERC20Session) Issue

func (_ERC20 *ERC20Session) Issue(amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0xcc872b66.

Solidity: function issue(uint256 amount) returns()

func (*ERC20Session) MAXUINT

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

MAXUINT is a free data retrieval call binding the contract method 0xe5b5019a.

Solidity: function MAX_UINT() view returns(uint256)

func (*ERC20Session) MaximumFee

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

MaximumFee is a free data retrieval call binding the contract method 0x35390714.

Solidity: function maximumFee() view returns(uint256)

func (*ERC20Session) Name

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

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

Solidity: function name() view returns(string)

func (*ERC20Session) Owner

func (_ERC20 *ERC20Session) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

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() view returns(bool)

func (*ERC20Session) Redeem

func (_ERC20 *ERC20Session) Redeem(amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount) returns()

func (*ERC20Session) RemoveBlackList

func (_ERC20 *ERC20Session) RemoveBlackList(_clearedUser common.Address) (*types.Transaction, error)

RemoveBlackList is a paid mutator transaction binding the contract method 0xe4997dc5.

Solidity: function removeBlackList(address _clearedUser) returns()

func (*ERC20Session) SetParams

func (_ERC20 *ERC20Session) SetParams(newBasisPoints *big.Int, newMaxFee *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(uint256 newBasisPoints, uint256 newMaxFee) 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() view 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() view 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()

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

func (*ERC20Session) TransferOwnership

func (_ERC20 *ERC20Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

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

func (*ERC20Session) UpgradedAddress

func (_ERC20 *ERC20Session) UpgradedAddress() (common.Address, error)

UpgradedAddress is a free data retrieval call binding the contract method 0x26976e3f.

Solidity: function upgradedAddress() view returns(address)

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

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

AddBlackList is a paid mutator transaction binding the contract method 0x0ecb93c0.

Solidity: function addBlackList(address _evilUser) 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()

func (*ERC20Transactor) Deprecate

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

Deprecate is a paid mutator transaction binding the contract method 0x0753c30c.

Solidity: function deprecate(address _upgradedAddress) returns()

func (*ERC20Transactor) DestroyBlackFunds

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

DestroyBlackFunds is a paid mutator transaction binding the contract method 0xf3bdc228.

Solidity: function destroyBlackFunds(address _blackListedUser) returns()

func (*ERC20Transactor) Issue

func (_ERC20 *ERC20Transactor) Issue(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0xcc872b66.

Solidity: function issue(uint256 amount) returns()

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

func (_ERC20 *ERC20Transactor) Redeem(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount) returns()

func (*ERC20Transactor) RemoveBlackList

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

RemoveBlackList is a paid mutator transaction binding the contract method 0xe4997dc5.

Solidity: function removeBlackList(address _clearedUser) returns()

func (*ERC20Transactor) SetParams

func (_ERC20 *ERC20Transactor) SetParams(opts *bind.TransactOpts, newBasisPoints *big.Int, newMaxFee *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(uint256 newBasisPoints, uint256 newMaxFee) 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()

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

func (*ERC20Transactor) TransferOwnership

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

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

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

func (_ERC20 *ERC20TransactorSession) AddBlackList(_evilUser common.Address) (*types.Transaction, error)

AddBlackList is a paid mutator transaction binding the contract method 0x0ecb93c0.

Solidity: function addBlackList(address _evilUser) 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()

func (*ERC20TransactorSession) Deprecate

func (_ERC20 *ERC20TransactorSession) Deprecate(_upgradedAddress common.Address) (*types.Transaction, error)

Deprecate is a paid mutator transaction binding the contract method 0x0753c30c.

Solidity: function deprecate(address _upgradedAddress) returns()

func (*ERC20TransactorSession) DestroyBlackFunds

func (_ERC20 *ERC20TransactorSession) DestroyBlackFunds(_blackListedUser common.Address) (*types.Transaction, error)

DestroyBlackFunds is a paid mutator transaction binding the contract method 0xf3bdc228.

Solidity: function destroyBlackFunds(address _blackListedUser) returns()

func (*ERC20TransactorSession) Issue

func (_ERC20 *ERC20TransactorSession) Issue(amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0xcc872b66.

Solidity: function issue(uint256 amount) returns()

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

func (_ERC20 *ERC20TransactorSession) Redeem(amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount) returns()

func (*ERC20TransactorSession) RemoveBlackList

func (_ERC20 *ERC20TransactorSession) RemoveBlackList(_clearedUser common.Address) (*types.Transaction, error)

RemoveBlackList is a paid mutator transaction binding the contract method 0xe4997dc5.

Solidity: function removeBlackList(address _clearedUser) returns()

func (*ERC20TransactorSession) SetParams

func (_ERC20 *ERC20TransactorSession) SetParams(newBasisPoints *big.Int, newMaxFee *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(uint256 newBasisPoints, uint256 newMaxFee) 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()

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

func (*ERC20TransactorSession) TransferOwnership

func (_ERC20 *ERC20TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

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 ERC20Unpause

type ERC20Unpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

ERC20Unpause represents a Unpause event raised by the ERC20 contract.

type ERC20UnpauseIterator

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

ERC20UnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the ERC20 contract.

func (*ERC20UnpauseIterator) Close

func (it *ERC20UnpauseIterator) Close() error

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

func (*ERC20UnpauseIterator) Error

func (it *ERC20UnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20UnpauseIterator) Next

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