ufomarketplace-sdk
Version:
SDK to interact with set ufo marketplace contracts
130 lines • 3.85 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.EIP712Signature__factory = void 0;
const ethers_1 = require("ethers");
class EIP712Signature__factory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.EIP712Signature__factory = EIP712Signature__factory;
const _abi = [
{
inputs: [],
name: "backendSigner",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint8",
name: "v",
type: "uint8",
},
{
internalType: "bytes32",
name: "r",
type: "bytes32",
},
{
internalType: "bytes32",
name: "s",
type: "bytes32",
},
{
components: [
{
internalType: "uint256",
name: "nftId",
type: "uint256",
},
{
internalType: "address",
name: "nftContract",
type: "address",
},
{
internalType: "string",
name: "sellType",
type: "string",
},
{
internalType: "address",
name: "seller",
type: "address",
},
{
internalType: "uint256",
name: "price",
type: "uint256",
},
{
internalType: "uint256",
name: "reservePrice",
type: "uint256",
},
{
internalType: "uint256",
name: "start",
type: "uint256",
},
{
internalType: "uint256",
name: "end",
type: "uint256",
},
{
internalType: "uint256",
name: "salt",
type: "uint256",
},
],
internalType: "struct EIP712Signature.NftInfo",
name: "info",
type: "tuple",
},
],
name: "checkSignature",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_bkSigner",
type: "address",
},
],
name: "setBackendSigner",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "tester",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
];
//# sourceMappingURL=EIP712Signature__factory.js.map