8729 lines
170 KiB
Plaintext
8729 lines
170 KiB
Plaintext
|
|
usdc<EFBFBD>汾<EFBFBD><EFBFBD>Լ<EFBFBD>ĵ<EFBFBD>
|
|||
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
1<EFBFBD><EFBFBD>7<EFBFBD><EFBFBD>֮ǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>arb sepolia<69><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bnb testnet
|
|||
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>˽Կ
|
|||
|
|
0xa082a7037105ebd606bee80906687e400d89899bbb6ba0273a61528c2f5fab89
|
|||
|
|
USDC<EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>arb sepolia<69><61>
|
|||
|
|
0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d
|
|||
|
|
USDC<EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD>bnb testnet<65><74>
|
|||
|
|
0x939cf46F7A4d05da2a37213E7379a8b04528F590
|
|||
|
|
1<EFBFBD><EFBFBD>7<EFBFBD>ղ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
<EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD>ַ
|
|||
|
|
YTAssetFactory<EFBFBD><EFBFBD>0x37B2CD7D94ba1400a6FEB34804a32EfD555bbfc8
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAddress",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidHardCap",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnableInvalidOwner",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnableUnauthorizedAccount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "VaultNotExists",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "newDefaultHardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "DefaultHardCapSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "newHardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "HardCapSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "redemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "NextRedemptionTimeSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "previousOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnershipTransferred",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "PricesUpdated",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "manager",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "name",
|
|||
|
|
"type": "string"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "symbol",
|
|||
|
|
"type": "string"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "hardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "index",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "VaultCreated",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "VaultImplementationUpdated",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "allVaults",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "_name",
|
|||
|
|
"type": "string"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "_symbol",
|
|||
|
|
"type": "string"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_manager",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_hardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdc",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_redemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_initialYtPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdcPriceFeed",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "createVault",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "vault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string[]",
|
|||
|
|
"name": "_names",
|
|||
|
|
"type": "string[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "string[]",
|
|||
|
|
"name": "_symbols",
|
|||
|
|
"type": "string[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "_managers",
|
|||
|
|
"type": "address[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256[]",
|
|||
|
|
"name": "_hardCaps",
|
|||
|
|
"type": "uint256[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdc",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256[]",
|
|||
|
|
"name": "_redemptionTimes",
|
|||
|
|
"type": "uint256[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256[]",
|
|||
|
|
"name": "_initialYtPrices",
|
|||
|
|
"type": "uint256[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdcPriceFeed",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "createVaultBatch",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "vaults",
|
|||
|
|
"type": "address[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "defaultHardCap",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getAllVaults",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getVaultCount",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getVaultInfo",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "exists",
|
|||
|
|
"type": "bool"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "totalAssets",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "idleAssets",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "managedAssets",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "totalSupply",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "hardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "nextRedemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_start",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_end",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getVaults",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "vaults",
|
|||
|
|
"type": "address[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vaultImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_defaultHardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "isVault",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "owner",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "pauseVault",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "_vaults",
|
|||
|
|
"type": "address[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "pauseVaultBatch",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "renounceOwnership",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_defaultHardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setDefaultHardCap",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_hardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setHardCap",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "_vaults",
|
|||
|
|
"type": "address[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256[]",
|
|||
|
|
"name": "_hardCaps",
|
|||
|
|
"type": "uint256[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setHardCapBatch",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_threshold",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setPriceStalenessThreshold",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setVaultImplementation",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_manager",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setVaultManager",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_nextRedemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setVaultNextRedemptionTime",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "_vaults",
|
|||
|
|
"type": "address[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_nextRedemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setVaultNextRedemptionTimeBatch",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transferOwnership",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "unpauseVault",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "_vaults",
|
|||
|
|
"type": "address[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "unpauseVaultBatch",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_ytPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "updateVaultPrices",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "_vaults",
|
|||
|
|
"type": "address[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256[]",
|
|||
|
|
"name": "_ytPrices",
|
|||
|
|
"type": "uint256[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "updateVaultPricesBatch",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeVault",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "_vaults",
|
|||
|
|
"type": "address[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeVaultBatch",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "vaultImplementation",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
YT-A<><41>0x7f9eEA491eE53045594ee4669327f0355aCd0e58
|
|||
|
|
YT-B<><42>0x20B94C5E5b7361552E0548161a58696aA6FeDBd4
|
|||
|
|
YT-C<><43>0x0EF308D70cf35460E26a3Eb42F3442Ff28cbE07C
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "allowance",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "needed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InsufficientAllowance",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "sender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "balance",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "needed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InsufficientBalance",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "approver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidApprover",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidReceiver",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "sender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidSender",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidSpender",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "EnforcedPause",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ExpectedPause",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "Forbidden",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "HardCapExceeded",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientUSDC",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientYTA",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAmount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidBatchSize",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidChainlinkPrice",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidHardCap",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidPrice",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidPriceFeed",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ReentrancyGuardReentrantCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "RequestAlreadyProcessed",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "RequestNotFound",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "SafeERC20FailedOperation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "StalePrice",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "StillInLockPeriod",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Approval",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AssetsDeposited",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AssetsWithdrawn",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "startIndex",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "endIndex",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "processedCount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "totalUsdcDistributed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "BatchProcessed",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "user",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Buy",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "newHardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "HardCapSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newManager",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ManagerSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "newRedemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "NextRedemptionTimeSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Paused",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "timestamp",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "PriceUpdated",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "user",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Sell",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Transfer",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Unpaused",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "requestId",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "user",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "queueIndex",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "WithdrawRequestCreated",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "requestId",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "user",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "WithdrawRequestProcessed",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "CHAINLINK_PRICE_PRECISION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "PRICE_PRECISION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "allowance",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "approve",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "balanceOf",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "canRedeemNow",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "decimals",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint8",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint8"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "depositManagedAssets",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "depositYT",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "factory",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getPendingRequestsCount",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getQueueProgress",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "currentIndex",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "totalRequests",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "pendingRequests",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_requestId",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getRequestDetails",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"components": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "user",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "requestTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "queueIndex",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "processed",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"internalType": "struct YTAssetVault.WithdrawRequest",
|
|||
|
|
"name": "request",
|
|||
|
|
"type": "tuple"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getTimeUntilNextRedemption",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "remainingTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_user",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getUserPendingRequests",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"components": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "user",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "requestTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "queueIndex",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "processed",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"internalType": "struct YTAssetVault.WithdrawRequest[]",
|
|||
|
|
"name": "pendingRequests",
|
|||
|
|
"type": "tuple[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_user",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getUserRequestIds",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256[]",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getVaultInfo",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_totalAssets",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_idleAssets",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_managedAssets",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_totalSupply",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_hardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_usdcPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_ytPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_nextRedemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "hardCap",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "idleAssets",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "_name",
|
|||
|
|
"type": "string"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "_symbol",
|
|||
|
|
"type": "string"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_manager",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_hardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdc",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_redemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_initialYtPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdcPriceFeed",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "managedAssets",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "manager",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "name",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "nextRedemptionTime",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "pause",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "paused",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "pendingRequestsCount",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "previewBuy",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "previewSell",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "priceStalenesThreshold",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_batchSize",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "processBatchWithdrawals",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "processedCount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "totalDistributed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "processedUpToIndex",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "requestIdCounter",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_hardCap",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setHardCap",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_manager",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setManager",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_nextRedemptionTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setNextRedemptionTime",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_threshold",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setPriceStalenessThreshold",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "symbol",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "totalAssets",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "totalSupply",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transfer",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transferFrom",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "unpause",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_ytPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "updatePrices",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "usdcAddress",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "usdcDecimals",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint8",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint8"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "withdrawForManagement",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "withdrawRequests",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "user",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdcAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "requestTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "queueIndex",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "processed",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_ytAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "withdrawYT",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "requestId",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ytPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
USDY<EFBFBD><EFBFBD>0x29774970556407fAE16BC07e87704fE0E9559BC4
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "allowance",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "needed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InsufficientAllowance",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "sender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "balance",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "needed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InsufficientBalance",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "approver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidApprover",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidReceiver",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "sender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidSender",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidSpender",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "Forbidden",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidVault",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnableInvalidOwner",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnableUnauthorizedAccount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Approval",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "previousOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnershipTransferred",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Transfer",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "vault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "VaultAdded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "vault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "VaultRemoved",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "addVault",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "allowance",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "approve",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "balanceOf",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "burn",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "decimals",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint8",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint8"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "mint",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "name",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "owner",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_vault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "removeVault",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "renounceOwnership",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "symbol",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "totalSupply",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transfer",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transferFrom",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transferOwnership",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "vaults",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
YTLPToken<EFBFBD><EFBFBD>0x17c1100b02d560549b499561dB8d7D48fc391cf3
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "allowance",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "needed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InsufficientAllowance",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "sender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "balance",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "needed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InsufficientBalance",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "approver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidApprover",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidReceiver",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "sender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidSender",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC20InvalidSpender",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidMinter",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidPoolManager",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotMinter",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnableInvalidOwner",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnableUnauthorizedAccount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Approval",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "minter",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "isActive",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "MinterSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "previousOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnershipTransferred",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Transfer",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "allowance",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "spender",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "approve",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "balanceOf",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "burn",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "decimals",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint8",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint8"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "isMinter",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "mint",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "name",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "owner",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "poolManager",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "renounceOwnership",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_minter",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_isActive",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setMinter",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_poolManager",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setPoolManager",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "symbol",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "totalSupply",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transfer",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "value",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transferFrom",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transferOwnership",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
YTPriceFeed<EFBFBD><EFBFBD>0x293d00fB683f15eA5a3143ecb551a0aCCbEC42Be
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "Forbidden",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAddress",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidChainlinkPrice",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "MaxChangeTooHigh",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "PriceChangeTooLarge",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "SpreadTooHigh",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "StalePrice",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "keeper",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "isActive",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "KeeperSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "oldPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "newPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "timestamp",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "PriceUpdate",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "spreadBps",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "SpreadUpdate",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "BASIS_POINTS_DIVISOR",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "MAX_SPREAD_BASIS_POINTS",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "PRICE_PRECISION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_price",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "forceUpdatePrice",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getMaxPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getMinPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_maximise",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getPriceInfo",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "currentPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "cachedPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "maxPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "minPrice",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "spread",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "gov",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdcAddress",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdcPriceFeed",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "isKeeper",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "lastPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "maxPriceChangeBps",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "priceStalenesThreshold",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_keeper",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_isActive",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setKeeper",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_maxPriceChangeBps",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setMaxPriceChangeBps",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_threshold",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setPriceStalenessThreshold",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_spreadBasisPoints",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setSpreadBasisPoints",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "_tokens",
|
|||
|
|
"type": "address[]"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256[]",
|
|||
|
|
"name": "_spreadBasisPoints",
|
|||
|
|
"type": "uint256[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setSpreadBasisPointsForMultiple",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdcAddress",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setUSDCAddress",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdcPriceFeed",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setUSDCPriceFeed",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "spreadBasisPoints",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "updatePrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "usdcAddress",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
YTVault<EFBFBD><EFBFBD>0xA6CD153c2fa0C2725605880668538660Ca21a790
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "AmountExceedsLimit",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "DailyLimitExceeded",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "EmergencyMode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "Forbidden",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientPool",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientUSDYAmount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAddress",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAmount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidFee",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidPoolAmount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "MaxUSDYExceeded",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInEmergency",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotSwapper",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "OnlyPoolManager",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ReentrancyGuardReentrantCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "SafeERC20FailedOperation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "SameToken",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "SlippageTooHigh",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "SwapDisabled",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "TokenNotWhitelisted",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdyAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddLiquidity",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "enabled",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "EmergencyModeSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "oldGov",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newGov",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "GovChanged",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "oldManager",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newManager",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "PoolManagerChanged",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdyAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amountOut",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "RemoveLiquidity",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "tokenIn",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "tokenOut",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amountIn",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amountOut",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "feeBasisPoints",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Swap",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "enabled",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "SwapEnabledSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "BASIS_POINTS_DIVISOR",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "PRICE_PRECISION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "USDY_DECIMALS",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "allWhitelistedTokens",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "buyUSDY",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "clearWhitelistedToken",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "emergencyMode",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getAllPoolTokens",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_usdyDelta",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_feeBasisPoints",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_taxBasisPoints",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_increment",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getFeeBasisPoints",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getMaxPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getMinPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_maximise",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getPoolValue",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_maximise",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_usdyAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getRedemptionFeeBasisPoints",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_tokenIn",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_tokenOut",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_usdyAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getSwapFeeBasisPoints",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getTargetUsdyAmount",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "gov",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "hasDynamicFees",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdy",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_priceFeed",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "isSwapEnabled",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "isSwapper",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "maxSwapAmount",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "maxSwapSlippageBps",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "maxUsdyAmounts",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "poolAmounts",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "priceFeed",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "sellUSDY",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_hasDynamicFees",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setDynamicFees",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_emergencyMode",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setEmergencyMode",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_gov",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setGov",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setMaxSwapAmount",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_slippageBps",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setMaxSwapSlippageBps",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_manager",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setPoolManager",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_isSwapEnabled",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setSwapEnabled",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_swapFee",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_stableSwapFee",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_taxBasisPoints",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_stableTaxBasisPoints",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setSwapFees",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_swapper",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_isActive",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setSwapper",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_decimals",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_weight",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_maxUsdyAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_isStable",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setWhitelistedToken",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "stableSwapFeeBasisPoints",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "stableTaxBasisPoints",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "stableTokens",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_tokenIn",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_tokenOut",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "swap",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "swapFeeBasisPoints",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "taxBasisPoints",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "tokenBalances",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "tokenDecimals",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "tokenWeights",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "totalTokenWeights",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "usdy",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "usdyAmounts",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "whitelistedTokens",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "withdrawToken",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ytPoolManager",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
YTPoolManager<EFBFBD><EFBFBD>0xb11824eAA659F8A4648711709dA60720d5Cdabd2
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "CooldownNotPassed",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "Forbidden",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientOutput",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAddress",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAmount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidDuration",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "PrivateMode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ReentrancyGuardReentrantCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "SafeERC20FailedOperation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "aumInUsdy",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytLPSupply",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdyAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "mintAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddLiquidity",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "addition",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "deduction",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AumAdjustmentChanged",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "duration",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "CooldownDurationSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "cooldownTime",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "CooldownInherited",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "oldGov",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newGov",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "GovChanged",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "handler",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "isActive",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "HandlerSet",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytLPAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "aumInUsdy",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "ytLPSupply",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdyAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amountOut",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "RemoveLiquidity",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "BASIS_POINTS_DIVISOR",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "MAX_COOLDOWN_DURATION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "PRICE_PRECISION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "YTLP_PRECISION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_fundingAccount",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_minUsdy",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_minYtLP",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "addLiquidityForAccount",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "aumAddition",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "aumDeduction",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "cooldownDuration",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_maximise",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getAumInUsdy",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_maximise",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "gov",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_ytVault",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdy",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_ytLP",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_cooldownDuration",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "isHandler",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "lastAddedAt",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_to",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "onLPTransfer",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_tokenOut",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_ytLPAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_minOut",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "removeLiquidityForAccount",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_addition",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_deduction",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setAumAdjustment",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_duration",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setCooldownDuration",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_gov",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setGov",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_handler",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "_isActive",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setHandler",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "usdy",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ytLP",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ytVault",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
YTRewardRouter<EFBFBD><EFBFBD>0x5af5A51F7702024E7387bba7497DC9965C00F16E
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "AlreadyInitialized",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "EnforcedPause",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ExpectedPause",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "Forbidden",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientOutput",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAddress",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidAmount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ReentrancyGuardReentrantCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Paused",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "tokenIn",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "tokenOut",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amountIn",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amountOut",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Swap",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Unpaused",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_token",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_minUsdy",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_minYtLP",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "addLiquidity",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getAccountValue",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getYtLPPrice",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "gov",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_usdy",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_ytLP",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_ytPoolManager",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_ytVault",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "pause",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "paused",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_tokenOut",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_ytLPAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_minOut",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "removeLiquidity",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_tokenIn",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_tokenOut",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_amountIn",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "_minOut",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "_receiver",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "swapYT",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "unpause",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "usdy",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ytLP",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ytPoolManager",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ytVault",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
lendingProxy<EFBFBD><EFBFBD>0xfdbFD4656b74aD16F23264121eD9F58219f5C3Cf
|
|||
|
|
JSON
|
|||
|
|
[
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "constructor"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "target",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AddressEmptyCode",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "BorrowTooSmall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "ERC1967InvalidImplementation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ERC1967NonPayable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "EnforcedPause",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ExpectedPause",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "FailedCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientBalance",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientCollateral",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InsufficientReserves",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidBorrowCollateralFactor",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidInitialization",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidLiquidateCollateralFactor",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "InvalidLiquidationFactor",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotForSale",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotInitializing",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "NotLiquidatable",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "owner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnableInvalidOwner",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnableUnauthorizedAccount",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "ReentrancyGuardReentrantCall",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "token",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "SafeERC20FailedOperation",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "SupplyCapExceeded",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UUPSUnauthorizedCallContext",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "slot",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "UUPSUnsupportedProxiableUUID",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "Unauthorized",
|
|||
|
|
"type": "error"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "absorber",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "borrower",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "collateralAbsorbed",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdValue",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AbsorbCollateral",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "absorber",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "borrower",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "basePaidOut",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "usdValue",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "AbsorbDebt",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "buyer",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "baseAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "collateralAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "BuyCollateral",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "version",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Initialized",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "previousOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "OwnershipTransferred",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Paused",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "dst",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Supply",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "from",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "dst",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "SupplyCollateral",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint104",
|
|||
|
|
"name": "targetReserves",
|
|||
|
|
"type": "uint104"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "TargetReservesUpdated",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Unpaused",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "implementation",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Upgraded",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "src",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "Withdraw",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "src",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "WithdrawCollateral",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"anonymous": false,
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"indexed": true,
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"indexed": false,
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "WithdrawReserves",
|
|||
|
|
"type": "event"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "string",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "string"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "borrower",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "absorb",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "absorber",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address[]",
|
|||
|
|
"name": "accounts",
|
|||
|
|
"type": "address[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "absorbMultiple",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "accrueInterest",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "assetConfigs",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint8",
|
|||
|
|
"name": "decimals",
|
|||
|
|
"type": "uint8"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "borrowCollateralFactor",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "liquidateCollateralFactor",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "liquidationFactor",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint128",
|
|||
|
|
"name": "supplyCap",
|
|||
|
|
"type": "uint128"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "assetList",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "baseBorrowMin",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint104",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint104"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "baseToken",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "borrowBalanceOf",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "borrowIndex",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "borrowKink",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "borrowPerSecondInterestRateBase",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "borrowPerSecondInterestRateSlopeHigh",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "borrowPerSecondInterestRateSlopeLow",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "minAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "baseAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "recipient",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "buyCollateral",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "collateralReserves",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getBalance",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "int256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "int256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getBorrowRate",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getCollateral",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "getCollateralReserves",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getReserves",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "int256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "int256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getSupplyRate",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getTotalBorrow",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getTotalSupply",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "getUtilization",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"components": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "baseToken",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "lendingPriceSource",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "supplyKink",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "supplyPerYearInterestRateSlopeLow",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "supplyPerYearInterestRateSlopeHigh",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "supplyPerYearInterestRateBase",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "borrowKink",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "borrowPerYearInterestRateSlopeLow",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "borrowPerYearInterestRateSlopeHigh",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "borrowPerYearInterestRateBase",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "storeFrontPriceFactor",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint104",
|
|||
|
|
"name": "baseBorrowMin",
|
|||
|
|
"type": "uint104"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint104",
|
|||
|
|
"name": "targetReserves",
|
|||
|
|
"type": "uint104"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"components": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint8",
|
|||
|
|
"name": "decimals",
|
|||
|
|
"type": "uint8"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "borrowCollateralFactor",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "liquidateCollateralFactor",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "liquidationFactor",
|
|||
|
|
"type": "uint64"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint128",
|
|||
|
|
"name": "supplyCap",
|
|||
|
|
"type": "uint128"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"internalType": "struct LendingConfiguration.AssetConfig[]",
|
|||
|
|
"name": "assetConfigs",
|
|||
|
|
"type": "tuple[]"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"internalType": "struct LendingConfiguration.Configuration",
|
|||
|
|
"name": "config",
|
|||
|
|
"type": "tuple"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "initialize",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "isLiquidatable",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "lastAccrualTime",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "lendingPriceSource",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "owner",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "pause",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "paused",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bool",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bool"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "proxiableUUID",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes32",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "bytes32"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "baseAmount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "quoteCollateral",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "renounceOwnership",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint104",
|
|||
|
|
"name": "newTargetReserves",
|
|||
|
|
"type": "uint104"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "setTargetReserves",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "storeFrontPriceFactor",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "supply",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "account",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "supplyBalanceOf",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "supplyCollateral",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "supplyIndex",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "supplyKink",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "supplyPerSecondInterestRateBase",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "supplyPerSecondInterestRateSlopeHigh",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "supplyPerSecondInterestRateSlopeLow",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint64",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint64"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "targetReserves",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint104",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint104"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "totalBorrowBase",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint104",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint104"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "totalSupplyBase",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint104",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint104"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newOwner",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "transferOwnership",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [],
|
|||
|
|
"name": "unpause",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "newImplementation",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "bytes",
|
|||
|
|
"name": "data",
|
|||
|
|
"type": "bytes"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "upgradeToAndCall",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "payable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "userBasic",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "int104",
|
|||
|
|
"name": "principal",
|
|||
|
|
"type": "int104"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "address"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "userCollateral",
|
|||
|
|
"outputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"stateMutability": "view",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "withdraw",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "asset",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "withdrawCollateral",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"inputs": [
|
|||
|
|
{
|
|||
|
|
"internalType": "address",
|
|||
|
|
"name": "to",
|
|||
|
|
"type": "address"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"internalType": "uint256",
|
|||
|
|
"name": "amount",
|
|||
|
|
"type": "uint256"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"name": "withdrawReserves",
|
|||
|
|
"outputs": [],
|
|||
|
|
"stateMutability": "nonpayable",
|
|||
|
|
"type": "function"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
|
|||
|
|
[deployments-lending.json]
|
|||
|
|
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
"97": {
|
|||
|
|
"lendingFactory": "0x10E6Ad7b8a801857F3A96A5178D7baf5C34a5B83",
|
|||
|
|
"lendingPriceFeedProxy": "0xa280F5FD7AA093572BEb791d7f9CC8Ec8EA57A15",
|
|||
|
|
"lendingPriceFeed": "0xa280F5FD7AA093572BEb791d7f9CC8Ec8EA57A15",
|
|||
|
|
"lendingPriceFeedImpl": "0xF1aAd358d6E20Ba946786Bb3E5d34D42F4740dd2",
|
|||
|
|
"configuratorProxy": "0x189Fe9dbB2f7dA538D3191159fd661779D7BCBd6",
|
|||
|
|
"configuratorImpl": "0xF553843cb7F35378Fd4020d2DFceb90BfD760552",
|
|||
|
|
"lendingImpl": "0xc20e1Dd1eb781C344489828CE3BFCA318CB51430",
|
|||
|
|
"usdcAddress": "0x939cf46F7A4d05da2a37213E7379a8b04528F590",
|
|||
|
|
"usdcPriceFeed": "0x90c069C4538adAc136E051052E14c1cD799C41B7",
|
|||
|
|
"deployTimestamp": "2026-01-12T05:59:53.030Z",
|
|||
|
|
"deployer": "0xa013422A5918CD099C63c8CC35283EACa99a705d",
|
|||
|
|
"lendingProxy": "0xfdbFD4656b74aD16F23264121eD9F58219f5C3Cf",
|
|||
|
|
"collateralAssets": [
|
|||
|
|
{
|
|||
|
|
"name": "YT Token A",
|
|||
|
|
"symbol": "YT-A",
|
|||
|
|
"address": "0x7f9eEA491eE53045594ee4669327f0355aCd0e58"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "YT Token B",
|
|||
|
|
"symbol": "YT-B",
|
|||
|
|
"address": "0x20B94C5E5b7361552E0548161a58696aA6FeDBd4"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "YT Token C",
|
|||
|
|
"symbol": "YT-C",
|
|||
|
|
"address": "0x0EF308D70cf35460E26a3Eb42F3442Ff28cbE07C"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"configTimestamp": "2026-01-12T06:00:25.232Z"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
[deployments-vault-system.json]
|
|||
|
|
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
"network": "bscTestnet",
|
|||
|
|
"chainId": "97",
|
|||
|
|
"deployer": "0xa013422A5918CD099C63c8CC35283EACa99a705d",
|
|||
|
|
"timestamp": "2026-01-12T05:54:13.800Z",
|
|||
|
|
"usdcAddress": "0x939cf46F7A4d05da2a37213E7379a8b04528F590",
|
|||
|
|
"usdcPriceFeedAddress": "0x90c069C4538adAc136E051052E14c1cD799C41B7",
|
|||
|
|
"defaultHardCap": "10000000000000000000000000",
|
|||
|
|
"contracts": {
|
|||
|
|
"YTAssetVault": {
|
|||
|
|
"implementation": "0xB9a9c4d1a8f81a479040fcD30Bf3fca413c203bf"
|
|||
|
|
},
|
|||
|
|
"YTAssetFactory": {
|
|||
|
|
"proxy": "0x37B2CD7D94ba1400a6FEB34804a32EfD555bbfc8",
|
|||
|
|
"implementation": "0x6137aAF5903A480888bC72c7b091909421bef45D"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"vaults": [
|
|||
|
|
{
|
|||
|
|
"name": "YT Token A",
|
|||
|
|
"symbol": "YT-A",
|
|||
|
|
"address": "0x7f9eEA491eE53045594ee4669327f0355aCd0e58",
|
|||
|
|
"index": "0",
|
|||
|
|
"manager": "0xa013422A5918CD099C63c8CC35283EACa99a705d",
|
|||
|
|
"hardCap": "10000000000000000000000000",
|
|||
|
|
"redemptionTime": 1799733295,
|
|||
|
|
"ytPrice": "1000000000000000000000000000000"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "YT Token B",
|
|||
|
|
"symbol": "YT-B",
|
|||
|
|
"address": "0x20B94C5E5b7361552E0548161a58696aA6FeDBd4",
|
|||
|
|
"index": "1",
|
|||
|
|
"manager": "0xa013422A5918CD099C63c8CC35283EACa99a705d",
|
|||
|
|
"hardCap": "10000000000000000000000000",
|
|||
|
|
"redemptionTime": 1799733295,
|
|||
|
|
"ytPrice": "1000000000000000000000000000000"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "YT Token C",
|
|||
|
|
"symbol": "YT-C",
|
|||
|
|
"address": "0x0EF308D70cf35460E26a3Eb42F3442Ff28cbE07C",
|
|||
|
|
"index": "2",
|
|||
|
|
"manager": "0xa013422A5918CD099C63c8CC35283EACa99a705d",
|
|||
|
|
"hardCap": "10000000000000000000000000",
|
|||
|
|
"redemptionTime": 1799733295,
|
|||
|
|
"ytPrice": "1000000000000000000000000000000"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"lastUpdate": "2026-01-12T05:55:05.405Z"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
[deployments-usdc-config.json]
|
|||
|
|
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
"network": "bscTestnet",
|
|||
|
|
"chainId": "97",
|
|||
|
|
"deployer": "0xa013422A5918CD099C63c8CC35283EACa99a705d",
|
|||
|
|
"timestamp": "2026-01-12T05:52:56.820Z",
|
|||
|
|
"contracts": {
|
|||
|
|
"USDC": {
|
|||
|
|
"address": "0x939cf46F7A4d05da2a37213E7379a8b04528F590",
|
|||
|
|
"description": "USDC<44><43><EFBFBD>ҵ<EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>Ѵ<EFBFBD><D1B4>ڵĺ<DAB5>Լ<EFBFBD><D4BC>"
|
|||
|
|
},
|
|||
|
|
"ChainlinkUSDCPriceFeed": {
|
|||
|
|
"address": "0x90c069C4538adAc136E051052E14c1cD799C41B7",
|
|||
|
|
"description": "Chainlink USDC/USD <20>۸<EFBFBD>Ԥ<EFBFBD>Ի<EFBFBD>",
|
|||
|
|
"precision": "1e8"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"notes": {
|
|||
|
|
"bsc": "BSC<53><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD>USDC<44><43>18λ<38><CEBB><EFBFBD><EFBFBD>",
|
|||
|
|
"arbSepolia": "Arbitrum Sepolia<69><61>USDC<44><43>6λ<36><CEBB><EFBFBD><EFBFBD>"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
[deployments-whitelist-config.json]
|
|||
|
|
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
"timestamp": "2026-01-12T05:56:01.673Z",
|
|||
|
|
"operator": "0xa013422A5918CD099C63c8CC35283EACa99a705d",
|
|||
|
|
"whitelistedTokens": {
|
|||
|
|
"ytTokens": [
|
|||
|
|
{
|
|||
|
|
"name": "YT Token A",
|
|||
|
|
"symbol": "YT-A",
|
|||
|
|
"address": "0x7f9eEA491eE53045594ee4669327f0355aCd0e58",
|
|||
|
|
"weight": 4000,
|
|||
|
|
"maxUsdyAmount": "45000000000000000000000000",
|
|||
|
|
"price": "1000000000000000000000000000000",
|
|||
|
|
"isStable": false
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "YT Token B",
|
|||
|
|
"symbol": "YT-B",
|
|||
|
|
"address": "0x20B94C5E5b7361552E0548161a58696aA6FeDBd4",
|
|||
|
|
"weight": 3000,
|
|||
|
|
"maxUsdyAmount": "35000000000000000000000000",
|
|||
|
|
"price": "1000000000000000000000000000000",
|
|||
|
|
"isStable": false
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "YT Token C",
|
|||
|
|
"symbol": "YT-C",
|
|||
|
|
"address": "0x0EF308D70cf35460E26a3Eb42F3442Ff28cbE07C",
|
|||
|
|
"weight": 2000,
|
|||
|
|
"maxUsdyAmount": "25000000000000000000000000",
|
|||
|
|
"price": "1000000000000000000000000000000",
|
|||
|
|
"isStable": false
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"usdc": {
|
|||
|
|
"name": "USDC",
|
|||
|
|
"symbol": "USDC",
|
|||
|
|
"address": "0x939cf46F7A4d05da2a37213E7379a8b04528F590",
|
|||
|
|
"weight": 1000,
|
|||
|
|
"maxUsdyAmount": "30000000000000",
|
|||
|
|
"priceSource": "Chainlink (<28>Զ<EFBFBD>)",
|
|||
|
|
"isStable": true
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"totalWeight": "10000",
|
|||
|
|
"poolComposition": "USDC/YT-A/YT-B/YT-C"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
[deployments-ytlp-config.json]
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
"network": "bscTestnet",
|
|||
|
|
"chainId": "97",
|
|||
|
|
"configurer": "0xa013422A5918CD099C63c8CC35283EACa99a705d",
|
|||
|
|
"timestamp": "2026-01-12T05:55:25.677Z",
|
|||
|
|
"configuration": {
|
|||
|
|
"permissions": {
|
|||
|
|
"usdyVaults": [
|
|||
|
|
"0xA6CD153c2fa0C2725605880668538660Ca21a790",
|
|||
|
|
"0xb11824eAA659F8A4648711709dA60720d5Cdabd2"
|
|||
|
|
],
|
|||
|
|
"ytlpMinters": [
|
|||
|
|
"0xb11824eAA659F8A4648711709dA60720d5Cdabd2"
|
|||
|
|
],
|
|||
|
|
"ytlpPoolManager": "0xb11824eAA659F8A4648711709dA60720d5Cdabd2",
|
|||
|
|
"vaultPoolManager": "0xb11824eAA659F8A4648711709dA60720d5Cdabd2",
|
|||
|
|
"vaultSwappers": [
|
|||
|
|
"0x5af5A51F7702024E7387bba7497DC9965C00F16E"
|
|||
|
|
],
|
|||
|
|
"poolManagerHandlers": [
|
|||
|
|
"0x5af5A51F7702024E7387bba7497DC9965C00F16E"
|
|||
|
|
],
|
|||
|
|
"priceFeedKeepers": [
|
|||
|
|
"0xa013422A5918CD099C63c8CC35283EACa99a705d"
|
|||
|
|
],
|
|||
|
|
"usdcPriceSource": "Chainlink (<28>Զ<EFBFBD>)"
|
|||
|
|
},
|
|||
|
|
"parameters": {
|
|||
|
|
"dynamicFees": true,
|
|||
|
|
"maxSwapSlippageBps": 1000,
|
|||
|
|
"maxPriceChangeBps": 500
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|