niftyswap
Version:
AMM exchange for ERC-1155 tokens, inspired by Uniswap
59 lines (54 loc) • 1.13 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer } from "ethers";
import { Provider } from "@ethersproject/providers";
import type { IERC1155Metadata } from "../IERC1155Metadata";
export class IERC1155Metadata__factory {
static connect(
address: string,
signerOrProvider: Signer | Provider
): IERC1155Metadata {
return new Contract(address, _abi, signerOrProvider) as IERC1155Metadata;
}
}
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "string",
name: "_uri",
type: "string",
},
{
indexed: true,
internalType: "uint256",
name: "_id",
type: "uint256",
},
],
name: "URI",
type: "event",
},
{
inputs: [
{
internalType: "uint256",
name: "_id",
type: "uint256",
},
],
name: "uri",
outputs: [
{
internalType: "string",
name: "",
type: "string",
},
],
stateMutability: "view",
type: "function",
},
];