ERC1155__factory

Class in @sentio/sdk/eth/builtin › erc1155

Defined in @sentio/sdk/eth/builtin › erc1155

Constructors

Constructor

new ERC1155__factory(): ERC1155__factory;

Returns

ERC1155__factory

Properties

PropertyModifierTypeDefault value
abireadonlyreadonly [{ anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "account"; type: "address"; }, { indexed: true; internalType: "address"; name: "operator"; type: "address"; }, { indexed: false; internalType: "bool"; name: "approved"; type: "bool"; }]; name: "ApprovalForAll"; type: "event"; }, { anonymous: false; inputs: readonly [{ 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: "ids"; type: "uint256[]"; }, { indexed: false; internalType: "uint256[]"; name: "values"; type: "uint256[]"; }]; name: "TransferBatch"; type: "event"; }, { anonymous: false; inputs: readonly [{ 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: "id"; type: "uint256"; }, { indexed: false; internalType: "uint256"; name: "value"; type: "uint256"; }]; name: "TransferSingle"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: false; internalType: "string"; name: "value"; type: "string"; }, { indexed: true; internalType: "uint256"; name: "id"; type: "uint256"; }]; name: "URI"; type: "event"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }, { internalType: "uint256"; name: "id"; type: "uint256"; }]; name: "balanceOf"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "accounts"; type: "address[]"; }, { internalType: "uint256[]"; name: "ids"; type: "uint256[]"; }]; name: "balanceOfBatch"; outputs: readonly [{ internalType: "uint256[]"; name: ""; type: "uint256[]"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }, { internalType: "address"; name: "operator"; type: "address"; }]; name: "isApprovedForAll"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "from"; type: "address"; }, { internalType: "address"; name: "to"; type: "address"; }, { internalType: "uint256[]"; name: "ids"; type: "uint256[]"; }, { internalType: "uint256[]"; name: "amounts"; type: "uint256[]"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; name: "safeBatchTransferFrom"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "from"; type: "address"; }, { internalType: "address"; name: "to"; type: "address"; }, { internalType: "uint256"; name: "id"; type: "uint256"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; name: "safeTransferFrom"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "operator"; type: "address"; }, { internalType: "bool"; name: "approved"; type: "bool"; }]; name: "setApprovalForAll"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "bytes4"; name: "interfaceId"; type: "bytes4"; }]; name: "supportsInterface"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "id"; type: "uint256"; }]; name: "uri"; outputs: readonly [{ internalType: "string"; name: ""; type: "string"; }]; stateMutability: "view"; type: "function"; }]_abi

Methods

connect()

static connect(address: string, signerOrProvider: Provider | Signer): ERC1155;

Parameters

ParameterType
addressstring
signerOrProviderProvider | Signer

Returns

ERC1155


createInterface()

static createInterface(): ERC1155Interface;

Returns

ERC1155Interface

On this page