UNPKG

@evolutionland/evolution-js

Version:

evolution evolution-js evolutionland evolution-js-sdk evolution-land metaverse

9 lines (8 loc) 1.19 kB
import { ethers } from "ethers"; import type { CallbackType } from "../../../utils/tronweb/contractHelper"; import { TransactionResponse } from "@ethersproject/providers"; export declare const erc1155IsApprovedForAll: (provider: ethers.providers.Provider, owner: string, spender: string, tokenContractAddress: string, callback?: CallbackType | undefined) => Promise<boolean>; export declare const erc1155BalanceOf: (provider: ethers.providers.Provider, owner: string, tokenId: string, tokenContractAddress: string, callback?: CallbackType | undefined) => Promise<string>; export declare const erc1155BalanceOfBatch: (provider: ethers.providers.Provider, owners: string[], tokenIds: string[], tokenContractAddress: string, callback?: CallbackType | undefined) => Promise<string>; export declare const erc1155SetApprovalForAll: (signer: ethers.Signer, contractAddress: string, spender: string, approved: boolean, callback?: CallbackType | undefined) => Promise<TransactionResponse>; export declare const erc1155SafeBatchTransferFrom: (signer: ethers.Signer, contractAddress: string, spender: string, approved: boolean, callback?: CallbackType | undefined) => Promise<TransactionResponse>;