TokenTransferrerErrors

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenTransferrerErrorsABI = TokenTransferrerErrorsMetaData.ABI

TokenTransferrerErrorsABI is the input ABI used to generate the binding from. Deprecated: Use TokenTransferrerErrorsMetaData.ABI instead.

View Source
var TokenTransferrerErrorsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BadReturnValueFromERC20OnTransfer\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"identifiers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"ERC1155BatchTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Invalid1155BatchTransferEncoding\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidERC721TransferAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MissingItemAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"NoContract\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnusedItemParameters\",\"type\":\"error\"}]",
}

TokenTransferrerErrorsMetaData contains all meta data concerning the TokenTransferrerErrors contract.

Functions

This section is empty.

Types

type TokenTransferrerErrors

type TokenTransferrerErrors struct {
	TokenTransferrerErrorsCaller     // Read-only binding to the contract
	TokenTransferrerErrorsTransactor // Write-only binding to the contract
	TokenTransferrerErrorsFilterer   // Log filterer for contract events
}

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

func NewTokenTransferrerErrors

func NewTokenTransferrerErrors(address common.Address, backend bind.ContractBackend) (*TokenTransferrerErrors, error)

NewTokenTransferrerErrors creates a new instance of TokenTransferrerErrors, bound to a specific deployed contract.

type TokenTransferrerErrorsCaller

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

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

func NewTokenTransferrerErrorsCaller

func NewTokenTransferrerErrorsCaller(address common.Address, caller bind.ContractCaller) (*TokenTransferrerErrorsCaller, error)

NewTokenTransferrerErrorsCaller creates a new read-only instance of TokenTransferrerErrors, bound to a specific deployed contract.

type TokenTransferrerErrorsCallerRaw

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

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

func (*TokenTransferrerErrorsCallerRaw) Call

func (_TokenTransferrerErrors *TokenTransferrerErrorsCallerRaw) 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 TokenTransferrerErrorsCallerSession

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

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

type TokenTransferrerErrorsFilterer

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

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

func NewTokenTransferrerErrorsFilterer

func NewTokenTransferrerErrorsFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenTransferrerErrorsFilterer, error)

NewTokenTransferrerErrorsFilterer creates a new log filterer instance of TokenTransferrerErrors, bound to a specific deployed contract.

type TokenTransferrerErrorsRaw

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

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

func (*TokenTransferrerErrorsRaw) Call

func (_TokenTransferrerErrors *TokenTransferrerErrorsRaw) 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 (*TokenTransferrerErrorsRaw) Transact

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

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

func (*TokenTransferrerErrorsRaw) Transfer

func (_TokenTransferrerErrors *TokenTransferrerErrorsRaw) 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 TokenTransferrerErrorsSession

type TokenTransferrerErrorsSession struct {
	Contract     *TokenTransferrerErrors // 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
}

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

type TokenTransferrerErrorsTransactor

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

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

func NewTokenTransferrerErrorsTransactor

func NewTokenTransferrerErrorsTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransferrerErrorsTransactor, error)

NewTokenTransferrerErrorsTransactor creates a new write-only instance of TokenTransferrerErrors, bound to a specific deployed contract.

type TokenTransferrerErrorsTransactorRaw

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

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

func (*TokenTransferrerErrorsTransactorRaw) Transact

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

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

func (*TokenTransferrerErrorsTransactorRaw) Transfer

func (_TokenTransferrerErrors *TokenTransferrerErrorsTransactorRaw) 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 TokenTransferrerErrorsTransactorSession

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

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

Jump to

Keyboard shortcuts

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