ufomarketplace-sdk
Version:
SDK to interact with set ufo marketplace contracts
59 lines (54 loc) • 1.19 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 { IERC721ReceiverUpgradeable } from "../IERC721ReceiverUpgradeable";
export class IERC721ReceiverUpgradeable__factory {
static connect(
address: string,
signerOrProvider: Signer | Provider
): IERC721ReceiverUpgradeable {
return new Contract(
address,
_abi,
signerOrProvider
) as IERC721ReceiverUpgradeable;
}
}
const _abi = [
{
inputs: [
{
internalType: "address",
name: "operator",
type: "address",
},
{
internalType: "address",
name: "from",
type: "address",
},
{
internalType: "uint256",
name: "tokenId",
type: "uint256",
},
{
internalType: "bytes",
name: "data",
type: "bytes",
},
],
name: "onERC721Received",
outputs: [
{
internalType: "bytes4",
name: "",
type: "bytes4",
},
],
stateMutability: "nonpayable",
type: "function",
},
];