@soma-finance/core-contracts
Version:
SOMA Finance core contracts
365 lines • 8.92 kB
JavaScript
"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ISOMA__factory = void 0;
const ethers_1 = require("ethers");
const _erc165InterfaceId = "0xd6f99784";
const _erc1820InterfaceId = "0xce75d8c0a9b63ee0d368c81107b5126d168c20b8bba2d13be2b4d6de8660ad2c";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "prevMintTo",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "newMintTo",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "sender",
type: "address",
},
],
name: "MintToUpdated",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "bytes32",
name: "version",
type: "bytes32",
},
{
indexed: true,
internalType: "bytes32",
name: "hash",
type: "bytes32",
},
{
indexed: false,
internalType: "bytes",
name: "snapshot",
type: "bytes",
},
],
name: "SOMAUpgraded",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "prevSeizeTo",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "newSeizeTo",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "sender",
type: "address",
},
],
name: "SeizeToUpdated",
type: "event",
},
{
inputs: [
{
internalType: "bytes32",
name: "version",
type: "bytes32",
},
],
name: "__upgrade",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "access",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "factory",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "guard",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "master",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "mintTo",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "pause",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "seizeTo",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_mintTo",
type: "address",
},
],
name: "setMintTo",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_seizeTo",
type: "address",
},
],
name: "setSeizeTo",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "snapshot",
outputs: [
{
components: [
{
internalType: "address",
name: "master",
type: "address",
},
{
internalType: "address",
name: "subMaster",
type: "address",
},
{
internalType: "address",
name: "access",
type: "address",
},
{
internalType: "address",
name: "guard",
type: "address",
},
{
internalType: "address",
name: "factory",
type: "address",
},
{
internalType: "address",
name: "token",
type: "address",
},
],
internalType: "struct ISOMA.Snapshot",
name: "_snapshot",
type: "tuple",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "snapshotHash",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "snapshotVersion",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "bytes32",
name: "hash",
type: "bytes32",
},
],
name: "snapshots",
outputs: [
{
internalType: "bytes",
name: "_snapshot",
type: "bytes",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "subMaster",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "token",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "unpause",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "bytes32",
name: "versionOrHash",
type: "bytes32",
},
],
name: "versions",
outputs: [
{
internalType: "bytes32",
name: "hashOrVersion",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
];
class ISOMA__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.ISOMA__factory = ISOMA__factory;
ISOMA__factory.erc165InterfaceId = _erc165InterfaceId;
ISOMA__factory.erc1820InterfaceId = _erc1820InterfaceId;
ISOMA__factory.abi = _abi;
//# sourceMappingURL=ISOMA__factory.js.map