@soma-finance/core-contracts
Version:
SOMA Finance core contracts
73 lines • 2.45 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FixedPoint__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _erc165InterfaceId = "0x6ed820b4";
const _erc1820InterfaceId = "0xa020ad9e82a59ec13ef99b2c0d7af686539ed52137528359185328602d7e01e8";
const _abi = [
{
inputs: [],
name: "Q112",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "RESOLUTION",
outputs: [
{
internalType: "uint8",
name: "",
type: "uint8",
},
],
stateMutability: "view",
type: "function",
},
];
const _bytecode = "0x6084610039600b82828239805160001a60731461002c57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610603d5760003560e01c80633bf7a83e146042578063552f888a14605f575b600080fd5b604c600160701b81565b6040519081526020015b60405180910390f35b6066607081565b60405160ff9091168152602001605656fea164736f6c6343000812000a";
const isSuperArgs = (xs) => xs.length > 1;
class FixedPoint__factory extends ethers_1.ContractFactory {
constructor(...args) {
if (isSuperArgs(args)) {
super(...args);
}
else {
super(_abi, _bytecode, args[0]);
}
}
deploy(overrides) {
return super.deploy(overrides || {});
}
getDeployTransaction(overrides) {
return super.getDeployTransaction(overrides || {});
}
attach(address) {
return super.attach(address);
}
connect(signer) {
return super.connect(signer);
}
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.FixedPoint__factory = FixedPoint__factory;
FixedPoint__factory.bytecode = _bytecode;
FixedPoint__factory.erc165InterfaceId = _erc165InterfaceId;
FixedPoint__factory.erc1820InterfaceId = _erc1820InterfaceId;
FixedPoint__factory.abi = _abi;
//# sourceMappingURL=FixedPoint__factory.js.map