UNPKG

core-artifacts

Version:

Consist artifacts of the maple protocol

307 lines (306 loc) 6.57 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IPoolFactory", "sourceName": "contracts/core/stake-locker/v1/StakeLocker.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "pool", "type": "address" }, { "indexed": true, "internalType": "address", "name": "delegate", "type": "address" }, { "indexed": false, "internalType": "address", "name": "liquidityAsset", "type": "address" }, { "indexed": false, "internalType": "address", "name": "stakeAsset", "type": "address" }, { "indexed": false, "internalType": "address", "name": "liquidityLocker", "type": "address" }, { "indexed": false, "internalType": "address", "name": "stakeLocker", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "stakingFee", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "delegateFee", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "liquidityCap", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "name", "type": "string" }, { "indexed": false, "internalType": "string", "name": "symbol", "type": "string" } ], "name": "PoolCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "poolFactoryAdmin", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "allowed", "type": "bool" } ], "name": "PoolFactoryAdminSet", "type": "event" }, { "inputs": [], "name": "LL_FACTORY", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "SL_FACTORY", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "liquidityAsset", "type": "address" }, { "internalType": "address", "name": "stakeAsset", "type": "address" }, { "internalType": "address", "name": "slFactory", "type": "address" }, { "internalType": "address", "name": "llFactory", "type": "address" }, { "internalType": "uint256", "name": "stakingFee", "type": "uint256" }, { "internalType": "uint256", "name": "delegateFee", "type": "uint256" }, { "internalType": "uint256", "name": "liquidityCap", "type": "uint256" } ], "name": "createPool", "outputs": [ { "internalType": "address", "name": "poolAddress", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "globals", "outputs": [ { "internalType": "contract IMapleGlobals", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" } ], "name": "isPool", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "poolFactoryAdmin", "type": "address" } ], "name": "poolFactoryAdmins", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "pools", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "poolsCreated", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newGlobals", "type": "address" } ], "name": "setGlobals", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "poolFactoryAdmin", "type": "address" }, { "internalType": "bool", "name": "allowed", "type": "bool" } ], "name": "setPoolFactoryAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unpause", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }