tokenv1

package
v0.0.0-...-9394277 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenABI = TokenMetaData.ABI

TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.

View Source
var TokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numberOfSignatures\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requiredSignatures\",\"type\":\"uint256\"}],\"name\":\"InsufficientSignatures\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"AddedOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"txid\",\"type\":\"string\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"removedOwner\",\"type\":\"address\"}],\"name\":\"RemovedOwner\",\"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\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"blockchain_address\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"network\",\"type\":\"string\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"GetSignaturesRequired\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"addOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"remaining\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenOwner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSigners\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_txid\",\"type\":\"string\"}],\"name\":\"isMintID\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"is_owner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"txid\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignature[]\",\"name\":\"_signatures\",\"type\":\"tuple[]\"}],\"name\":\"mintTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owners_list\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_toRemove\",\"type\":\"address\"}],\"name\":\"removeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"newSigners\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"signaturesRequired\",\"type\":\"uint256\"}],\"name\":\"setSigners\",\"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\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_version\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_implementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"blockchain_address\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"network\",\"type\":\"string\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

TokenMetaData contains all meta data concerning the Token contract.

Functions

This section is empty.

Types

type Signature

type Signature struct {
	V uint8
	R [32]byte
	S [32]byte
}

Signature is an auto generated low-level Go binding around an user-defined struct.

type Token

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 NewToken

func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error)

NewToken creates a new instance of Token, bound to a specific deployed contract.

type TokenAddedOwner

type TokenAddedOwner struct {
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

TokenAddedOwner represents a AddedOwner event raised by the Token contract.

type TokenAddedOwnerIterator

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

TokenAddedOwnerIterator is returned from FilterAddedOwner and is used to iterate over the raw logs and unpacked data for AddedOwner events raised by the Token contract.

func (*TokenAddedOwnerIterator) Close

func (it *TokenAddedOwnerIterator) Close() error

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

func (*TokenAddedOwnerIterator) Error

func (it *TokenAddedOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenAddedOwnerIterator) Next

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

type TokenApproval struct {
	TokenOwner common.Address
	Spender    common.Address
	Tokens     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

TokenApproval represents a Approval event raised by the Token contract.

type TokenApprovalIterator

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

func (it *TokenApprovalIterator) Close() error

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

func (*TokenApprovalIterator) Error

func (it *TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenApprovalIterator) Next

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

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

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

func NewTokenCaller

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

func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) view returns(uint256 remaining)

func (*TokenCaller) BalanceOf

func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, tokenOwner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address tokenOwner) view returns(uint256 balance)

func (*TokenCaller) Decimals

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

func (_Token *TokenCaller) GetSignaturesRequired(opts *bind.CallOpts) (*big.Int, error)

GetSignaturesRequired is a free data retrieval call binding the contract method 0xbc3962b5.

Solidity: function GetSignaturesRequired() view returns(uint256)

func (*TokenCaller) GetSigners

func (_Token *TokenCaller) GetSigners(opts *bind.CallOpts) ([]common.Address, error)

GetSigners is a free data retrieval call binding the contract method 0x94cf795e.

Solidity: function getSigners() view returns(address[])

func (*TokenCaller) Implementation

func (_Token *TokenCaller) Implementation(opts *bind.CallOpts) (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*TokenCaller) IsMintID

func (_Token *TokenCaller) IsMintID(opts *bind.CallOpts, _txid string) (bool, error)

IsMintID is a free data retrieval call binding the contract method 0xdd6ad77e.

Solidity: function isMintID(string _txid) view returns(bool)

func (*TokenCaller) IsOwner

func (_Token *TokenCaller) IsOwner(opts *bind.CallOpts, owner common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x0776076f.

Solidity: function is_owner(address owner) view returns(bool)

func (*TokenCaller) Name

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

func (_Token *TokenCaller) OwnersList(opts *bind.CallOpts) ([]common.Address, error)

OwnersList is a free data retrieval call binding the contract method 0xb41a88c0.

Solidity: function owners_list() view returns(address[])

func (*TokenCaller) Symbol

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

func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TokenCaller) Version

func (_Token *TokenCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type TokenCallerRaw

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

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

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

func (_Token *TokenCallerSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) view returns(uint256 remaining)

func (*TokenCallerSession) BalanceOf

func (_Token *TokenCallerSession) BalanceOf(tokenOwner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address tokenOwner) view returns(uint256 balance)

func (*TokenCallerSession) Decimals

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

func (_Token *TokenCallerSession) GetSignaturesRequired() (*big.Int, error)

GetSignaturesRequired is a free data retrieval call binding the contract method 0xbc3962b5.

Solidity: function GetSignaturesRequired() view returns(uint256)

func (*TokenCallerSession) GetSigners

func (_Token *TokenCallerSession) GetSigners() ([]common.Address, error)

GetSigners is a free data retrieval call binding the contract method 0x94cf795e.

Solidity: function getSigners() view returns(address[])

func (*TokenCallerSession) Implementation

func (_Token *TokenCallerSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*TokenCallerSession) IsMintID

func (_Token *TokenCallerSession) IsMintID(_txid string) (bool, error)

IsMintID is a free data retrieval call binding the contract method 0xdd6ad77e.

Solidity: function isMintID(string _txid) view returns(bool)

func (*TokenCallerSession) IsOwner

func (_Token *TokenCallerSession) IsOwner(owner common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x0776076f.

Solidity: function is_owner(address owner) view returns(bool)

func (*TokenCallerSession) Name

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

func (_Token *TokenCallerSession) OwnersList() ([]common.Address, error)

OwnersList is a free data retrieval call binding the contract method 0xb41a88c0.

Solidity: function owners_list() view returns(address[])

func (*TokenCallerSession) Symbol

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

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

func (_Token *TokenCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type TokenFilterer

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

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

func NewTokenFilterer

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

func (_Token *TokenFilterer) FilterAddedOwner(opts *bind.FilterOpts) (*TokenAddedOwnerIterator, error)

FilterAddedOwner is a free log retrieval operation binding the contract event 0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26.

Solidity: event AddedOwner(address newOwner)

func (*TokenFilterer) FilterApproval

func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, tokenOwner []common.Address, spender []common.Address) (*TokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed tokenOwner, address indexed spender, uint256 tokens)

func (*TokenFilterer) FilterMint

func (_Token *TokenFilterer) FilterMint(opts *bind.FilterOpts, receiver []common.Address, txid []string) (*TokenMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7a.

Solidity: event Mint(address indexed receiver, uint256 tokens, string indexed txid)

func (*TokenFilterer) FilterRemovedOwner

func (_Token *TokenFilterer) FilterRemovedOwner(opts *bind.FilterOpts) (*TokenRemovedOwnerIterator, error)

FilterRemovedOwner is a free log retrieval operation binding the contract event 0xf8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf.

Solidity: event RemovedOwner(address removedOwner)

func (*TokenFilterer) FilterTransfer

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

func (*TokenFilterer) FilterUpgraded

func (_Token *TokenFilterer) FilterUpgraded(opts *bind.FilterOpts, version []string, implementation []common.Address) (*TokenUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0x8e05e0e35ff592971ca8b477d4285a33a61ded208d644042667b78693a472f5e.

Solidity: event Upgraded(string indexed version, address indexed implementation)

func (*TokenFilterer) FilterWithdraw

func (_Token *TokenFilterer) FilterWithdraw(opts *bind.FilterOpts, receiver []common.Address) (*TokenWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xbf4bee5506452a156854c54e249d6b04b0cd83287ba208202be81a4f87a55739.

Solidity: event Withdraw(address indexed receiver, uint256 tokens, string blockchain_address, string network)

func (*TokenFilterer) ParseAddedOwner

func (_Token *TokenFilterer) ParseAddedOwner(log types.Log) (*TokenAddedOwner, error)

ParseAddedOwner is a log parse operation binding the contract event 0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26.

Solidity: event AddedOwner(address newOwner)

func (*TokenFilterer) ParseApproval

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 tokenOwner, address indexed spender, uint256 tokens)

func (*TokenFilterer) ParseMint

func (_Token *TokenFilterer) ParseMint(log types.Log) (*TokenMint, error)

ParseMint is a log parse operation binding the contract event 0x85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7a.

Solidity: event Mint(address indexed receiver, uint256 tokens, string indexed txid)

func (*TokenFilterer) ParseRemovedOwner

func (_Token *TokenFilterer) ParseRemovedOwner(log types.Log) (*TokenRemovedOwner, error)

ParseRemovedOwner is a log parse operation binding the contract event 0xf8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf.

Solidity: event RemovedOwner(address removedOwner)

func (*TokenFilterer) ParseTransfer

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

func (*TokenFilterer) ParseUpgraded

func (_Token *TokenFilterer) ParseUpgraded(log types.Log) (*TokenUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0x8e05e0e35ff592971ca8b477d4285a33a61ded208d644042667b78693a472f5e.

Solidity: event Upgraded(string indexed version, address indexed implementation)

func (*TokenFilterer) ParseWithdraw

func (_Token *TokenFilterer) ParseWithdraw(log types.Log) (*TokenWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xbf4bee5506452a156854c54e249d6b04b0cd83287ba208202be81a4f87a55739.

Solidity: event Withdraw(address indexed receiver, uint256 tokens, string blockchain_address, string network)

func (*TokenFilterer) WatchAddedOwner

func (_Token *TokenFilterer) WatchAddedOwner(opts *bind.WatchOpts, sink chan<- *TokenAddedOwner) (event.Subscription, error)

WatchAddedOwner is a free log subscription operation binding the contract event 0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26.

Solidity: event AddedOwner(address newOwner)

func (*TokenFilterer) WatchApproval

func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, tokenOwner []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 tokenOwner, address indexed spender, uint256 tokens)

func (*TokenFilterer) WatchMint

func (_Token *TokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *TokenMint, receiver []common.Address, txid []string) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7a.

Solidity: event Mint(address indexed receiver, uint256 tokens, string indexed txid)

func (*TokenFilterer) WatchRemovedOwner

func (_Token *TokenFilterer) WatchRemovedOwner(opts *bind.WatchOpts, sink chan<- *TokenRemovedOwner) (event.Subscription, error)

WatchRemovedOwner is a free log subscription operation binding the contract event 0xf8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf.

Solidity: event RemovedOwner(address removedOwner)

func (*TokenFilterer) WatchTransfer

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

func (*TokenFilterer) WatchUpgraded

func (_Token *TokenFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TokenUpgraded, version []string, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0x8e05e0e35ff592971ca8b477d4285a33a61ded208d644042667b78693a472f5e.

Solidity: event Upgraded(string indexed version, address indexed implementation)

func (*TokenFilterer) WatchWithdraw

func (_Token *TokenFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *TokenWithdraw, receiver []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xbf4bee5506452a156854c54e249d6b04b0cd83287ba208202be81a4f87a55739.

Solidity: event Withdraw(address indexed receiver, uint256 tokens, string blockchain_address, string network)

type TokenMint

type TokenMint struct {
	Receiver common.Address
	Tokens   *big.Int
	Txid     common.Hash
	Raw      types.Log // Blockchain specific contextual infos
}

TokenMint represents a Mint event raised by the Token contract.

type TokenMintIterator

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

TokenMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Token contract.

func (*TokenMintIterator) Close

func (it *TokenMintIterator) Close() error

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

func (*TokenMintIterator) Error

func (it *TokenMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenMintIterator) Next

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

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

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

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

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 TokenRemovedOwner

type TokenRemovedOwner struct {
	RemovedOwner common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

TokenRemovedOwner represents a RemovedOwner event raised by the Token contract.

type TokenRemovedOwnerIterator

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

TokenRemovedOwnerIterator is returned from FilterRemovedOwner and is used to iterate over the raw logs and unpacked data for RemovedOwner events raised by the Token contract.

func (*TokenRemovedOwnerIterator) Close

func (it *TokenRemovedOwnerIterator) Close() error

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

func (*TokenRemovedOwnerIterator) Error

func (it *TokenRemovedOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenRemovedOwnerIterator) Next

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

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

func (_Token *TokenSession) AddOwner(_newOwner common.Address) (*types.Transaction, error)

AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.

Solidity: function addOwner(address _newOwner) returns()

func (*TokenSession) Allowance

func (_Token *TokenSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) view returns(uint256 remaining)

func (*TokenSession) Approve

func (_Token *TokenSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenSession) BalanceOf

func (_Token *TokenSession) BalanceOf(tokenOwner common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address tokenOwner) view returns(uint256 balance)

func (*TokenSession) Decimals

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

func (_Token *TokenSession) GetSignaturesRequired() (*big.Int, error)

GetSignaturesRequired is a free data retrieval call binding the contract method 0xbc3962b5.

Solidity: function GetSignaturesRequired() view returns(uint256)

func (*TokenSession) GetSigners

func (_Token *TokenSession) GetSigners() ([]common.Address, error)

GetSigners is a free data retrieval call binding the contract method 0x94cf795e.

Solidity: function getSigners() view returns(address[])

func (*TokenSession) Implementation

func (_Token *TokenSession) Implementation() (common.Address, error)

Implementation is a free data retrieval call binding the contract method 0x5c60da1b.

Solidity: function implementation() view returns(address)

func (*TokenSession) IsMintID

func (_Token *TokenSession) IsMintID(_txid string) (bool, error)

IsMintID is a free data retrieval call binding the contract method 0xdd6ad77e.

Solidity: function isMintID(string _txid) view returns(bool)

func (*TokenSession) IsOwner

func (_Token *TokenSession) IsOwner(owner common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x0776076f.

Solidity: function is_owner(address owner) view returns(bool)

func (*TokenSession) MintTokens

func (_Token *TokenSession) MintTokens(receiver common.Address, tokens *big.Int, txid string, _signatures []Signature) (*types.Transaction, error)

MintTokens is a paid mutator transaction binding the contract method 0xf5d124de.

Solidity: function mintTokens(address receiver, uint256 tokens, string txid, (uint8,bytes32,bytes32)[] _signatures) returns()

func (*TokenSession) Name

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

func (_Token *TokenSession) OwnersList() ([]common.Address, error)

OwnersList is a free data retrieval call binding the contract method 0xb41a88c0.

Solidity: function owners_list() view returns(address[])

func (*TokenSession) Receive

func (_Token *TokenSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*TokenSession) RemoveOwner

func (_Token *TokenSession) RemoveOwner(_toRemove common.Address) (*types.Transaction, error)

RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.

Solidity: function removeOwner(address _toRemove) returns()

func (*TokenSession) SetSigners

func (_Token *TokenSession) SetSigners(newSigners []common.Address, signaturesRequired *big.Int) (*types.Transaction, error)

SetSigners is a paid mutator transaction binding the contract method 0xb4368904.

Solidity: function setSigners(address[] newSigners, uint256 signaturesRequired) returns()

func (*TokenSession) Symbol

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

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

func (_Token *TokenSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenSession) TransferFrom

func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenSession) UpgradeTo

func (_Token *TokenSession) UpgradeTo(_version string, _implementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x5a8b1a9f.

Solidity: function upgradeTo(string _version, address _implementation) returns()

func (*TokenSession) Version

func (_Token *TokenSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*TokenSession) Withdraw

func (_Token *TokenSession) Withdraw(tokens *big.Int, blockchain_address string, network string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x9a493e75.

Solidity: function withdraw(uint256 tokens, string blockchain_address, string network) returns(bool success)

type TokenTransactor

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

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

func NewTokenTransactor

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

func (_Token *TokenTransactor) AddOwner(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.

Solidity: function addOwner(address _newOwner) returns()

func (*TokenTransactor) Approve

func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenTransactor) MintTokens

func (_Token *TokenTransactor) MintTokens(opts *bind.TransactOpts, receiver common.Address, tokens *big.Int, txid string, _signatures []Signature) (*types.Transaction, error)

MintTokens is a paid mutator transaction binding the contract method 0xf5d124de.

Solidity: function mintTokens(address receiver, uint256 tokens, string txid, (uint8,bytes32,bytes32)[] _signatures) returns()

func (*TokenTransactor) Receive

func (_Token *TokenTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*TokenTransactor) RemoveOwner

func (_Token *TokenTransactor) RemoveOwner(opts *bind.TransactOpts, _toRemove common.Address) (*types.Transaction, error)

RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.

Solidity: function removeOwner(address _toRemove) returns()

func (*TokenTransactor) SetSigners

func (_Token *TokenTransactor) SetSigners(opts *bind.TransactOpts, newSigners []common.Address, signaturesRequired *big.Int) (*types.Transaction, error)

SetSigners is a paid mutator transaction binding the contract method 0xb4368904.

Solidity: function setSigners(address[] newSigners, uint256 signaturesRequired) returns()

func (*TokenTransactor) Transfer

func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenTransactor) TransferFrom

func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenTransactor) UpgradeTo

func (_Token *TokenTransactor) UpgradeTo(opts *bind.TransactOpts, _version string, _implementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x5a8b1a9f.

Solidity: function upgradeTo(string _version, address _implementation) returns()

func (*TokenTransactor) Withdraw

func (_Token *TokenTransactor) Withdraw(opts *bind.TransactOpts, tokens *big.Int, blockchain_address string, network string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x9a493e75.

Solidity: function withdraw(uint256 tokens, string blockchain_address, string network) returns(bool success)

type TokenTransactorRaw

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

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

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

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

func (_Token *TokenTransactorSession) AddOwner(_newOwner common.Address) (*types.Transaction, error)

AddOwner is a paid mutator transaction binding the contract method 0x7065cb48.

Solidity: function addOwner(address _newOwner) returns()

func (*TokenTransactorSession) Approve

func (_Token *TokenTransactorSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenTransactorSession) MintTokens

func (_Token *TokenTransactorSession) MintTokens(receiver common.Address, tokens *big.Int, txid string, _signatures []Signature) (*types.Transaction, error)

MintTokens is a paid mutator transaction binding the contract method 0xf5d124de.

Solidity: function mintTokens(address receiver, uint256 tokens, string txid, (uint8,bytes32,bytes32)[] _signatures) returns()

func (*TokenTransactorSession) Receive

func (_Token *TokenTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*TokenTransactorSession) RemoveOwner

func (_Token *TokenTransactorSession) RemoveOwner(_toRemove common.Address) (*types.Transaction, error)

RemoveOwner is a paid mutator transaction binding the contract method 0x173825d9.

Solidity: function removeOwner(address _toRemove) returns()

func (*TokenTransactorSession) SetSigners

func (_Token *TokenTransactorSession) SetSigners(newSigners []common.Address, signaturesRequired *big.Int) (*types.Transaction, error)

SetSigners is a paid mutator transaction binding the contract method 0xb4368904.

Solidity: function setSigners(address[] newSigners, uint256 signaturesRequired) returns()

func (*TokenTransactorSession) Transfer

func (_Token *TokenTransactorSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenTransactorSession) TransferFrom

func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

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

func (*TokenTransactorSession) UpgradeTo

func (_Token *TokenTransactorSession) UpgradeTo(_version string, _implementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x5a8b1a9f.

Solidity: function upgradeTo(string _version, address _implementation) returns()

func (*TokenTransactorSession) Withdraw

func (_Token *TokenTransactorSession) Withdraw(tokens *big.Int, blockchain_address string, network string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x9a493e75.

Solidity: function withdraw(uint256 tokens, string blockchain_address, string network) returns(bool success)

type TokenTransfer

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

TokenTransfer represents a Transfer event raised by the Token contract.

type TokenTransferIterator

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

func (it *TokenTransferIterator) Close() error

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

func (*TokenTransferIterator) Error

func (it *TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTransferIterator) Next

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

type TokenUpgraded struct {
	Version        common.Hash
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

TokenUpgraded represents a Upgraded event raised by the Token contract.

type TokenUpgradedIterator

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

func (it *TokenUpgradedIterator) Close() error

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

func (*TokenUpgradedIterator) Error

func (it *TokenUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenUpgradedIterator) Next

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.

type TokenWithdraw

type TokenWithdraw struct {
	Receiver          common.Address
	Tokens            *big.Int
	BlockchainAddress string
	Network           string
	Raw               types.Log // Blockchain specific contextual infos
}

TokenWithdraw represents a Withdraw event raised by the Token contract.

type TokenWithdrawIterator

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

TokenWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Token contract.

func (*TokenWithdrawIterator) Close

func (it *TokenWithdrawIterator) Close() error

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

func (*TokenWithdrawIterator) Error

func (it *TokenWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWithdrawIterator) Next

func (it *TokenWithdrawIterator) Next() bool

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

Jump to

Keyboard shortcuts

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