erc777

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Erc777ABI = "" /* 7882-byte string literal not displayed */

Erc777ABI is the input ABI used to generate the binding from.

Variables

View Source
var Erc777Bin = "" /* 27886-byte string literal not displayed */

Erc777Bin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Erc777

type Erc777 struct {
	Erc777Caller     // Read-only binding to the contract
	Erc777Transactor // Write-only binding to the contract
	Erc777Filterer   // Log filterer for contract events
}

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

func DeployErc777

func DeployErc777(auth *bind.TransactOpts, backend bind.ContractBackend, name_ string, symbol_ string, defaultOperators_ []common.Address) (common.Address, *types.Transaction, *Erc777, error)

DeployErc777 deploys a new Ethereum contract, binding an instance of Erc777 to it.

func NewErc777

func NewErc777(address common.Address, backend bind.ContractBackend) (*Erc777, error)

NewErc777 creates a new instance of Erc777, bound to a specific deployed contract.

type Erc777Approval

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

Erc777Approval represents a Approval event raised by the Erc777 contract.

type Erc777ApprovalIterator

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

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

func (*Erc777ApprovalIterator) Close

func (it *Erc777ApprovalIterator) Close() error

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

func (*Erc777ApprovalIterator) Error

func (it *Erc777ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc777ApprovalIterator) Next

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

type Erc777AuthorizedOperator struct {
	Operator    common.Address
	TokenHolder common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

Erc777AuthorizedOperator represents a AuthorizedOperator event raised by the Erc777 contract.

type Erc777AuthorizedOperatorIterator

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

Erc777AuthorizedOperatorIterator is returned from FilterAuthorizedOperator and is used to iterate over the raw logs and unpacked data for AuthorizedOperator events raised by the Erc777 contract.

func (*Erc777AuthorizedOperatorIterator) Close

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

func (*Erc777AuthorizedOperatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc777AuthorizedOperatorIterator) Next

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

type Erc777Burned

type Erc777Burned struct {
	Operator     common.Address
	From         common.Address
	Amount       *big.Int
	Data         []byte
	OperatorData []byte
	Raw          types.Log // Blockchain specific contextual infos
}

Erc777Burned represents a Burned event raised by the Erc777 contract.

type Erc777BurnedIterator

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

Erc777BurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the Erc777 contract.

func (*Erc777BurnedIterator) Close

func (it *Erc777BurnedIterator) Close() error

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

func (*Erc777BurnedIterator) Error

func (it *Erc777BurnedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc777BurnedIterator) Next

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

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

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

func NewErc777Caller

func NewErc777Caller(address common.Address, caller bind.ContractCaller) (*Erc777Caller, error)

NewErc777Caller creates a new read-only instance of Erc777, bound to a specific deployed contract.

func (*Erc777Caller) Allowance

func (_Erc777 *Erc777Caller) 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 (*Erc777Caller) BalanceOf

func (_Erc777 *Erc777Caller) 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 (*Erc777Caller) Decimals

func (_Erc777 *Erc777Caller) 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 (*Erc777Caller) DefaultOperators

func (_Erc777 *Erc777Caller) 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 (*Erc777Caller) Granularity

func (_Erc777 *Erc777Caller) Granularity(opts *bind.CallOpts) (*big.Int, error)

Granularity is a free data retrieval call binding the contract method 0x556f0dc7.

Solidity: function granularity() view returns(uint256)

func (*Erc777Caller) IsOperatorFor

func (_Erc777 *Erc777Caller) 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 (*Erc777Caller) Name

func (_Erc777 *Erc777Caller) 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 (*Erc777Caller) Symbol

func (_Erc777 *Erc777Caller) 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 (*Erc777Caller) TotalSupply

func (_Erc777 *Erc777Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type Erc777CallerRaw

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

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

func (*Erc777CallerRaw) Call

func (_Erc777 *Erc777CallerRaw) 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 Erc777CallerSession

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

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

func (*Erc777CallerSession) Allowance

func (_Erc777 *Erc777CallerSession) 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 (*Erc777CallerSession) BalanceOf

func (_Erc777 *Erc777CallerSession) 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 (*Erc777CallerSession) Decimals

func (_Erc777 *Erc777CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*Erc777CallerSession) DefaultOperators

func (_Erc777 *Erc777CallerSession) DefaultOperators() ([]common.Address, error)

DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.

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

func (*Erc777CallerSession) Granularity

func (_Erc777 *Erc777CallerSession) Granularity() (*big.Int, error)

Granularity is a free data retrieval call binding the contract method 0x556f0dc7.

Solidity: function granularity() view returns(uint256)

func (*Erc777CallerSession) IsOperatorFor

func (_Erc777 *Erc777CallerSession) 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 (*Erc777CallerSession) Name

func (_Erc777 *Erc777CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc777CallerSession) Symbol

func (_Erc777 *Erc777CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Erc777CallerSession) TotalSupply

func (_Erc777 *Erc777CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type Erc777Filterer

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

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

func NewErc777Filterer

func NewErc777Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc777Filterer, error)

NewErc777Filterer creates a new log filterer instance of Erc777, bound to a specific deployed contract.

func (*Erc777Filterer) FilterApproval

func (_Erc777 *Erc777Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Erc777ApprovalIterator, 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 (*Erc777Filterer) FilterAuthorizedOperator

func (_Erc777 *Erc777Filterer) FilterAuthorizedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*Erc777AuthorizedOperatorIterator, error)

FilterAuthorizedOperator is a free log retrieval operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.

Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)

func (*Erc777Filterer) FilterBurned

func (_Erc777 *Erc777Filterer) FilterBurned(opts *bind.FilterOpts, operator []common.Address, from []common.Address) (*Erc777BurnedIterator, 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 (*Erc777Filterer) FilterMinted

func (_Erc777 *Erc777Filterer) FilterMinted(opts *bind.FilterOpts, operator []common.Address, to []common.Address) (*Erc777MintedIterator, 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 (*Erc777Filterer) FilterRevokedOperator

func (_Erc777 *Erc777Filterer) FilterRevokedOperator(opts *bind.FilterOpts, operator []common.Address, tokenHolder []common.Address) (*Erc777RevokedOperatorIterator, error)

FilterRevokedOperator is a free log retrieval operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.

Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)

func (*Erc777Filterer) FilterSent

func (_Erc777 *Erc777Filterer) FilterSent(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc777SentIterator, 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 (*Erc777Filterer) FilterTransfer

func (_Erc777 *Erc777Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Erc777TransferIterator, 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 (*Erc777Filterer) ParseApproval

func (_Erc777 *Erc777Filterer) ParseApproval(log types.Log) (*Erc777Approval, error)

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

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

func (*Erc777Filterer) ParseAuthorizedOperator

func (_Erc777 *Erc777Filterer) ParseAuthorizedOperator(log types.Log) (*Erc777AuthorizedOperator, error)

ParseAuthorizedOperator is a log parse operation binding the contract event 0xf4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f9.

Solidity: event AuthorizedOperator(address indexed operator, address indexed tokenHolder)

func (*Erc777Filterer) ParseBurned

func (_Erc777 *Erc777Filterer) ParseBurned(log types.Log) (*Erc777Burned, 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 (*Erc777Filterer) ParseMinted

func (_Erc777 *Erc777Filterer) ParseMinted(log types.Log) (*Erc777Minted, 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 (*Erc777Filterer) ParseRevokedOperator

func (_Erc777 *Erc777Filterer) ParseRevokedOperator(log types.Log) (*Erc777RevokedOperator, error)

ParseRevokedOperator is a log parse operation binding the contract event 0x50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa1.

Solidity: event RevokedOperator(address indexed operator, address indexed tokenHolder)

func (*Erc777Filterer) ParseSent

func (_Erc777 *Erc777Filterer) ParseSent(log types.Log) (*Erc777Sent, 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 (*Erc777Filterer) ParseTransfer

func (_Erc777 *Erc777Filterer) ParseTransfer(log types.Log) (*Erc777Transfer, error)

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

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

func (*Erc777Filterer) WatchApproval

func (_Erc777 *Erc777Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc777Approval, 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 (*Erc777Filterer) WatchAuthorizedOperator

func (_Erc777 *Erc777Filterer) WatchAuthorizedOperator(opts *bind.WatchOpts, sink chan<- *Erc777AuthorizedOperator, 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 (*Erc777Filterer) WatchBurned

func (_Erc777 *Erc777Filterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *Erc777Burned, 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 (*Erc777Filterer) WatchMinted

func (_Erc777 *Erc777Filterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *Erc777Minted, 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 (*Erc777Filterer) WatchRevokedOperator

func (_Erc777 *Erc777Filterer) WatchRevokedOperator(opts *bind.WatchOpts, sink chan<- *Erc777RevokedOperator, 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 (*Erc777Filterer) WatchSent

func (_Erc777 *Erc777Filterer) WatchSent(opts *bind.WatchOpts, sink chan<- *Erc777Sent, 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 (*Erc777Filterer) WatchTransfer

func (_Erc777 *Erc777Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc777Transfer, 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 Erc777Minted

type Erc777Minted struct {
	Operator     common.Address
	To           common.Address
	Amount       *big.Int
	Data         []byte
	OperatorData []byte
	Raw          types.Log // Blockchain specific contextual infos
}

Erc777Minted represents a Minted event raised by the Erc777 contract.

type Erc777MintedIterator

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

Erc777MintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the Erc777 contract.

func (*Erc777MintedIterator) Close

func (it *Erc777MintedIterator) Close() error

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

func (*Erc777MintedIterator) Error

func (it *Erc777MintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc777MintedIterator) Next

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

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

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

func (*Erc777Raw) Call

func (_Erc777 *Erc777Raw) 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 (*Erc777Raw) Transact

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

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

func (*Erc777Raw) Transfer

func (_Erc777 *Erc777Raw) 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 Erc777RevokedOperator

type Erc777RevokedOperator struct {
	Operator    common.Address
	TokenHolder common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

Erc777RevokedOperator represents a RevokedOperator event raised by the Erc777 contract.

type Erc777RevokedOperatorIterator

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

Erc777RevokedOperatorIterator is returned from FilterRevokedOperator and is used to iterate over the raw logs and unpacked data for RevokedOperator events raised by the Erc777 contract.

func (*Erc777RevokedOperatorIterator) Close

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

func (*Erc777RevokedOperatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc777RevokedOperatorIterator) Next

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

type Erc777Sent

type Erc777Sent struct {
	Operator     common.Address
	From         common.Address
	To           common.Address
	Amount       *big.Int
	Data         []byte
	OperatorData []byte
	Raw          types.Log // Blockchain specific contextual infos
}

Erc777Sent represents a Sent event raised by the Erc777 contract.

type Erc777SentIterator

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

Erc777SentIterator is returned from FilterSent and is used to iterate over the raw logs and unpacked data for Sent events raised by the Erc777 contract.

func (*Erc777SentIterator) Close

func (it *Erc777SentIterator) Close() error

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

func (*Erc777SentIterator) Error

func (it *Erc777SentIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc777SentIterator) Next

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

type Erc777Session struct {
	Contract     *Erc777           // 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
}

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

func (*Erc777Session) Allowance

func (_Erc777 *Erc777Session) 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 (*Erc777Session) Approve

func (_Erc777 *Erc777Session) 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 (*Erc777Session) AuthorizeOperator

func (_Erc777 *Erc777Session) 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 (*Erc777Session) BalanceOf

func (_Erc777 *Erc777Session) 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 (*Erc777Session) Burn

func (_Erc777 *Erc777Session) 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 (*Erc777Session) Decimals

func (_Erc777 *Erc777Session) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*Erc777Session) DefaultOperators

func (_Erc777 *Erc777Session) DefaultOperators() ([]common.Address, error)

DefaultOperators is a free data retrieval call binding the contract method 0x06e48538.

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

func (*Erc777Session) Granularity

func (_Erc777 *Erc777Session) Granularity() (*big.Int, error)

Granularity is a free data retrieval call binding the contract method 0x556f0dc7.

Solidity: function granularity() view returns(uint256)

func (*Erc777Session) IsOperatorFor

func (_Erc777 *Erc777Session) 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 (*Erc777Session) Name

func (_Erc777 *Erc777Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc777Session) OperatorBurn

func (_Erc777 *Erc777Session) 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 (*Erc777Session) OperatorSend

func (_Erc777 *Erc777Session) 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 (*Erc777Session) RevokeOperator

func (_Erc777 *Erc777Session) 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 (*Erc777Session) Send

func (_Erc777 *Erc777Session) 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 (*Erc777Session) Symbol

func (_Erc777 *Erc777Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Erc777Session) TotalSupply

func (_Erc777 *Erc777Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Erc777Session) Transfer

func (_Erc777 *Erc777Session) 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 (*Erc777Session) TransferFrom

func (_Erc777 *Erc777Session) 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 Erc777Transactor

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

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

func NewErc777Transactor

func NewErc777Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc777Transactor, error)

NewErc777Transactor creates a new write-only instance of Erc777, bound to a specific deployed contract.

func (*Erc777Transactor) Approve

func (_Erc777 *Erc777Transactor) 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 (*Erc777Transactor) AuthorizeOperator

func (_Erc777 *Erc777Transactor) 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 (*Erc777Transactor) Burn

func (_Erc777 *Erc777Transactor) 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 (*Erc777Transactor) OperatorBurn

func (_Erc777 *Erc777Transactor) 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 (*Erc777Transactor) OperatorSend

func (_Erc777 *Erc777Transactor) 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 (*Erc777Transactor) RevokeOperator

func (_Erc777 *Erc777Transactor) 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 (*Erc777Transactor) Send

func (_Erc777 *Erc777Transactor) 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 (*Erc777Transactor) Transfer

func (_Erc777 *Erc777Transactor) 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 (*Erc777Transactor) TransferFrom

func (_Erc777 *Erc777Transactor) 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 Erc777TransactorRaw

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

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

func (*Erc777TransactorRaw) Transact

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

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

func (*Erc777TransactorRaw) Transfer

func (_Erc777 *Erc777TransactorRaw) 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 Erc777TransactorSession

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

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

func (*Erc777TransactorSession) Approve

func (_Erc777 *Erc777TransactorSession) 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 (*Erc777TransactorSession) AuthorizeOperator

func (_Erc777 *Erc777TransactorSession) 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 (*Erc777TransactorSession) Burn

func (_Erc777 *Erc777TransactorSession) 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 (*Erc777TransactorSession) OperatorBurn

func (_Erc777 *Erc777TransactorSession) 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 (*Erc777TransactorSession) OperatorSend

func (_Erc777 *Erc777TransactorSession) 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 (*Erc777TransactorSession) RevokeOperator

func (_Erc777 *Erc777TransactorSession) 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 (*Erc777TransactorSession) Send

func (_Erc777 *Erc777TransactorSession) 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 (*Erc777TransactorSession) Transfer

func (_Erc777 *Erc777TransactorSession) 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 (*Erc777TransactorSession) TransferFrom

func (_Erc777 *Erc777TransactorSession) 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 Erc777Transfer

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

Erc777Transfer represents a Transfer event raised by the Erc777 contract.

type Erc777TransferIterator

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

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

func (*Erc777TransferIterator) Close

func (it *Erc777TransferIterator) Close() error

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

func (*Erc777TransferIterator) Error

func (it *Erc777TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc777TransferIterator) Next

func (it *Erc777TransferIterator) Next() bool

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

Jump to

Keyboard shortcuts

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