@soma-finance/core-contracts
Version:
SOMA Finance core contracts
88 lines • 2.52 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IERC721PermitUpgradeable__factory = void 0;
const ethers_1 = require("ethers");
const _erc165InterfaceId = "0x7c2be271";
const _erc1820InterfaceId = "0x16429bf1c2261aceaf05ab065c772d04e84e14644ac9eb5e7591ce6c71b95d3f";
const _abi = [
{
inputs: [],
name: "DOMAIN_SEPARATOR",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "PERMIT_TYPEHASH",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "pure",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "spender",
type: "address",
},
{
internalType: "uint256",
name: "tokenId",
type: "uint256",
},
{
internalType: "uint256",
name: "deadline",
type: "uint256",
},
{
internalType: "uint8",
name: "v",
type: "uint8",
},
{
internalType: "bytes32",
name: "r",
type: "bytes32",
},
{
internalType: "bytes32",
name: "s",
type: "bytes32",
},
],
name: "permit",
outputs: [],
stateMutability: "payable",
type: "function",
},
];
class IERC721PermitUpgradeable__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IERC721PermitUpgradeable__factory = IERC721PermitUpgradeable__factory;
IERC721PermitUpgradeable__factory.erc165InterfaceId = _erc165InterfaceId;
IERC721PermitUpgradeable__factory.erc1820InterfaceId = _erc1820InterfaceId;
IERC721PermitUpgradeable__factory.abi = _abi;
//# sourceMappingURL=IERC721PermitUpgradeable__factory.js.map