ERC1155BatchRecipient

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 ERC1155BatchRecipientABI = ERC1155BatchRecipientMetaData.ABI

ERC1155BatchRecipientABI is the input ABI used to generate the binding from. Deprecated: Use ERC1155BatchRecipientMetaData.ABI instead.

View Source
var ERC1155BatchRecipientBin = ERC1155BatchRecipientMetaData.Bin

ERC1155BatchRecipientBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC1155BatchRecipientMetaData.Bin instead.

View Source
var ERC1155BatchRecipientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"UnexpectedBatchData\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610273806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063bc197c8114610030575b600080fd5b61004361003e366004610116565b610060565b6040516001600160e01b0319909116815260200160405180910390f35b6000815160001461008457604051631de805c760e31b815260040160405180910390fd5b5063bc197c8160e01b979650505050505050565b80356001600160a01b03811681146100af57600080fd5b919050565b60008083601f8401126100c657600080fd5b50813567ffffffffffffffff8111156100de57600080fd5b6020830191508360208260051b85010111156100f957600080fd5b9250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080600080600060a0888a03121561013157600080fd5b61013a88610098565b965061014860208901610098565b9550604088013567ffffffffffffffff8082111561016557600080fd5b6101718b838c016100b4565b909750955060608a013591508082111561018a57600080fd5b6101968b838c016100b4565b909550935060808a01359150808211156101af57600080fd5b818a0191508a601f8301126101c357600080fd5b8135818111156101d5576101d5610100565b604051601f8201601f19908116603f011681019083821181831017156101fd576101fd610100565b816040528281528d602084870101111561021657600080fd5b8260208601602083013760006020848301015280955050505050509295989194975092955056fea2646970667358221220fba32fbc4ac9a7cd68a6b52fac4216072500e408a9f5f5d06ee7eccee954e80b64736f6c634300080d0033",
}

ERC1155BatchRecipientMetaData contains all meta data concerning the ERC1155BatchRecipient contract.

Functions

This section is empty.

Types

type ERC1155BatchRecipient

type ERC1155BatchRecipient struct {
	ERC1155BatchRecipientCaller     // Read-only binding to the contract
	ERC1155BatchRecipientTransactor // Write-only binding to the contract
	ERC1155BatchRecipientFilterer   // Log filterer for contract events
}

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

func DeployERC1155BatchRecipient

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

DeployERC1155BatchRecipient deploys a new Ethereum contract, binding an instance of ERC1155BatchRecipient to it.

func NewERC1155BatchRecipient

func NewERC1155BatchRecipient(address common.Address, backend bind.ContractBackend) (*ERC1155BatchRecipient, error)

NewERC1155BatchRecipient creates a new instance of ERC1155BatchRecipient, bound to a specific deployed contract.

type ERC1155BatchRecipientCaller

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

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

func NewERC1155BatchRecipientCaller

func NewERC1155BatchRecipientCaller(address common.Address, caller bind.ContractCaller) (*ERC1155BatchRecipientCaller, error)

NewERC1155BatchRecipientCaller creates a new read-only instance of ERC1155BatchRecipient, bound to a specific deployed contract.

func (*ERC1155BatchRecipientCaller) OnERC1155BatchReceived

func (_ERC1155BatchRecipient *ERC1155BatchRecipientCaller) OnERC1155BatchReceived(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, data []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes data) pure returns(bytes4)

type ERC1155BatchRecipientCallerRaw

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

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

func (*ERC1155BatchRecipientCallerRaw) Call

func (_ERC1155BatchRecipient *ERC1155BatchRecipientCallerRaw) 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 ERC1155BatchRecipientCallerSession

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

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

func (*ERC1155BatchRecipientCallerSession) OnERC1155BatchReceived

func (_ERC1155BatchRecipient *ERC1155BatchRecipientCallerSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, data []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes data) pure returns(bytes4)

type ERC1155BatchRecipientFilterer

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

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

func NewERC1155BatchRecipientFilterer

func NewERC1155BatchRecipientFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1155BatchRecipientFilterer, error)

NewERC1155BatchRecipientFilterer creates a new log filterer instance of ERC1155BatchRecipient, bound to a specific deployed contract.

type ERC1155BatchRecipientRaw

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

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

func (*ERC1155BatchRecipientRaw) Call

func (_ERC1155BatchRecipient *ERC1155BatchRecipientRaw) 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 (*ERC1155BatchRecipientRaw) Transact

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

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

func (*ERC1155BatchRecipientRaw) Transfer

func (_ERC1155BatchRecipient *ERC1155BatchRecipientRaw) 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 ERC1155BatchRecipientSession

type ERC1155BatchRecipientSession struct {
	Contract     *ERC1155BatchRecipient // 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
}

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

func (*ERC1155BatchRecipientSession) OnERC1155BatchReceived

func (_ERC1155BatchRecipient *ERC1155BatchRecipientSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, data []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes data) pure returns(bytes4)

type ERC1155BatchRecipientTransactor

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

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

func NewERC1155BatchRecipientTransactor

func NewERC1155BatchRecipientTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1155BatchRecipientTransactor, error)

NewERC1155BatchRecipientTransactor creates a new write-only instance of ERC1155BatchRecipient, bound to a specific deployed contract.

type ERC1155BatchRecipientTransactorRaw

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

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

func (*ERC1155BatchRecipientTransactorRaw) Transact

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

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

func (*ERC1155BatchRecipientTransactorRaw) Transfer

func (_ERC1155BatchRecipient *ERC1155BatchRecipientTransactorRaw) 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 ERC1155BatchRecipientTransactorSession

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

ERC1155BatchRecipientTransactorSession 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