Documentation ¶
Index ¶
- Variables
- type GMT
- type GMTApproval
- type GMTApprovalIterator
- type GMTCaller
- func (_GMT *GMTCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_GMT *GMTCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GMT *GMTCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GMT *GMTCaller) AllowedMsgSenders(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_GMT *GMTCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GMT *GMTCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GMT *GMTCaller) BlockedRecipients(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_GMT *GMTCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_GMT *GMTCaller) Gov(opts *bind.CallOpts) (common.Address, error)
- func (_GMT *GMTCaller) HasActiveMigration(opts *bind.CallOpts) (bool, error)
- func (_GMT *GMTCaller) MigrationTime(opts *bind.CallOpts) (*big.Int, error)
- func (_GMT *GMTCaller) Name(opts *bind.CallOpts) (string, error)
- func (_GMT *GMTCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_GMT *GMTCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type GMTCallerRaw
- type GMTCallerSession
- func (_GMT *GMTCallerSession) Admins(arg0 common.Address) (bool, error)
- func (_GMT *GMTCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GMT *GMTCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GMT *GMTCallerSession) AllowedMsgSenders(arg0 common.Address) (bool, error)
- func (_GMT *GMTCallerSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_GMT *GMTCallerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_GMT *GMTCallerSession) BlockedRecipients(arg0 common.Address) (bool, error)
- func (_GMT *GMTCallerSession) Decimals() (uint8, error)
- func (_GMT *GMTCallerSession) Gov() (common.Address, error)
- func (_GMT *GMTCallerSession) HasActiveMigration() (bool, error)
- func (_GMT *GMTCallerSession) MigrationTime() (*big.Int, error)
- func (_GMT *GMTCallerSession) Name() (string, error)
- func (_GMT *GMTCallerSession) Symbol() (string, error)
- func (_GMT *GMTCallerSession) TotalSupply() (*big.Int, error)
- type GMTFilterer
- func (_GMT *GMTFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GMTApprovalIterator, error)
- func (_GMT *GMTFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GMTTransferIterator, error)
- func (_GMT *GMTFilterer) ParseApproval(log types.Log) (*GMTApproval, error)
- func (_GMT *GMTFilterer) ParseTransfer(log types.Log) (*GMTTransfer, error)
- func (_GMT *GMTFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GMTApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_GMT *GMTFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GMTTransfer, from []common.Address, ...) (event.Subscription, error)
- type GMTRaw
- type GMTSession
- func (_GMT *GMTSession) AddAdmin(_account common.Address) (*types.Transaction, error)
- func (_GMT *GMTSession) AddBlockedRecipient(_recipient common.Address) (*types.Transaction, error)
- func (_GMT *GMTSession) AddMsgSender(_msgSender common.Address) (*types.Transaction, error)
- func (_GMT *GMTSession) Admins(arg0 common.Address) (bool, error)
- func (_GMT *GMTSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GMT *GMTSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GMT *GMTSession) AllowedMsgSenders(arg0 common.Address) (bool, error)
- func (_GMT *GMTSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GMT *GMTSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_GMT *GMTSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_GMT *GMTSession) BeginMigration() (*types.Transaction, error)
- func (_GMT *GMTSession) BlockedRecipients(arg0 common.Address) (bool, error)
- func (_GMT *GMTSession) Decimals() (uint8, error)
- func (_GMT *GMTSession) EndMigration() (*types.Transaction, error)
- func (_GMT *GMTSession) Gov() (common.Address, error)
- func (_GMT *GMTSession) HasActiveMigration() (bool, error)
- func (_GMT *GMTSession) MigrationTime() (*big.Int, error)
- func (_GMT *GMTSession) Name() (string, error)
- func (_GMT *GMTSession) RemoveAdmin(_account common.Address) (*types.Transaction, error)
- func (_GMT *GMTSession) RemoveBlockedRecipient(_recipient common.Address) (*types.Transaction, error)
- func (_GMT *GMTSession) RemoveMsgSender(_msgSender common.Address) (*types.Transaction, error)
- func (_GMT *GMTSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_GMT *GMTSession) SetNextMigrationTime(_migrationTime *big.Int) (*types.Transaction, error)
- func (_GMT *GMTSession) Symbol() (string, error)
- func (_GMT *GMTSession) TotalSupply() (*big.Int, error)
- func (_GMT *GMTSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GMT *GMTSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GMT *GMTSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- type GMTTransactor
- func (_GMT *GMTTransactor) AddAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactor) AddBlockedRecipient(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactor) AddMsgSender(opts *bind.TransactOpts, _msgSender common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GMT *GMTTransactor) BeginMigration(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GMT *GMTTransactor) EndMigration(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GMT *GMTTransactor) RemoveAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactor) RemoveBlockedRecipient(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactor) RemoveMsgSender(opts *bind.TransactOpts, _msgSender common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactor) SetNextMigrationTime(opts *bind.TransactOpts, _migrationTime *big.Int) (*types.Transaction, error)
- func (_GMT *GMTTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GMT *GMTTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, ...) (*types.Transaction, error)
- func (_GMT *GMTTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, ...) (*types.Transaction, error)
- type GMTTransactorRaw
- type GMTTransactorSession
- func (_GMT *GMTTransactorSession) AddAdmin(_account common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) AddBlockedRecipient(_recipient common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) AddMsgSender(_msgSender common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) BeginMigration() (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) EndMigration() (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) RemoveAdmin(_account common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) RemoveBlockedRecipient(_recipient common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) RemoveMsgSender(_msgSender common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) SetNextMigrationTime(_migrationTime *big.Int) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GMT *GMTTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- type GMTTransfer
- type GMTTransferIterator
Constants ¶
This section is empty.
Variables ¶
var GMTABI = GMTMetaData.ABI
GMTABI is the input ABI used to generate the binding from. Deprecated: Use GMTMetaData.ABI instead.
var GMTMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_initialSupply\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addAdmin\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addBlockedRecipient\",\"inputs\":[{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addMsgSender\",\"inputs\":[{\"name\":\"_msgSender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"admins\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowances\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowedMsgSenders\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"balances\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"beginMigration\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"blockedRecipients\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"endMigration\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"gov\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"hasActiveMigration\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"migrationTime\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"removeAdmin\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"removeBlockedRecipient\",\"inputs\":[{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"removeMsgSender\",\"inputs\":[{\"name\":\"_msgSender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setGov\",\"inputs\":[{\"name\":\"_gov\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setNextMigrationTime\",\"inputs\":[{\"name\":\"_migrationTime\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"_sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawToken\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}
GMTMetaData contains all meta data concerning the GMT contract.
Functions ¶
This section is empty.
Types ¶
type GMT ¶
type GMT struct { GMTCaller // Read-only binding to the contract GMTTransactor // Write-only binding to the contract GMTFilterer // Log filterer for contract events }
GMT is an auto generated Go binding around an Ethereum contract.
type GMTApproval ¶
type GMTApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GMTApproval represents a Approval event raised by the GMT contract.
type GMTApprovalIterator ¶
type GMTApprovalIterator struct { Event *GMTApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GMTApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the GMT contract.
func (*GMTApprovalIterator) Close ¶
func (it *GMTApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GMTApprovalIterator) Error ¶
func (it *GMTApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GMTApprovalIterator) Next ¶
func (it *GMTApprovalIterator) 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 GMTCaller ¶
type GMTCaller struct {
// contains filtered or unexported fields
}
GMTCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGMTCaller ¶
NewGMTCaller creates a new read-only instance of GMT, bound to a specific deployed contract.
func (*GMTCaller) Admins ¶
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*GMTCaller) Allowance ¶
func (_GMT *GMTCaller) 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 (*GMTCaller) Allowances ¶
func (_GMT *GMTCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GMTCaller) AllowedMsgSenders ¶
AllowedMsgSenders is a free data retrieval call binding the contract method 0x01d060b0.
Solidity: function allowedMsgSenders(address ) view returns(bool)
func (*GMTCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GMTCaller) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GMTCaller) BlockedRecipients ¶
BlockedRecipients is a free data retrieval call binding the contract method 0x205b10a0.
Solidity: function blockedRecipients(address ) view returns(bool)
func (*GMTCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GMTCaller) Gov ¶
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GMTCaller) HasActiveMigration ¶
HasActiveMigration is a free data retrieval call binding the contract method 0x8fb998e1.
Solidity: function hasActiveMigration() view returns(bool)
func (*GMTCaller) MigrationTime ¶
MigrationTime is a free data retrieval call binding the contract method 0xff61a51c.
Solidity: function migrationTime() view returns(uint256)
func (*GMTCaller) Name ¶
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
type GMTCallerRaw ¶
type GMTCallerRaw struct {
Contract *GMTCaller // Generic read-only contract binding to access the raw methods on
}
GMTCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GMTCallerRaw) Call ¶
func (_GMT *GMTCallerRaw) 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 GMTCallerSession ¶
type GMTCallerSession struct { Contract *GMTCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GMTCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GMTCallerSession) Admins ¶
func (_GMT *GMTCallerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*GMTCallerSession) Allowance ¶
func (_GMT *GMTCallerSession) 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 (*GMTCallerSession) Allowances ¶
func (_GMT *GMTCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GMTCallerSession) AllowedMsgSenders ¶
func (_GMT *GMTCallerSession) AllowedMsgSenders(arg0 common.Address) (bool, error)
AllowedMsgSenders is a free data retrieval call binding the contract method 0x01d060b0.
Solidity: function allowedMsgSenders(address ) view returns(bool)
func (*GMTCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GMTCallerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GMTCallerSession) BlockedRecipients ¶
func (_GMT *GMTCallerSession) BlockedRecipients(arg0 common.Address) (bool, error)
BlockedRecipients is a free data retrieval call binding the contract method 0x205b10a0.
Solidity: function blockedRecipients(address ) view returns(bool)
func (*GMTCallerSession) Decimals ¶
func (_GMT *GMTCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GMTCallerSession) Gov ¶
func (_GMT *GMTCallerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GMTCallerSession) HasActiveMigration ¶
func (_GMT *GMTCallerSession) HasActiveMigration() (bool, error)
HasActiveMigration is a free data retrieval call binding the contract method 0x8fb998e1.
Solidity: function hasActiveMigration() view returns(bool)
func (*GMTCallerSession) MigrationTime ¶
func (_GMT *GMTCallerSession) MigrationTime() (*big.Int, error)
MigrationTime is a free data retrieval call binding the contract method 0xff61a51c.
Solidity: function migrationTime() view returns(uint256)
func (*GMTCallerSession) Name ¶
func (_GMT *GMTCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GMTCallerSession) Symbol ¶
func (_GMT *GMTCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GMTCallerSession) TotalSupply ¶
func (_GMT *GMTCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type GMTFilterer ¶
type GMTFilterer struct {
// contains filtered or unexported fields
}
GMTFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGMTFilterer ¶
func NewGMTFilterer(address common.Address, filterer bind.ContractFilterer) (*GMTFilterer, error)
NewGMTFilterer creates a new log filterer instance of GMT, bound to a specific deployed contract.
func (*GMTFilterer) FilterApproval ¶
func (_GMT *GMTFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GMTApprovalIterator, 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 (*GMTFilterer) FilterTransfer ¶
func (_GMT *GMTFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GMTTransferIterator, 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 (*GMTFilterer) ParseApproval ¶
func (_GMT *GMTFilterer) ParseApproval(log types.Log) (*GMTApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*GMTFilterer) ParseTransfer ¶
func (_GMT *GMTFilterer) ParseTransfer(log types.Log) (*GMTTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*GMTFilterer) WatchApproval ¶
func (_GMT *GMTFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GMTApproval, 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 (*GMTFilterer) WatchTransfer ¶
func (_GMT *GMTFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GMTTransfer, 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)
type GMTRaw ¶
type GMTRaw struct {
Contract *GMT // Generic contract binding to access the raw methods on
}
GMTRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GMTRaw) Call ¶
func (_GMT *GMTRaw) 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 (*GMTRaw) Transact ¶
func (_GMT *GMTRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GMTRaw) Transfer ¶
func (_GMT *GMTRaw) 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 GMTSession ¶
type GMTSession struct { Contract *GMT // 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 }
GMTSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GMTSession) AddAdmin ¶
func (_GMT *GMTSession) AddAdmin(_account common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _account) returns()
func (*GMTSession) AddBlockedRecipient ¶
func (_GMT *GMTSession) AddBlockedRecipient(_recipient common.Address) (*types.Transaction, error)
AddBlockedRecipient is a paid mutator transaction binding the contract method 0xb9952455.
Solidity: function addBlockedRecipient(address _recipient) returns()
func (*GMTSession) AddMsgSender ¶
func (_GMT *GMTSession) AddMsgSender(_msgSender common.Address) (*types.Transaction, error)
AddMsgSender is a paid mutator transaction binding the contract method 0x08ebd96a.
Solidity: function addMsgSender(address _msgSender) returns()
func (*GMTSession) Admins ¶
func (_GMT *GMTSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*GMTSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*GMTSession) Allowances ¶
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GMTSession) AllowedMsgSenders ¶
func (_GMT *GMTSession) AllowedMsgSenders(arg0 common.Address) (bool, error)
AllowedMsgSenders is a free data retrieval call binding the contract method 0x01d060b0.
Solidity: function allowedMsgSenders(address ) view returns(bool)
func (*GMTSession) Approve ¶
func (_GMT *GMTSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GMTSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GMTSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GMTSession) BeginMigration ¶
func (_GMT *GMTSession) BeginMigration() (*types.Transaction, error)
BeginMigration is a paid mutator transaction binding the contract method 0xfe0194f2.
Solidity: function beginMigration() returns()
func (*GMTSession) BlockedRecipients ¶
func (_GMT *GMTSession) BlockedRecipients(arg0 common.Address) (bool, error)
BlockedRecipients is a free data retrieval call binding the contract method 0x205b10a0.
Solidity: function blockedRecipients(address ) view returns(bool)
func (*GMTSession) Decimals ¶
func (_GMT *GMTSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GMTSession) EndMigration ¶
func (_GMT *GMTSession) EndMigration() (*types.Transaction, error)
EndMigration is a paid mutator transaction binding the contract method 0x6c525d04.
Solidity: function endMigration() returns()
func (*GMTSession) Gov ¶
func (_GMT *GMTSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GMTSession) HasActiveMigration ¶
func (_GMT *GMTSession) HasActiveMigration() (bool, error)
HasActiveMigration is a free data retrieval call binding the contract method 0x8fb998e1.
Solidity: function hasActiveMigration() view returns(bool)
func (*GMTSession) MigrationTime ¶
func (_GMT *GMTSession) MigrationTime() (*big.Int, error)
MigrationTime is a free data retrieval call binding the contract method 0xff61a51c.
Solidity: function migrationTime() view returns(uint256)
func (*GMTSession) Name ¶
func (_GMT *GMTSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GMTSession) RemoveAdmin ¶
func (_GMT *GMTSession) RemoveAdmin(_account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _account) returns()
func (*GMTSession) RemoveBlockedRecipient ¶
func (_GMT *GMTSession) RemoveBlockedRecipient(_recipient common.Address) (*types.Transaction, error)
RemoveBlockedRecipient is a paid mutator transaction binding the contract method 0x5ec080fc.
Solidity: function removeBlockedRecipient(address _recipient) returns()
func (*GMTSession) RemoveMsgSender ¶
func (_GMT *GMTSession) RemoveMsgSender(_msgSender common.Address) (*types.Transaction, error)
RemoveMsgSender is a paid mutator transaction binding the contract method 0x4d9567ee.
Solidity: function removeMsgSender(address _msgSender) returns()
func (*GMTSession) SetGov ¶
func (_GMT *GMTSession) SetGov(_gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*GMTSession) SetNextMigrationTime ¶
func (_GMT *GMTSession) SetNextMigrationTime(_migrationTime *big.Int) (*types.Transaction, error)
SetNextMigrationTime is a paid mutator transaction binding the contract method 0xa92c6fae.
Solidity: function setNextMigrationTime(uint256 _migrationTime) returns()
func (*GMTSession) Symbol ¶
func (_GMT *GMTSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GMTSession) TotalSupply ¶
func (_GMT *GMTSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GMTSession) Transfer ¶
func (_GMT *GMTSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GMTSession) TransferFrom ¶
func (_GMT *GMTSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*GMTSession) WithdrawToken ¶
func (_GMT *GMTSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address _token, address _account, uint256 _amount) returns()
type GMTTransactor ¶
type GMTTransactor struct {
// contains filtered or unexported fields
}
GMTTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGMTTransactor ¶
func NewGMTTransactor(address common.Address, transactor bind.ContractTransactor) (*GMTTransactor, error)
NewGMTTransactor creates a new write-only instance of GMT, bound to a specific deployed contract.
func (*GMTTransactor) AddAdmin ¶
func (_GMT *GMTTransactor) AddAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _account) returns()
func (*GMTTransactor) AddBlockedRecipient ¶
func (_GMT *GMTTransactor) AddBlockedRecipient(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
AddBlockedRecipient is a paid mutator transaction binding the contract method 0xb9952455.
Solidity: function addBlockedRecipient(address _recipient) returns()
func (*GMTTransactor) AddMsgSender ¶
func (_GMT *GMTTransactor) AddMsgSender(opts *bind.TransactOpts, _msgSender common.Address) (*types.Transaction, error)
AddMsgSender is a paid mutator transaction binding the contract method 0x08ebd96a.
Solidity: function addMsgSender(address _msgSender) returns()
func (*GMTTransactor) Approve ¶
func (_GMT *GMTTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GMTTransactor) BeginMigration ¶
func (_GMT *GMTTransactor) BeginMigration(opts *bind.TransactOpts) (*types.Transaction, error)
BeginMigration is a paid mutator transaction binding the contract method 0xfe0194f2.
Solidity: function beginMigration() returns()
func (*GMTTransactor) EndMigration ¶
func (_GMT *GMTTransactor) EndMigration(opts *bind.TransactOpts) (*types.Transaction, error)
EndMigration is a paid mutator transaction binding the contract method 0x6c525d04.
Solidity: function endMigration() returns()
func (*GMTTransactor) RemoveAdmin ¶
func (_GMT *GMTTransactor) RemoveAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _account) returns()
func (*GMTTransactor) RemoveBlockedRecipient ¶
func (_GMT *GMTTransactor) RemoveBlockedRecipient(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
RemoveBlockedRecipient is a paid mutator transaction binding the contract method 0x5ec080fc.
Solidity: function removeBlockedRecipient(address _recipient) returns()
func (*GMTTransactor) RemoveMsgSender ¶
func (_GMT *GMTTransactor) RemoveMsgSender(opts *bind.TransactOpts, _msgSender common.Address) (*types.Transaction, error)
RemoveMsgSender is a paid mutator transaction binding the contract method 0x4d9567ee.
Solidity: function removeMsgSender(address _msgSender) returns()
func (*GMTTransactor) SetGov ¶
func (_GMT *GMTTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*GMTTransactor) SetNextMigrationTime ¶
func (_GMT *GMTTransactor) SetNextMigrationTime(opts *bind.TransactOpts, _migrationTime *big.Int) (*types.Transaction, error)
SetNextMigrationTime is a paid mutator transaction binding the contract method 0xa92c6fae.
Solidity: function setNextMigrationTime(uint256 _migrationTime) returns()
func (*GMTTransactor) Transfer ¶
func (_GMT *GMTTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GMTTransactor) TransferFrom ¶
func (_GMT *GMTTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*GMTTransactor) WithdrawToken ¶
func (_GMT *GMTTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address _token, address _account, uint256 _amount) returns()
type GMTTransactorRaw ¶
type GMTTransactorRaw struct {
Contract *GMTTransactor // Generic write-only contract binding to access the raw methods on
}
GMTTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GMTTransactorRaw) Transact ¶
func (_GMT *GMTTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GMTTransactorRaw) Transfer ¶
func (_GMT *GMTTransactorRaw) 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 GMTTransactorSession ¶
type GMTTransactorSession struct { Contract *GMTTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GMTTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GMTTransactorSession) AddAdmin ¶
func (_GMT *GMTTransactorSession) AddAdmin(_account common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _account) returns()
func (*GMTTransactorSession) AddBlockedRecipient ¶
func (_GMT *GMTTransactorSession) AddBlockedRecipient(_recipient common.Address) (*types.Transaction, error)
AddBlockedRecipient is a paid mutator transaction binding the contract method 0xb9952455.
Solidity: function addBlockedRecipient(address _recipient) returns()
func (*GMTTransactorSession) AddMsgSender ¶
func (_GMT *GMTTransactorSession) AddMsgSender(_msgSender common.Address) (*types.Transaction, error)
AddMsgSender is a paid mutator transaction binding the contract method 0x08ebd96a.
Solidity: function addMsgSender(address _msgSender) returns()
func (*GMTTransactorSession) Approve ¶
func (_GMT *GMTTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GMTTransactorSession) BeginMigration ¶
func (_GMT *GMTTransactorSession) BeginMigration() (*types.Transaction, error)
BeginMigration is a paid mutator transaction binding the contract method 0xfe0194f2.
Solidity: function beginMigration() returns()
func (*GMTTransactorSession) EndMigration ¶
func (_GMT *GMTTransactorSession) EndMigration() (*types.Transaction, error)
EndMigration is a paid mutator transaction binding the contract method 0x6c525d04.
Solidity: function endMigration() returns()
func (*GMTTransactorSession) RemoveAdmin ¶
func (_GMT *GMTTransactorSession) RemoveAdmin(_account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _account) returns()
func (*GMTTransactorSession) RemoveBlockedRecipient ¶
func (_GMT *GMTTransactorSession) RemoveBlockedRecipient(_recipient common.Address) (*types.Transaction, error)
RemoveBlockedRecipient is a paid mutator transaction binding the contract method 0x5ec080fc.
Solidity: function removeBlockedRecipient(address _recipient) returns()
func (*GMTTransactorSession) RemoveMsgSender ¶
func (_GMT *GMTTransactorSession) RemoveMsgSender(_msgSender common.Address) (*types.Transaction, error)
RemoveMsgSender is a paid mutator transaction binding the contract method 0x4d9567ee.
Solidity: function removeMsgSender(address _msgSender) returns()
func (*GMTTransactorSession) SetGov ¶
func (_GMT *GMTTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*GMTTransactorSession) SetNextMigrationTime ¶
func (_GMT *GMTTransactorSession) SetNextMigrationTime(_migrationTime *big.Int) (*types.Transaction, error)
SetNextMigrationTime is a paid mutator transaction binding the contract method 0xa92c6fae.
Solidity: function setNextMigrationTime(uint256 _migrationTime) returns()
func (*GMTTransactorSession) Transfer ¶
func (_GMT *GMTTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GMTTransactorSession) TransferFrom ¶
func (_GMT *GMTTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*GMTTransactorSession) WithdrawToken ¶
func (_GMT *GMTTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address _token, address _account, uint256 _amount) returns()
type GMTTransfer ¶
type GMTTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GMTTransfer represents a Transfer event raised by the GMT contract.
type GMTTransferIterator ¶
type GMTTransferIterator struct { Event *GMTTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GMTTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the GMT contract.
func (*GMTTransferIterator) Close ¶
func (it *GMTTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GMTTransferIterator) Error ¶
func (it *GMTTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GMTTransferIterator) Next ¶
func (it *GMTTransferIterator) 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.