UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

129 lines 4.08 kB
"use strict"; /* 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: "uint32", name: "cooldownBlocks", type: "uint32", }, { internalType: "uint32", name: "unstakeBlocks", type: "uint32", }, { internalType: "contract ITransferHook", name: "governance", type: "address", }, ], 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", }, { indexed: false, internalType: "uint8", name: "decimals", type: "uint8", }, ], name: "Initialized", type: "event", }, { inputs: [ { components: [ { internalType: "contract IMarketAccessController", name: "stakeController", type: "address", }, { internalType: "contract IERC20", name: "stakedToken", type: "address", }, { internalType: "uint32", name: "cooldownBlocks", type: "uint32", }, { internalType: "uint32", name: "unstakeBlocks", type: "uint32", }, { internalType: "contract ITransferHook", name: "governance", type: "address", }, ], internalType: "struct StakeTokenConfig", name: "params", type: "tuple", }, { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "symbol", type: "string", }, { internalType: "uint8", name: "decimals", type: "uint8", }, ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; //# sourceMappingURL=IInitializableStakeTokenFactory.js.map