import { Web3LibAdapter } from "@bosonprotocol/common"; import { BaseCoreSDK } from "./../mixins/base-core-sdk"; import { balanceOf, name, symbol, uri } from "./handler"; export class ERC1155Mixin extends BaseCoreSDK { /* -------------------------------------------------------------------------- */ /* ERC1155 related methods */ /* -------------------------------------------------------------------------- */ public async erc1155Name( args: Omit[0], "web3Lib"> ): Promise> { return name({ web3Lib: this._web3Lib, ...args }); } public async erc1155Symbol( args: Omit[0], "web3Lib"> ): Promise> { return symbol({ web3Lib: this._web3Lib, ...args }); } public async erc1155Uri( args: Omit[0], "web3Lib"> ): Promise> { return uri({ web3Lib: this._web3Lib, ...args }); } public async erc1155BalanceOf( args: Omit[0], "web3Lib"> ): Promise> { return balanceOf({ web3Lib: this._web3Lib, ...args }); } }