167 lines
3.1 KiB
JSON
167 lines
3.1 KiB
JSON
[
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "contract IVault",
|
|
"name": "vault",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "pool",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "PoolCreated",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"internalType": "string",
|
|
"name": "symbol",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"internalType": "contract IERC20[]",
|
|
"name": "tokens",
|
|
"type": "address[]"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amplificationParameter",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "contract IRateProvider[]",
|
|
"name": "rateProviders",
|
|
"type": "address[]"
|
|
},
|
|
{
|
|
"internalType": "uint256[]",
|
|
"name": "priceRateCacheDuration",
|
|
"type": "uint256[]"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "swapFeePercentage",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "bool",
|
|
"name": "oracleEnabled",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "owner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "create",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "getCreationCode",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bytes",
|
|
"name": "",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "getCreationCodeContracts",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "contractA",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "contractB",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "getPauseConfiguration",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "pauseWindowDuration",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "bufferPeriodDuration",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "getVault",
|
|
"outputs": [
|
|
{
|
|
"internalType": "contract IVault",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "pool",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "isPoolFromFactory",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
]
|