TokenTransferrer

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 TokenTransferrerABI = TokenTransferrerMetaData.ABI

TokenTransferrerABI is the input ABI used to generate the binding from. Deprecated: Use TokenTransferrerMetaData.ABI instead.

View Source
var TokenTransferrerBin = TokenTransferrerMetaData.Bin

TokenTransferrerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TokenTransferrerMetaData.Bin instead.

View Source
var TokenTransferrerMetaData = &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\"}]",
	Bin: "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212205a3c688d3b90826d340d70254a90b52d10577b0ddeff815e3c5fd120a53a04d264736f6c634300080d0033",
}

TokenTransferrerMetaData contains all meta data concerning the TokenTransferrer contract.

Functions

This section is empty.

Types

type TokenTransferrer

type TokenTransferrer struct {
	TokenTransferrerCaller     // Read-only binding to the contract
	TokenTransferrerTransactor // Write-only binding to the contract
	TokenTransferrerFilterer   // Log filterer for contract events
}

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

func DeployTokenTransferrer

func DeployTokenTransferrer(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TokenTransferrer, error)

DeployTokenTransferrer deploys a new Ethereum contract, binding an instance of TokenTransferrer to it.

func NewTokenTransferrer

func NewTokenTransferrer(address common.Address, backend bind.ContractBackend) (*TokenTransferrer, error)

NewTokenTransferrer creates a new instance of TokenTransferrer, bound to a specific deployed contract.

type TokenTransferrerCaller

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

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

func NewTokenTransferrerCaller

func NewTokenTransferrerCaller(address common.Address, caller bind.ContractCaller) (*TokenTransferrerCaller, error)

NewTokenTransferrerCaller creates a new read-only instance of TokenTransferrer, bound to a specific deployed contract.

type TokenTransferrerCallerRaw

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

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

func (*TokenTransferrerCallerRaw) Call

func (_TokenTransferrer *TokenTransferrerCallerRaw) 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 TokenTransferrerCallerSession

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

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

type TokenTransferrerFilterer

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

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

func NewTokenTransferrerFilterer

func NewTokenTransferrerFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenTransferrerFilterer, error)

NewTokenTransferrerFilterer creates a new log filterer instance of TokenTransferrer, bound to a specific deployed contract.

type TokenTransferrerRaw

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

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

func (*TokenTransferrerRaw) Call

func (_TokenTransferrer *TokenTransferrerRaw) 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 (*TokenTransferrerRaw) Transact

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

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

func (*TokenTransferrerRaw) Transfer

func (_TokenTransferrer *TokenTransferrerRaw) 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 TokenTransferrerSession

type TokenTransferrerSession struct {
	Contract     *TokenTransferrer // 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
}

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

type TokenTransferrerTransactor

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

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

func NewTokenTransferrerTransactor

func NewTokenTransferrerTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransferrerTransactor, error)

NewTokenTransferrerTransactor creates a new write-only instance of TokenTransferrer, bound to a specific deployed contract.

type TokenTransferrerTransactorRaw

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

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

func (*TokenTransferrerTransactorRaw) Transact

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

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

func (*TokenTransferrerTransactorRaw) Transfer

func (_TokenTransferrer *TokenTransferrerTransactorRaw) 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 TokenTransferrerTransactorSession

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

TokenTransferrerTransactorSession 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