Documentation ¶
Index ¶
- Variables
- type Option
- type Stub
- type Token
- type TokenAddedAdmin
- type TokenAddedAdminIterator
- type TokenAddedBlackList
- type TokenAddedBlackListIterator
- type TokenApproval
- type TokenApprovalIterator
- type TokenCaller
- func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Token *TokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Token *TokenCaller) GetBlackListStatus(opts *bind.CallOpts, _maker common.Address) (bool, error)
- func (_Token *TokenCaller) IsAdmin(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Token *TokenCaller) IsBlackListed(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Token *TokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Token *TokenCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Token *TokenCaller) UPGRADEINTERFACEVERSION(opts *bind.CallOpts) (string, error)
- type TokenCallerRaw
- type TokenCallerSession
- func (_Token *TokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Token *TokenCallerSession) Decimals() (uint8, error)
- func (_Token *TokenCallerSession) GetBlackListStatus(_maker common.Address) (bool, error)
- func (_Token *TokenCallerSession) IsAdmin(arg0 common.Address) (bool, error)
- func (_Token *TokenCallerSession) IsBlackListed(arg0 common.Address) (bool, error)
- func (_Token *TokenCallerSession) Name() (string, error)
- func (_Token *TokenCallerSession) Owner() (common.Address, error)
- func (_Token *TokenCallerSession) ProxiableUUID() ([32]byte, error)
- func (_Token *TokenCallerSession) Symbol() (string, error)
- func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
- func (_Token *TokenCallerSession) UPGRADEINTERFACEVERSION() (string, error)
- type TokenDestroyedBlackFunds
- type TokenDestroyedBlackFundsIterator
- type TokenFilterer
- func (_Token *TokenFilterer) FilterAddedAdmin(opts *bind.FilterOpts) (*TokenAddedAdminIterator, error)
- func (_Token *TokenFilterer) FilterAddedBlackList(opts *bind.FilterOpts) (*TokenAddedBlackListIterator, error)
- func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, error)
- func (_Token *TokenFilterer) FilterDestroyedBlackFunds(opts *bind.FilterOpts) (*TokenDestroyedBlackFundsIterator, error)
- func (_Token *TokenFilterer) FilterInitialized(opts *bind.FilterOpts) (*TokenInitializedIterator, error)
- func (_Token *TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TokenOwnershipTransferredIterator, error)
- func (_Token *TokenFilterer) FilterRemovedAdmin(opts *bind.FilterOpts) (*TokenRemovedAdminIterator, error)
- func (_Token *TokenFilterer) FilterRemovedBlackList(opts *bind.FilterOpts) (*TokenRemovedBlackListIterator, error)
- func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error)
- func (_Token *TokenFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*TokenUpgradedIterator, error)
- func (_Token *TokenFilterer) ParseAddedAdmin(log types.Log) (*TokenAddedAdmin, error)
- func (_Token *TokenFilterer) ParseAddedBlackList(log types.Log) (*TokenAddedBlackList, error)
- func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)
- func (_Token *TokenFilterer) ParseDestroyedBlackFunds(log types.Log) (*TokenDestroyedBlackFunds, error)
- func (_Token *TokenFilterer) ParseInitialized(log types.Log) (*TokenInitialized, error)
- func (_Token *TokenFilterer) ParseOwnershipTransferred(log types.Log) (*TokenOwnershipTransferred, error)
- func (_Token *TokenFilterer) ParseRemovedAdmin(log types.Log) (*TokenRemovedAdmin, error)
- func (_Token *TokenFilterer) ParseRemovedBlackList(log types.Log) (*TokenRemovedBlackList, error)
- func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)
- func (_Token *TokenFilterer) ParseUpgraded(log types.Log) (*TokenUpgraded, error)
- func (_Token *TokenFilterer) WatchAddedAdmin(opts *bind.WatchOpts, sink chan<- *TokenAddedAdmin) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchAddedBlackList(opts *bind.WatchOpts, sink chan<- *TokenAddedBlackList) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchDestroyedBlackFunds(opts *bind.WatchOpts, sink chan<- *TokenDestroyedBlackFunds) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TokenInitialized) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchRemovedAdmin(opts *bind.WatchOpts, sink chan<- *TokenRemovedAdmin) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchRemovedBlackList(opts *bind.WatchOpts, sink chan<- *TokenRemovedBlackList) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_Token *TokenFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TokenUpgraded, ...) (event.Subscription, error)
- type TokenInitialized
- type TokenInitializedIterator
- type TokenOwnershipTransferred
- type TokenOwnershipTransferredIterator
- type TokenRaw
- func (_Token *TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenRemovedAdmin
- type TokenRemovedAdminIterator
- type TokenRemovedBlackList
- type TokenRemovedBlackListIterator
- type TokenSession
- func (_Token *TokenSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) AddBlackList(_evilUser common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Token *TokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Token *TokenSession) Burn(value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) BurnFrom(account common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Decimals() (uint8, error)
- func (_Token *TokenSession) DestroyBlackFunds(_blackListedUser common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) GetBlackListStatus(_maker common.Address) (bool, error)
- func (_Token *TokenSession) Initialize(initialOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) IsAdmin(arg0 common.Address) (bool, error)
- func (_Token *TokenSession) IsBlackListed(arg0 common.Address) (bool, error)
- func (_Token *TokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) Name() (string, error)
- func (_Token *TokenSession) Owner() (common.Address, error)
- func (_Token *TokenSession) ProxiableUUID() ([32]byte, error)
- func (_Token *TokenSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) RemoveBlackList(_clearedUser common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_Token *TokenSession) Symbol() (string, error)
- func (_Token *TokenSession) TotalSupply() (*big.Int, error)
- func (_Token *TokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenSession) UPGRADEINTERFACEVERSION() (string, error)
- func (_Token *TokenSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type TokenTransactor
- func (_Token *TokenTransactor) AddAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) AddBlackList(opts *bind.TransactOpts, _evilUser common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) DestroyBlackFunds(opts *bind.TransactOpts, _blackListedUser common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) Initialize(opts *bind.TransactOpts, initialOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) RemoveAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) RemoveBlackList(opts *bind.TransactOpts, _clearedUser common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Token *TokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type TokenTransactorRaw
- type TokenTransactorSession
- func (_Token *TokenTransactorSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) AddBlackList(_evilUser common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Burn(value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) BurnFrom(account common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) DestroyBlackFunds(_blackListedUser common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Initialize(initialOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RemoveBlackList(_clearedUser common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Token *TokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Token *TokenTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type TokenTransfer
- type TokenTransferIterator
- type TokenUpgraded
- type TokenUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var TokenABI = TokenMetaData.ABI
TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.
var TokenBin = TokenMetaData.Bin
TokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TokenMetaData.Bin instead.
var TokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"}],\"name\":\"AddedAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"AddedBlackList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_blackListedUser\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_balance\",\"type\":\"uint256\"}],\"name\":\"DestroyedBlackFunds\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"}],\"name\":\"RemovedAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"RemovedBlackList\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"addAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_evilUser\",\"type\":\"address\"}],\"name\":\"addBlackList\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_blackListedUser\",\"type\":\"address\"}],\"name\":\"destroyBlackFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_maker\",\"type\":\"address\"}],\"name\":\"getBlackListStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isBlackListed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"removeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_clearedUser\",\"type\":\"address\"}],\"name\":\"removeBlackList\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
Bin: "0x60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1681525034801561004357600080fd5b5061005261005760201b60201c565b6101c1565b600061006761015b60201b60201c565b90508060000160089054906101000a900460ff16156100b2576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff80168160000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16146101585767ffffffffffffffff8160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d267ffffffffffffffff60405161014f91906101a6565b60405180910390a15b50565b60007ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b600067ffffffffffffffff82169050919050565b6101a081610183565b82525050565b60006020820190506101bb6000830184610197565b92915050565b608051612f246101ea600039600081816116130152818161166801526118230152612f246000f3fe60806040526004361061019c5760003560e01c806370480275116100ec578063ad3cb1cc1161008a578063e47d606011610064578063e47d6060146105cb578063e4997dc514610608578063f2fde38b14610631578063f3bdc2281461065a5761019c565b8063ad3cb1cc1461053a578063c4d66de814610565578063dd62ed3e1461058e5761019c565b806379cc6790116100c657806379cc67901461047e5780638da5cb5b146104a757806395d89b41146104d2578063a9059cbb146104fd5761019c565b8063704802751461040157806370a082311461042a578063715018a6146104675761019c565b806324d7806c1161015957806342966c681161013357806342966c68146103545780634f1ef2861461037d57806352d1902d1461039957806359bf1abe146103c45761019c565b806324d7806c146102c3578063313ce5671461030057806340c10f191461032b5761019c565b806306fdde03146101a1578063095ea7b3146101cc5780630ecb93c0146102095780631785f53c1461023257806318160ddd1461025b57806323b872dd14610286575b600080fd5b3480156101ad57600080fd5b506101b6610683565b6040516101c39190612445565b60405180910390f35b3480156101d857600080fd5b506101f360048036038101906101ee919061250f565b610724565b604051610200919061256a565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190612585565b610747565b005b34801561023e57600080fd5b5061025960048036038101906102549190612585565b610863565b005b34801561026757600080fd5b506102706108fc565b60405161027d91906125c1565b60405180910390f35b34801561029257600080fd5b506102ad60048036038101906102a891906125dc565b610914565b6040516102ba919061256a565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e59190612585565b610943565b6040516102f7919061256a565b60405180910390f35b34801561030c57600080fd5b50610315610963565b604051610322919061264b565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d919061250f565b61096c565b005b34801561036057600080fd5b5061037b60048036038101906103769190612666565b610a05565b005b610397600480360381019061039291906127c8565b610a19565b005b3480156103a557600080fd5b506103ae610a38565b6040516103bb919061283d565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190612585565b610a6b565b6040516103f8919061256a565b60405180910390f35b34801561040d57600080fd5b5061042860048036038101906104239190612585565b610ac1565b005b34801561043657600080fd5b50610451600480360381019061044c9190612585565b610b5a565b60405161045e91906125c1565b60405180910390f35b34801561047357600080fd5b5061047c610bb1565b005b34801561048a57600080fd5b506104a560048036038101906104a0919061250f565b610bc5565b005b3480156104b357600080fd5b506104bc610be5565b6040516104c99190612867565b60405180910390f35b3480156104de57600080fd5b506104e7610c1d565b6040516104f49190612445565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f919061250f565b610cbe565b604051610531919061256a565b60405180910390f35b34801561054657600080fd5b5061054f610ce1565b60405161055c9190612445565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190612585565b610d1a565b005b34801561059a57600080fd5b506105b560048036038101906105b09190612882565b610f2d565b6040516105c291906125c1565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190612585565b610fc2565b6040516105ff919061256a565b60405180910390f35b34801561061457600080fd5b5061062f600480360381019061062a9190612585565b610fe2565b005b34801561063d57600080fd5b5061065860048036038101906106539190612585565b6110ff565b005b34801561066657600080fd5b50610681600480360381019061067c9190612585565b611185565b005b6060600061068f6112bc565b90508060030180546106a0906128f1565b80601f01602080910402602001604051908101604052809291908181526020018280546106cc906128f1565b80156107195780601f106106ee57610100808354040283529160200191610719565b820191906000526020600020905b8154815290600101906020018083116106fc57829003601f168201915b505050505091505090565b60008061072f6112e4565b905061073c8185856112ec565b600191505092915050565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c990612994565b60405180910390fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc816040516108589190612867565b60405180910390a150565b61086b6112fe565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f3137a7fedbfedb7895dfa5a6812a4566dae9ded68d00aeec13c6ed1fa84a1c80816040516108f19190612867565b60405180910390a150565b6000806109076112bc565b9050806002015491505090565b60008061091f6112e4565b905061092c858285611385565b610937858585611419565b60019150509392505050565b60006020528060005260406000206000915054906101000a900460ff1681565b60006012905090565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ee90612994565b60405180910390fd5b610a01828261150d565b5050565b610a16610a106112e4565b8261158f565b50565b610a21611611565b610a2a826116f7565b610a348282611702565b5050565b6000610a42611821565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b905090565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610ac96112fe565b60016000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f7849194239ab1d31b991b5436d81370256505cf25eaafbcccbc66acd1189691681604051610b4f9190612867565b60405180910390a150565b600080610b656112bc565b90508060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054915050919050565b610bb96112fe565b610bc360006118a8565b565b610bd782610bd16112e4565b83611385565b610be1828261158f565b5050565b600080610bf061197f565b90508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b60606000610c296112bc565b9050806004018054610c3a906128f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c66906128f1565b8015610cb35780601f10610c8857610100808354040283529160200191610cb3565b820191906000526020600020905b815481529060010190602001808311610c9657829003601f168201915b505050505091505090565b600080610cc96112e4565b9050610cd6818585611419565b600191505092915050565b6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6000610d246119a7565b905060008160000160089054906101000a900460ff1615905060008260000160009054906101000a900467ffffffffffffffff1690506000808267ffffffffffffffff16148015610d725750825b9050600060018367ffffffffffffffff16148015610da7575060003073ffffffffffffffffffffffffffffffffffffffff163b145b905081158015610db5575080155b15610dec576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018560000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508315610e3c5760018560000160086101000a81548160ff0219169083151502179055505b610eb06040518060400160405280601181526020017f5377616e20436f6d7075746520556e69740000000000000000000000000000008152506040518060400160405280600581526020017f5357414e550000000000000000000000000000000000000000000000000000008152506119cf565b610eb86119e5565b610ec1866119ef565b610ec9611a03565b8315610f255760008560000160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d26001604051610f1c9190612a0d565b60405180910390a15b505050505050565b600080610f386112bc565b90508060010160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491505092915050565b60016020528060005260406000206000915054906101000a900460ff1681565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661106d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106490612994565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c816040516110f49190612867565b60405180910390a150565b6111076112fe565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111795760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016111709190612867565b60405180910390fd5b611182816118a8565b50565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790612994565b60405180910390fd5b600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661126657600080fd5b600061127182610b5a565b905061127f82600083611a0d565b7f61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c682826040516112b0929190612a28565b60405180910390a15050565b60007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00905090565b600033905090565b6112f98383836001611c4c565b505050565b6113066112e4565b73ffffffffffffffffffffffffffffffffffffffff16611324610be5565b73ffffffffffffffffffffffffffffffffffffffff1614611383576113476112e4565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161137a9190612867565b60405180910390fd5b565b60006113918484610f2d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114135781811015611403578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016113fa93929190612a51565b60405180910390fd5b61141284848484036000611c4c565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361148b5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016114829190612867565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114fd5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016114f49190612867565b60405180910390fd5b611508838383611e32565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361157f5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016115769190612867565b60405180910390fd5b61158b60008383611e32565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116015760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016115f89190612867565b60405180910390fd5b61160d82600083611e32565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614806116be57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166116a5611f5c565b73ffffffffffffffffffffffffffffffffffffffff1614155b156116f5576040517fe07c8dba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6116ff6112fe565b50565b8173ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561176a57506040513d601f19601f820116820180604052508101906117679190612ab4565b60015b6117ab57816040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526004016117a29190612867565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b811461181257806040517faa1d49a4000000000000000000000000000000000000000000000000000000008152600401611809919061283d565b60405180910390fd5b61181c8383611fb3565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16146118a6576040517fe07c8dba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60006118b261197f565b905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050828260000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050565b60007f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300905090565b60007ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b6119d7612026565b6119e18282612066565b5050565b6119ed612026565b565b6119f7612026565b611a00816120a3565b50565b611a0b612026565b565b6000611a176112bc565b9050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a6d5781816002016000828254611a619190612b10565b92505081905550611b46565b60008160000160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611afc578481846040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611af393929190612a51565b60405180910390fd5b8281038260000160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b9157818160020160008282540392505081905550611be1565b818160000160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c3e91906125c1565b60405180910390a350505050565b6000611c566112bc565b9050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611cca5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401611cc19190612867565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d3c5760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401611d339190612867565b60405180910390fd5b828160010160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508115611e2b578373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051611e2291906125c1565b60405180910390a35b5050505050565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb690612b90565b60405180910390fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4390612bfc565b60405180910390fd5b611f57838383611a0d565b505050565b6000611f8a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b612129565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611fbc82612133565b8173ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a2600081511115612019576120138282612200565b50612022565b612021612284565b5b5050565b61202e6122c1565b612064576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61206e612026565b60006120786112bc565b90508281600301908161208b9190612dbe565b508181600401908161209d9190612dbe565b50505050565b6120ab612026565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361211d5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016121149190612867565b60405180910390fd5b612126816118a8565b50565b6000819050919050565b60008173ffffffffffffffffffffffffffffffffffffffff163b0361218f57806040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526004016121869190612867565b60405180910390fd5b806121bc7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b612129565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606000808473ffffffffffffffffffffffffffffffffffffffff168460405161222a9190612ed7565b600060405180830381855af49150503d8060008114612265576040519150601f19603f3d011682016040523d82523d6000602084013e61226a565b606091505b509150915061227a8583836122e1565b9250505092915050565b60003411156122bf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60006122cb6119a7565b60000160089054906101000a900460ff16905090565b6060826122f6576122f182612370565b612368565b6000825114801561231e575060008473ffffffffffffffffffffffffffffffffffffffff163b145b1561236057836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016123579190612867565b60405180910390fd5b819050612369565b5b9392505050565b6000815111156123835780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b838110156123ef5780820151818401526020810190506123d4565b60008484015250505050565b6000601f19601f8301169050919050565b6000612417826123b5565b61242181856123c0565b93506124318185602086016123d1565b61243a816123fb565b840191505092915050565b6000602082019050818103600083015261245f818461240c565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124a68261247b565b9050919050565b6124b68161249b565b81146124c157600080fd5b50565b6000813590506124d3816124ad565b92915050565b6000819050919050565b6124ec816124d9565b81146124f757600080fd5b50565b600081359050612509816124e3565b92915050565b6000806040838503121561252657612525612471565b5b6000612534858286016124c4565b9250506020612545858286016124fa565b9150509250929050565b60008115159050919050565b6125648161254f565b82525050565b600060208201905061257f600083018461255b565b92915050565b60006020828403121561259b5761259a612471565b5b60006125a9848285016124c4565b91505092915050565b6125bb816124d9565b82525050565b60006020820190506125d660008301846125b2565b92915050565b6000806000606084860312156125f5576125f4612471565b5b6000612603868287016124c4565b9350506020612614868287016124c4565b9250506040612625868287016124fa565b9150509250925092565b600060ff82169050919050565b6126458161262f565b82525050565b6000602082019050612660600083018461263c565b92915050565b60006020828403121561267c5761267b612471565b5b600061268a848285016124fa565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6126d5826123fb565b810181811067ffffffffffffffff821117156126f4576126f361269d565b5b80604052505050565b6000612707612467565b905061271382826126cc565b919050565b600067ffffffffffffffff8211156127335761273261269d565b5b61273c826123fb565b9050602081019050919050565b82818337600083830152505050565b600061276b61276684612718565b6126fd565b90508281526020810184848401111561278757612786612698565b5b612792848285612749565b509392505050565b600082601f8301126127af576127ae612693565b5b81356127bf848260208601612758565b91505092915050565b600080604083850312156127df576127de612471565b5b60006127ed858286016124c4565b925050602083013567ffffffffffffffff81111561280e5761280d612476565b5b61281a8582860161279a565b9150509250929050565b6000819050919050565b61283781612824565b82525050565b6000602082019050612852600083018461282e565b92915050565b6128618161249b565b82525050565b600060208201905061287c6000830184612858565b92915050565b6000806040838503121561289957612898612471565b5b60006128a7858286016124c4565b92505060206128b8858286016124c4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061290957607f821691505b60208210810361291c5761291b6128c2565b5b50919050565b7f4f6e6c79207468652061646d696e2063616e2063616c6c20746869732066756e60008201527f6374696f6e2e0000000000000000000000000000000000000000000000000000602082015250565b600061297e6026836123c0565b915061298982612922565b604082019050919050565b600060208201905081810360008301526129ad81612971565b9050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b6000819050919050565b60006129f76129f26129ed846129b4565b6129d2565b6129be565b9050919050565b612a07816129dc565b82525050565b6000602082019050612a2260008301846129fe565b92915050565b6000604082019050612a3d6000830185612858565b612a4a60208301846125b2565b9392505050565b6000606082019050612a666000830186612858565b612a7360208301856125b2565b612a8060408301846125b2565b949350505050565b612a9181612824565b8114612a9c57600080fd5b50565b600081519050612aae81612a88565b92915050565b600060208284031215612aca57612ac9612471565b5b6000612ad884828501612a9f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612b1b826124d9565b9150612b26836124d9565b9250828201905080821115612b3e57612b3d612ae1565b5b92915050565b7f53656e64657220697320626c61636b6c69737465640000000000000000000000600082015250565b6000612b7a6015836123c0565b9150612b8582612b44565b602082019050919050565b60006020820190508181036000830152612ba981612b6d565b9050919050565b7f526563697069656e7420697320626c61636b6c69737465640000000000000000600082015250565b6000612be66018836123c0565b9150612bf182612bb0565b602082019050919050565b60006020820190508181036000830152612c1581612bd9565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612c7e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612c41565b612c888683612c41565b95508019841693508086168417925050509392505050565b6000612cbb612cb6612cb1846124d9565b6129d2565b6124d9565b9050919050565b6000819050919050565b612cd583612ca0565b612ce9612ce182612cc2565b848454612c4e565b825550505050565b600090565b612cfe612cf1565b612d09818484612ccc565b505050565b5b81811015612d2d57612d22600082612cf6565b600181019050612d0f565b5050565b601f821115612d7257612d4381612c1c565b612d4c84612c31565b81016020851015612d5b578190505b612d6f612d6785612c31565b830182612d0e565b50505b505050565b600082821c905092915050565b6000612d9560001984600802612d77565b1980831691505092915050565b6000612dae8383612d84565b9150826002028217905092915050565b612dc7826123b5565b67ffffffffffffffff811115612de057612ddf61269d565b5b612dea82546128f1565b612df5828285612d31565b600060209050601f831160018114612e285760008415612e16578287015190505b612e208582612da2565b865550612e88565b601f198416612e3686612c1c565b60005b82811015612e5e57848901518255600182019150602085019450602081019050612e39565b86831015612e7b5784890151612e77601f891682612d84565b8355505b6001600288020188555050505b505050505050565b600081519050919050565b600081905092915050565b6000612eb182612e90565b612ebb8185612e9b565b9350612ecb8185602086016123d1565b80840191505092915050565b6000612ee38284612ea6565b91508190509291505056fea2646970667358221220bf40e231756f174238770ef01f00143a46786f0a203ab801ad152baf2ac7c22164736f6c63430008190033",
}
TokenMetaData contains all meta data concerning the Token contract.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Stub)
func WithCollateralContract ¶ added in v0.6.2
func WithPrivateKey ¶
func WithPublicKey ¶
type Token ¶ added in v0.6.0
type Token struct { TokenCaller // Read-only binding to the contract TokenTransactor // Write-only binding to the contract TokenFilterer // Log filterer for contract events }
Token is an auto generated Go binding around an Ethereum contract.
func DeployToken ¶ added in v0.6.0
func DeployToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Token, error)
DeployToken deploys a new Ethereum contract, binding an instance of Token to it.
type TokenAddedAdmin ¶ added in v0.7.0
type TokenAddedAdmin struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
TokenAddedAdmin represents a AddedAdmin event raised by the Token contract.
type TokenAddedAdminIterator ¶ added in v0.7.0
type TokenAddedAdminIterator struct { Event *TokenAddedAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenAddedAdminIterator is returned from FilterAddedAdmin and is used to iterate over the raw logs and unpacked data for AddedAdmin events raised by the Token contract.
func (*TokenAddedAdminIterator) Close ¶ added in v0.7.0
func (it *TokenAddedAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenAddedAdminIterator) Error ¶ added in v0.7.0
func (it *TokenAddedAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenAddedAdminIterator) Next ¶ added in v0.7.0
func (it *TokenAddedAdminIterator) 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 TokenAddedBlackList ¶ added in v0.7.0
type TokenAddedBlackList struct { User common.Address Raw types.Log // Blockchain specific contextual infos }
TokenAddedBlackList represents a AddedBlackList event raised by the Token contract.
type TokenAddedBlackListIterator ¶ added in v0.7.0
type TokenAddedBlackListIterator struct { Event *TokenAddedBlackList // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenAddedBlackListIterator is returned from FilterAddedBlackList and is used to iterate over the raw logs and unpacked data for AddedBlackList events raised by the Token contract.
func (*TokenAddedBlackListIterator) Close ¶ added in v0.7.0
func (it *TokenAddedBlackListIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenAddedBlackListIterator) Error ¶ added in v0.7.0
func (it *TokenAddedBlackListIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenAddedBlackListIterator) Next ¶ added in v0.7.0
func (it *TokenAddedBlackListIterator) 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 TokenApproval ¶ added in v0.6.0
type TokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenApproval represents a Approval event raised by the Token contract.
type TokenApprovalIterator ¶ added in v0.6.0
type TokenApprovalIterator struct { Event *TokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token contract.
func (*TokenApprovalIterator) Close ¶ added in v0.6.0
func (it *TokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenApprovalIterator) Error ¶ added in v0.6.0
func (it *TokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenApprovalIterator) Next ¶ added in v0.6.0
func (it *TokenApprovalIterator) 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 TokenCaller ¶ added in v0.6.0
type TokenCaller struct {
// contains filtered or unexported fields
}
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenCaller ¶ added in v0.6.0
func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
func (*TokenCaller) Allowance ¶ added in v0.6.0
func (_Token *TokenCaller) 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)
func (*TokenCaller) BalanceOf ¶ added in v0.6.0
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*TokenCaller) Decimals ¶ added in v0.6.0
func (_Token *TokenCaller) 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 (*TokenCaller) GetBlackListStatus ¶ added in v0.7.0
func (_Token *TokenCaller) 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 (*TokenCaller) IsAdmin ¶ added in v0.7.0
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address ) view returns(bool)
func (*TokenCaller) IsBlackListed ¶ added in v0.7.0
IsBlackListed is a free data retrieval call binding the contract method 0xe47d6060.
Solidity: function isBlackListed(address ) view returns(bool)
func (*TokenCaller) Name ¶ added in v0.6.0
func (_Token *TokenCaller) 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 (*TokenCaller) Owner ¶ added in v0.6.0
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenCaller) ProxiableUUID ¶ added in v0.6.0
func (_Token *TokenCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*TokenCaller) Symbol ¶ added in v0.6.0
func (_Token *TokenCaller) 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 (*TokenCaller) TotalSupply ¶ added in v0.6.0
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenCaller) UPGRADEINTERFACEVERSION ¶ added in v0.7.0
func (_Token *TokenCaller) UPGRADEINTERFACEVERSION(opts *bind.CallOpts) (string, error)
UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.
Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)
type TokenCallerRaw ¶ added in v0.6.0
type TokenCallerRaw struct {
Contract *TokenCaller // Generic read-only contract binding to access the raw methods on
}
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenCallerRaw) Call ¶ added in v0.6.0
func (_Token *TokenCallerRaw) 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 TokenCallerSession ¶ added in v0.6.0
type TokenCallerSession struct { Contract *TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenCallerSession) Allowance ¶ added in v0.6.0
func (_Token *TokenCallerSession) 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)
func (*TokenCallerSession) BalanceOf ¶ added in v0.6.0
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*TokenCallerSession) Decimals ¶ added in v0.6.0
func (_Token *TokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenCallerSession) GetBlackListStatus ¶ added in v0.7.0
func (_Token *TokenCallerSession) 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 (*TokenCallerSession) IsAdmin ¶ added in v0.7.0
func (_Token *TokenCallerSession) IsAdmin(arg0 common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address ) view returns(bool)
func (*TokenCallerSession) IsBlackListed ¶ added in v0.7.0
func (_Token *TokenCallerSession) 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 (*TokenCallerSession) Name ¶ added in v0.6.0
func (_Token *TokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenCallerSession) Owner ¶ added in v0.6.0
func (_Token *TokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenCallerSession) ProxiableUUID ¶ added in v0.6.0
func (_Token *TokenCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*TokenCallerSession) Symbol ¶ added in v0.6.0
func (_Token *TokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenCallerSession) TotalSupply ¶ added in v0.6.0
func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenCallerSession) UPGRADEINTERFACEVERSION ¶ added in v0.7.0
func (_Token *TokenCallerSession) UPGRADEINTERFACEVERSION() (string, error)
UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.
Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)
type TokenDestroyedBlackFunds ¶ added in v0.7.0
type TokenDestroyedBlackFunds struct { BlackListedUser common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenDestroyedBlackFunds represents a DestroyedBlackFunds event raised by the Token contract.
type TokenDestroyedBlackFundsIterator ¶ added in v0.7.0
type TokenDestroyedBlackFundsIterator struct { Event *TokenDestroyedBlackFunds // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenDestroyedBlackFundsIterator is returned from FilterDestroyedBlackFunds and is used to iterate over the raw logs and unpacked data for DestroyedBlackFunds events raised by the Token contract.
func (*TokenDestroyedBlackFundsIterator) Close ¶ added in v0.7.0
func (it *TokenDestroyedBlackFundsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenDestroyedBlackFundsIterator) Error ¶ added in v0.7.0
func (it *TokenDestroyedBlackFundsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenDestroyedBlackFundsIterator) Next ¶ added in v0.7.0
func (it *TokenDestroyedBlackFundsIterator) 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 TokenFilterer ¶ added in v0.6.0
type TokenFilterer struct {
// contains filtered or unexported fields
}
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenFilterer ¶ added in v0.6.0
func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
func (*TokenFilterer) FilterAddedAdmin ¶ added in v0.7.0
func (_Token *TokenFilterer) FilterAddedAdmin(opts *bind.FilterOpts) (*TokenAddedAdminIterator, error)
FilterAddedAdmin is a free log retrieval operation binding the contract event 0x7849194239ab1d31b991b5436d81370256505cf25eaafbcccbc66acd11896916.
Solidity: event AddedAdmin(address _admin)
func (*TokenFilterer) FilterAddedBlackList ¶ added in v0.7.0
func (_Token *TokenFilterer) FilterAddedBlackList(opts *bind.FilterOpts) (*TokenAddedBlackListIterator, error)
FilterAddedBlackList is a free log retrieval operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.
Solidity: event AddedBlackList(address _user)
func (*TokenFilterer) FilterApproval ¶ added in v0.6.0
func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, 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 (*TokenFilterer) FilterDestroyedBlackFunds ¶ added in v0.7.0
func (_Token *TokenFilterer) FilterDestroyedBlackFunds(opts *bind.FilterOpts) (*TokenDestroyedBlackFundsIterator, error)
FilterDestroyedBlackFunds is a free log retrieval operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.
Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)
func (*TokenFilterer) FilterInitialized ¶ added in v0.6.0
func (_Token *TokenFilterer) FilterInitialized(opts *bind.FilterOpts) (*TokenInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TokenFilterer) FilterOwnershipTransferred ¶ added in v0.6.0
func (_Token *TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) FilterRemovedAdmin ¶ added in v0.7.0
func (_Token *TokenFilterer) FilterRemovedAdmin(opts *bind.FilterOpts) (*TokenRemovedAdminIterator, error)
FilterRemovedAdmin is a free log retrieval operation binding the contract event 0x3137a7fedbfedb7895dfa5a6812a4566dae9ded68d00aeec13c6ed1fa84a1c80.
Solidity: event RemovedAdmin(address _admin)
func (*TokenFilterer) FilterRemovedBlackList ¶ added in v0.7.0
func (_Token *TokenFilterer) FilterRemovedBlackList(opts *bind.FilterOpts) (*TokenRemovedBlackListIterator, error)
FilterRemovedBlackList is a free log retrieval operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.
Solidity: event RemovedBlackList(address _user)
func (*TokenFilterer) FilterTransfer ¶ added in v0.6.0
func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, 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 (*TokenFilterer) FilterUpgraded ¶ added in v0.6.0
func (_Token *TokenFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*TokenUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*TokenFilterer) ParseAddedAdmin ¶ added in v0.7.0
func (_Token *TokenFilterer) ParseAddedAdmin(log types.Log) (*TokenAddedAdmin, error)
ParseAddedAdmin is a log parse operation binding the contract event 0x7849194239ab1d31b991b5436d81370256505cf25eaafbcccbc66acd11896916.
Solidity: event AddedAdmin(address _admin)
func (*TokenFilterer) ParseAddedBlackList ¶ added in v0.7.0
func (_Token *TokenFilterer) ParseAddedBlackList(log types.Log) (*TokenAddedBlackList, error)
ParseAddedBlackList is a log parse operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.
Solidity: event AddedBlackList(address _user)
func (*TokenFilterer) ParseApproval ¶ added in v0.6.0
func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*TokenFilterer) ParseDestroyedBlackFunds ¶ added in v0.7.0
func (_Token *TokenFilterer) ParseDestroyedBlackFunds(log types.Log) (*TokenDestroyedBlackFunds, error)
ParseDestroyedBlackFunds is a log parse operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.
Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)
func (*TokenFilterer) ParseInitialized ¶ added in v0.6.0
func (_Token *TokenFilterer) ParseInitialized(log types.Log) (*TokenInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TokenFilterer) ParseOwnershipTransferred ¶ added in v0.6.0
func (_Token *TokenFilterer) ParseOwnershipTransferred(log types.Log) (*TokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) ParseRemovedAdmin ¶ added in v0.7.0
func (_Token *TokenFilterer) ParseRemovedAdmin(log types.Log) (*TokenRemovedAdmin, error)
ParseRemovedAdmin is a log parse operation binding the contract event 0x3137a7fedbfedb7895dfa5a6812a4566dae9ded68d00aeec13c6ed1fa84a1c80.
Solidity: event RemovedAdmin(address _admin)
func (*TokenFilterer) ParseRemovedBlackList ¶ added in v0.7.0
func (_Token *TokenFilterer) ParseRemovedBlackList(log types.Log) (*TokenRemovedBlackList, error)
ParseRemovedBlackList is a log parse operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.
Solidity: event RemovedBlackList(address _user)
func (*TokenFilterer) ParseTransfer ¶ added in v0.6.0
func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*TokenFilterer) ParseUpgraded ¶ added in v0.6.0
func (_Token *TokenFilterer) ParseUpgraded(log types.Log) (*TokenUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*TokenFilterer) WatchAddedAdmin ¶ added in v0.7.0
func (_Token *TokenFilterer) WatchAddedAdmin(opts *bind.WatchOpts, sink chan<- *TokenAddedAdmin) (event.Subscription, error)
WatchAddedAdmin is a free log subscription operation binding the contract event 0x7849194239ab1d31b991b5436d81370256505cf25eaafbcccbc66acd11896916.
Solidity: event AddedAdmin(address _admin)
func (*TokenFilterer) WatchAddedBlackList ¶ added in v0.7.0
func (_Token *TokenFilterer) WatchAddedBlackList(opts *bind.WatchOpts, sink chan<- *TokenAddedBlackList) (event.Subscription, error)
WatchAddedBlackList is a free log subscription operation binding the contract event 0x42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc.
Solidity: event AddedBlackList(address _user)
func (*TokenFilterer) WatchApproval ¶ added in v0.6.0
func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, 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 (*TokenFilterer) WatchDestroyedBlackFunds ¶ added in v0.7.0
func (_Token *TokenFilterer) WatchDestroyedBlackFunds(opts *bind.WatchOpts, sink chan<- *TokenDestroyedBlackFunds) (event.Subscription, error)
WatchDestroyedBlackFunds is a free log subscription operation binding the contract event 0x61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c6.
Solidity: event DestroyedBlackFunds(address _blackListedUser, uint256 _balance)
func (*TokenFilterer) WatchInitialized ¶ added in v0.6.0
func (_Token *TokenFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TokenInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TokenFilterer) WatchOwnershipTransferred ¶ added in v0.6.0
func (_Token *TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenFilterer) WatchRemovedAdmin ¶ added in v0.7.0
func (_Token *TokenFilterer) WatchRemovedAdmin(opts *bind.WatchOpts, sink chan<- *TokenRemovedAdmin) (event.Subscription, error)
WatchRemovedAdmin is a free log subscription operation binding the contract event 0x3137a7fedbfedb7895dfa5a6812a4566dae9ded68d00aeec13c6ed1fa84a1c80.
Solidity: event RemovedAdmin(address _admin)
func (*TokenFilterer) WatchRemovedBlackList ¶ added in v0.7.0
func (_Token *TokenFilterer) WatchRemovedBlackList(opts *bind.WatchOpts, sink chan<- *TokenRemovedBlackList) (event.Subscription, error)
WatchRemovedBlackList is a free log subscription operation binding the contract event 0xd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c.
Solidity: event RemovedBlackList(address _user)
func (*TokenFilterer) WatchTransfer ¶ added in v0.6.0
func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, 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 (*TokenFilterer) WatchUpgraded ¶ added in v0.6.0
func (_Token *TokenFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TokenUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type TokenInitialized ¶ added in v0.6.0
type TokenInitialized struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
TokenInitialized represents a Initialized event raised by the Token contract.
type TokenInitializedIterator ¶ added in v0.6.0
type TokenInitializedIterator struct { Event *TokenInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Token contract.
func (*TokenInitializedIterator) Close ¶ added in v0.6.0
func (it *TokenInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenInitializedIterator) Error ¶ added in v0.6.0
func (it *TokenInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenInitializedIterator) Next ¶ added in v0.6.0
func (it *TokenInitializedIterator) 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 TokenOwnershipTransferred ¶ added in v0.6.0
type TokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenOwnershipTransferred represents a OwnershipTransferred event raised by the Token contract.
type TokenOwnershipTransferredIterator ¶ added in v0.6.0
type TokenOwnershipTransferredIterator struct { Event *TokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Token contract.
func (*TokenOwnershipTransferredIterator) Close ¶ added in v0.6.0
func (it *TokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenOwnershipTransferredIterator) Error ¶ added in v0.6.0
func (it *TokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenOwnershipTransferredIterator) Next ¶ added in v0.6.0
func (it *TokenOwnershipTransferredIterator) 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 TokenRaw ¶ added in v0.6.0
type TokenRaw struct {
Contract *Token // Generic contract binding to access the raw methods on
}
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenRaw) Call ¶ added in v0.6.0
func (_Token *TokenRaw) 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 (*TokenRaw) Transact ¶ added in v0.6.0
func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenRaw) Transfer ¶ added in v0.6.0
func (_Token *TokenRaw) 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 TokenRemovedAdmin ¶ added in v0.7.0
type TokenRemovedAdmin struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
TokenRemovedAdmin represents a RemovedAdmin event raised by the Token contract.
type TokenRemovedAdminIterator ¶ added in v0.7.0
type TokenRemovedAdminIterator struct { Event *TokenRemovedAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenRemovedAdminIterator is returned from FilterRemovedAdmin and is used to iterate over the raw logs and unpacked data for RemovedAdmin events raised by the Token contract.
func (*TokenRemovedAdminIterator) Close ¶ added in v0.7.0
func (it *TokenRemovedAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenRemovedAdminIterator) Error ¶ added in v0.7.0
func (it *TokenRemovedAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenRemovedAdminIterator) Next ¶ added in v0.7.0
func (it *TokenRemovedAdminIterator) 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 TokenRemovedBlackList ¶ added in v0.7.0
type TokenRemovedBlackList struct { User common.Address Raw types.Log // Blockchain specific contextual infos }
TokenRemovedBlackList represents a RemovedBlackList event raised by the Token contract.
type TokenRemovedBlackListIterator ¶ added in v0.7.0
type TokenRemovedBlackListIterator struct { Event *TokenRemovedBlackList // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenRemovedBlackListIterator is returned from FilterRemovedBlackList and is used to iterate over the raw logs and unpacked data for RemovedBlackList events raised by the Token contract.
func (*TokenRemovedBlackListIterator) Close ¶ added in v0.7.0
func (it *TokenRemovedBlackListIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenRemovedBlackListIterator) Error ¶ added in v0.7.0
func (it *TokenRemovedBlackListIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenRemovedBlackListIterator) Next ¶ added in v0.7.0
func (it *TokenRemovedBlackListIterator) 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 TokenSession ¶ added in v0.6.0
type TokenSession struct { Contract *Token // 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 }
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenSession) AddAdmin ¶ added in v0.7.0
func (_Token *TokenSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address newAdmin) returns()
func (*TokenSession) AddBlackList ¶ added in v0.7.0
func (_Token *TokenSession) 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 (*TokenSession) Allowance ¶ added in v0.6.0
func (_Token *TokenSession) 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)
func (*TokenSession) Approve ¶ added in v0.6.0
func (_Token *TokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*TokenSession) BalanceOf ¶ added in v0.6.0
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*TokenSession) Burn ¶ added in v0.7.0
func (_Token *TokenSession) Burn(value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns()
func (*TokenSession) BurnFrom ¶ added in v0.7.0
func (_Token *TokenSession) BurnFrom(account common.Address, value *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 value) returns()
func (*TokenSession) Decimals ¶ added in v0.6.0
func (_Token *TokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenSession) DestroyBlackFunds ¶ added in v0.7.0
func (_Token *TokenSession) 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 (*TokenSession) GetBlackListStatus ¶ added in v0.7.0
func (_Token *TokenSession) 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 (*TokenSession) Initialize ¶ added in v0.6.0
func (_Token *TokenSession) Initialize(initialOwner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address initialOwner) returns()
func (*TokenSession) IsAdmin ¶ added in v0.7.0
func (_Token *TokenSession) IsAdmin(arg0 common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address ) view returns(bool)
func (*TokenSession) IsBlackListed ¶ added in v0.7.0
func (_Token *TokenSession) 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 (*TokenSession) Mint ¶ added in v0.7.0
func (_Token *TokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*TokenSession) Name ¶ added in v0.6.0
func (_Token *TokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenSession) Owner ¶ added in v0.6.0
func (_Token *TokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenSession) ProxiableUUID ¶ added in v0.6.0
func (_Token *TokenSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*TokenSession) RemoveAdmin ¶ added in v0.7.0
func (_Token *TokenSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*TokenSession) RemoveBlackList ¶ added in v0.7.0
func (_Token *TokenSession) 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 (*TokenSession) RenounceOwnership ¶ added in v0.6.0
func (_Token *TokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenSession) Symbol ¶ added in v0.6.0
func (_Token *TokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenSession) TotalSupply ¶ added in v0.6.0
func (_Token *TokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenSession) Transfer ¶ added in v0.6.0
func (_Token *TokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*TokenSession) TransferFrom ¶ added in v0.6.0
func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*TokenSession) TransferOwnership ¶ added in v0.6.0
func (_Token *TokenSession) 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 (*TokenSession) UPGRADEINTERFACEVERSION ¶ added in v0.7.0
func (_Token *TokenSession) UPGRADEINTERFACEVERSION() (string, error)
UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.
Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)
func (*TokenSession) UpgradeToAndCall ¶ added in v0.6.0
func (_Token *TokenSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type TokenTransactor ¶ added in v0.6.0
type TokenTransactor struct {
// contains filtered or unexported fields
}
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenTransactor ¶ added in v0.6.0
func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
func (*TokenTransactor) AddAdmin ¶ added in v0.7.0
func (_Token *TokenTransactor) AddAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address newAdmin) returns()
func (*TokenTransactor) AddBlackList ¶ added in v0.7.0
func (_Token *TokenTransactor) 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 (*TokenTransactor) Approve ¶ added in v0.6.0
func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*TokenTransactor) Burn ¶ added in v0.7.0
func (_Token *TokenTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns()
func (*TokenTransactor) BurnFrom ¶ added in v0.7.0
func (_Token *TokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, value *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 value) returns()
func (*TokenTransactor) DestroyBlackFunds ¶ added in v0.7.0
func (_Token *TokenTransactor) 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 (*TokenTransactor) Initialize ¶ added in v0.6.0
func (_Token *TokenTransactor) Initialize(opts *bind.TransactOpts, initialOwner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address initialOwner) returns()
func (*TokenTransactor) Mint ¶ added in v0.7.0
func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*TokenTransactor) RemoveAdmin ¶ added in v0.7.0
func (_Token *TokenTransactor) RemoveAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*TokenTransactor) RemoveBlackList ¶ added in v0.7.0
func (_Token *TokenTransactor) 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 (*TokenTransactor) RenounceOwnership ¶ added in v0.6.0
func (_Token *TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenTransactor) Transfer ¶ added in v0.6.0
func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*TokenTransactor) TransferFrom ¶ added in v0.6.0
func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*TokenTransactor) TransferOwnership ¶ added in v0.6.0
func (_Token *TokenTransactor) 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 (*TokenTransactor) UpgradeToAndCall ¶ added in v0.6.0
func (_Token *TokenTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type TokenTransactorRaw ¶ added in v0.6.0
type TokenTransactorRaw struct {
Contract *TokenTransactor // Generic write-only contract binding to access the raw methods on
}
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenTransactorRaw) Transact ¶ added in v0.6.0
func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenTransactorRaw) Transfer ¶ added in v0.6.0
func (_Token *TokenTransactorRaw) 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 TokenTransactorSession ¶ added in v0.6.0
type TokenTransactorSession struct { Contract *TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenTransactorSession) AddAdmin ¶ added in v0.7.0
func (_Token *TokenTransactorSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address newAdmin) returns()
func (*TokenTransactorSession) AddBlackList ¶ added in v0.7.0
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) Approve ¶ added in v0.6.0
func (_Token *TokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*TokenTransactorSession) Burn ¶ added in v0.7.0
func (_Token *TokenTransactorSession) Burn(value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns()
func (*TokenTransactorSession) BurnFrom ¶ added in v0.7.0
func (_Token *TokenTransactorSession) BurnFrom(account common.Address, value *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 value) returns()
func (*TokenTransactorSession) DestroyBlackFunds ¶ added in v0.7.0
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) Initialize ¶ added in v0.6.0
func (_Token *TokenTransactorSession) Initialize(initialOwner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address initialOwner) returns()
func (*TokenTransactorSession) Mint ¶ added in v0.7.0
func (_Token *TokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*TokenTransactorSession) RemoveAdmin ¶ added in v0.7.0
func (_Token *TokenTransactorSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*TokenTransactorSession) RemoveBlackList ¶ added in v0.7.0
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) RenounceOwnership ¶ added in v0.6.0
func (_Token *TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenTransactorSession) Transfer ¶ added in v0.6.0
func (_Token *TokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*TokenTransactorSession) TransferFrom ¶ added in v0.6.0
func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*TokenTransactorSession) TransferOwnership ¶ added in v0.6.0
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) UpgradeToAndCall ¶ added in v0.6.0
func (_Token *TokenTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type TokenTransfer ¶ added in v0.6.0
type TokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenTransfer represents a Transfer event raised by the Token contract.
type TokenTransferIterator ¶ added in v0.6.0
type TokenTransferIterator struct { Event *TokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.
func (*TokenTransferIterator) Close ¶ added in v0.6.0
func (it *TokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenTransferIterator) Error ¶ added in v0.6.0
func (it *TokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenTransferIterator) Next ¶ added in v0.6.0
func (it *TokenTransferIterator) 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 TokenUpgraded ¶ added in v0.6.0
type TokenUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
TokenUpgraded represents a Upgraded event raised by the Token contract.
type TokenUpgradedIterator ¶ added in v0.6.0
type TokenUpgradedIterator struct { Event *TokenUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Token contract.
func (*TokenUpgradedIterator) Close ¶ added in v0.6.0
func (it *TokenUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenUpgradedIterator) Error ¶ added in v0.6.0
func (it *TokenUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenUpgradedIterator) Next ¶ added in v0.6.0
func (it *TokenUpgradedIterator) 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.