Documentation ¶
Index ¶
- Variables
- type ERC777Contract
- type ERC777ContractApproval
- type ERC777ContractApprovalIterator
- type ERC777ContractAuthorizedOperator
- type ERC777ContractAuthorizedOperatorIterator
- type ERC777ContractBurned
- type ERC777ContractBurnedIterator
- type ERC777ContractCaller
- func (_ERC777Contract *ERC777ContractCaller) Allowance(opts *bind.CallOpts, holder common.Address, spender common.Address) (*big.Int, error)
- func (_ERC777Contract *ERC777ContractCaller) BalanceOf(opts *bind.CallOpts, tokenHolder common.Address) (*big.Int, error)
- func (_ERC777Contract *ERC777ContractCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC777Contract *ERC777ContractCaller) DefaultOperators(opts *bind.CallOpts) ([]common.Address, error)
- func (_ERC777Contract *ERC777ContractCaller) Granularity(opts *bind.CallOpts) (*big.Int, error)
- func (_ERC777Contract *ERC777ContractCaller) IsOperatorFor(opts *bind.CallOpts, operator common.Address, tokenHolder common.Address) (bool, error)
- func (_ERC777Contract *ERC777ContractCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC777Contract *ERC777ContractCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC777Contract *ERC777ContractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC777ContractCallerRaw
- type ERC777ContractCallerSession
- func (_ERC777Contract *ERC777ContractCallerSession) Allowance(holder common.Address, spender common.Address) (*big.Int, error)
- func (_ERC777Contract *ERC777ContractCallerSession) BalanceOf(tokenHolder common.Address) (*big.Int, error)
- func (_ERC777Contract *ERC777ContractCallerSession) Decimals() (uint8, error)
- func (_ERC777Contract *ERC777ContractCallerSession) DefaultOperators() ([]common.Address, error)
- func (_ERC777Contract *ERC777ContractCallerSession) Granularity() (*big.Int, error)
- func (_ERC777Contract *ERC777ContractCallerSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)
- func (_ERC777Contract *ERC777ContractCallerSession) Name() (string, error)
- func (_ERC777Contract *ERC777ContractCallerSession) Symbol() (string, error)
- func (_ERC777Contract *ERC777ContractCallerSession) TotalSupply() (*big.Int, error)
- type ERC777ContractFilterer
- func (_ERC777Contract *ERC777ContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC777ContractApprovalIterator, error)
- func (_ERC777Contract *ERC777ContractFilterer) FilterAuthorizedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*ERC777ContractAuthorizedOperatorIterator, error)
- func (_ERC777Contract *ERC777ContractFilterer) FilterBurned(opts *bind.FilterOpts, operator []common.Address, from []common.Address) (*ERC777ContractBurnedIterator, error)
- func (_ERC777Contract *ERC777ContractFilterer) FilterMinted(opts *bind.FilterOpts, operator []common.Address, to []common.Address) (*ERC777ContractMintedIterator, error)
- func (_ERC777Contract *ERC777ContractFilterer) FilterRevokedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*ERC777ContractRevokedOperatorIterator, error)
- func (_ERC777Contract *ERC777ContractFilterer) FilterSent(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*ERC777ContractSentIterator, error)
- func (_ERC777Contract *ERC777ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC777ContractTransferIterator, error)
- func (_ERC777Contract *ERC777ContractFilterer) ParseApproval(log types.Log) (*ERC777ContractApproval, error)
- func (_ERC777Contract *ERC777ContractFilterer) ParseAuthorizedOperator(log types.Log) (*ERC777ContractAuthorizedOperator, error)
- func (_ERC777Contract *ERC777ContractFilterer) ParseBurned(log types.Log) (*ERC777ContractBurned, error)
- func (_ERC777Contract *ERC777ContractFilterer) ParseMinted(log types.Log) (*ERC777ContractMinted, error)
- func (_ERC777Contract *ERC777ContractFilterer) ParseRevokedOperator(log types.Log) (*ERC777ContractRevokedOperator, error)
- func (_ERC777Contract *ERC777ContractFilterer) ParseSent(log types.Log) (*ERC777ContractSent, error)
- func (_ERC777Contract *ERC777ContractFilterer) ParseTransfer(log types.Log) (*ERC777ContractTransfer, error)
- func (_ERC777Contract *ERC777ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC777ContractApproval, ...) (event.Subscription, error)
- func (_ERC777Contract *ERC777ContractFilterer) WatchAuthorizedOperator(opts *bind.WatchOpts, sink chan<- *ERC777ContractAuthorizedOperator, ...) (event.Subscription, error)
- func (_ERC777Contract *ERC777ContractFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *ERC777ContractBurned, ...) (event.Subscription, error)
- func (_ERC777Contract *ERC777ContractFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *ERC777ContractMinted, ...) (event.Subscription, error)
- func (_ERC777Contract *ERC777ContractFilterer) WatchRevokedOperator(opts *bind.WatchOpts, sink chan<- *ERC777ContractRevokedOperator, ...) (event.Subscription, error)
- func (_ERC777Contract *ERC777ContractFilterer) WatchSent(opts *bind.WatchOpts, sink chan<- *ERC777ContractSent, ...) (event.Subscription, error)
- func (_ERC777Contract *ERC777ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC777ContractTransfer, ...) (event.Subscription, error)
- type ERC777ContractMinted
- type ERC777ContractMintedIterator
- type ERC777ContractRaw
- func (_ERC777Contract *ERC777ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC777Contract *ERC777ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC777ContractRevokedOperator
- type ERC777ContractRevokedOperatorIterator
- type ERC777ContractSent
- type ERC777ContractSentIterator
- type ERC777ContractSession
- func (_ERC777Contract *ERC777ContractSession) Allowance(holder common.Address, spender common.Address) (*big.Int, error)
- func (_ERC777Contract *ERC777ContractSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractSession) AuthorizeOperator(operator common.Address) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractSession) BalanceOf(tokenHolder common.Address) (*big.Int, error)
- func (_ERC777Contract *ERC777ContractSession) Burn(amount *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractSession) Decimals() (uint8, error)
- func (_ERC777Contract *ERC777ContractSession) DefaultOperators() ([]common.Address, error)
- func (_ERC777Contract *ERC777ContractSession) Granularity() (*big.Int, error)
- func (_ERC777Contract *ERC777ContractSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)
- func (_ERC777Contract *ERC777ContractSession) Name() (string, error)
- func (_ERC777Contract *ERC777ContractSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, ...) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractSession) RevokeOperator(operator common.Address) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractSession) Send(recipient common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractSession) Symbol() (string, error)
- func (_ERC777Contract *ERC777ContractSession) TotalSupply() (*big.Int, error)
- func (_ERC777Contract *ERC777ContractSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractSession) TransferFrom(holder common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC777ContractTransactor
- func (_ERC777Contract *ERC777ContractTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactor) AuthorizeOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactor) Burn(opts *bind.TransactOpts, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactor) OperatorBurn(opts *bind.TransactOpts, account common.Address, amount *big.Int, data []byte, ...) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactor) OperatorSend(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactor) RevokeOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactor) Send(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactor) TransferFrom(opts *bind.TransactOpts, holder common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC777ContractTransactorRaw
- type ERC777ContractTransactorSession
- func (_ERC777Contract *ERC777ContractTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactorSession) AuthorizeOperator(operator common.Address) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactorSession) Burn(amount *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactorSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactorSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, ...) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactorSession) RevokeOperator(operator common.Address) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactorSession) Send(recipient common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC777Contract *ERC777ContractTransactorSession) TransferFrom(holder common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC777ContractTransfer
- type ERC777ContractTransferIterator
Constants ¶
This section is empty.
Variables ¶
var ERC777ContractABI = ERC777ContractMetaData.ABI
ERC777ContractABI is the input ABI used to generate the binding from. Deprecated: Use ERC777ContractMetaData.ABI instead.
var ERC777ContractMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"defaultOperators_\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"AuthorizedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"RevokedOperator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"Sent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"authorizeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"granularity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenHolder\",\"type\":\"address\"}],\"name\":\"isOperatorFor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"operatorBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"operatorData\",\"type\":\"bytes\"}],\"name\":\"operatorSend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"revokeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"send\",\"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\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ERC777ContractMetaData contains all meta data concerning the ERC777Contract contract.
Functions ¶
This section is empty.
Types ¶
type ERC777Contract ¶
type ERC777Contract struct { ERC777ContractCaller // Read-only binding to the contract ERC777ContractTransactor // Write-only binding to the contract ERC777ContractFilterer // Log filterer for contract events }
ERC777Contract is an auto generated Go binding around an Ethereum contract.
func NewERC777Contract ¶
func NewERC777Contract(address common.Address, backend bind.ContractBackend) (*ERC777Contract, error)
NewERC777Contract creates a new instance of ERC777Contract, bound to a specific deployed contract.
type ERC777ContractApproval ¶
type ERC777ContractApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC777ContractApproval represents a Approval event raised by the ERC777Contract contract.
type ERC777ContractApprovalIterator ¶
type ERC777ContractApprovalIterator struct { Event *ERC777ContractApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777ContractApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC777Contract contract.
func (*ERC777ContractApprovalIterator) Close ¶
func (it *ERC777ContractApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777ContractApprovalIterator) Error ¶
func (it *ERC777ContractApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777ContractApprovalIterator) Next ¶
func (it *ERC777ContractApprovalIterator) 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 ERC777ContractAuthorizedOperator ¶
type ERC777ContractAuthorizedOperator struct { Operator common.Address TokenHolder common.Address Raw types.Log // Blockchain specific contextual infos }
ERC777ContractAuthorizedOperator represents a AuthorizedOperator event raised by the ERC777Contract contract.
type ERC777ContractAuthorizedOperatorIterator ¶
type ERC777ContractAuthorizedOperatorIterator struct { Event *ERC777ContractAuthorizedOperator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777ContractAuthorizedOperatorIterator is returned from FilterAuthorizedOperator and is used to iterate over the raw logs and unpacked data for AuthorizedOperator events raised by the ERC777Contract contract.
func (*ERC777ContractAuthorizedOperatorIterator) Close ¶
func (it *ERC777ContractAuthorizedOperatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777ContractAuthorizedOperatorIterator) Error ¶
func (it *ERC777ContractAuthorizedOperatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777ContractAuthorizedOperatorIterator) Next ¶
func (it *ERC777ContractAuthorizedOperatorIterator) 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 ERC777ContractBurned ¶
type ERC777ContractBurned struct { Operator common.Address From common.Address Amount *big.Int Data []byte OperatorData []byte Raw types.Log // Blockchain specific contextual infos }
ERC777ContractBurned represents a Burned event raised by the ERC777Contract contract.
type ERC777ContractBurnedIterator ¶
type ERC777ContractBurnedIterator struct { Event *ERC777ContractBurned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777ContractBurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the ERC777Contract contract.
func (*ERC777ContractBurnedIterator) Close ¶
func (it *ERC777ContractBurnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777ContractBurnedIterator) Error ¶
func (it *ERC777ContractBurnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777ContractBurnedIterator) Next ¶
func (it *ERC777ContractBurnedIterator) 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 ERC777ContractCaller ¶
type ERC777ContractCaller struct {
// contains filtered or unexported fields
}
ERC777ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC777ContractCaller ¶
func NewERC777ContractCaller(address common.Address, caller bind.ContractCaller) (*ERC777ContractCaller, error)
NewERC777ContractCaller creates a new read-only instance of ERC777Contract, bound to a specific deployed contract.
func (*ERC777ContractCaller) Allowance ¶
func (_ERC777Contract *ERC777ContractCaller) Allowance(opts *bind.CallOpts, holder common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address holder, address spender) view returns(uint256)
func (*ERC777ContractCaller) BalanceOf ¶
func (_ERC777Contract *ERC777ContractCaller) BalanceOf(opts *bind.CallOpts, tokenHolder common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address tokenHolder) view returns(uint256)
func (*ERC777ContractCaller) Decimals ¶
func (_ERC777Contract *ERC777ContractCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*ERC777ContractCaller) DefaultOperators ¶
func (_ERC777Contract *ERC777ContractCaller) DefaultOperators(opts *bind.CallOpts) ([]common.Address, error)
DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.
Solidity: function defaultOperators() view returns(address[])
func (*ERC777ContractCaller) Granularity ¶
Granularity is a free data retrieval call binding the contract method 0x556f0dc7.
Solidity: function granularity() view returns(uint256)
func (*ERC777ContractCaller) IsOperatorFor ¶
func (_ERC777Contract *ERC777ContractCaller) IsOperatorFor(opts *bind.CallOpts, operator common.Address, tokenHolder common.Address) (bool, error)
IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.
Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)
func (*ERC777ContractCaller) Name ¶
func (_ERC777Contract *ERC777ContractCaller) 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 (*ERC777ContractCaller) Symbol ¶
func (_ERC777Contract *ERC777ContractCaller) 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 (*ERC777ContractCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC777ContractCallerRaw ¶
type ERC777ContractCallerRaw struct {
Contract *ERC777ContractCaller // Generic read-only contract binding to access the raw methods on
}
ERC777ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC777ContractCallerRaw) Call ¶
func (_ERC777Contract *ERC777ContractCallerRaw) 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 ERC777ContractCallerSession ¶
type ERC777ContractCallerSession struct { Contract *ERC777ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC777ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC777ContractCallerSession) Allowance ¶
func (_ERC777Contract *ERC777ContractCallerSession) Allowance(holder common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address holder, address spender) view returns(uint256)
func (*ERC777ContractCallerSession) BalanceOf ¶
func (_ERC777Contract *ERC777ContractCallerSession) BalanceOf(tokenHolder common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address tokenHolder) view returns(uint256)
func (*ERC777ContractCallerSession) Decimals ¶
func (_ERC777Contract *ERC777ContractCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*ERC777ContractCallerSession) DefaultOperators ¶
func (_ERC777Contract *ERC777ContractCallerSession) DefaultOperators() ([]common.Address, error)
DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.
Solidity: function defaultOperators() view returns(address[])
func (*ERC777ContractCallerSession) Granularity ¶
func (_ERC777Contract *ERC777ContractCallerSession) Granularity() (*big.Int, error)
Granularity is a free data retrieval call binding the contract method 0x556f0dc7.
Solidity: function granularity() view returns(uint256)
func (*ERC777ContractCallerSession) IsOperatorFor ¶
func (_ERC777Contract *ERC777ContractCallerSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)
IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.
Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)
func (*ERC777ContractCallerSession) Name ¶
func (_ERC777Contract *ERC777ContractCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC777ContractCallerSession) Symbol ¶
func (_ERC777Contract *ERC777ContractCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC777ContractCallerSession) TotalSupply ¶
func (_ERC777Contract *ERC777ContractCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC777ContractFilterer ¶
type ERC777ContractFilterer struct {
// contains filtered or unexported fields
}
ERC777ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC777ContractFilterer ¶
func NewERC777ContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC777ContractFilterer, error)
NewERC777ContractFilterer creates a new log filterer instance of ERC777Contract, bound to a specific deployed contract.
func (*ERC777ContractFilterer) FilterApproval ¶
func (_ERC777Contract *ERC777ContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC777ContractApprovalIterator, 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 (*ERC777ContractFilterer) FilterAuthorizedOperator ¶
func (_ERC777Contract *ERC777ContractFilterer) FilterAuthorizedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*ERC777ContractAuthorizedOperatorIterator, error)
FilterAuthorizedOperator is a free log retrieval operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.
Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777ContractFilterer) FilterBurned ¶
func (_ERC777Contract *ERC777ContractFilterer) FilterBurned(opts *bind.FilterOpts, operator []common.Address, from []common.Address) (*ERC777ContractBurnedIterator, error)
FilterBurned is a free log retrieval operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.
Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) FilterMinted ¶
func (_ERC777Contract *ERC777ContractFilterer) FilterMinted(opts *bind.FilterOpts, operator []common.Address, to []common.Address) (*ERC777ContractMintedIterator, error)
FilterMinted is a free log retrieval operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.
Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) FilterRevokedOperator ¶
func (_ERC777Contract *ERC777ContractFilterer) FilterRevokedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*ERC777ContractRevokedOperatorIterator, error)
FilterRevokedOperator is a free log retrieval operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.
Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777ContractFilterer) FilterSent ¶
func (_ERC777Contract *ERC777ContractFilterer) FilterSent(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC777ContractSentIterator, error)
FilterSent is a free log retrieval operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.
Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) FilterTransfer ¶
func (_ERC777Contract *ERC777ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC777ContractTransferIterator, 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 (*ERC777ContractFilterer) ParseApproval ¶
func (_ERC777Contract *ERC777ContractFilterer) ParseApproval(log types.Log) (*ERC777ContractApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC777ContractFilterer) ParseAuthorizedOperator ¶
func (_ERC777Contract *ERC777ContractFilterer) ParseAuthorizedOperator(log types.Log) (*ERC777ContractAuthorizedOperator, error)
ParseAuthorizedOperator is a log parse operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.
Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777ContractFilterer) ParseBurned ¶
func (_ERC777Contract *ERC777ContractFilterer) ParseBurned(log types.Log) (*ERC777ContractBurned, error)
ParseBurned is a log parse operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.
Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) ParseMinted ¶
func (_ERC777Contract *ERC777ContractFilterer) ParseMinted(log types.Log) (*ERC777ContractMinted, error)
ParseMinted is a log parse operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.
Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) ParseRevokedOperator ¶
func (_ERC777Contract *ERC777ContractFilterer) ParseRevokedOperator(log types.Log) (*ERC777ContractRevokedOperator, error)
ParseRevokedOperator is a log parse operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.
Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777ContractFilterer) ParseSent ¶
func (_ERC777Contract *ERC777ContractFilterer) ParseSent(log types.Log) (*ERC777ContractSent, error)
ParseSent is a log parse operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.
Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) ParseTransfer ¶
func (_ERC777Contract *ERC777ContractFilterer) ParseTransfer(log types.Log) (*ERC777ContractTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC777ContractFilterer) WatchApproval ¶
func (_ERC777Contract *ERC777ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC777ContractApproval, 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 (*ERC777ContractFilterer) WatchAuthorizedOperator ¶
func (_ERC777Contract *ERC777ContractFilterer) WatchAuthorizedOperator(opts *bind.WatchOpts, sink chan<- *ERC777ContractAuthorizedOperator, operator []common.Address, tokenHolder []common.Address) (event.Subscription, error)
WatchAuthorizedOperator is a free log subscription operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.
Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777ContractFilterer) WatchBurned ¶
func (_ERC777Contract *ERC777ContractFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *ERC777ContractBurned, operator []common.Address, from []common.Address) (event.Subscription, error)
WatchBurned is a free log subscription operation binding the contract event 0xa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098.
Solidity: event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) WatchMinted ¶
func (_ERC777Contract *ERC777ContractFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *ERC777ContractMinted, operator []common.Address, to []common.Address) (event.Subscription, error)
WatchMinted is a free log subscription operation binding the contract event 0x2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d.
Solidity: event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) WatchRevokedOperator ¶
func (_ERC777Contract *ERC777ContractFilterer) WatchRevokedOperator(opts *bind.WatchOpts, sink chan<- *ERC777ContractRevokedOperator, operator []common.Address, tokenHolder []common.Address) (event.Subscription, error)
WatchRevokedOperator is a free log subscription operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.
Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)
func (*ERC777ContractFilterer) WatchSent ¶
func (_ERC777Contract *ERC777ContractFilterer) WatchSent(opts *bind.WatchOpts, sink chan<- *ERC777ContractSent, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)
WatchSent is a free log subscription operation binding the contract event 0x06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987.
Solidity: event Sent(address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData)
func (*ERC777ContractFilterer) WatchTransfer ¶
func (_ERC777Contract *ERC777ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC777ContractTransfer, 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 ERC777ContractMinted ¶
type ERC777ContractMinted struct { Operator common.Address To common.Address Amount *big.Int Data []byte OperatorData []byte Raw types.Log // Blockchain specific contextual infos }
ERC777ContractMinted represents a Minted event raised by the ERC777Contract contract.
type ERC777ContractMintedIterator ¶
type ERC777ContractMintedIterator struct { Event *ERC777ContractMinted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777ContractMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the ERC777Contract contract.
func (*ERC777ContractMintedIterator) Close ¶
func (it *ERC777ContractMintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777ContractMintedIterator) Error ¶
func (it *ERC777ContractMintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777ContractMintedIterator) Next ¶
func (it *ERC777ContractMintedIterator) 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 ERC777ContractRaw ¶
type ERC777ContractRaw struct {
Contract *ERC777Contract // Generic contract binding to access the raw methods on
}
ERC777ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC777ContractRaw) Call ¶
func (_ERC777Contract *ERC777ContractRaw) 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 (*ERC777ContractRaw) Transact ¶
func (_ERC777Contract *ERC777ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC777ContractRaw) Transfer ¶
func (_ERC777Contract *ERC777ContractRaw) 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 ERC777ContractRevokedOperator ¶
type ERC777ContractRevokedOperator struct { Operator common.Address TokenHolder common.Address Raw types.Log // Blockchain specific contextual infos }
ERC777ContractRevokedOperator represents a RevokedOperator event raised by the ERC777Contract contract.
type ERC777ContractRevokedOperatorIterator ¶
type ERC777ContractRevokedOperatorIterator struct { Event *ERC777ContractRevokedOperator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777ContractRevokedOperatorIterator is returned from FilterRevokedOperator and is used to iterate over the raw logs and unpacked data for RevokedOperator events raised by the ERC777Contract contract.
func (*ERC777ContractRevokedOperatorIterator) Close ¶
func (it *ERC777ContractRevokedOperatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777ContractRevokedOperatorIterator) Error ¶
func (it *ERC777ContractRevokedOperatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777ContractRevokedOperatorIterator) Next ¶
func (it *ERC777ContractRevokedOperatorIterator) 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 ERC777ContractSent ¶
type ERC777ContractSent struct { Operator common.Address From common.Address To common.Address Amount *big.Int Data []byte OperatorData []byte Raw types.Log // Blockchain specific contextual infos }
ERC777ContractSent represents a Sent event raised by the ERC777Contract contract.
type ERC777ContractSentIterator ¶
type ERC777ContractSentIterator struct { Event *ERC777ContractSent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777ContractSentIterator is returned from FilterSent and is used to iterate over the raw logs and unpacked data for Sent events raised by the ERC777Contract contract.
func (*ERC777ContractSentIterator) Close ¶
func (it *ERC777ContractSentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777ContractSentIterator) Error ¶
func (it *ERC777ContractSentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777ContractSentIterator) Next ¶
func (it *ERC777ContractSentIterator) 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 ERC777ContractSession ¶
type ERC777ContractSession struct { Contract *ERC777Contract // 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 }
ERC777ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC777ContractSession) Allowance ¶
func (_ERC777Contract *ERC777ContractSession) Allowance(holder common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address holder, address spender) view returns(uint256)
func (*ERC777ContractSession) Approve ¶
func (_ERC777Contract *ERC777ContractSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*ERC777ContractSession) AuthorizeOperator ¶
func (_ERC777Contract *ERC777ContractSession) AuthorizeOperator(operator common.Address) (*types.Transaction, error)
AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.
Solidity: function authorizeOperator(address operator) returns()
func (*ERC777ContractSession) BalanceOf ¶
func (_ERC777Contract *ERC777ContractSession) BalanceOf(tokenHolder common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address tokenHolder) view returns(uint256)
func (*ERC777ContractSession) Burn ¶
func (_ERC777Contract *ERC777ContractSession) Burn(amount *big.Int, data []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 amount, bytes data) returns()
func (*ERC777ContractSession) Decimals ¶
func (_ERC777Contract *ERC777ContractSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*ERC777ContractSession) DefaultOperators ¶
func (_ERC777Contract *ERC777ContractSession) DefaultOperators() ([]common.Address, error)
DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.
Solidity: function defaultOperators() view returns(address[])
func (*ERC777ContractSession) Granularity ¶
func (_ERC777Contract *ERC777ContractSession) Granularity() (*big.Int, error)
Granularity is a free data retrieval call binding the contract method 0x556f0dc7.
Solidity: function granularity() view returns(uint256)
func (*ERC777ContractSession) IsOperatorFor ¶
func (_ERC777Contract *ERC777ContractSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error)
IsOperatorFor is a free data retrieval call binding the contract method 0xd95b6371.
Solidity: function isOperatorFor(address operator, address tokenHolder) view returns(bool)
func (*ERC777ContractSession) Name ¶
func (_ERC777Contract *ERC777ContractSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC777ContractSession) OperatorBurn ¶
func (_ERC777Contract *ERC777ContractSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)
OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.
Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777ContractSession) OperatorSend ¶
func (_ERC777Contract *ERC777ContractSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)
OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.
Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777ContractSession) RevokeOperator ¶
func (_ERC777Contract *ERC777ContractSession) RevokeOperator(operator common.Address) (*types.Transaction, error)
RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.
Solidity: function revokeOperator(address operator) returns()
func (*ERC777ContractSession) Send ¶
func (_ERC777Contract *ERC777ContractSession) Send(recipient common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.
Solidity: function send(address recipient, uint256 amount, bytes data) returns()
func (*ERC777ContractSession) Symbol ¶
func (_ERC777Contract *ERC777ContractSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC777ContractSession) TotalSupply ¶
func (_ERC777Contract *ERC777ContractSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC777ContractSession) Transfer ¶
func (_ERC777Contract *ERC777ContractSession) 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 (*ERC777ContractSession) TransferFrom ¶
func (_ERC777Contract *ERC777ContractSession) TransferFrom(holder 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 holder, address recipient, uint256 amount) returns(bool)
type ERC777ContractTransactor ¶
type ERC777ContractTransactor struct {
// contains filtered or unexported fields
}
ERC777ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC777ContractTransactor ¶
func NewERC777ContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC777ContractTransactor, error)
NewERC777ContractTransactor creates a new write-only instance of ERC777Contract, bound to a specific deployed contract.
func (*ERC777ContractTransactor) Approve ¶
func (_ERC777Contract *ERC777ContractTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*ERC777ContractTransactor) AuthorizeOperator ¶
func (_ERC777Contract *ERC777ContractTransactor) AuthorizeOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.
Solidity: function authorizeOperator(address operator) returns()
func (*ERC777ContractTransactor) Burn ¶
func (_ERC777Contract *ERC777ContractTransactor) Burn(opts *bind.TransactOpts, amount *big.Int, data []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 amount, bytes data) returns()
func (*ERC777ContractTransactor) OperatorBurn ¶
func (_ERC777Contract *ERC777ContractTransactor) OperatorBurn(opts *bind.TransactOpts, account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)
OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.
Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777ContractTransactor) OperatorSend ¶
func (_ERC777Contract *ERC777ContractTransactor) OperatorSend(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)
OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.
Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777ContractTransactor) RevokeOperator ¶
func (_ERC777Contract *ERC777ContractTransactor) RevokeOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.
Solidity: function revokeOperator(address operator) returns()
func (*ERC777ContractTransactor) Send ¶
func (_ERC777Contract *ERC777ContractTransactor) Send(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.
Solidity: function send(address recipient, uint256 amount, bytes data) returns()
func (*ERC777ContractTransactor) Transfer ¶
func (_ERC777Contract *ERC777ContractTransactor) 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 (*ERC777ContractTransactor) TransferFrom ¶
func (_ERC777Contract *ERC777ContractTransactor) TransferFrom(opts *bind.TransactOpts, holder 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 holder, address recipient, uint256 amount) returns(bool)
type ERC777ContractTransactorRaw ¶
type ERC777ContractTransactorRaw struct {
Contract *ERC777ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ERC777ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC777ContractTransactorRaw) Transact ¶
func (_ERC777Contract *ERC777ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC777ContractTransactorRaw) Transfer ¶
func (_ERC777Contract *ERC777ContractTransactorRaw) 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 ERC777ContractTransactorSession ¶
type ERC777ContractTransactorSession struct { Contract *ERC777ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC777ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC777ContractTransactorSession) Approve ¶
func (_ERC777Contract *ERC777ContractTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*ERC777ContractTransactorSession) AuthorizeOperator ¶
func (_ERC777Contract *ERC777ContractTransactorSession) AuthorizeOperator(operator common.Address) (*types.Transaction, error)
AuthorizeOperator is a paid mutator transaction binding the contract method 0x959b8c3f.
Solidity: function authorizeOperator(address operator) returns()
func (*ERC777ContractTransactorSession) Burn ¶
func (_ERC777Contract *ERC777ContractTransactorSession) Burn(amount *big.Int, data []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 amount, bytes data) returns()
func (*ERC777ContractTransactorSession) OperatorBurn ¶
func (_ERC777Contract *ERC777ContractTransactorSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)
OperatorBurn is a paid mutator transaction binding the contract method 0xfc673c4f.
Solidity: function operatorBurn(address account, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777ContractTransactorSession) OperatorSend ¶
func (_ERC777Contract *ERC777ContractTransactorSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error)
OperatorSend is a paid mutator transaction binding the contract method 0x62ad1b83.
Solidity: function operatorSend(address sender, address recipient, uint256 amount, bytes data, bytes operatorData) returns()
func (*ERC777ContractTransactorSession) RevokeOperator ¶
func (_ERC777Contract *ERC777ContractTransactorSession) RevokeOperator(operator common.Address) (*types.Transaction, error)
RevokeOperator is a paid mutator transaction binding the contract method 0xfad8b32a.
Solidity: function revokeOperator(address operator) returns()
func (*ERC777ContractTransactorSession) Send ¶
func (_ERC777Contract *ERC777ContractTransactorSession) Send(recipient common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0x9bd9bbc6.
Solidity: function send(address recipient, uint256 amount, bytes data) returns()
func (*ERC777ContractTransactorSession) Transfer ¶
func (_ERC777Contract *ERC777ContractTransactorSession) 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 (*ERC777ContractTransactorSession) TransferFrom ¶
func (_ERC777Contract *ERC777ContractTransactorSession) TransferFrom(holder 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 holder, address recipient, uint256 amount) returns(bool)
type ERC777ContractTransfer ¶
type ERC777ContractTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC777ContractTransfer represents a Transfer event raised by the ERC777Contract contract.
type ERC777ContractTransferIterator ¶
type ERC777ContractTransferIterator struct { Event *ERC777ContractTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC777ContractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC777Contract contract.
func (*ERC777ContractTransferIterator) Close ¶
func (it *ERC777ContractTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC777ContractTransferIterator) Error ¶
func (it *ERC777ContractTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC777ContractTransferIterator) Next ¶
func (it *ERC777ContractTransferIterator) 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.