@underscore-finance/sdk 1.0.12 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/AaveV3.d.ts +688 -251
- package/dist/contracts/AaveV3.d.ts.map +1 -1
- package/dist/contracts/AaveV3.js +873 -340
- package/dist/contracts/AeroClassic.d.ts +85 -13
- package/dist/contracts/AeroClassic.d.ts.map +1 -1
- package/dist/contracts/AeroClassic.js +106 -17
- package/dist/contracts/AeroSlipstream.d.ts +120 -14
- package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
- package/dist/contracts/AeroSlipstream.js +149 -18
- package/dist/contracts/{v0_2_Agent.d.ts → AgentSenderGeneric.d.ts} +2546 -1228
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -0
- package/dist/contracts/{v0_2_Agent.js → AgentSenderGeneric.js} +3210 -1388
- package/dist/contracts/AgentSenderSpecial.d.ts +1968 -0
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -0
- package/dist/contracts/AgentSenderSpecial.js +2509 -0
- package/dist/contracts/AgentWrapper.d.ts +170 -1462
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +262 -1869
- package/dist/contracts/{v0_3_Agent.d.ts → AgentWrapperV1.d.ts} +1983 -932
- package/dist/contracts/AgentWrapperV1.d.ts.map +1 -0
- package/dist/contracts/{Agent_v2.js → AgentWrapperV1.js} +2582 -1118
- package/dist/contracts/Appraiser.d.ts +22 -459
- package/dist/contracts/Appraiser.d.ts.map +1 -1
- package/dist/contracts/Appraiser.js +26 -596
- package/dist/contracts/Avantis.d.ts +2565 -0
- package/dist/contracts/Avantis.d.ts.map +1 -0
- package/dist/contracts/{v0_1_Agent.js → Avantis.js} +1674 -1790
- package/dist/contracts/Billing.d.ts +4 -68
- package/dist/contracts/Billing.d.ts.map +1 -1
- package/dist/contracts/Billing.js +5 -82
- package/dist/contracts/ChequeBook.d.ts +52 -1
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +53 -1
- package/dist/contracts/CompoundV3.d.ts +674 -251
- package/dist/contracts/CompoundV3.d.ts.map +1 -1
- package/dist/contracts/CompoundV3.js +819 -305
- package/dist/contracts/ConvertVaultToken.d.ts +63 -0
- package/dist/contracts/ConvertVaultToken.d.ts.map +1 -0
- package/dist/contracts/ConvertVaultToken.js +75 -0
- package/dist/contracts/Curve.d.ts +18 -17
- package/dist/contracts/Curve.d.ts.map +1 -1
- package/dist/contracts/Curve.js +23 -24
- package/dist/contracts/DefaultsBase.d.ts +45 -56
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +45 -59
- package/dist/contracts/EarnVault.d.ts +1680 -0
- package/dist/contracts/EarnVault.d.ts.map +1 -0
- package/dist/contracts/{UserWallet_v2.js → EarnVault.js} +898 -1245
- package/dist/contracts/EarnVaultAgent.d.ts +1004 -0
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -0
- package/dist/contracts/{v0_3_LegoSky.js → EarnVaultAgent.js} +640 -547
- package/dist/contracts/EarnVaultAgentSigHelper.d.ts +904 -0
- package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -0
- package/dist/contracts/EarnVaultAgentSigHelper.js +1198 -0
- package/dist/contracts/Euler.d.ts +700 -255
- package/dist/contracts/Euler.d.ts.map +1 -1
- package/dist/contracts/Euler.js +834 -293
- package/dist/contracts/Fluid.d.ts +771 -284
- package/dist/contracts/Fluid.d.ts.map +1 -1
- package/dist/contracts/Fluid.js +925 -329
- package/dist/contracts/FortyAcres.d.ts +2579 -0
- package/dist/contracts/FortyAcres.d.ts.map +1 -0
- package/dist/contracts/FortyAcres.js +3274 -0
- package/dist/contracts/Hatchery.d.ts +6 -176
- package/dist/contracts/Hatchery.d.ts.map +1 -1
- package/dist/contracts/Hatchery.js +5 -225
- package/dist/contracts/HighCommand.d.ts +237 -1
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +259 -1
- package/dist/contracts/Kernel.d.ts +8 -0
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +9 -1
- package/dist/contracts/LegoBook.d.ts +7 -0
- package/dist/contracts/LegoBook.d.ts.map +1 -1
- package/dist/contracts/LegoBook.js +9 -1
- package/dist/contracts/LegoTools.d.ts +4 -0
- package/dist/contracts/LegoTools.d.ts.map +1 -1
- package/dist/contracts/LegoTools.js +5 -1
- package/dist/contracts/LevgVaultHelper.d.ts +1070 -0
- package/dist/contracts/LevgVaultHelper.d.ts.map +1 -0
- package/dist/contracts/{LegoCurve.js → LevgVaultHelper.js} +662 -767
- package/dist/contracts/LootDistributor.d.ts +49 -131
- package/dist/contracts/LootDistributor.d.ts.map +1 -1
- package/dist/contracts/LootDistributor.js +58 -157
- package/dist/contracts/Migrator.d.ts +4 -0
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +5 -1
- package/dist/contracts/MissionControl.d.ts +211 -295
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +216 -305
- package/dist/contracts/Moonwell.d.ts +696 -251
- package/dist/contracts/Moonwell.d.ts.map +1 -1
- package/dist/contracts/Moonwell.js +832 -291
- package/dist/contracts/Morpho.d.ts +719 -274
- package/dist/contracts/Morpho.d.ts.map +1 -1
- package/dist/contracts/Morpho.js +849 -308
- package/dist/contracts/Paymaster.d.ts +4 -0
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +5 -1
- package/dist/contracts/RipeLego.d.ts +920 -378
- package/dist/contracts/RipeLego.d.ts.map +1 -1
- package/dist/contracts/RipeLego.js +1123 -462
- package/dist/contracts/Sentinel.d.ts +275 -7
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +331 -7
- package/dist/contracts/SignatureHelperV1.d.ts +229 -229
- package/dist/contracts/SignatureHelperV1.js +333 -333
- package/dist/contracts/SkyPsm.d.ts +2622 -0
- package/dist/contracts/SkyPsm.d.ts.map +1 -0
- package/dist/contracts/SkyPsm.js +3329 -0
- package/dist/contracts/Switchboard.d.ts +7 -0
- package/dist/contracts/Switchboard.d.ts.map +1 -1
- package/dist/contracts/Switchboard.js +9 -1
- package/dist/contracts/SwitchboardAlpha.d.ts +499 -264
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +566 -282
- package/dist/contracts/SwitchboardBravo.d.ts +4 -24
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +5 -32
- package/dist/contracts/SwitchboardCharlie.d.ts +2923 -0
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -0
- package/dist/contracts/SwitchboardCharlie.js +3635 -0
- package/dist/contracts/{Agent_v2.d.ts → UnderscoreLego.d.ts} +1605 -1763
- package/dist/contracts/UnderscoreLego.d.ts.map +1 -0
- package/dist/contracts/{AgentTemplate.js → UnderscoreLego.js} +1664 -1796
- package/dist/contracts/UndyAero.d.ts +1680 -0
- package/dist/contracts/UndyAero.d.ts.map +1 -0
- package/dist/contracts/{v0_2_UserWallet.js → UndyAero.js} +1056 -1403
- package/dist/contracts/UndyBtc.d.ts +1680 -0
- package/dist/contracts/UndyBtc.d.ts.map +1 -0
- package/dist/contracts/{WalletFunds.js → UndyBtc.js} +1063 -1436
- package/dist/contracts/UndyCbeth.d.ts +1680 -0
- package/dist/contracts/UndyCbeth.d.ts.map +1 -0
- package/dist/contracts/{UserWallet_v1.js → UndyCbeth.js} +1063 -1438
- package/dist/contracts/UndyEth.d.ts +1680 -0
- package/dist/contracts/UndyEth.d.ts.map +1 -0
- package/dist/contracts/UndyEth.js +2206 -0
- package/dist/contracts/UndyEurc.d.ts +1680 -0
- package/dist/contracts/UndyEurc.d.ts.map +1 -0
- package/dist/contracts/UndyEurc.js +2206 -0
- package/dist/contracts/UndyGho.d.ts +1680 -0
- package/dist/contracts/UndyGho.d.ts.map +1 -0
- package/dist/contracts/UndyGho.js +2206 -0
- package/dist/contracts/UndyRewardsLego.d.ts +3 -0
- package/dist/contracts/UndyRewardsLego.d.ts.map +1 -1
- package/dist/contracts/UndyRewardsLego.js +5 -1
- package/dist/contracts/UndyUsd.d.ts +1680 -0
- package/dist/contracts/UndyUsd.d.ts.map +1 -0
- package/dist/contracts/UndyUsd.js +2206 -0
- package/dist/contracts/UndyUsds.d.ts +1680 -0
- package/dist/contracts/UndyUsds.d.ts.map +1 -0
- package/dist/contracts/UndyUsds.js +2206 -0
- package/dist/contracts/UniswapV2.d.ts +85 -13
- package/dist/contracts/UniswapV2.d.ts.map +1 -1
- package/dist/contracts/UniswapV2.js +106 -17
- package/dist/contracts/UniswapV3.d.ts +120 -14
- package/dist/contracts/UniswapV3.d.ts.map +1 -1
- package/dist/contracts/UniswapV3.js +149 -18
- package/dist/contracts/UserWallet.d.ts +12 -8
- package/dist/contracts/UserWallet.d.ts.map +1 -1
- package/dist/contracts/UserWallet.js +13 -9
- package/dist/contracts/UserWalletConfig.d.ts +198 -56
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +225 -72
- package/dist/contracts/UserWalletConfigV1.d.ts +3655 -0
- package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -0
- package/dist/contracts/UserWalletConfigV1.js +4251 -0
- package/dist/contracts/{Agent_v1.d.ts → UserWalletV1.d.ts} +1178 -1176
- package/dist/contracts/UserWalletV1.d.ts.map +1 -0
- package/dist/contracts/{Agent_v1.js → UserWalletV1.js} +1468 -1340
- package/dist/contracts/VaultRegistry.d.ts +3028 -0
- package/dist/contracts/VaultRegistry.d.ts.map +1 -0
- package/dist/contracts/VaultRegistry.js +3843 -0
- package/dist/contracts/WalletBackpack.d.ts +4 -0
- package/dist/contracts/WalletBackpack.d.ts.map +1 -1
- package/dist/contracts/WalletBackpack.js +5 -1
- package/dist/contracts/Wasabi.d.ts +2579 -0
- package/dist/contracts/Wasabi.d.ts.map +1 -0
- package/dist/contracts/Wasabi.js +3274 -0
- package/dist/contracts/index.d.ts +25 -1
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +25 -1
- package/dist/contracts/sdk.d.ts +50 -2
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +50 -2
- package/dist/getSwapInstructions.js +1 -1
- package/dist/index.d.ts +33 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -7
- package/package.json +2 -2
- package/dist/contracts/AddyRegistry.d.ts +0 -1109
- package/dist/contracts/AddyRegistry.d.ts.map +0 -1
- package/dist/contracts/AddyRegistry.js +0 -1392
- package/dist/contracts/AddyRegistry_v1.d.ts +0 -473
- package/dist/contracts/AddyRegistry_v1.d.ts.map +0 -1
- package/dist/contracts/AddyRegistry_v1.js +0 -594
- package/dist/contracts/AddyRegistry_v2.d.ts +0 -1050
- package/dist/contracts/AddyRegistry_v2.d.ts.map +0 -1
- package/dist/contracts/AddyRegistry_v2.js +0 -1313
- package/dist/contracts/AgentFactory.d.ts +0 -1665
- package/dist/contracts/AgentFactory.d.ts.map +0 -1
- package/dist/contracts/AgentFactory.js +0 -2078
- package/dist/contracts/AgentFactory_v1.d.ts +0 -1054
- package/dist/contracts/AgentFactory_v1.d.ts.map +0 -1
- package/dist/contracts/AgentFactory_v1.js +0 -1336
- package/dist/contracts/AgentFactory_v2.d.ts +0 -1275
- package/dist/contracts/AgentFactory_v2.d.ts.map +0 -1
- package/dist/contracts/AgentFactory_v2.js +0 -1609
- package/dist/contracts/AgentTemplate.d.ts +0 -2629
- package/dist/contracts/AgentTemplate.d.ts.map +0 -1
- package/dist/contracts/Agent_v1.d.ts.map +0 -1
- package/dist/contracts/Agent_v2.d.ts.map +0 -1
- package/dist/contracts/ChainlinkFeeds.d.ts +0 -706
- package/dist/contracts/ChainlinkFeeds.d.ts.map +0 -1
- package/dist/contracts/ChainlinkFeeds.js +0 -900
- package/dist/contracts/LegoAaveV3.d.ts +0 -1033
- package/dist/contracts/LegoAaveV3.d.ts.map +0 -1
- package/dist/contracts/LegoAaveV3.js +0 -1330
- package/dist/contracts/LegoAeroClassic.d.ts +0 -1204
- package/dist/contracts/LegoAeroClassic.d.ts.map +0 -1
- package/dist/contracts/LegoAeroClassic.js +0 -1546
- package/dist/contracts/LegoAeroSlipstream.d.ts +0 -1300
- package/dist/contracts/LegoAeroSlipstream.d.ts.map +0 -1
- package/dist/contracts/LegoAeroSlipstream.js +0 -1671
- package/dist/contracts/LegoCommon.d.ts +0 -164
- package/dist/contracts/LegoCommon.d.ts.map +0 -1
- package/dist/contracts/LegoCommon.js +0 -202
- package/dist/contracts/LegoCompoundV3.d.ts +0 -1060
- package/dist/contracts/LegoCompoundV3.d.ts.map +0 -1
- package/dist/contracts/LegoCompoundV3.js +0 -1365
- package/dist/contracts/LegoCredit.d.ts +0 -140
- package/dist/contracts/LegoCredit.d.ts.map +0 -1
- package/dist/contracts/LegoCredit.js +0 -179
- package/dist/contracts/LegoCurve.d.ts +0 -1189
- package/dist/contracts/LegoCurve.d.ts.map +0 -1
- package/dist/contracts/LegoDex.d.ts +0 -587
- package/dist/contracts/LegoDex.d.ts.map +0 -1
- package/dist/contracts/LegoDex.js +0 -774
- package/dist/contracts/LegoEuler.d.ts +0 -1074
- package/dist/contracts/LegoEuler.d.ts.map +0 -1
- package/dist/contracts/LegoEuler.js +0 -1383
- package/dist/contracts/LegoFluid.d.ts +0 -1025
- package/dist/contracts/LegoFluid.d.ts.map +0 -1
- package/dist/contracts/LegoFluid.js +0 -1320
- package/dist/contracts/LegoHelper.d.ts +0 -1563
- package/dist/contracts/LegoHelper.d.ts.map +0 -1
- package/dist/contracts/LegoHelper.js +0 -1947
- package/dist/contracts/LegoMoonwell.d.ts +0 -1042
- package/dist/contracts/LegoMoonwell.d.ts.map +0 -1
- package/dist/contracts/LegoMoonwell.js +0 -1342
- package/dist/contracts/LegoMorpho.d.ts +0 -1074
- package/dist/contracts/LegoMorpho.d.ts.map +0 -1
- package/dist/contracts/LegoMorpho.js +0 -1383
- package/dist/contracts/LegoRegistry.d.ts +0 -1079
- package/dist/contracts/LegoRegistry.d.ts.map +0 -1
- package/dist/contracts/LegoRegistry.js +0 -1368
- package/dist/contracts/LegoSky.d.ts +0 -923
- package/dist/contracts/LegoSky.d.ts.map +0 -1
- package/dist/contracts/LegoSky.js +0 -1180
- package/dist/contracts/LegoUniswapV0_2.d.ts +0 -1204
- package/dist/contracts/LegoUniswapV0_2.d.ts.map +0 -1
- package/dist/contracts/LegoUniswapV0_2.js +0 -1546
- package/dist/contracts/LegoUniswapV2.d.ts +0 -1204
- package/dist/contracts/LegoUniswapV2.d.ts.map +0 -1
- package/dist/contracts/LegoUniswapV2.js +0 -1546
- package/dist/contracts/LegoUniswapV3.d.ts +0 -1338
- package/dist/contracts/LegoUniswapV3.d.ts.map +0 -1
- package/dist/contracts/LegoUniswapV3.js +0 -1718
- package/dist/contracts/LegoYield.d.ts +0 -390
- package/dist/contracts/LegoYield.d.ts.map +0 -1
- package/dist/contracts/LegoYield.js +0 -511
- package/dist/contracts/OracleParser.d.ts +0 -207
- package/dist/contracts/OracleParser.d.ts.map +0 -1
- package/dist/contracts/OracleParser.js +0 -264
- package/dist/contracts/OracleRegistry.d.ts +0 -1221
- package/dist/contracts/OracleRegistry.d.ts.map +0 -1
- package/dist/contracts/OracleRegistry.js +0 -1562
- package/dist/contracts/PriceSheets.d.ts +0 -1127
- package/dist/contracts/PriceSheets.d.ts.map +0 -1
- package/dist/contracts/PriceSheets.js +0 -1383
- package/dist/contracts/PythFeeds.d.ts +0 -640
- package/dist/contracts/PythFeeds.d.ts.map +0 -1
- package/dist/contracts/PythFeeds.js +0 -813
- package/dist/contracts/StorkFeeds.d.ts +0 -640
- package/dist/contracts/StorkFeeds.d.ts.map +0 -1
- package/dist/contracts/StorkFeeds.js +0 -813
- package/dist/contracts/UserWalletConfig_v1.d.ts +0 -1400
- package/dist/contracts/UserWalletConfig_v1.d.ts.map +0 -1
- package/dist/contracts/UserWalletConfig_v1.js +0 -1676
- package/dist/contracts/UserWalletConfig_v2.d.ts +0 -1468
- package/dist/contracts/UserWalletConfig_v2.d.ts.map +0 -1
- package/dist/contracts/UserWalletConfig_v2.js +0 -1764
- package/dist/contracts/UserWallet_v1.d.ts +0 -1980
- package/dist/contracts/UserWallet_v1.d.ts.map +0 -1
- package/dist/contracts/UserWallet_v2.d.ts +0 -1958
- package/dist/contracts/UserWallet_v2.d.ts.map +0 -1
- package/dist/contracts/WalletConfig.d.ts +0 -1398
- package/dist/contracts/WalletConfig.d.ts.map +0 -1
- package/dist/contracts/WalletConfig.js +0 -1674
- package/dist/contracts/WalletFunds.d.ts +0 -1978
- package/dist/contracts/WalletFunds.d.ts.map +0 -1
- package/dist/contracts/v0_1_AddyRegistry.d.ts +0 -473
- package/dist/contracts/v0_1_AddyRegistry.d.ts.map +0 -1
- package/dist/contracts/v0_1_AddyRegistry.js +0 -594
- package/dist/contracts/v0_1_Agent.d.ts +0 -2631
- package/dist/contracts/v0_1_Agent.d.ts.map +0 -1
- package/dist/contracts/v0_1_AgentFactory.d.ts +0 -1054
- package/dist/contracts/v0_1_AgentFactory.d.ts.map +0 -1
- package/dist/contracts/v0_1_AgentFactory.js +0 -1336
- package/dist/contracts/v0_1_UserWallet.d.ts +0 -1980
- package/dist/contracts/v0_1_UserWallet.d.ts.map +0 -1
- package/dist/contracts/v0_1_UserWallet.js +0 -2581
- package/dist/contracts/v0_1_UserWalletConfig.d.ts +0 -1400
- package/dist/contracts/v0_1_UserWalletConfig.d.ts.map +0 -1
- package/dist/contracts/v0_1_UserWalletConfig.js +0 -1676
- package/dist/contracts/v0_2_AddyRegistry.d.ts +0 -1050
- package/dist/contracts/v0_2_AddyRegistry.d.ts.map +0 -1
- package/dist/contracts/v0_2_AddyRegistry.js +0 -1313
- package/dist/contracts/v0_2_Agent.d.ts.map +0 -1
- package/dist/contracts/v0_2_AgentFactory.d.ts +0 -1275
- package/dist/contracts/v0_2_AgentFactory.d.ts.map +0 -1
- package/dist/contracts/v0_2_AgentFactory.js +0 -1609
- package/dist/contracts/v0_2_UserWallet.d.ts +0 -1958
- package/dist/contracts/v0_2_UserWallet.d.ts.map +0 -1
- package/dist/contracts/v0_2_UserWalletConfig.d.ts +0 -1468
- package/dist/contracts/v0_2_UserWalletConfig.d.ts.map +0 -1
- package/dist/contracts/v0_2_UserWalletConfig.js +0 -1764
- package/dist/contracts/v0_3_AddyRegistry.d.ts +0 -1109
- package/dist/contracts/v0_3_AddyRegistry.d.ts.map +0 -1
- package/dist/contracts/v0_3_AddyRegistry.js +0 -1392
- package/dist/contracts/v0_3_Agent.d.ts.map +0 -1
- package/dist/contracts/v0_3_Agent.js +0 -3458
- package/dist/contracts/v0_3_AgentFactory.d.ts +0 -1665
- package/dist/contracts/v0_3_AgentFactory.d.ts.map +0 -1
- package/dist/contracts/v0_3_AgentFactory.js +0 -2078
- package/dist/contracts/v0_3_ChainlinkFeeds.d.ts +0 -706
- package/dist/contracts/v0_3_ChainlinkFeeds.d.ts.map +0 -1
- package/dist/contracts/v0_3_ChainlinkFeeds.js +0 -900
- package/dist/contracts/v0_3_LegoAaveV3.d.ts +0 -1033
- package/dist/contracts/v0_3_LegoAaveV3.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoAaveV3.js +0 -1330
- package/dist/contracts/v0_3_LegoAeroClassic.d.ts +0 -1204
- package/dist/contracts/v0_3_LegoAeroClassic.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoAeroClassic.js +0 -1546
- package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts +0 -1300
- package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoAeroSlipstream.js +0 -1671
- package/dist/contracts/v0_3_LegoCommon.d.ts +0 -164
- package/dist/contracts/v0_3_LegoCommon.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoCommon.js +0 -202
- package/dist/contracts/v0_3_LegoCompoundV3.d.ts +0 -1060
- package/dist/contracts/v0_3_LegoCompoundV3.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoCompoundV3.js +0 -1365
- package/dist/contracts/v0_3_LegoCredit.d.ts +0 -140
- package/dist/contracts/v0_3_LegoCredit.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoCredit.js +0 -179
- package/dist/contracts/v0_3_LegoCurve.d.ts +0 -1189
- package/dist/contracts/v0_3_LegoCurve.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoCurve.js +0 -1519
- package/dist/contracts/v0_3_LegoDex.d.ts +0 -587
- package/dist/contracts/v0_3_LegoDex.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoDex.js +0 -774
- package/dist/contracts/v0_3_LegoEuler.d.ts +0 -1074
- package/dist/contracts/v0_3_LegoEuler.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoEuler.js +0 -1383
- package/dist/contracts/v0_3_LegoFluid.d.ts +0 -1025
- package/dist/contracts/v0_3_LegoFluid.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoFluid.js +0 -1320
- package/dist/contracts/v0_3_LegoHelper.d.ts +0 -1563
- package/dist/contracts/v0_3_LegoHelper.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoHelper.js +0 -1947
- package/dist/contracts/v0_3_LegoMoonwell.d.ts +0 -1042
- package/dist/contracts/v0_3_LegoMoonwell.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoMoonwell.js +0 -1342
- package/dist/contracts/v0_3_LegoMorpho.d.ts +0 -1074
- package/dist/contracts/v0_3_LegoMorpho.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoMorpho.js +0 -1383
- package/dist/contracts/v0_3_LegoRegistry.d.ts +0 -1079
- package/dist/contracts/v0_3_LegoRegistry.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoRegistry.js +0 -1368
- package/dist/contracts/v0_3_LegoSky.d.ts +0 -923
- package/dist/contracts/v0_3_LegoSky.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoUniswapV3.d.ts +0 -1338
- package/dist/contracts/v0_3_LegoUniswapV3.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoUniswapV3.js +0 -1718
- package/dist/contracts/v0_3_LegoYield.d.ts +0 -390
- package/dist/contracts/v0_3_LegoYield.d.ts.map +0 -1
- package/dist/contracts/v0_3_LegoYield.js +0 -511
- package/dist/contracts/v0_3_OracleParser.d.ts +0 -207
- package/dist/contracts/v0_3_OracleParser.d.ts.map +0 -1
- package/dist/contracts/v0_3_OracleParser.js +0 -264
- package/dist/contracts/v0_3_OracleRegistry.d.ts +0 -1221
- package/dist/contracts/v0_3_OracleRegistry.d.ts.map +0 -1
- package/dist/contracts/v0_3_OracleRegistry.js +0 -1562
- package/dist/contracts/v0_3_PriceSheets.d.ts +0 -1127
- package/dist/contracts/v0_3_PriceSheets.d.ts.map +0 -1
- package/dist/contracts/v0_3_PriceSheets.js +0 -1383
- package/dist/contracts/v0_3_PythFeeds.d.ts +0 -640
- package/dist/contracts/v0_3_PythFeeds.d.ts.map +0 -1
- package/dist/contracts/v0_3_PythFeeds.js +0 -813
- package/dist/contracts/v0_3_StorkFeeds.d.ts +0 -640
- package/dist/contracts/v0_3_StorkFeeds.d.ts.map +0 -1
- package/dist/contracts/v0_3_StorkFeeds.js +0 -813
- package/dist/contracts/v0_3_UserWallet.d.ts +0 -1975
- package/dist/contracts/v0_3_UserWallet.d.ts.map +0 -1
- package/dist/contracts/v0_3_UserWallet.js +0 -2577
- package/dist/contracts/v0_3_UserWalletConfig.d.ts +0 -1852
- package/dist/contracts/v0_3_UserWalletConfig.d.ts.map +0 -1
- package/dist/contracts/v0_3_UserWalletConfig.js +0 -2263
- package/dist/getLegacyContracts.d.ts +0 -69
- package/dist/getLegacyContracts.d.ts.map +0 -1
- package/dist/getLegacyContracts.js +0 -55
|
@@ -93,6 +93,27 @@ export declare const abi: readonly [{
|
|
|
93
93
|
}];
|
|
94
94
|
readonly anonymous: false;
|
|
95
95
|
readonly type: "event";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "SnapShotPriceConfigSet";
|
|
98
|
+
readonly inputs: readonly [{
|
|
99
|
+
readonly name: "minSnapshotDelay";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
readonly indexed: false;
|
|
102
|
+
}, {
|
|
103
|
+
readonly name: "maxNumSnapshots";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
readonly indexed: false;
|
|
106
|
+
}, {
|
|
107
|
+
readonly name: "maxUpsideDeviation";
|
|
108
|
+
readonly type: "uint256";
|
|
109
|
+
readonly indexed: false;
|
|
110
|
+
}, {
|
|
111
|
+
readonly name: "staleTime";
|
|
112
|
+
readonly type: "uint256";
|
|
113
|
+
readonly indexed: false;
|
|
114
|
+
}];
|
|
115
|
+
readonly anonymous: false;
|
|
116
|
+
readonly type: "event";
|
|
96
117
|
}, {
|
|
97
118
|
readonly name: "AssetOpportunityAdded";
|
|
98
119
|
readonly inputs: readonly [{
|
|
@@ -160,6 +181,9 @@ export declare const abi: readonly [{
|
|
|
160
181
|
}, {
|
|
161
182
|
readonly name: "billing";
|
|
162
183
|
readonly type: "address";
|
|
184
|
+
}, {
|
|
185
|
+
readonly name: "vaultRegistry";
|
|
186
|
+
readonly type: "address";
|
|
163
187
|
}];
|
|
164
188
|
}];
|
|
165
189
|
}, {
|
|
@@ -264,12 +288,109 @@ export declare const abi: readonly [{
|
|
|
264
288
|
}, {
|
|
265
289
|
readonly stateMutability: "view";
|
|
266
290
|
readonly type: "function";
|
|
267
|
-
readonly name: "
|
|
268
|
-
readonly inputs: readonly [
|
|
291
|
+
readonly name: "getWeightedPricePerShare";
|
|
292
|
+
readonly inputs: readonly [{
|
|
293
|
+
readonly name: "_vaultToken";
|
|
294
|
+
readonly type: "address";
|
|
295
|
+
}];
|
|
296
|
+
readonly outputs: readonly [{
|
|
297
|
+
readonly name: "";
|
|
298
|
+
readonly type: "uint256";
|
|
299
|
+
}];
|
|
300
|
+
}, {
|
|
301
|
+
readonly stateMutability: "view";
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
readonly name: "getLatestSnapshot";
|
|
304
|
+
readonly inputs: readonly [{
|
|
305
|
+
readonly name: "_vaultToken";
|
|
306
|
+
readonly type: "address";
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: "_pricePerShare";
|
|
309
|
+
readonly type: "uint256";
|
|
310
|
+
}];
|
|
311
|
+
readonly outputs: readonly [{
|
|
312
|
+
readonly name: "";
|
|
313
|
+
readonly type: "tuple";
|
|
314
|
+
readonly components: readonly [{
|
|
315
|
+
readonly name: "totalSupply";
|
|
316
|
+
readonly type: "uint256";
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "pricePerShare";
|
|
319
|
+
readonly type: "uint256";
|
|
320
|
+
}, {
|
|
321
|
+
readonly name: "lastUpdate";
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
}];
|
|
324
|
+
}];
|
|
325
|
+
}, {
|
|
326
|
+
readonly stateMutability: "nonpayable";
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
readonly name: "setSnapShotPriceConfig";
|
|
329
|
+
readonly inputs: readonly [{
|
|
330
|
+
readonly name: "_config";
|
|
331
|
+
readonly type: "tuple";
|
|
332
|
+
readonly components: readonly [{
|
|
333
|
+
readonly name: "minSnapshotDelay";
|
|
334
|
+
readonly type: "uint256";
|
|
335
|
+
}, {
|
|
336
|
+
readonly name: "maxNumSnapshots";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
}, {
|
|
339
|
+
readonly name: "maxUpsideDeviation";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
}, {
|
|
342
|
+
readonly name: "staleTime";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
}];
|
|
345
|
+
}];
|
|
346
|
+
readonly outputs: readonly [];
|
|
347
|
+
}, {
|
|
348
|
+
readonly stateMutability: "view";
|
|
349
|
+
readonly type: "function";
|
|
350
|
+
readonly name: "isValidPriceConfig";
|
|
351
|
+
readonly inputs: readonly [{
|
|
352
|
+
readonly name: "_config";
|
|
353
|
+
readonly type: "tuple";
|
|
354
|
+
readonly components: readonly [{
|
|
355
|
+
readonly name: "minSnapshotDelay";
|
|
356
|
+
readonly type: "uint256";
|
|
357
|
+
}, {
|
|
358
|
+
readonly name: "maxNumSnapshots";
|
|
359
|
+
readonly type: "uint256";
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "maxUpsideDeviation";
|
|
362
|
+
readonly type: "uint256";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "staleTime";
|
|
365
|
+
readonly type: "uint256";
|
|
366
|
+
}];
|
|
367
|
+
}];
|
|
269
368
|
readonly outputs: readonly [{
|
|
270
369
|
readonly name: "";
|
|
271
370
|
readonly type: "bool";
|
|
272
371
|
}];
|
|
372
|
+
}, {
|
|
373
|
+
readonly stateMutability: "view";
|
|
374
|
+
readonly type: "function";
|
|
375
|
+
readonly name: "vaultToAsset";
|
|
376
|
+
readonly inputs: readonly [{
|
|
377
|
+
readonly name: "arg0";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}];
|
|
380
|
+
readonly outputs: readonly [{
|
|
381
|
+
readonly name: "";
|
|
382
|
+
readonly type: "tuple";
|
|
383
|
+
readonly components: readonly [{
|
|
384
|
+
readonly name: "underlyingAsset";
|
|
385
|
+
readonly type: "address";
|
|
386
|
+
}, {
|
|
387
|
+
readonly name: "decimals";
|
|
388
|
+
readonly type: "uint256";
|
|
389
|
+
}, {
|
|
390
|
+
readonly name: "lastAveragePricePerShare";
|
|
391
|
+
readonly type: "uint256";
|
|
392
|
+
}];
|
|
393
|
+
}];
|
|
273
394
|
}, {
|
|
274
395
|
readonly stateMutability: "view";
|
|
275
396
|
readonly type: "function";
|
|
@@ -315,10 +436,10 @@ export declare const abi: readonly [{
|
|
|
315
436
|
}, {
|
|
316
437
|
readonly stateMutability: "view";
|
|
317
438
|
readonly type: "function";
|
|
318
|
-
readonly name: "
|
|
439
|
+
readonly name: "assets";
|
|
319
440
|
readonly inputs: readonly [{
|
|
320
441
|
readonly name: "arg0";
|
|
321
|
-
readonly type: "
|
|
442
|
+
readonly type: "uint256";
|
|
322
443
|
}];
|
|
323
444
|
readonly outputs: readonly [{
|
|
324
445
|
readonly name: "";
|
|
@@ -327,35 +448,108 @@ export declare const abi: readonly [{
|
|
|
327
448
|
}, {
|
|
328
449
|
readonly stateMutability: "view";
|
|
329
450
|
readonly type: "function";
|
|
330
|
-
readonly name: "
|
|
451
|
+
readonly name: "indexOfAsset";
|
|
331
452
|
readonly inputs: readonly [{
|
|
332
453
|
readonly name: "arg0";
|
|
454
|
+
readonly type: "address";
|
|
455
|
+
}];
|
|
456
|
+
readonly outputs: readonly [{
|
|
457
|
+
readonly name: "";
|
|
333
458
|
readonly type: "uint256";
|
|
334
459
|
}];
|
|
460
|
+
}, {
|
|
461
|
+
readonly stateMutability: "view";
|
|
462
|
+
readonly type: "function";
|
|
463
|
+
readonly name: "numAssets";
|
|
464
|
+
readonly inputs: readonly [];
|
|
335
465
|
readonly outputs: readonly [{
|
|
336
466
|
readonly name: "";
|
|
337
|
-
readonly type: "
|
|
467
|
+
readonly type: "uint256";
|
|
338
468
|
}];
|
|
339
469
|
}, {
|
|
340
470
|
readonly stateMutability: "view";
|
|
341
471
|
readonly type: "function";
|
|
342
|
-
readonly name: "
|
|
472
|
+
readonly name: "snapShotData";
|
|
343
473
|
readonly inputs: readonly [{
|
|
344
474
|
readonly name: "arg0";
|
|
345
475
|
readonly type: "address";
|
|
346
476
|
}];
|
|
347
477
|
readonly outputs: readonly [{
|
|
348
478
|
readonly name: "";
|
|
479
|
+
readonly type: "tuple";
|
|
480
|
+
readonly components: readonly [{
|
|
481
|
+
readonly name: "lastSnapShot";
|
|
482
|
+
readonly type: "tuple";
|
|
483
|
+
readonly components: readonly [{
|
|
484
|
+
readonly name: "totalSupply";
|
|
485
|
+
readonly type: "uint256";
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "pricePerShare";
|
|
488
|
+
readonly type: "uint256";
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "lastUpdate";
|
|
491
|
+
readonly type: "uint256";
|
|
492
|
+
}];
|
|
493
|
+
}, {
|
|
494
|
+
readonly name: "nextIndex";
|
|
495
|
+
readonly type: "uint256";
|
|
496
|
+
}];
|
|
497
|
+
}];
|
|
498
|
+
}, {
|
|
499
|
+
readonly stateMutability: "view";
|
|
500
|
+
readonly type: "function";
|
|
501
|
+
readonly name: "snapShots";
|
|
502
|
+
readonly inputs: readonly [{
|
|
503
|
+
readonly name: "arg0";
|
|
504
|
+
readonly type: "address";
|
|
505
|
+
}, {
|
|
506
|
+
readonly name: "arg1";
|
|
349
507
|
readonly type: "uint256";
|
|
350
508
|
}];
|
|
509
|
+
readonly outputs: readonly [{
|
|
510
|
+
readonly name: "";
|
|
511
|
+
readonly type: "tuple";
|
|
512
|
+
readonly components: readonly [{
|
|
513
|
+
readonly name: "totalSupply";
|
|
514
|
+
readonly type: "uint256";
|
|
515
|
+
}, {
|
|
516
|
+
readonly name: "pricePerShare";
|
|
517
|
+
readonly type: "uint256";
|
|
518
|
+
}, {
|
|
519
|
+
readonly name: "lastUpdate";
|
|
520
|
+
readonly type: "uint256";
|
|
521
|
+
}];
|
|
522
|
+
}];
|
|
351
523
|
}, {
|
|
352
524
|
readonly stateMutability: "view";
|
|
353
525
|
readonly type: "function";
|
|
354
|
-
readonly name: "
|
|
526
|
+
readonly name: "snapShotPriceConfig";
|
|
355
527
|
readonly inputs: readonly [];
|
|
356
528
|
readonly outputs: readonly [{
|
|
357
529
|
readonly name: "";
|
|
358
|
-
readonly type: "
|
|
530
|
+
readonly type: "tuple";
|
|
531
|
+
readonly components: readonly [{
|
|
532
|
+
readonly name: "minSnapshotDelay";
|
|
533
|
+
readonly type: "uint256";
|
|
534
|
+
}, {
|
|
535
|
+
readonly name: "maxNumSnapshots";
|
|
536
|
+
readonly type: "uint256";
|
|
537
|
+
}, {
|
|
538
|
+
readonly name: "maxUpsideDeviation";
|
|
539
|
+
readonly type: "uint256";
|
|
540
|
+
}, {
|
|
541
|
+
readonly name: "staleTime";
|
|
542
|
+
readonly type: "uint256";
|
|
543
|
+
}];
|
|
544
|
+
}];
|
|
545
|
+
}, {
|
|
546
|
+
readonly stateMutability: "view";
|
|
547
|
+
readonly type: "function";
|
|
548
|
+
readonly name: "isPaused";
|
|
549
|
+
readonly inputs: readonly [];
|
|
550
|
+
readonly outputs: readonly [{
|
|
551
|
+
readonly name: "";
|
|
552
|
+
readonly type: "bool";
|
|
359
553
|
}];
|
|
360
554
|
}, {
|
|
361
555
|
readonly stateMutability: "view";
|
|
@@ -399,18 +593,243 @@ export declare const abi: readonly [{
|
|
|
399
593
|
}, {
|
|
400
594
|
readonly stateMutability: "view";
|
|
401
595
|
readonly type: "function";
|
|
402
|
-
readonly name: "
|
|
596
|
+
readonly name: "getUnderlyingAsset";
|
|
597
|
+
readonly inputs: readonly [{
|
|
598
|
+
readonly name: "_vaultToken";
|
|
599
|
+
readonly type: "address";
|
|
600
|
+
}];
|
|
601
|
+
readonly outputs: readonly [{
|
|
602
|
+
readonly name: "";
|
|
603
|
+
readonly type: "address";
|
|
604
|
+
}];
|
|
605
|
+
}, {
|
|
606
|
+
readonly stateMutability: "view";
|
|
607
|
+
readonly type: "function";
|
|
608
|
+
readonly name: "getUnderlyingBalances";
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly name: "_vaultToken";
|
|
611
|
+
readonly type: "address";
|
|
612
|
+
}, {
|
|
613
|
+
readonly name: "_vaultTokenBalance";
|
|
614
|
+
readonly type: "uint256";
|
|
615
|
+
}];
|
|
616
|
+
readonly outputs: readonly [{
|
|
617
|
+
readonly name: "";
|
|
618
|
+
readonly type: "uint256";
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "";
|
|
621
|
+
readonly type: "uint256";
|
|
622
|
+
}];
|
|
623
|
+
}, {
|
|
624
|
+
readonly stateMutability: "view";
|
|
625
|
+
readonly type: "function";
|
|
626
|
+
readonly name: "getUnderlyingAmount";
|
|
627
|
+
readonly inputs: readonly [{
|
|
628
|
+
readonly name: "_vaultToken";
|
|
629
|
+
readonly type: "address";
|
|
630
|
+
}, {
|
|
631
|
+
readonly name: "_vaultTokenAmount";
|
|
632
|
+
readonly type: "uint256";
|
|
633
|
+
}];
|
|
634
|
+
readonly outputs: readonly [{
|
|
635
|
+
readonly name: "";
|
|
636
|
+
readonly type: "uint256";
|
|
637
|
+
}];
|
|
638
|
+
}, {
|
|
639
|
+
readonly stateMutability: "view";
|
|
640
|
+
readonly type: "function";
|
|
641
|
+
readonly name: "getUnderlyingAmountSafe";
|
|
642
|
+
readonly inputs: readonly [{
|
|
643
|
+
readonly name: "_vaultToken";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
}, {
|
|
646
|
+
readonly name: "_vaultTokenBalance";
|
|
647
|
+
readonly type: "uint256";
|
|
648
|
+
}];
|
|
649
|
+
readonly outputs: readonly [{
|
|
650
|
+
readonly name: "";
|
|
651
|
+
readonly type: "uint256";
|
|
652
|
+
}];
|
|
653
|
+
}, {
|
|
654
|
+
readonly stateMutability: "view";
|
|
655
|
+
readonly type: "function";
|
|
656
|
+
readonly name: "getUnderlyingData";
|
|
657
|
+
readonly inputs: readonly [{
|
|
658
|
+
readonly name: "_vaultToken";
|
|
659
|
+
readonly type: "address";
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "_vaultTokenAmount";
|
|
662
|
+
readonly type: "uint256";
|
|
663
|
+
}];
|
|
664
|
+
readonly outputs: readonly [{
|
|
665
|
+
readonly name: "";
|
|
666
|
+
readonly type: "address";
|
|
667
|
+
}, {
|
|
668
|
+
readonly name: "";
|
|
669
|
+
readonly type: "uint256";
|
|
670
|
+
}, {
|
|
671
|
+
readonly name: "";
|
|
672
|
+
readonly type: "uint256";
|
|
673
|
+
}];
|
|
674
|
+
}, {
|
|
675
|
+
readonly stateMutability: "view";
|
|
676
|
+
readonly type: "function";
|
|
677
|
+
readonly name: "getUnderlyingData";
|
|
403
678
|
readonly inputs: readonly [{
|
|
404
679
|
readonly name: "_vaultToken";
|
|
405
680
|
readonly type: "address";
|
|
406
681
|
}, {
|
|
407
|
-
readonly name: "
|
|
682
|
+
readonly name: "_vaultTokenAmount";
|
|
683
|
+
readonly type: "uint256";
|
|
684
|
+
}, {
|
|
685
|
+
readonly name: "_appraiser";
|
|
408
686
|
readonly type: "address";
|
|
409
687
|
}];
|
|
688
|
+
readonly outputs: readonly [{
|
|
689
|
+
readonly name: "";
|
|
690
|
+
readonly type: "address";
|
|
691
|
+
}, {
|
|
692
|
+
readonly name: "";
|
|
693
|
+
readonly type: "uint256";
|
|
694
|
+
}, {
|
|
695
|
+
readonly name: "";
|
|
696
|
+
readonly type: "uint256";
|
|
697
|
+
}];
|
|
698
|
+
}, {
|
|
699
|
+
readonly stateMutability: "view";
|
|
700
|
+
readonly type: "function";
|
|
701
|
+
readonly name: "getUsdValueOfVaultToken";
|
|
702
|
+
readonly inputs: readonly [{
|
|
703
|
+
readonly name: "_vaultToken";
|
|
704
|
+
readonly type: "address";
|
|
705
|
+
}, {
|
|
706
|
+
readonly name: "_vaultTokenAmount";
|
|
707
|
+
readonly type: "uint256";
|
|
708
|
+
}];
|
|
709
|
+
readonly outputs: readonly [{
|
|
710
|
+
readonly name: "";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
}];
|
|
713
|
+
}, {
|
|
714
|
+
readonly stateMutability: "view";
|
|
715
|
+
readonly type: "function";
|
|
716
|
+
readonly name: "getUsdValueOfVaultToken";
|
|
717
|
+
readonly inputs: readonly [{
|
|
718
|
+
readonly name: "_vaultToken";
|
|
719
|
+
readonly type: "address";
|
|
720
|
+
}, {
|
|
721
|
+
readonly name: "_vaultTokenAmount";
|
|
722
|
+
readonly type: "uint256";
|
|
723
|
+
}, {
|
|
724
|
+
readonly name: "_appraiser";
|
|
725
|
+
readonly type: "address";
|
|
726
|
+
}];
|
|
727
|
+
readonly outputs: readonly [{
|
|
728
|
+
readonly name: "";
|
|
729
|
+
readonly type: "uint256";
|
|
730
|
+
}];
|
|
731
|
+
}, {
|
|
732
|
+
readonly stateMutability: "view";
|
|
733
|
+
readonly type: "function";
|
|
734
|
+
readonly name: "isRebasing";
|
|
735
|
+
readonly inputs: readonly [];
|
|
410
736
|
readonly outputs: readonly [{
|
|
411
737
|
readonly name: "";
|
|
412
738
|
readonly type: "bool";
|
|
413
739
|
}];
|
|
740
|
+
}, {
|
|
741
|
+
readonly stateMutability: "view";
|
|
742
|
+
readonly type: "function";
|
|
743
|
+
readonly name: "getPricePerShare";
|
|
744
|
+
readonly inputs: readonly [{
|
|
745
|
+
readonly name: "_vaultToken";
|
|
746
|
+
readonly type: "address";
|
|
747
|
+
}];
|
|
748
|
+
readonly outputs: readonly [{
|
|
749
|
+
readonly name: "";
|
|
750
|
+
readonly type: "uint256";
|
|
751
|
+
}];
|
|
752
|
+
}, {
|
|
753
|
+
readonly stateMutability: "view";
|
|
754
|
+
readonly type: "function";
|
|
755
|
+
readonly name: "getPricePerShare";
|
|
756
|
+
readonly inputs: readonly [{
|
|
757
|
+
readonly name: "_vaultToken";
|
|
758
|
+
readonly type: "address";
|
|
759
|
+
}, {
|
|
760
|
+
readonly name: "_decimals";
|
|
761
|
+
readonly type: "uint256";
|
|
762
|
+
}];
|
|
763
|
+
readonly outputs: readonly [{
|
|
764
|
+
readonly name: "";
|
|
765
|
+
readonly type: "uint256";
|
|
766
|
+
}];
|
|
767
|
+
}, {
|
|
768
|
+
readonly stateMutability: "view";
|
|
769
|
+
readonly type: "function";
|
|
770
|
+
readonly name: "getVaultTokenAmount";
|
|
771
|
+
readonly inputs: readonly [{
|
|
772
|
+
readonly name: "_asset";
|
|
773
|
+
readonly type: "address";
|
|
774
|
+
}, {
|
|
775
|
+
readonly name: "_assetAmount";
|
|
776
|
+
readonly type: "uint256";
|
|
777
|
+
}, {
|
|
778
|
+
readonly name: "_vaultToken";
|
|
779
|
+
readonly type: "address";
|
|
780
|
+
}];
|
|
781
|
+
readonly outputs: readonly [{
|
|
782
|
+
readonly name: "";
|
|
783
|
+
readonly type: "uint256";
|
|
784
|
+
}];
|
|
785
|
+
}, {
|
|
786
|
+
readonly stateMutability: "view";
|
|
787
|
+
readonly type: "function";
|
|
788
|
+
readonly name: "totalAssets";
|
|
789
|
+
readonly inputs: readonly [{
|
|
790
|
+
readonly name: "_vaultToken";
|
|
791
|
+
readonly type: "address";
|
|
792
|
+
}];
|
|
793
|
+
readonly outputs: readonly [{
|
|
794
|
+
readonly name: "";
|
|
795
|
+
readonly type: "uint256";
|
|
796
|
+
}];
|
|
797
|
+
}, {
|
|
798
|
+
readonly stateMutability: "view";
|
|
799
|
+
readonly type: "function";
|
|
800
|
+
readonly name: "totalBorrows";
|
|
801
|
+
readonly inputs: readonly [{
|
|
802
|
+
readonly name: "_vaultToken";
|
|
803
|
+
readonly type: "address";
|
|
804
|
+
}];
|
|
805
|
+
readonly outputs: readonly [{
|
|
806
|
+
readonly name: "";
|
|
807
|
+
readonly type: "uint256";
|
|
808
|
+
}];
|
|
809
|
+
}, {
|
|
810
|
+
readonly stateMutability: "view";
|
|
811
|
+
readonly type: "function";
|
|
812
|
+
readonly name: "getAvailLiquidity";
|
|
813
|
+
readonly inputs: readonly [{
|
|
814
|
+
readonly name: "_vaultToken";
|
|
815
|
+
readonly type: "address";
|
|
816
|
+
}];
|
|
817
|
+
readonly outputs: readonly [{
|
|
818
|
+
readonly name: "";
|
|
819
|
+
readonly type: "uint256";
|
|
820
|
+
}];
|
|
821
|
+
}, {
|
|
822
|
+
readonly stateMutability: "view";
|
|
823
|
+
readonly type: "function";
|
|
824
|
+
readonly name: "getUtilizationRatio";
|
|
825
|
+
readonly inputs: readonly [{
|
|
826
|
+
readonly name: "_vaultToken";
|
|
827
|
+
readonly type: "address";
|
|
828
|
+
}];
|
|
829
|
+
readonly outputs: readonly [{
|
|
830
|
+
readonly name: "";
|
|
831
|
+
readonly type: "uint256";
|
|
832
|
+
}];
|
|
414
833
|
}, {
|
|
415
834
|
readonly stateMutability: "view";
|
|
416
835
|
readonly type: "function";
|
|
@@ -426,12 +845,70 @@ export declare const abi: readonly [{
|
|
|
426
845
|
}, {
|
|
427
846
|
readonly stateMutability: "view";
|
|
428
847
|
readonly type: "function";
|
|
429
|
-
readonly name: "
|
|
430
|
-
readonly inputs: readonly [
|
|
848
|
+
readonly name: "getWithdrawalFees";
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly name: "_vaultToken";
|
|
851
|
+
readonly type: "address";
|
|
852
|
+
}, {
|
|
853
|
+
readonly name: "_vaultTokenAmount";
|
|
854
|
+
readonly type: "uint256";
|
|
855
|
+
}];
|
|
856
|
+
readonly outputs: readonly [{
|
|
857
|
+
readonly name: "";
|
|
858
|
+
readonly type: "uint256";
|
|
859
|
+
}];
|
|
860
|
+
}, {
|
|
861
|
+
readonly stateMutability: "view";
|
|
862
|
+
readonly type: "function";
|
|
863
|
+
readonly name: "canRegisterVaultToken";
|
|
864
|
+
readonly inputs: readonly [{
|
|
865
|
+
readonly name: "_asset";
|
|
866
|
+
readonly type: "address";
|
|
867
|
+
}, {
|
|
868
|
+
readonly name: "_vaultToken";
|
|
869
|
+
readonly type: "address";
|
|
870
|
+
}];
|
|
431
871
|
readonly outputs: readonly [{
|
|
432
872
|
readonly name: "";
|
|
433
873
|
readonly type: "bool";
|
|
434
874
|
}];
|
|
875
|
+
}, {
|
|
876
|
+
readonly stateMutability: "nonpayable";
|
|
877
|
+
readonly type: "function";
|
|
878
|
+
readonly name: "registerVaultTokenLocally";
|
|
879
|
+
readonly inputs: readonly [{
|
|
880
|
+
readonly name: "_asset";
|
|
881
|
+
readonly type: "address";
|
|
882
|
+
}, {
|
|
883
|
+
readonly name: "_vaultAddr";
|
|
884
|
+
readonly type: "address";
|
|
885
|
+
}];
|
|
886
|
+
readonly outputs: readonly [{
|
|
887
|
+
readonly name: "";
|
|
888
|
+
readonly type: "tuple";
|
|
889
|
+
readonly components: readonly [{
|
|
890
|
+
readonly name: "underlyingAsset";
|
|
891
|
+
readonly type: "address";
|
|
892
|
+
}, {
|
|
893
|
+
readonly name: "decimals";
|
|
894
|
+
readonly type: "uint256";
|
|
895
|
+
}, {
|
|
896
|
+
readonly name: "lastAveragePricePerShare";
|
|
897
|
+
readonly type: "uint256";
|
|
898
|
+
}];
|
|
899
|
+
}];
|
|
900
|
+
}, {
|
|
901
|
+
readonly stateMutability: "nonpayable";
|
|
902
|
+
readonly type: "function";
|
|
903
|
+
readonly name: "deregisterVaultTokenLocally";
|
|
904
|
+
readonly inputs: readonly [{
|
|
905
|
+
readonly name: "_asset";
|
|
906
|
+
readonly type: "address";
|
|
907
|
+
}, {
|
|
908
|
+
readonly name: "_vaultAddr";
|
|
909
|
+
readonly type: "address";
|
|
910
|
+
}];
|
|
911
|
+
readonly outputs: readonly [];
|
|
435
912
|
}, {
|
|
436
913
|
readonly stateMutability: "nonpayable";
|
|
437
914
|
readonly type: "function";
|
|
@@ -591,9 +1068,9 @@ export declare const abi: readonly [{
|
|
|
591
1068
|
readonly type: "uint256";
|
|
592
1069
|
}];
|
|
593
1070
|
}, {
|
|
594
|
-
readonly stateMutability: "
|
|
1071
|
+
readonly stateMutability: "nonpayable";
|
|
595
1072
|
readonly type: "function";
|
|
596
|
-
readonly name: "
|
|
1073
|
+
readonly name: "addPriceSnapshot";
|
|
597
1074
|
readonly inputs: readonly [{
|
|
598
1075
|
readonly name: "_vaultToken";
|
|
599
1076
|
readonly type: "address";
|
|
@@ -605,96 +1082,42 @@ export declare const abi: readonly [{
|
|
|
605
1082
|
}, {
|
|
606
1083
|
readonly stateMutability: "view";
|
|
607
1084
|
readonly type: "function";
|
|
608
|
-
readonly name: "
|
|
609
|
-
readonly inputs: readonly [{
|
|
610
|
-
readonly name: "_vaultToken";
|
|
611
|
-
readonly type: "address";
|
|
612
|
-
}];
|
|
613
|
-
readonly outputs: readonly [{
|
|
614
|
-
readonly name: "";
|
|
615
|
-
readonly type: "address";
|
|
616
|
-
}];
|
|
617
|
-
}, {
|
|
618
|
-
readonly stateMutability: "view";
|
|
619
|
-
readonly type: "function";
|
|
620
|
-
readonly name: "getUnderlyingAmount";
|
|
1085
|
+
readonly name: "getAccessForLego";
|
|
621
1086
|
readonly inputs: readonly [{
|
|
622
|
-
readonly name: "
|
|
1087
|
+
readonly name: "_user";
|
|
623
1088
|
readonly type: "address";
|
|
624
1089
|
}, {
|
|
625
|
-
readonly name: "
|
|
1090
|
+
readonly name: "_action";
|
|
626
1091
|
readonly type: "uint256";
|
|
627
1092
|
}];
|
|
628
1093
|
readonly outputs: readonly [{
|
|
629
1094
|
readonly name: "";
|
|
630
|
-
readonly type: "uint256";
|
|
631
|
-
}];
|
|
632
|
-
}, {
|
|
633
|
-
readonly stateMutability: "view";
|
|
634
|
-
readonly type: "function";
|
|
635
|
-
readonly name: "getVaultTokenAmount";
|
|
636
|
-
readonly inputs: readonly [{
|
|
637
|
-
readonly name: "_asset";
|
|
638
1095
|
readonly type: "address";
|
|
639
1096
|
}, {
|
|
640
|
-
readonly name: "_assetAmount";
|
|
641
|
-
readonly type: "uint256";
|
|
642
|
-
}, {
|
|
643
|
-
readonly name: "_vaultToken";
|
|
644
|
-
readonly type: "address";
|
|
645
|
-
}];
|
|
646
|
-
readonly outputs: readonly [{
|
|
647
1097
|
readonly name: "";
|
|
648
|
-
readonly type: "
|
|
649
|
-
}];
|
|
650
|
-
}, {
|
|
651
|
-
readonly stateMutability: "view";
|
|
652
|
-
readonly type: "function";
|
|
653
|
-
readonly name: "getUsdValueOfVaultToken";
|
|
654
|
-
readonly inputs: readonly [{
|
|
655
|
-
readonly name: "_vaultToken";
|
|
656
|
-
readonly type: "address";
|
|
1098
|
+
readonly type: "string";
|
|
657
1099
|
}, {
|
|
658
|
-
readonly name: "_vaultTokenAmount";
|
|
659
|
-
readonly type: "uint256";
|
|
660
|
-
}];
|
|
661
|
-
readonly outputs: readonly [{
|
|
662
1100
|
readonly name: "";
|
|
663
1101
|
readonly type: "uint256";
|
|
664
1102
|
}];
|
|
665
1103
|
}, {
|
|
666
|
-
readonly stateMutability: "
|
|
1104
|
+
readonly stateMutability: "nonpayable";
|
|
667
1105
|
readonly type: "function";
|
|
668
|
-
readonly name: "
|
|
1106
|
+
readonly name: "claimRewards";
|
|
669
1107
|
readonly inputs: readonly [{
|
|
670
|
-
readonly name: "
|
|
1108
|
+
readonly name: "_user";
|
|
671
1109
|
readonly type: "address";
|
|
672
1110
|
}, {
|
|
673
|
-
readonly name: "
|
|
674
|
-
readonly type: "uint256";
|
|
675
|
-
}, {
|
|
676
|
-
readonly name: "_appraiser";
|
|
677
|
-
readonly type: "address";
|
|
678
|
-
}];
|
|
679
|
-
readonly outputs: readonly [{
|
|
680
|
-
readonly name: "";
|
|
681
|
-
readonly type: "uint256";
|
|
682
|
-
}];
|
|
683
|
-
}, {
|
|
684
|
-
readonly stateMutability: "view";
|
|
685
|
-
readonly type: "function";
|
|
686
|
-
readonly name: "getUnderlyingData";
|
|
687
|
-
readonly inputs: readonly [{
|
|
688
|
-
readonly name: "_vaultToken";
|
|
1111
|
+
readonly name: "_rewardToken";
|
|
689
1112
|
readonly type: "address";
|
|
690
1113
|
}, {
|
|
691
|
-
readonly name: "
|
|
1114
|
+
readonly name: "_rewardAmount";
|
|
692
1115
|
readonly type: "uint256";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly name: "_extraData";
|
|
1118
|
+
readonly type: "bytes32";
|
|
693
1119
|
}];
|
|
694
1120
|
readonly outputs: readonly [{
|
|
695
|
-
readonly name: "";
|
|
696
|
-
readonly type: "address";
|
|
697
|
-
}, {
|
|
698
1121
|
readonly name: "";
|
|
699
1122
|
readonly type: "uint256";
|
|
700
1123
|
}, {
|
|
@@ -702,23 +1125,39 @@ export declare const abi: readonly [{
|
|
|
702
1125
|
readonly type: "uint256";
|
|
703
1126
|
}];
|
|
704
1127
|
}, {
|
|
705
|
-
readonly stateMutability: "
|
|
1128
|
+
readonly stateMutability: "nonpayable";
|
|
706
1129
|
readonly type: "function";
|
|
707
|
-
readonly name: "
|
|
1130
|
+
readonly name: "claimRewards";
|
|
708
1131
|
readonly inputs: readonly [{
|
|
709
|
-
readonly name: "
|
|
1132
|
+
readonly name: "_user";
|
|
710
1133
|
readonly type: "address";
|
|
711
1134
|
}, {
|
|
712
|
-
readonly name: "
|
|
1135
|
+
readonly name: "_rewardToken";
|
|
1136
|
+
readonly type: "address";
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly name: "_rewardAmount";
|
|
713
1139
|
readonly type: "uint256";
|
|
714
1140
|
}, {
|
|
715
|
-
readonly name: "
|
|
716
|
-
readonly type: "
|
|
1141
|
+
readonly name: "_extraData";
|
|
1142
|
+
readonly type: "bytes32";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly name: "_miniAddys";
|
|
1145
|
+
readonly type: "tuple";
|
|
1146
|
+
readonly components: readonly [{
|
|
1147
|
+
readonly name: "ledger";
|
|
1148
|
+
readonly type: "address";
|
|
1149
|
+
}, {
|
|
1150
|
+
readonly name: "missionControl";
|
|
1151
|
+
readonly type: "address";
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly name: "legoBook";
|
|
1154
|
+
readonly type: "address";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly name: "appraiser";
|
|
1157
|
+
readonly type: "address";
|
|
1158
|
+
}];
|
|
717
1159
|
}];
|
|
718
1160
|
readonly outputs: readonly [{
|
|
719
|
-
readonly name: "";
|
|
720
|
-
readonly type: "address";
|
|
721
|
-
}, {
|
|
722
1161
|
readonly name: "";
|
|
723
1162
|
readonly type: "uint256";
|
|
724
1163
|
}, {
|
|
@@ -726,68 +1165,81 @@ export declare const abi: readonly [{
|
|
|
726
1165
|
readonly type: "uint256";
|
|
727
1166
|
}];
|
|
728
1167
|
}, {
|
|
729
|
-
readonly stateMutability: "
|
|
1168
|
+
readonly stateMutability: "nonpayable";
|
|
730
1169
|
readonly type: "function";
|
|
731
|
-
readonly name: "
|
|
1170
|
+
readonly name: "claimIncentives";
|
|
732
1171
|
readonly inputs: readonly [{
|
|
733
|
-
readonly name: "
|
|
1172
|
+
readonly name: "_user";
|
|
1173
|
+
readonly type: "address";
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly name: "_rewardToken";
|
|
734
1176
|
readonly type: "address";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly name: "_rewardAmount";
|
|
1179
|
+
readonly type: "uint256";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly name: "_proofs";
|
|
1182
|
+
readonly type: "bytes32[]";
|
|
735
1183
|
}];
|
|
736
1184
|
readonly outputs: readonly [{
|
|
737
1185
|
readonly name: "";
|
|
738
1186
|
readonly type: "uint256";
|
|
739
|
-
}
|
|
740
|
-
}, {
|
|
741
|
-
readonly stateMutability: "view";
|
|
742
|
-
readonly type: "function";
|
|
743
|
-
readonly name: "totalBorrows";
|
|
744
|
-
readonly inputs: readonly [{
|
|
745
|
-
readonly name: "_vaultToken";
|
|
746
|
-
readonly type: "address";
|
|
747
|
-
}];
|
|
748
|
-
readonly outputs: readonly [{
|
|
1187
|
+
}, {
|
|
749
1188
|
readonly name: "";
|
|
750
1189
|
readonly type: "uint256";
|
|
751
1190
|
}];
|
|
752
1191
|
}, {
|
|
753
|
-
readonly stateMutability: "
|
|
1192
|
+
readonly stateMutability: "nonpayable";
|
|
754
1193
|
readonly type: "function";
|
|
755
|
-
readonly name: "
|
|
1194
|
+
readonly name: "claimIncentives";
|
|
756
1195
|
readonly inputs: readonly [{
|
|
757
|
-
readonly name: "
|
|
1196
|
+
readonly name: "_user";
|
|
758
1197
|
readonly type: "address";
|
|
759
1198
|
}, {
|
|
760
|
-
readonly name: "
|
|
1199
|
+
readonly name: "_rewardToken";
|
|
1200
|
+
readonly type: "address";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly name: "_rewardAmount";
|
|
761
1203
|
readonly type: "uint256";
|
|
1204
|
+
}, {
|
|
1205
|
+
readonly name: "_proofs";
|
|
1206
|
+
readonly type: "bytes32[]";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly name: "_miniAddys";
|
|
1209
|
+
readonly type: "tuple";
|
|
1210
|
+
readonly components: readonly [{
|
|
1211
|
+
readonly name: "ledger";
|
|
1212
|
+
readonly type: "address";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly name: "missionControl";
|
|
1215
|
+
readonly type: "address";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly name: "legoBook";
|
|
1218
|
+
readonly type: "address";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly name: "appraiser";
|
|
1221
|
+
readonly type: "address";
|
|
1222
|
+
}];
|
|
762
1223
|
}];
|
|
763
1224
|
readonly outputs: readonly [{
|
|
764
1225
|
readonly name: "";
|
|
765
1226
|
readonly type: "uint256";
|
|
766
|
-
}];
|
|
767
|
-
}, {
|
|
768
|
-
readonly stateMutability: "nonpayable";
|
|
769
|
-
readonly type: "function";
|
|
770
|
-
readonly name: "addAssetOpportunity";
|
|
771
|
-
readonly inputs: readonly [{
|
|
772
|
-
readonly name: "_asset";
|
|
773
|
-
readonly type: "address";
|
|
774
1227
|
}, {
|
|
775
|
-
readonly name: "
|
|
776
|
-
readonly type: "
|
|
1228
|
+
readonly name: "";
|
|
1229
|
+
readonly type: "uint256";
|
|
777
1230
|
}];
|
|
778
|
-
readonly outputs: readonly [];
|
|
779
1231
|
}, {
|
|
780
|
-
readonly stateMutability: "
|
|
1232
|
+
readonly stateMutability: "view";
|
|
781
1233
|
readonly type: "function";
|
|
782
|
-
readonly name: "
|
|
1234
|
+
readonly name: "hasClaimableRewards";
|
|
783
1235
|
readonly inputs: readonly [{
|
|
784
|
-
readonly name: "
|
|
785
|
-
readonly type: "address";
|
|
786
|
-
}, {
|
|
787
|
-
readonly name: "_vaultAddr";
|
|
1236
|
+
readonly name: "_user";
|
|
788
1237
|
readonly type: "address";
|
|
789
1238
|
}];
|
|
790
|
-
readonly outputs: readonly [
|
|
1239
|
+
readonly outputs: readonly [{
|
|
1240
|
+
readonly name: "";
|
|
1241
|
+
readonly type: "bool";
|
|
1242
|
+
}];
|
|
791
1243
|
}, {
|
|
792
1244
|
readonly stateMutability: "nonpayable";
|
|
793
1245
|
readonly type: "function";
|
|
@@ -1272,70 +1724,6 @@ export declare const abi: readonly [{
|
|
|
1272
1724
|
readonly name: "";
|
|
1273
1725
|
readonly type: "uint256";
|
|
1274
1726
|
}];
|
|
1275
|
-
}, {
|
|
1276
|
-
readonly stateMutability: "nonpayable";
|
|
1277
|
-
readonly type: "function";
|
|
1278
|
-
readonly name: "claimRewards";
|
|
1279
|
-
readonly inputs: readonly [{
|
|
1280
|
-
readonly name: "_user";
|
|
1281
|
-
readonly type: "address";
|
|
1282
|
-
}, {
|
|
1283
|
-
readonly name: "_rewardToken";
|
|
1284
|
-
readonly type: "address";
|
|
1285
|
-
}, {
|
|
1286
|
-
readonly name: "_rewardAmount";
|
|
1287
|
-
readonly type: "uint256";
|
|
1288
|
-
}, {
|
|
1289
|
-
readonly name: "_extraData";
|
|
1290
|
-
readonly type: "bytes32";
|
|
1291
|
-
}];
|
|
1292
|
-
readonly outputs: readonly [{
|
|
1293
|
-
readonly name: "";
|
|
1294
|
-
readonly type: "uint256";
|
|
1295
|
-
}, {
|
|
1296
|
-
readonly name: "";
|
|
1297
|
-
readonly type: "uint256";
|
|
1298
|
-
}];
|
|
1299
|
-
}, {
|
|
1300
|
-
readonly stateMutability: "nonpayable";
|
|
1301
|
-
readonly type: "function";
|
|
1302
|
-
readonly name: "claimRewards";
|
|
1303
|
-
readonly inputs: readonly [{
|
|
1304
|
-
readonly name: "_user";
|
|
1305
|
-
readonly type: "address";
|
|
1306
|
-
}, {
|
|
1307
|
-
readonly name: "_rewardToken";
|
|
1308
|
-
readonly type: "address";
|
|
1309
|
-
}, {
|
|
1310
|
-
readonly name: "_rewardAmount";
|
|
1311
|
-
readonly type: "uint256";
|
|
1312
|
-
}, {
|
|
1313
|
-
readonly name: "_extraData";
|
|
1314
|
-
readonly type: "bytes32";
|
|
1315
|
-
}, {
|
|
1316
|
-
readonly name: "_miniAddys";
|
|
1317
|
-
readonly type: "tuple";
|
|
1318
|
-
readonly components: readonly [{
|
|
1319
|
-
readonly name: "ledger";
|
|
1320
|
-
readonly type: "address";
|
|
1321
|
-
}, {
|
|
1322
|
-
readonly name: "missionControl";
|
|
1323
|
-
readonly type: "address";
|
|
1324
|
-
}, {
|
|
1325
|
-
readonly name: "legoBook";
|
|
1326
|
-
readonly type: "address";
|
|
1327
|
-
}, {
|
|
1328
|
-
readonly name: "appraiser";
|
|
1329
|
-
readonly type: "address";
|
|
1330
|
-
}];
|
|
1331
|
-
}];
|
|
1332
|
-
readonly outputs: readonly [{
|
|
1333
|
-
readonly name: "";
|
|
1334
|
-
readonly type: "uint256";
|
|
1335
|
-
}, {
|
|
1336
|
-
readonly name: "";
|
|
1337
|
-
readonly type: "uint256";
|
|
1338
|
-
}];
|
|
1339
1727
|
}, {
|
|
1340
1728
|
readonly stateMutability: "nonpayable";
|
|
1341
1729
|
readonly type: "function";
|
|
@@ -1805,43 +2193,16 @@ export declare const abi: readonly [{
|
|
|
1805
2193
|
}, {
|
|
1806
2194
|
readonly stateMutability: "view";
|
|
1807
2195
|
readonly type: "function";
|
|
1808
|
-
readonly name: "
|
|
1809
|
-
readonly inputs: readonly [
|
|
1810
|
-
readonly name: "_user";
|
|
1811
|
-
readonly type: "address";
|
|
1812
|
-
}, {
|
|
1813
|
-
readonly name: "_action";
|
|
1814
|
-
readonly type: "uint256";
|
|
1815
|
-
}];
|
|
2196
|
+
readonly name: "AAVE_V3_POOL";
|
|
2197
|
+
readonly inputs: readonly [];
|
|
1816
2198
|
readonly outputs: readonly [{
|
|
1817
2199
|
readonly name: "";
|
|
1818
2200
|
readonly type: "address";
|
|
1819
|
-
}, {
|
|
1820
|
-
readonly name: "";
|
|
1821
|
-
readonly type: "string";
|
|
1822
|
-
}, {
|
|
1823
|
-
readonly name: "";
|
|
1824
|
-
readonly type: "uint256";
|
|
1825
|
-
}];
|
|
1826
|
-
}, {
|
|
1827
|
-
readonly stateMutability: "view";
|
|
1828
|
-
readonly type: "function";
|
|
1829
|
-
readonly name: "getPrice";
|
|
1830
|
-
readonly inputs: readonly [{
|
|
1831
|
-
readonly name: "_asset";
|
|
1832
|
-
readonly type: "address";
|
|
1833
|
-
}, {
|
|
1834
|
-
readonly name: "_decimals";
|
|
1835
|
-
readonly type: "uint256";
|
|
1836
|
-
}];
|
|
1837
|
-
readonly outputs: readonly [{
|
|
1838
|
-
readonly name: "";
|
|
1839
|
-
readonly type: "uint256";
|
|
1840
2201
|
}];
|
|
1841
2202
|
}, {
|
|
1842
2203
|
readonly stateMutability: "view";
|
|
1843
2204
|
readonly type: "function";
|
|
1844
|
-
readonly name: "
|
|
2205
|
+
readonly name: "AAVE_V3_ADDRESS_PROVIDER";
|
|
1845
2206
|
readonly inputs: readonly [];
|
|
1846
2207
|
readonly outputs: readonly [{
|
|
1847
2208
|
readonly name: "";
|
|
@@ -1850,7 +2211,7 @@ export declare const abi: readonly [{
|
|
|
1850
2211
|
}, {
|
|
1851
2212
|
readonly stateMutability: "view";
|
|
1852
2213
|
readonly type: "function";
|
|
1853
|
-
readonly name: "
|
|
2214
|
+
readonly name: "RIPE_REGISTRY";
|
|
1854
2215
|
readonly inputs: readonly [];
|
|
1855
2216
|
readonly outputs: readonly [{
|
|
1856
2217
|
readonly name: "";
|
|
@@ -1868,6 +2229,9 @@ export declare const abi: readonly [{
|
|
|
1868
2229
|
}, {
|
|
1869
2230
|
readonly name: "_addressProvider";
|
|
1870
2231
|
readonly type: "address";
|
|
2232
|
+
}, {
|
|
2233
|
+
readonly name: "_ripeRegistry";
|
|
2234
|
+
readonly type: "address";
|
|
1871
2235
|
}];
|
|
1872
2236
|
readonly outputs: readonly [];
|
|
1873
2237
|
}];
|
|
@@ -1886,6 +2250,7 @@ export type Contract = {
|
|
|
1886
2250
|
appraiser: `0x${string}`;
|
|
1887
2251
|
walletBackpack: `0x${string}`;
|
|
1888
2252
|
billing: `0x${string}`;
|
|
2253
|
+
vaultRegistry: `0x${string}`;
|
|
1889
2254
|
}>;
|
|
1890
2255
|
getUndyHq: () => Promise<`0x${string}`>;
|
|
1891
2256
|
isLegoAsset: (asset: `0x${string}`) => Promise<boolean>;
|
|
@@ -1893,39 +2258,91 @@ export type Contract = {
|
|
|
1893
2258
|
getAssets: () => Promise<`0x${string}`[]>;
|
|
1894
2259
|
isAssetOpportunity: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<boolean>;
|
|
1895
2260
|
getNumLegoAssets: () => Promise<bigint>;
|
|
1896
|
-
|
|
2261
|
+
getWeightedPricePerShare: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2262
|
+
getLatestSnapshot: (vaultToken: `0x${string}`, pricePerShare: bigint) => Promise<{
|
|
2263
|
+
totalSupply: bigint;
|
|
2264
|
+
pricePerShare: bigint;
|
|
2265
|
+
lastUpdate: bigint;
|
|
2266
|
+
}>;
|
|
2267
|
+
isValidPriceConfig: (config: {
|
|
2268
|
+
minSnapshotDelay: bigint;
|
|
2269
|
+
maxNumSnapshots: bigint;
|
|
2270
|
+
maxUpsideDeviation: bigint;
|
|
2271
|
+
staleTime: bigint;
|
|
2272
|
+
}) => Promise<boolean>;
|
|
2273
|
+
vaultToAsset: (arg0: `0x${string}`) => Promise<{
|
|
2274
|
+
underlyingAsset: `0x${string}`;
|
|
2275
|
+
decimals: bigint;
|
|
2276
|
+
lastAveragePricePerShare: bigint;
|
|
2277
|
+
}>;
|
|
1897
2278
|
assetOpportunities: (arg0: `0x${string}`, arg1: bigint) => Promise<`0x${string}`>;
|
|
1898
2279
|
indexOfAssetOpportunity: (arg0: `0x${string}`, arg1: `0x${string}`) => Promise<bigint>;
|
|
1899
2280
|
numAssetOpportunities: (arg0: `0x${string}`) => Promise<bigint>;
|
|
1900
|
-
vaultToAsset: (arg0: `0x${string}`) => Promise<`0x${string}`>;
|
|
1901
2281
|
assets: (arg0: bigint) => Promise<`0x${string}`>;
|
|
1902
2282
|
indexOfAsset: (arg0: `0x${string}`) => Promise<bigint>;
|
|
1903
2283
|
numAssets: () => Promise<bigint>;
|
|
2284
|
+
snapShotData: (arg0: `0x${string}`) => Promise<{
|
|
2285
|
+
lastSnapShot: {
|
|
2286
|
+
totalSupply: bigint;
|
|
2287
|
+
pricePerShare: bigint;
|
|
2288
|
+
lastUpdate: bigint;
|
|
2289
|
+
};
|
|
2290
|
+
nextIndex: bigint;
|
|
2291
|
+
}>;
|
|
2292
|
+
snapShots: (arg0: `0x${string}`, arg1: bigint) => Promise<{
|
|
2293
|
+
totalSupply: bigint;
|
|
2294
|
+
pricePerShare: bigint;
|
|
2295
|
+
lastUpdate: bigint;
|
|
2296
|
+
}>;
|
|
2297
|
+
snapShotPriceConfig: () => Promise<{
|
|
2298
|
+
minSnapshotDelay: bigint;
|
|
2299
|
+
maxNumSnapshots: bigint;
|
|
2300
|
+
maxUpsideDeviation: bigint;
|
|
2301
|
+
staleTime: bigint;
|
|
2302
|
+
}>;
|
|
2303
|
+
isPaused: () => Promise<boolean>;
|
|
1904
2304
|
hasCapability: (action: bigint) => Promise<boolean>;
|
|
1905
2305
|
getRegistries: () => Promise<`0x${string}`[]>;
|
|
1906
2306
|
isYieldLego: () => Promise<boolean>;
|
|
1907
2307
|
isDexLego: () => Promise<boolean>;
|
|
1908
|
-
isEligibleVaultForTrialFunds: (vaultToken: `0x${string}`, underlyingAsset: `0x${string}`) => Promise<boolean>;
|
|
1909
|
-
isEligibleForYieldBonus: (asset: `0x${string}`) => Promise<boolean>;
|
|
1910
|
-
isRebasing: () => Promise<boolean>;
|
|
1911
|
-
isVaultToken: (vaultToken: `0x${string}`) => Promise<boolean>;
|
|
1912
2308
|
getUnderlyingAsset: (vaultToken: `0x${string}`) => Promise<`0x${string}`>;
|
|
2309
|
+
getUnderlyingBalances: (vaultToken: `0x${string}`, vaultTokenBalance: bigint) => Promise<[bigint, bigint]>;
|
|
1913
2310
|
getUnderlyingAmount: (vaultToken: `0x${string}`, vaultTokenAmount: bigint) => Promise<bigint>;
|
|
1914
|
-
|
|
1915
|
-
getUsdValueOfVaultToken: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<bigint>;
|
|
2311
|
+
getUnderlyingAmountSafe: (vaultToken: `0x${string}`, vaultTokenBalance: bigint) => Promise<bigint>;
|
|
1916
2312
|
getUnderlyingData: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
2313
|
+
getUsdValueOfVaultToken: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<bigint>;
|
|
2314
|
+
isRebasing: () => Promise<boolean>;
|
|
2315
|
+
getPricePerShare: (vaultToken: `0x${string}`, decimals?: bigint) => Promise<bigint>;
|
|
2316
|
+
getVaultTokenAmount: (asset: `0x${string}`, assetAmount: bigint, vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1917
2317
|
totalAssets: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1918
2318
|
totalBorrows: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1919
|
-
|
|
2319
|
+
getAvailLiquidity: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2320
|
+
getUtilizationRatio: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2321
|
+
isEligibleForYieldBonus: (asset: `0x${string}`) => Promise<boolean>;
|
|
2322
|
+
getWithdrawalFees: (vaultToken: `0x${string}`, vaultTokenAmount: bigint) => Promise<bigint>;
|
|
2323
|
+
canRegisterVaultToken: (asset: `0x${string}`, vaultToken: `0x${string}`) => Promise<boolean>;
|
|
1920
2324
|
getAccessForLego: (user: `0x${string}`, action: bigint) => Promise<[`0x${string}`, string, bigint]>;
|
|
1921
|
-
|
|
2325
|
+
hasClaimableRewards: (user: `0x${string}`) => Promise<boolean>;
|
|
1922
2326
|
AAVE_V3_POOL: () => Promise<`0x${string}`>;
|
|
1923
2327
|
AAVE_V3_ADDRESS_PROVIDER: () => Promise<`0x${string}`>;
|
|
2328
|
+
RIPE_REGISTRY: () => Promise<`0x${string}`>;
|
|
1924
2329
|
};
|
|
1925
2330
|
mutations: {
|
|
1926
2331
|
pause: (shouldPause: boolean) => Promise<void>;
|
|
1927
2332
|
recoverFunds: (recipient: `0x${string}`, asset: `0x${string}`) => Promise<void>;
|
|
1928
2333
|
recoverFundsMany: (recipient: `0x${string}`, assets: `0x${string}`[]) => Promise<void>;
|
|
2334
|
+
setSnapShotPriceConfig: (config: {
|
|
2335
|
+
minSnapshotDelay: bigint;
|
|
2336
|
+
maxNumSnapshots: bigint;
|
|
2337
|
+
maxUpsideDeviation: bigint;
|
|
2338
|
+
staleTime: bigint;
|
|
2339
|
+
}) => Promise<void>;
|
|
2340
|
+
registerVaultTokenLocally: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<{
|
|
2341
|
+
underlyingAsset: `0x${string}`;
|
|
2342
|
+
decimals: bigint;
|
|
2343
|
+
lastAveragePricePerShare: bigint;
|
|
2344
|
+
}>;
|
|
2345
|
+
deregisterVaultTokenLocally: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
1929
2346
|
depositForYield: (asset: `0x${string}`, amount: bigint, vaultAddr: `0x${string}`, extraData: `0x${string}`, recipient: `0x${string}`, miniAddys?: {
|
|
1930
2347
|
ledger: `0x${string}`;
|
|
1931
2348
|
missionControl: `0x${string}`;
|
|
@@ -1938,8 +2355,19 @@ export type Contract = {
|
|
|
1938
2355
|
legoBook: `0x${string}`;
|
|
1939
2356
|
appraiser: `0x${string}`;
|
|
1940
2357
|
}) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
1941
|
-
|
|
1942
|
-
|
|
2358
|
+
addPriceSnapshot: (vaultToken: `0x${string}`) => Promise<boolean>;
|
|
2359
|
+
claimRewards: (user: `0x${string}`, rewardToken: `0x${string}`, rewardAmount: bigint, extraData: `0x${string}`, miniAddys?: {
|
|
2360
|
+
ledger: `0x${string}`;
|
|
2361
|
+
missionControl: `0x${string}`;
|
|
2362
|
+
legoBook: `0x${string}`;
|
|
2363
|
+
appraiser: `0x${string}`;
|
|
2364
|
+
}) => Promise<[bigint, bigint]>;
|
|
2365
|
+
claimIncentives: (user: `0x${string}`, rewardToken: `0x${string}`, rewardAmount: bigint, proofs: `0x${string}`[], miniAddys?: {
|
|
2366
|
+
ledger: `0x${string}`;
|
|
2367
|
+
missionControl: `0x${string}`;
|
|
2368
|
+
legoBook: `0x${string}`;
|
|
2369
|
+
appraiser: `0x${string}`;
|
|
2370
|
+
}) => Promise<[bigint, bigint]>;
|
|
1943
2371
|
swapTokens: (amountIn: bigint, minAmountOut: bigint, tokenPath: `0x${string}`[], poolPath: `0x${string}`[], recipient: `0x${string}`, miniAddys?: {
|
|
1944
2372
|
ledger: `0x${string}`;
|
|
1945
2373
|
missionControl: `0x${string}`;
|
|
@@ -1982,12 +2410,6 @@ export type Contract = {
|
|
|
1982
2410
|
legoBook: `0x${string}`;
|
|
1983
2411
|
appraiser: `0x${string}`;
|
|
1984
2412
|
}) => Promise<[bigint, bigint]>;
|
|
1985
|
-
claimRewards: (user: `0x${string}`, rewardToken: `0x${string}`, rewardAmount: bigint, extraData: `0x${string}`, miniAddys?: {
|
|
1986
|
-
ledger: `0x${string}`;
|
|
1987
|
-
missionControl: `0x${string}`;
|
|
1988
|
-
legoBook: `0x${string}`;
|
|
1989
|
-
appraiser: `0x${string}`;
|
|
1990
|
-
}) => Promise<[bigint, bigint]>;
|
|
1991
2413
|
addLiquidity: (pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA: bigint, amountB: bigint, minAmountA: bigint, minAmountB: bigint, minLpAmount: bigint, extraData: `0x${string}`, recipient: `0x${string}`, miniAddys?: {
|
|
1992
2414
|
ledger: `0x${string}`;
|
|
1993
2415
|
missionControl: `0x${string}`;
|
|
@@ -2018,6 +2440,7 @@ export type Contract = {
|
|
|
2018
2440
|
AaveV3Withdrawal: (sender: `0x${string}`, asset: `0x${string}`, vaultToken: `0x${string}`, assetAmountReceived: bigint, usdValue: bigint, vaultTokenAmountBurned: bigint, recipient: `0x${string}`) => Promise<void>;
|
|
2019
2441
|
LegoPauseModified: (isPaused: boolean) => Promise<void>;
|
|
2020
2442
|
LegoFundsRecovered: (asset: `0x${string}`, recipient: `0x${string}`, balance: bigint) => Promise<void>;
|
|
2443
|
+
SnapShotPriceConfigSet: (minSnapshotDelay: bigint, maxNumSnapshots: bigint, maxUpsideDeviation: bigint, staleTime: bigint) => Promise<void>;
|
|
2021
2444
|
AssetOpportunityAdded: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
2022
2445
|
AssetOpportunityRemoved: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
2023
2446
|
};
|
|
@@ -2067,41 +2490,56 @@ export type SDK = {
|
|
|
2067
2490
|
getAssets: (...args: ExtractArgs<Contract['calls']['getAssets']>) => Promise<CallReturn<'getAssets'>>;
|
|
2068
2491
|
isAssetOpportunity: (...args: ExtractArgs<Contract['calls']['isAssetOpportunity']>) => Promise<CallReturn<'isAssetOpportunity'>>;
|
|
2069
2492
|
getNumLegoAssets: (...args: ExtractArgs<Contract['calls']['getNumLegoAssets']>) => Promise<CallReturn<'getNumLegoAssets'>>;
|
|
2070
|
-
|
|
2493
|
+
getWeightedPricePerShare: (...args: ExtractArgs<Contract['calls']['getWeightedPricePerShare']>) => Promise<CallReturn<'getWeightedPricePerShare'>>;
|
|
2494
|
+
getLatestSnapshot: (...args: ExtractArgs<Contract['calls']['getLatestSnapshot']>) => Promise<CallReturn<'getLatestSnapshot'>>;
|
|
2495
|
+
isValidPriceConfig: (...args: ExtractArgs<Contract['calls']['isValidPriceConfig']>) => Promise<CallReturn<'isValidPriceConfig'>>;
|
|
2496
|
+
vaultToAsset: (...args: ExtractArgs<Contract['calls']['vaultToAsset']>) => Promise<CallReturn<'vaultToAsset'>>;
|
|
2071
2497
|
assetOpportunities: (...args: ExtractArgs<Contract['calls']['assetOpportunities']>) => Promise<CallReturn<'assetOpportunities'>>;
|
|
2072
2498
|
indexOfAssetOpportunity: (...args: ExtractArgs<Contract['calls']['indexOfAssetOpportunity']>) => Promise<CallReturn<'indexOfAssetOpportunity'>>;
|
|
2073
2499
|
numAssetOpportunities: (...args: ExtractArgs<Contract['calls']['numAssetOpportunities']>) => Promise<CallReturn<'numAssetOpportunities'>>;
|
|
2074
|
-
vaultToAsset: (...args: ExtractArgs<Contract['calls']['vaultToAsset']>) => Promise<CallReturn<'vaultToAsset'>>;
|
|
2075
2500
|
assets: (...args: ExtractArgs<Contract['calls']['assets']>) => Promise<CallReturn<'assets'>>;
|
|
2076
2501
|
indexOfAsset: (...args: ExtractArgs<Contract['calls']['indexOfAsset']>) => Promise<CallReturn<'indexOfAsset'>>;
|
|
2077
2502
|
numAssets: (...args: ExtractArgs<Contract['calls']['numAssets']>) => Promise<CallReturn<'numAssets'>>;
|
|
2503
|
+
snapShotData: (...args: ExtractArgs<Contract['calls']['snapShotData']>) => Promise<CallReturn<'snapShotData'>>;
|
|
2504
|
+
snapShots: (...args: ExtractArgs<Contract['calls']['snapShots']>) => Promise<CallReturn<'snapShots'>>;
|
|
2505
|
+
snapShotPriceConfig: (...args: ExtractArgs<Contract['calls']['snapShotPriceConfig']>) => Promise<CallReturn<'snapShotPriceConfig'>>;
|
|
2506
|
+
isPaused: (...args: ExtractArgs<Contract['calls']['isPaused']>) => Promise<CallReturn<'isPaused'>>;
|
|
2078
2507
|
hasCapability: (...args: ExtractArgs<Contract['calls']['hasCapability']>) => Promise<CallReturn<'hasCapability'>>;
|
|
2079
2508
|
getRegistries: (...args: ExtractArgs<Contract['calls']['getRegistries']>) => Promise<CallReturn<'getRegistries'>>;
|
|
2080
2509
|
isYieldLego: (...args: ExtractArgs<Contract['calls']['isYieldLego']>) => Promise<CallReturn<'isYieldLego'>>;
|
|
2081
2510
|
isDexLego: (...args: ExtractArgs<Contract['calls']['isDexLego']>) => Promise<CallReturn<'isDexLego'>>;
|
|
2082
|
-
isEligibleVaultForTrialFunds: (...args: ExtractArgs<Contract['calls']['isEligibleVaultForTrialFunds']>) => Promise<CallReturn<'isEligibleVaultForTrialFunds'>>;
|
|
2083
|
-
isEligibleForYieldBonus: (...args: ExtractArgs<Contract['calls']['isEligibleForYieldBonus']>) => Promise<CallReturn<'isEligibleForYieldBonus'>>;
|
|
2084
|
-
isRebasing: (...args: ExtractArgs<Contract['calls']['isRebasing']>) => Promise<CallReturn<'isRebasing'>>;
|
|
2085
|
-
isVaultToken: (...args: ExtractArgs<Contract['calls']['isVaultToken']>) => Promise<CallReturn<'isVaultToken'>>;
|
|
2086
2511
|
getUnderlyingAsset: (...args: ExtractArgs<Contract['calls']['getUnderlyingAsset']>) => Promise<CallReturn<'getUnderlyingAsset'>>;
|
|
2512
|
+
getUnderlyingBalances: (...args: ExtractArgs<Contract['calls']['getUnderlyingBalances']>) => Promise<CallReturn<'getUnderlyingBalances'>>;
|
|
2087
2513
|
getUnderlyingAmount: (...args: ExtractArgs<Contract['calls']['getUnderlyingAmount']>) => Promise<CallReturn<'getUnderlyingAmount'>>;
|
|
2088
|
-
|
|
2089
|
-
getUsdValueOfVaultToken: (...args: ExtractArgs<Contract['calls']['getUsdValueOfVaultToken']>) => Promise<CallReturn<'getUsdValueOfVaultToken'>>;
|
|
2514
|
+
getUnderlyingAmountSafe: (...args: ExtractArgs<Contract['calls']['getUnderlyingAmountSafe']>) => Promise<CallReturn<'getUnderlyingAmountSafe'>>;
|
|
2090
2515
|
getUnderlyingData: (...args: ExtractArgs<Contract['calls']['getUnderlyingData']>) => Promise<CallReturn<'getUnderlyingData'>>;
|
|
2516
|
+
getUsdValueOfVaultToken: (...args: ExtractArgs<Contract['calls']['getUsdValueOfVaultToken']>) => Promise<CallReturn<'getUsdValueOfVaultToken'>>;
|
|
2517
|
+
isRebasing: (...args: ExtractArgs<Contract['calls']['isRebasing']>) => Promise<CallReturn<'isRebasing'>>;
|
|
2518
|
+
getPricePerShare: (...args: ExtractArgs<Contract['calls']['getPricePerShare']>) => Promise<CallReturn<'getPricePerShare'>>;
|
|
2519
|
+
getVaultTokenAmount: (...args: ExtractArgs<Contract['calls']['getVaultTokenAmount']>) => Promise<CallReturn<'getVaultTokenAmount'>>;
|
|
2091
2520
|
totalAssets: (...args: ExtractArgs<Contract['calls']['totalAssets']>) => Promise<CallReturn<'totalAssets'>>;
|
|
2092
2521
|
totalBorrows: (...args: ExtractArgs<Contract['calls']['totalBorrows']>) => Promise<CallReturn<'totalBorrows'>>;
|
|
2093
|
-
|
|
2522
|
+
getAvailLiquidity: (...args: ExtractArgs<Contract['calls']['getAvailLiquidity']>) => Promise<CallReturn<'getAvailLiquidity'>>;
|
|
2523
|
+
getUtilizationRatio: (...args: ExtractArgs<Contract['calls']['getUtilizationRatio']>) => Promise<CallReturn<'getUtilizationRatio'>>;
|
|
2524
|
+
isEligibleForYieldBonus: (...args: ExtractArgs<Contract['calls']['isEligibleForYieldBonus']>) => Promise<CallReturn<'isEligibleForYieldBonus'>>;
|
|
2525
|
+
getWithdrawalFees: (...args: ExtractArgs<Contract['calls']['getWithdrawalFees']>) => Promise<CallReturn<'getWithdrawalFees'>>;
|
|
2526
|
+
canRegisterVaultToken: (...args: ExtractArgs<Contract['calls']['canRegisterVaultToken']>) => Promise<CallReturn<'canRegisterVaultToken'>>;
|
|
2094
2527
|
getAccessForLego: (...args: ExtractArgs<Contract['calls']['getAccessForLego']>) => Promise<CallReturn<'getAccessForLego'>>;
|
|
2095
|
-
|
|
2528
|
+
hasClaimableRewards: (...args: ExtractArgs<Contract['calls']['hasClaimableRewards']>) => Promise<CallReturn<'hasClaimableRewards'>>;
|
|
2096
2529
|
AAVE_V3_POOL: (...args: ExtractArgs<Contract['calls']['AAVE_V3_POOL']>) => Promise<CallReturn<'AAVE_V3_POOL'>>;
|
|
2097
2530
|
AAVE_V3_ADDRESS_PROVIDER: (...args: ExtractArgs<Contract['calls']['AAVE_V3_ADDRESS_PROVIDER']>) => Promise<CallReturn<'AAVE_V3_ADDRESS_PROVIDER'>>;
|
|
2531
|
+
RIPE_REGISTRY: (...args: ExtractArgs<Contract['calls']['RIPE_REGISTRY']>) => Promise<CallReturn<'RIPE_REGISTRY'>>;
|
|
2098
2532
|
pause: (...args: ExtractArgs<Contract['mutations']['pause']>) => Promise<Address>;
|
|
2099
2533
|
recoverFunds: (...args: ExtractArgs<Contract['mutations']['recoverFunds']>) => Promise<Address>;
|
|
2100
2534
|
recoverFundsMany: (...args: ExtractArgs<Contract['mutations']['recoverFundsMany']>) => Promise<Address>;
|
|
2535
|
+
setSnapShotPriceConfig: (...args: ExtractArgs<Contract['mutations']['setSnapShotPriceConfig']>) => Promise<Address>;
|
|
2536
|
+
registerVaultTokenLocally: (...args: ExtractArgs<Contract['mutations']['registerVaultTokenLocally']>) => Promise<Address>;
|
|
2537
|
+
deregisterVaultTokenLocally: (...args: ExtractArgs<Contract['mutations']['deregisterVaultTokenLocally']>) => Promise<Address>;
|
|
2101
2538
|
depositForYield: (...args: ExtractArgs<Contract['mutations']['depositForYield']>) => Promise<Address>;
|
|
2102
2539
|
withdrawFromYield: (...args: ExtractArgs<Contract['mutations']['withdrawFromYield']>) => Promise<Address>;
|
|
2103
|
-
|
|
2104
|
-
|
|
2540
|
+
addPriceSnapshot: (...args: ExtractArgs<Contract['mutations']['addPriceSnapshot']>) => Promise<Address>;
|
|
2541
|
+
claimRewards: (...args: ExtractArgs<Contract['mutations']['claimRewards']>) => Promise<Address>;
|
|
2542
|
+
claimIncentives: (...args: ExtractArgs<Contract['mutations']['claimIncentives']>) => Promise<Address>;
|
|
2105
2543
|
swapTokens: (...args: ExtractArgs<Contract['mutations']['swapTokens']>) => Promise<Address>;
|
|
2106
2544
|
mintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['mintOrRedeemAsset']>) => Promise<Address>;
|
|
2107
2545
|
confirmMintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['confirmMintOrRedeemAsset']>) => Promise<Address>;
|
|
@@ -2109,7 +2547,6 @@ export type SDK = {
|
|
|
2109
2547
|
removeCollateral: (...args: ExtractArgs<Contract['mutations']['removeCollateral']>) => Promise<Address>;
|
|
2110
2548
|
borrow: (...args: ExtractArgs<Contract['mutations']['borrow']>) => Promise<Address>;
|
|
2111
2549
|
repayDebt: (...args: ExtractArgs<Contract['mutations']['repayDebt']>) => Promise<Address>;
|
|
2112
|
-
claimRewards: (...args: ExtractArgs<Contract['mutations']['claimRewards']>) => Promise<Address>;
|
|
2113
2550
|
addLiquidity: (...args: ExtractArgs<Contract['mutations']['addLiquidity']>) => Promise<Address>;
|
|
2114
2551
|
removeLiquidity: (...args: ExtractArgs<Contract['mutations']['removeLiquidity']>) => Promise<Address>;
|
|
2115
2552
|
addLiquidityConcentrated: (...args: ExtractArgs<Contract['mutations']['addLiquidityConcentrated']>) => Promise<Address>;
|