diff --git a/ethereum/stader/abis/0x036676389e48133b63a802f8635ad39e752d375d.abi.json b/ethereum/kelp/abis/0x036676389e48133b63a802f8635ad39e752d375d.abi.json similarity index 91% rename from ethereum/stader/abis/0x036676389e48133b63a802f8635ad39e752d375d.abi.json rename to ethereum/kelp/abis/0x036676389e48133b63a802f8635ad39e752d375d.abi.json index d4013f94..3eb76a9b 100644 --- a/ethereum/stader/abis/0x036676389e48133b63a802f8635ad39e752d375d.abi.json +++ b/ethereum/kelp/abis/0x036676389e48133b63a802f8635ad39e752d375d.abi.json @@ -75,6 +75,11 @@ "name": "NotEnoughAssetToTransfer", "type": "error" }, + { + "inputs": [], + "name": "TokenTransferFailed", + "type": "error" + }, { "inputs": [], "name": "ValueAlreadyInUse", @@ -178,25 +183,6 @@ "name": "ETHSwappedForLST", "type": "event" }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "EthTransferred", - "type": "event" - }, { "anonymous": false, "inputs": [ @@ -403,21 +389,6 @@ "internalType": "uint256", "name": "assetStakedInEigenLayer", "type": "uint256" - }, - { - "internalType": "uint256", - "name": "assetUnstakingFromEigenLayer", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "assetLyingInConverter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "assetLyingUnstakingVault", - "type": "uint256" } ], "stateMutability": "view", @@ -441,21 +412,6 @@ "internalType": "uint256", "name": "ethStakedInEigenLayer", "type": "uint256" - }, - { - "internalType": "uint256", - "name": "ethUnstakingFromEigenLayer", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "ethLyingInConverter", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "ethLyingInUnstakingVault", - "type": "uint256" } ], "stateMutability": "view", @@ -586,19 +542,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "asset", - "type": "address" - } - ], - "name": "maxApproveToLRTConverter", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, { "inputs": [], "name": "maxNodeDelegatorLimit", @@ -799,4 +742,4 @@ "stateMutability": "payable", "type": "receive" } -] +] \ No newline at end of file diff --git a/ethereum/stader/abis/0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16.abi.json b/ethereum/kelp/abis/0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16.abi.json similarity index 94% rename from ethereum/stader/abis/0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16.abi.json rename to ethereum/kelp/abis/0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16.abi.json index 6d9aa9e8..21fe36ee 100644 --- a/ethereum/stader/abis/0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16.abi.json +++ b/ethereum/kelp/abis/0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16.abi.json @@ -22,7 +22,7 @@ "type": "uint256" } ], - "name": "AssetPriceMustBeGreaterMinimum", + "name": "AssetPriceOutOfPriceRange", "type": "error" }, { @@ -41,6 +41,11 @@ "name": "CallerNotLRTConfigAllowedRole", "type": "error" }, + { + "inputs": [], + "name": "CallerNotLRTConfigManager", + "type": "error" + }, { "inputs": [], "name": "CallerNotLRTConfigOperator", @@ -56,6 +61,11 @@ "name": "ExceedAmountToWithdraw", "type": "error" }, + { + "inputs": [], + "name": "ExceedWithdrawalDelay", + "type": "error" + }, { "inputs": [], "name": "InvalidAmountToWithdraw", @@ -89,7 +99,7 @@ "type": "uint256" } ], - "name": "RsETHPriceMustBeGreaterMinimum", + "name": "RsETHPriceOutOfPriceRange", "type": "error" }, { @@ -112,11 +122,6 @@ "name": "WithdrawalDelayNotPassed", "type": "error" }, - { - "inputs": [], - "name": "WithdrawalDelayTooSmall", - "type": "error" - }, { "inputs": [], "name": "WithdrawalLocked", @@ -296,6 +301,19 @@ "name": "Paused", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "referralId", + "type": "string" + } + ], + "name": "ReferralIdEmitted", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -360,6 +378,11 @@ "internalType": "address", "name": "asset", "type": "address" + }, + { + "internalType": "string", + "name": "referralId", + "type": "string" } ], "name": "completeWithdrawal", @@ -502,6 +525,11 @@ "internalType": "uint256", "name": "rsETHUnstaked", "type": "uint256" + }, + { + "internalType": "string", + "name": "referralId", + "type": "string" } ], "name": "initiateWithdrawal", @@ -658,6 +686,16 @@ "internalType": "uint256", "name": "minimumRsEthPrice", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximumAssetPrice", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximumRsEthPrice", + "type": "uint256" } ], "name": "unlockQueue", @@ -771,4 +809,4 @@ "stateMutability": "payable", "type": "receive" } -] +] \ No newline at end of file diff --git a/ethereum/kelp/abis/0xbf28c9fcb12a97441488f9c68faa49811a98688a.abi.json b/ethereum/kelp/abis/0xbf28c9fcb12a97441488f9c68faa49811a98688a.abi.json new file mode 100644 index 00000000..4cdfefaa --- /dev/null +++ b/ethereum/kelp/abis/0xbf28c9fcb12a97441488f9c68faa49811a98688a.abi.json @@ -0,0 +1,141 @@ +[ + { + "inputs": [ + { + "internalType": "contract ILRTDepositPool", + "name": "_lrtDepositPool", + "type": "address" + }, + { + "internalType": "contract IERC4626", + "name": "_vault", + "type": "address" + }, + { + "internalType": "contract IERC20", + "name": "_rsETH", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rsETHAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "refferalId", + "type": "string" + } + ], + "name": "RSETHMintedAndDepositedInVault", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "rsETHAmount", + "type": "uint256" + }, + { + "internalType": "string", + "name": "referralId", + "type": "string" + } + ], + "name": "depositRsETH", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "depositAmount", + "type": "uint256" + }, + { + "internalType": "string", + "name": "referralId", + "type": "string" + } + ], + "name": "getRSETHWithERC20", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "referralId", + "type": "string" + } + ], + "name": "getRSETHWithETH", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "lrtDepositPool", + "outputs": [ + { + "internalType": "contract ILRTDepositPool", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "rsETH", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "vault", + "outputs": [ + { + "internalType": "contract IERC4626", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/ethereum/kelp/abis/0xe1b4d34e8754600962cd944b535180bd758e6c2e.abi.json b/ethereum/kelp/abis/0xe1b4d34e8754600962cd944b535180bd758e6c2e.abi.json new file mode 100644 index 00000000..1497e330 --- /dev/null +++ b/ethereum/kelp/abis/0xe1b4d34e8754600962cd944b535180bd758e6c2e.abi.json @@ -0,0 +1,1798 @@ +[ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "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": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "Deposit", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "bDepositsPaused", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bool", + "name": "bWithdrawalsPaused", + "type": "bool" + } + ], + "name": "DepositWithdrawalStatusChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "loanAddr", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "aprWithTwoDecimals", + "type": "uint256" + } + ], + "name": "NewLoanDeployedByPool", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "withdrawalAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "tokenAddr", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "destinationAddr", + "type": "address" + } + ], + "name": "OnEmergencyWithdraw", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "prevValue", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "OnMaxSupplyChanged", + "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": "sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "Withdraw", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "ownerAddr", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "receiverAddr", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "shares", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "fee", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "year", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "month", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "day", + "type": "uint256" + } + ], + "name": "WithdrawalRequested", + "type": "event" + }, + { + "inputs": [], + "name": "SETTLEMENT_ACCOUNT", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "addToBlacklist", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "ownerAddr", + "type": "address" + }, + { + "internalType": "address", + "name": "spenderAddr", + "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": [], + "name": "asset", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "blacklisted", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "loanAddr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "callbackPeriodInHours", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "gracePeriodInHours", + "type": "uint256" + } + ], + "name": "callLoan", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "loanAddr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "lateInterestFeeWithTwoDecimals", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "latePrincipalFeeWithTwoDecimals", + "type": "uint256" + } + ], + "name": "changeLateFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "loanAddr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "maintenanceCollateralRatioWith2Decimals", + "type": "uint256" + } + ], + "name": "changeMaintenanceCollateralRatio", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "year", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "month", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiverAddr", + "type": "address" + } + ], + "name": "claim", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "collectFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newLagDuration", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newMaxDepositAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newMaxWithdrawalAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newMaxTokenSupply", + "type": "uint256" + }, + { + "internalType": "address", + "name": "newUnderlyingAsset", + "type": "address" + }, + { + "internalType": "address", + "name": "newLoansOperator", + "type": "address" + }, + { + "internalType": "address", + "name": "newLoansDeployerAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "newFeesCollectorAddr", + "type": "address" + }, + { + "internalType": "uint8", + "name": "newProcessingHour", + "type": "uint8" + } + ], + "name": "configurePool", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "convertToAssets", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "assets", + "type": "uint256" + } + ], + "name": "convertToShares", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "fundingPeriodInSeconds", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newPaymentIntervalInSeconds", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newLoanAmountInPrincipalTokens", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "originationFeePercent2Decimals", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newAprWithTwoDecimals", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "initialCollateralRatioWith2Decimals", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maintenanceCollateralRatioWith2Decimals", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lateInterestFee", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "latePrincipalFee", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expiryInfo", + "type": "uint256" + }, + { + "internalType": "string", + "name": "loanTypeInfo", + "type": "string" + }, + { + "internalType": "address", + "name": "lenderAddr", + "type": "address" + }, + { + "internalType": "address", + "name": "borrowerAddr", + "type": "address" + }, + { + "internalType": "address", + "name": "newCollateralToken", + "type": "address" + }, + { + "internalType": "address", + "name": "newPrincipalToken", + "type": "address" + }, + { + "internalType": "address", + "name": "feesManagerAddr", + "type": "address" + }, + { + "internalType": "address", + "name": "priceOracleAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "feesCollectorAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "categoryFeesAdress", + "type": "address" + }, + { + "internalType": "bool", + "name": "allowSeizeCollateral", + "type": "bool" + } + ], + "internalType": "struct LoanDeploymentParams", + "name": "loanParams", + "type": "tuple" + } + ], + "name": "deployLoan", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "deposit", + "outputs": [ + { + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "depositsPaused", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IERC20", + "name": "token", + "type": "address" + }, + { + "internalType": "address", + "name": "destinationAddr", + "type": "address" + } + ], + "name": "emergencyWithdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "feesCollector", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "loanAddr", + "type": "address" + } + ], + "name": "fundLoan", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "year", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "month", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiverAddr", + "type": "address" + } + ], + "name": "getBurnableAmountByReceiver", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "year", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "month", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiverAddr", + "type": "address" + } + ], + "name": "getClaimableAmountByReceiver", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getInitializedVersion", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "year", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "month", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + } + ], + "name": "getRequirementByDate", + "outputs": [ + { + "internalType": "uint256", + "name": "shares", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "assets", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "year", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "month", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + } + ], + "name": "getScheduledTransactionsByDate", + "outputs": [ + { + "internalType": "uint256", + "name": "totalTransactions", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "executionEpoch", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalLoansDeployed", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getWithdrawalEpoch", + "outputs": [ + { + "internalType": "uint256", + "name": "year", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "month", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "claimableEpoch", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "globalLiabilityShares", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "globalLoansAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + }, + { + "internalType": "uint8", + "name": "erc20Decimals", + "type": "uint8" + }, + { + "internalType": "string", + "name": "erc20Symbol", + "type": "string" + }, + { + "internalType": "string", + "name": "erc20Name", + "type": "string" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "lagDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "loanAddr", + "type": "address" + } + ], + "name": "liquidate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "liquidationHour", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "loansDeployed", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "loansDeployerAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "loansOperator", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "maxDeposit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "maxDepositAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "maxMint", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "holderAddr", + "type": "address" + } + ], + "name": "maxRedeem", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "maxSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "holderAddr", + "type": "address" + } + ], + "name": "maxWithdraw", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "maxWithdrawalAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "shares", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "mint", + "outputs": [ + { + "internalType": "uint256", + "name": "assets", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "notifyLoanClosed", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "notifyLoanMatured", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "effectiveLoanAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "principalRepaid", + "type": "uint256" + } + ], + "name": "notifyPrincipalRepayment", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "bPauseDeposits", + "type": "bool" + }, + { + "internalType": "bool", + "name": "bPauseWithdrawals", + "type": "bool" + } + ], + "name": "pauseDepositsAndWithdrawals", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "assets", + "type": "uint256" + } + ], + "name": "previewDeposit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "previewMint", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "previewRedeem", + "outputs": [ + { + "internalType": "uint256", + "name": "assets", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "assets", + "type": "uint256" + } + ], + "name": "previewWithdraw", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "year", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "month", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "day", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maxLimit", + "type": "uint256" + } + ], + "name": "processAllClaimsByDate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "loanAddr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "newAprWithTwoDecimals", + "type": "uint256" + } + ], + "name": "proposeNewApr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "redeem", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "removeFromBlacklist", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "shares", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiverAddr", + "type": "address" + }, + { + "internalType": "address", + "name": "holderAddr", + "type": "address" + } + ], + "name": "requestRedeem", + "outputs": [ + { + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "claimableEpoch", + "type": "uint256" + } + ], + "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": "totalCollectableFees", + "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": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newMaxDepositAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newMaxWithdrawalAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newMaxTokenSupply", + "type": "uint256" + } + ], + "name": "updateIssuanceLimits", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newDuration", + "type": "uint256" + } + ], + "name": "updateTimelockDuration", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newWithdrawalFee", + "type": "uint256" + } + ], + "name": "updateWithdrawalFee", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "withdraw", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "withdrawalFee", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "withdrawalsPaused", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } +] \ No newline at end of file diff --git a/ethereum/kelp/b2c.json b/ethereum/kelp/b2c.json new file mode 100644 index 00000000..78d0b82c --- /dev/null +++ b/ethereum/kelp/b2c.json @@ -0,0 +1,71 @@ +{ + "blockchainName": "ethereum", + "chainId": 1, + "contracts": [ + { + "address": "0x036676389e48133b63a802f8635ad39e752d375d", + "contractName": "LRTDepositPool", + "selectors": { + "0x72c51c0b": { + "erc20OfInterest": [], + "method": "depositETH", + "plugin": "Kelp" + }, + "0xc3ae1766": { + "erc20OfInterest": [], + "method": "depositAsset", + "plugin": "Kelp" + } + } + }, + { + "address": "0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16", + "contractName": "LRTWithdrawalManager", + "selectors": { + "0xc5a67b01": { + "erc20OfInterest": [], + "method": "initiateWithdrawal", + "plugin": "Kelp" + }, + "0xd3a86833": { + "erc20OfInterest": [], + "method": "completeWithdrawal", + "plugin": "Kelp" + } + } + }, + { + "address": "0xbf28c9fcb12a97441488f9c68faa49811a98688a", + "contractName": "rsETHAdapter", + "selectors": { + "0x4e3c04bd": { + "erc20OfInterest": [], + "method": "getRSETHWithETH", + "plugin": "Kelp" + }, + "0xb8aa0db9": { + "erc20OfInterest": [], + "method": "depositRsETH", + "plugin": "Kelp" + }, + "0xe8c3516b": { + "erc20OfInterest": [], + "method": "getRSETHWithERC20", + "plugin": "Kelp" + } + } + }, + { + "address": "0xe1b4d34e8754600962cd944b535180bd758e6c2e", + "contractName": "agETHToken", + "selectors": { + "0x7d41c86e": { + "erc20OfInterest": [], + "method": "requestRedeem", + "plugin": "Kelp" + } + } + } + ], + "name": "Kelp" +} \ No newline at end of file diff --git a/ethereum/stader/b2c.json b/ethereum/stader/b2c.json index 06ca97d4..8eb313f3 100644 --- a/ethereum/stader/b2c.json +++ b/ethereum/stader/b2c.json @@ -49,44 +49,6 @@ "plugin": "Staderlabs" } } - }, - { - "address": "0x036676389e48133b63a802f8635ad39e752d375d", - "contractName": "LRTDepositPool", - "selectors": { - "0x72c51c0b": { - "erc20OfInterest": [], - "method": "depositETH", - "plugin": "Staderlabs" - }, - "0xc3ae1766": { - "erc20OfInterest": [ - "asset" - ], - "method": "depositAsset", - "plugin": "Staderlabs" - } - } - }, - { - "address": "0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16", - "contractName": "LRTWithdrawalManager", - "selectors": { - "0x6dbaf9ee": { - "erc20OfInterest": [ - "asset" - ], - "method": "completeWithdrawal", - "plugin": "Staderlabs" - }, - "0xc8393ba9": { - "erc20OfInterest": [ - "asset" - ], - "method": "initiateWithdrawal", - "plugin": "Staderlabs" - } - } } ], "name": "Staderlabs"