tokens

package
v1.11.11 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokensABI = TokensMetaData.ABI

TokensABI is the input ABI used to generate the binding from. Deprecated: Use TokensMetaData.ABI instead.

View Source
var TokensMetaData = &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\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maximumFee\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"_totalSupply\",\"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\":\"uint256\"}],\"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\"}]",
}

TokensMetaData contains all meta data concerning the Tokens contract.

Functions

This section is empty.

Types

type Tokens

type Tokens struct {
	TokensCaller     // Read-only binding to the contract
	TokensTransactor // Write-only binding to the contract
	TokensFilterer   // Log filterer for contract events
}

Tokens is an auto generated Go binding around an Ethereum contract.

func NewTokens

func NewTokens(address common.Address, backend bind.ContractBackend) (*Tokens, error)

NewTokens creates a new instance of Tokens, bound to a specific deployed contract.

type TokensAddedBlackList

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

TokensAddedBlackList represents a AddedBlackList event raised by the Tokens contract.

type TokensAddedBlackListIterator

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

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

func (*TokensAddedBlackListIterator) Close

func (it *TokensAddedBlackListIterator) Close() error

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

func (*TokensAddedBlackListIterator) Error

func (it *TokensAddedBlackListIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensAddedBlackListIterator) 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 TokensApproval

type TokensApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TokensApproval represents a Approval event raised by the Tokens contract.

type TokensApprovalIterator

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

TokensApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Tokens contract.

func (*TokensApprovalIterator) Close

func (it *TokensApprovalIterator) Close() error

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

func (*TokensApprovalIterator) Error

func (it *TokensApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensApprovalIterator) Next

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

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

TokensCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTokensCaller

func NewTokensCaller(address common.Address, caller bind.ContractCaller) (*TokensCaller, error)

NewTokensCaller creates a new read-only instance of Tokens, bound to a specific deployed contract.

func (*TokensCaller) Allowance

func (_Tokens *TokensCaller) 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 (*TokensCaller) Allowed

func (_Tokens *TokensCaller) 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 (*TokensCaller) BalanceOf

func (_Tokens *TokensCaller) 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 (*TokensCaller) Balances

func (_Tokens *TokensCaller) 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 (*TokensCaller) BasisPointsRate

func (_Tokens *TokensCaller) 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 (*TokensCaller) Decimals

func (_Tokens *TokensCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*TokensCaller) Deprecated

func (_Tokens *TokensCaller) 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 (*TokensCaller) GetBlackListStatus

func (_Tokens *TokensCaller) 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 (*TokensCaller) GetOwner

func (_Tokens *TokensCaller) 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 (*TokensCaller) IsBlackListed

func (_Tokens *TokensCaller) 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 (*TokensCaller) MAXUINT

func (_Tokens *TokensCaller) 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 (*TokensCaller) MaximumFee

func (_Tokens *TokensCaller) 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 (*TokensCaller) Name

func (_Tokens *TokensCaller) 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 (*TokensCaller) Owner

func (_Tokens *TokensCaller) 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 (*TokensCaller) Paused

func (_Tokens *TokensCaller) 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 (*TokensCaller) Symbol

func (_Tokens *TokensCaller) 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 (*TokensCaller) TotalSupply

func (_Tokens *TokensCaller) 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 (*TokensCaller) TotalSupply2

func (_Tokens *TokensCaller) TotalSupply2(opts *bind.CallOpts) (*big.Int, error)

TotalSupply2 is a free data retrieval call binding the contract method 0x3eaaf86b.

Solidity: function _totalSupply() view returns(uint256)

func (*TokensCaller) UpgradedAddress

func (_Tokens *TokensCaller) 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 TokensCallerRaw

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

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

func (*TokensCallerRaw) Call

func (_Tokens *TokensCallerRaw) 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 TokensCallerSession

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

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

func (*TokensCallerSession) Allowance

func (_Tokens *TokensCallerSession) 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 (*TokensCallerSession) Allowed

func (_Tokens *TokensCallerSession) 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 (*TokensCallerSession) BalanceOf

func (_Tokens *TokensCallerSession) 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 (*TokensCallerSession) Balances

func (_Tokens *TokensCallerSession) 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 (*TokensCallerSession) BasisPointsRate

func (_Tokens *TokensCallerSession) BasisPointsRate() (*big.Int, error)

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

Solidity: function basisPointsRate() view returns(uint256)

func (*TokensCallerSession) Decimals

func (_Tokens *TokensCallerSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*TokensCallerSession) Deprecated

func (_Tokens *TokensCallerSession) Deprecated() (bool, error)

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

Solidity: function deprecated() view returns(bool)

func (*TokensCallerSession) GetBlackListStatus

func (_Tokens *TokensCallerSession) 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 (*TokensCallerSession) GetOwner

func (_Tokens *TokensCallerSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*TokensCallerSession) IsBlackListed

func (_Tokens *TokensCallerSession) 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 (*TokensCallerSession) MAXUINT

func (_Tokens *TokensCallerSession) MAXUINT() (*big.Int, error)

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

Solidity: function MAX_UINT() view returns(uint256)

func (*TokensCallerSession) MaximumFee

func (_Tokens *TokensCallerSession) MaximumFee() (*big.Int, error)

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

Solidity: function maximumFee() view returns(uint256)

func (*TokensCallerSession) Name

func (_Tokens *TokensCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TokensCallerSession) Owner

func (_Tokens *TokensCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokensCallerSession) Paused

func (_Tokens *TokensCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*TokensCallerSession) Symbol

func (_Tokens *TokensCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TokensCallerSession) TotalSupply

func (_Tokens *TokensCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TokensCallerSession) TotalSupply2

func (_Tokens *TokensCallerSession) TotalSupply2() (*big.Int, error)

TotalSupply2 is a free data retrieval call binding the contract method 0x3eaaf86b.

Solidity: function _totalSupply() view returns(uint256)

func (*TokensCallerSession) UpgradedAddress

func (_Tokens *TokensCallerSession) UpgradedAddress() (common.Address, error)

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

Solidity: function upgradedAddress() view returns(address)

type TokensDeprecate

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

TokensDeprecate represents a Deprecate event raised by the Tokens contract.

type TokensDeprecateIterator

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

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

func (*TokensDeprecateIterator) Close

func (it *TokensDeprecateIterator) Close() error

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

func (*TokensDeprecateIterator) Error

func (it *TokensDeprecateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensDeprecateIterator) Next

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

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

TokensDestroyedBlackFunds represents a DestroyedBlackFunds event raised by the Tokens contract.

type TokensDestroyedBlackFundsIterator

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

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

func (*TokensDestroyedBlackFundsIterator) Close

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

func (*TokensDestroyedBlackFundsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensDestroyedBlackFundsIterator) 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 TokensFilterer

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

TokensFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTokensFilterer

func NewTokensFilterer(address common.Address, filterer bind.ContractFilterer) (*TokensFilterer, error)

NewTokensFilterer creates a new log filterer instance of Tokens, bound to a specific deployed contract.

func (*TokensFilterer) FilterAddedBlackList

func (_Tokens *TokensFilterer) FilterAddedBlackList(opts *bind.FilterOpts) (*TokensAddedBlackListIterator, error)

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

Solidity: event AddedBlackList(address _user)

func (*TokensFilterer) FilterApproval

func (_Tokens *TokensFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokensApprovalIterator, 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 (*TokensFilterer) FilterDeprecate

func (_Tokens *TokensFilterer) FilterDeprecate(opts *bind.FilterOpts) (*TokensDeprecateIterator, error)

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

Solidity: event Deprecate(address newAddress)

func (*TokensFilterer) FilterDestroyedBlackFunds

func (_Tokens *TokensFilterer) FilterDestroyedBlackFunds(opts *bind.FilterOpts) (*TokensDestroyedBlackFundsIterator, error)

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

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*TokensFilterer) FilterIssue

func (_Tokens *TokensFilterer) FilterIssue(opts *bind.FilterOpts) (*TokensIssueIterator, error)

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

Solidity: event Issue(uint256 amount)

func (*TokensFilterer) FilterParams

func (_Tokens *TokensFilterer) FilterParams(opts *bind.FilterOpts) (*TokensParamsIterator, error)

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

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*TokensFilterer) FilterPause

func (_Tokens *TokensFilterer) FilterPause(opts *bind.FilterOpts) (*TokensPauseIterator, error)

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

Solidity: event Pause()

func (*TokensFilterer) FilterRedeem

func (_Tokens *TokensFilterer) FilterRedeem(opts *bind.FilterOpts) (*TokensRedeemIterator, error)

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

Solidity: event Redeem(uint256 amount)

func (*TokensFilterer) FilterRemovedBlackList

func (_Tokens *TokensFilterer) FilterRemovedBlackList(opts *bind.FilterOpts) (*TokensRemovedBlackListIterator, error)

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

Solidity: event RemovedBlackList(address _user)

func (*TokensFilterer) FilterTransfer

func (_Tokens *TokensFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokensTransferIterator, 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 (*TokensFilterer) FilterUnpause

func (_Tokens *TokensFilterer) FilterUnpause(opts *bind.FilterOpts) (*TokensUnpauseIterator, error)

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

Solidity: event Unpause()

func (*TokensFilterer) ParseAddedBlackList

func (_Tokens *TokensFilterer) ParseAddedBlackList(log types.Log) (*TokensAddedBlackList, error)

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

Solidity: event AddedBlackList(address _user)

func (*TokensFilterer) ParseApproval

func (_Tokens *TokensFilterer) ParseApproval(log types.Log) (*TokensApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*TokensFilterer) ParseDeprecate

func (_Tokens *TokensFilterer) ParseDeprecate(log types.Log) (*TokensDeprecate, error)

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

Solidity: event Deprecate(address newAddress)

func (*TokensFilterer) ParseDestroyedBlackFunds

func (_Tokens *TokensFilterer) ParseDestroyedBlackFunds(log types.Log) (*TokensDestroyedBlackFunds, error)

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

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*TokensFilterer) ParseIssue

func (_Tokens *TokensFilterer) ParseIssue(log types.Log) (*TokensIssue, error)

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

Solidity: event Issue(uint256 amount)

func (*TokensFilterer) ParseParams

func (_Tokens *TokensFilterer) ParseParams(log types.Log) (*TokensParams, error)

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

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*TokensFilterer) ParsePause

func (_Tokens *TokensFilterer) ParsePause(log types.Log) (*TokensPause, error)

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

Solidity: event Pause()

func (*TokensFilterer) ParseRedeem

func (_Tokens *TokensFilterer) ParseRedeem(log types.Log) (*TokensRedeem, error)

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

Solidity: event Redeem(uint256 amount)

func (*TokensFilterer) ParseRemovedBlackList

func (_Tokens *TokensFilterer) ParseRemovedBlackList(log types.Log) (*TokensRemovedBlackList, error)

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

Solidity: event RemovedBlackList(address _user)

func (*TokensFilterer) ParseTransfer

func (_Tokens *TokensFilterer) ParseTransfer(log types.Log) (*TokensTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*TokensFilterer) ParseUnpause

func (_Tokens *TokensFilterer) ParseUnpause(log types.Log) (*TokensUnpause, error)

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

Solidity: event Unpause()

func (*TokensFilterer) WatchAddedBlackList

func (_Tokens *TokensFilterer) WatchAddedBlackList(opts *bind.WatchOpts, sink chan<- *TokensAddedBlackList) (event.Subscription, error)

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

Solidity: event AddedBlackList(address _user)

func (*TokensFilterer) WatchApproval

func (_Tokens *TokensFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokensApproval, 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 (*TokensFilterer) WatchDeprecate

func (_Tokens *TokensFilterer) WatchDeprecate(opts *bind.WatchOpts, sink chan<- *TokensDeprecate) (event.Subscription, error)

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

Solidity: event Deprecate(address newAddress)

func (*TokensFilterer) WatchDestroyedBlackFunds

func (_Tokens *TokensFilterer) WatchDestroyedBlackFunds(opts *bind.WatchOpts, sink chan<- *TokensDestroyedBlackFunds) (event.Subscription, error)

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

Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)

func (*TokensFilterer) WatchIssue

func (_Tokens *TokensFilterer) WatchIssue(opts *bind.WatchOpts, sink chan<- *TokensIssue) (event.Subscription, error)

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

Solidity: event Issue(uint256 amount)

func (*TokensFilterer) WatchParams

func (_Tokens *TokensFilterer) WatchParams(opts *bind.WatchOpts, sink chan<- *TokensParams) (event.Subscription, error)

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

Solidity: event Params(uint256 feeBasisPoints, uint256 maxFee)

func (*TokensFilterer) WatchPause

func (_Tokens *TokensFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *TokensPause) (event.Subscription, error)

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

Solidity: event Pause()

func (*TokensFilterer) WatchRedeem

func (_Tokens *TokensFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *TokensRedeem) (event.Subscription, error)

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

Solidity: event Redeem(uint256 amount)

func (*TokensFilterer) WatchRemovedBlackList

func (_Tokens *TokensFilterer) WatchRemovedBlackList(opts *bind.WatchOpts, sink chan<- *TokensRemovedBlackList) (event.Subscription, error)

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

Solidity: event RemovedBlackList(address _user)

func (*TokensFilterer) WatchTransfer

func (_Tokens *TokensFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokensTransfer, 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 (*TokensFilterer) WatchUnpause

func (_Tokens *TokensFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *TokensUnpause) (event.Subscription, error)

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

Solidity: event Unpause()

type TokensIssue

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

TokensIssue represents a Issue event raised by the Tokens contract.

type TokensIssueIterator

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

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

func (*TokensIssueIterator) Close

func (it *TokensIssueIterator) Close() error

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

func (*TokensIssueIterator) Error

func (it *TokensIssueIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensIssueIterator) Next

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

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

TokensParams represents a Params event raised by the Tokens contract.

type TokensParamsIterator

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

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

func (*TokensParamsIterator) Close

func (it *TokensParamsIterator) Close() error

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

func (*TokensParamsIterator) Error

func (it *TokensParamsIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensParamsIterator) Next

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

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

TokensPause represents a Pause event raised by the Tokens contract.

type TokensPauseIterator

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

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

func (*TokensPauseIterator) Close

func (it *TokensPauseIterator) Close() error

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

func (*TokensPauseIterator) Error

func (it *TokensPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensPauseIterator) Next

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

type TokensRaw struct {
	Contract *Tokens // Generic contract binding to access the raw methods on
}

TokensRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TokensRaw) Call

func (_Tokens *TokensRaw) 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 (*TokensRaw) Transact

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

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

func (*TokensRaw) Transfer

func (_Tokens *TokensRaw) 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 TokensRedeem

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

TokensRedeem represents a Redeem event raised by the Tokens contract.

type TokensRedeemIterator

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

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

func (*TokensRedeemIterator) Close

func (it *TokensRedeemIterator) Close() error

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

func (*TokensRedeemIterator) Error

func (it *TokensRedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensRedeemIterator) Next

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

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

TokensRemovedBlackList represents a RemovedBlackList event raised by the Tokens contract.

type TokensRemovedBlackListIterator

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

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

func (*TokensRemovedBlackListIterator) Close

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

func (*TokensRemovedBlackListIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensRemovedBlackListIterator) 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 TokensSession

type TokensSession struct {
	Contract     *Tokens           // 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
}

TokensSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TokensSession) AddBlackList

func (_Tokens *TokensSession) 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 (*TokensSession) Allowance

func (_Tokens *TokensSession) 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 (*TokensSession) Allowed

func (_Tokens *TokensSession) 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 (*TokensSession) Approve

func (_Tokens *TokensSession) 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 (*TokensSession) BalanceOf

func (_Tokens *TokensSession) 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 (*TokensSession) Balances

func (_Tokens *TokensSession) 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 (*TokensSession) BasisPointsRate

func (_Tokens *TokensSession) BasisPointsRate() (*big.Int, error)

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

Solidity: function basisPointsRate() view returns(uint256)

func (*TokensSession) Decimals

func (_Tokens *TokensSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*TokensSession) Deprecate

func (_Tokens *TokensSession) 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 (*TokensSession) Deprecated

func (_Tokens *TokensSession) Deprecated() (bool, error)

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

Solidity: function deprecated() view returns(bool)

func (*TokensSession) DestroyBlackFunds

func (_Tokens *TokensSession) 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 (*TokensSession) GetBlackListStatus

func (_Tokens *TokensSession) 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 (*TokensSession) GetOwner

func (_Tokens *TokensSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*TokensSession) IsBlackListed

func (_Tokens *TokensSession) 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 (*TokensSession) Issue

func (_Tokens *TokensSession) 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 (*TokensSession) MAXUINT

func (_Tokens *TokensSession) MAXUINT() (*big.Int, error)

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

Solidity: function MAX_UINT() view returns(uint256)

func (*TokensSession) MaximumFee

func (_Tokens *TokensSession) MaximumFee() (*big.Int, error)

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

Solidity: function maximumFee() view returns(uint256)

func (*TokensSession) Name

func (_Tokens *TokensSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TokensSession) Owner

func (_Tokens *TokensSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokensSession) Pause

func (_Tokens *TokensSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*TokensSession) Paused

func (_Tokens *TokensSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*TokensSession) Redeem

func (_Tokens *TokensSession) 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 (*TokensSession) RemoveBlackList

func (_Tokens *TokensSession) 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 (*TokensSession) SetParams

func (_Tokens *TokensSession) 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 (*TokensSession) Symbol

func (_Tokens *TokensSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TokensSession) TotalSupply

func (_Tokens *TokensSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TokensSession) TotalSupply2

func (_Tokens *TokensSession) TotalSupply2() (*big.Int, error)

TotalSupply2 is a free data retrieval call binding the contract method 0x3eaaf86b.

Solidity: function _totalSupply() view returns(uint256)

func (*TokensSession) Transfer

func (_Tokens *TokensSession) 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 (*TokensSession) TransferFrom

func (_Tokens *TokensSession) 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 (*TokensSession) TransferOwnership

func (_Tokens *TokensSession) 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 (*TokensSession) Unpause

func (_Tokens *TokensSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*TokensSession) UpgradedAddress

func (_Tokens *TokensSession) UpgradedAddress() (common.Address, error)

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

Solidity: function upgradedAddress() view returns(address)

type TokensTransactor

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

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

func NewTokensTransactor

func NewTokensTransactor(address common.Address, transactor bind.ContractTransactor) (*TokensTransactor, error)

NewTokensTransactor creates a new write-only instance of Tokens, bound to a specific deployed contract.

func (*TokensTransactor) AddBlackList

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) Approve

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) Deprecate

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) DestroyBlackFunds

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) Issue

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) Pause

func (_Tokens *TokensTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*TokensTransactor) Redeem

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) RemoveBlackList

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) SetParams

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) Transfer

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) TransferFrom

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) TransferOwnership

func (_Tokens *TokensTransactor) 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 (*TokensTransactor) Unpause

func (_Tokens *TokensTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type TokensTransactorRaw

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

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

func (*TokensTransactorRaw) Transact

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

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

func (*TokensTransactorRaw) Transfer

func (_Tokens *TokensTransactorRaw) 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 TokensTransactorSession

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

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

func (*TokensTransactorSession) AddBlackList

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) Approve

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) Deprecate

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) DestroyBlackFunds

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) Issue

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) Pause

func (_Tokens *TokensTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*TokensTransactorSession) Redeem

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) RemoveBlackList

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) SetParams

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) Transfer

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) TransferFrom

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) TransferOwnership

func (_Tokens *TokensTransactorSession) 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 (*TokensTransactorSession) Unpause

func (_Tokens *TokensTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type TokensTransfer

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

TokensTransfer represents a Transfer event raised by the Tokens contract.

type TokensTransferIterator

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

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

func (*TokensTransferIterator) Close

func (it *TokensTransferIterator) Close() error

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

func (*TokensTransferIterator) Error

func (it *TokensTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensTransferIterator) Next

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

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

TokensUnpause represents a Unpause event raised by the Tokens contract.

type TokensUnpauseIterator

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

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

func (*TokensUnpauseIterator) Close

func (it *TokensUnpauseIterator) Close() error

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

func (*TokensUnpauseIterator) Error

func (it *TokensUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensUnpauseIterator) Next

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