ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
65 lines (61 loc) • 1.5 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
IERC721ReceiverUpgradeable,
IERC721ReceiverUpgradeableInterface,
} from "../IERC721ReceiverUpgradeable";
const _abi = [
{
type: "function",
name: "onERC721Received",
inputs: [
{
name: "operator",
type: "address",
internalType: "address",
},
{
name: "from",
type: "address",
internalType: "address",
},
{
name: "tokenId",
type: "uint256",
internalType: "uint256",
},
{
name: "data",
type: "bytes",
internalType: "bytes",
},
],
outputs: [
{
name: "",
type: "bytes4",
internalType: "bytes4",
},
],
stateMutability: "nonpayable",
},
] as const;
export class IERC721ReceiverUpgradeable__factory {
static readonly abi = _abi;
static createInterface(): IERC721ReceiverUpgradeableInterface {
return new utils.Interface(_abi) as IERC721ReceiverUpgradeableInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): IERC721ReceiverUpgradeable {
return new Contract(
address,
_abi,
signerOrProvider
) as IERC721ReceiverUpgradeable;
}
}