@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
198 lines • 6.47 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IInitializableStakeTokenFactory = void 0;
const ethers_1 = require("ethers");
class IInitializableStakeTokenFactory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IInitializableStakeTokenFactory = IInitializableStakeTokenFactory;
const _abi = [
{
anonymous: false,
inputs: [
{
components: [
{
internalType: "contract IMarketAccessController",
name: "stakeController",
type: "address",
},
{
internalType: "contract IERC20",
name: "stakedToken",
type: "address",
},
{
internalType: "contract IUnderlyingStrategy",
name: "strategy",
type: "address",
},
{
internalType: "uint32",
name: "cooldownPeriod",
type: "uint32",
},
{
internalType: "uint32",
name: "unstakePeriod",
type: "uint32",
},
{
internalType: "uint16",
name: "maxSlashable",
type: "uint16",
},
{
internalType: "uint8",
name: "stakedTokenDecimals",
type: "uint8",
},
],
indexed: false,
internalType: "struct StakeTokenConfig",
name: "params",
type: "tuple",
},
{
indexed: false,
internalType: "string",
name: "tokenName",
type: "string",
},
{
indexed: false,
internalType: "string",
name: "tokenSymbol",
type: "string",
},
],
name: "Initialized",
type: "event",
},
{
inputs: [
{
components: [
{
internalType: "contract IMarketAccessController",
name: "stakeController",
type: "address",
},
{
internalType: "contract IERC20",
name: "stakedToken",
type: "address",
},
{
internalType: "contract IUnderlyingStrategy",
name: "strategy",
type: "address",
},
{
internalType: "uint32",
name: "cooldownPeriod",
type: "uint32",
},
{
internalType: "uint32",
name: "unstakePeriod",
type: "uint32",
},
{
internalType: "uint16",
name: "maxSlashable",
type: "uint16",
},
{
internalType: "uint8",
name: "stakedTokenDecimals",
type: "uint8",
},
],
internalType: "struct StakeTokenConfig",
name: "params",
type: "tuple",
},
{
internalType: "string",
name: "name",
type: "string",
},
{
internalType: "string",
name: "symbol",
type: "string",
},
],
name: "initializeStakeToken",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "initializedStakeTokenWith",
outputs: [
{
components: [
{
internalType: "contract IMarketAccessController",
name: "stakeController",
type: "address",
},
{
internalType: "contract IERC20",
name: "stakedToken",
type: "address",
},
{
internalType: "contract IUnderlyingStrategy",
name: "strategy",
type: "address",
},
{
internalType: "uint32",
name: "cooldownPeriod",
type: "uint32",
},
{
internalType: "uint32",
name: "unstakePeriod",
type: "uint32",
},
{
internalType: "uint16",
name: "maxSlashable",
type: "uint16",
},
{
internalType: "uint8",
name: "stakedTokenDecimals",
type: "uint8",
},
],
internalType: "struct StakeTokenConfig",
name: "params",
type: "tuple",
},
{
internalType: "string",
name: "name",
type: "string",
},
{
internalType: "string",
name: "symbol",
type: "string",
},
],
stateMutability: "view",
type: "function",
},
];
//# sourceMappingURL=IInitializableStakeTokenFactory.js.map