@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 [{
|
|
@@ -119,6 +140,27 @@ export declare const abi: readonly [{
|
|
|
119
140
|
}];
|
|
120
141
|
readonly anonymous: false;
|
|
121
142
|
readonly type: "event";
|
|
143
|
+
}, {
|
|
144
|
+
readonly name: "PricePerShareSnapShotAdded";
|
|
145
|
+
readonly inputs: readonly [{
|
|
146
|
+
readonly name: "vaultToken";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
readonly indexed: true;
|
|
149
|
+
}, {
|
|
150
|
+
readonly name: "totalSupply";
|
|
151
|
+
readonly type: "uint256";
|
|
152
|
+
readonly indexed: false;
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "pricePerShare";
|
|
155
|
+
readonly type: "uint256";
|
|
156
|
+
readonly indexed: false;
|
|
157
|
+
}, {
|
|
158
|
+
readonly name: "lastAveragePricePerShare";
|
|
159
|
+
readonly type: "uint256";
|
|
160
|
+
readonly indexed: false;
|
|
161
|
+
}];
|
|
162
|
+
readonly anonymous: false;
|
|
163
|
+
readonly type: "event";
|
|
122
164
|
}, {
|
|
123
165
|
readonly stateMutability: "view";
|
|
124
166
|
readonly type: "function";
|
|
@@ -160,6 +202,9 @@ export declare const abi: readonly [{
|
|
|
160
202
|
}, {
|
|
161
203
|
readonly name: "billing";
|
|
162
204
|
readonly type: "address";
|
|
205
|
+
}, {
|
|
206
|
+
readonly name: "vaultRegistry";
|
|
207
|
+
readonly type: "address";
|
|
163
208
|
}];
|
|
164
209
|
}];
|
|
165
210
|
}, {
|
|
@@ -264,12 +309,109 @@ export declare const abi: readonly [{
|
|
|
264
309
|
}, {
|
|
265
310
|
readonly stateMutability: "view";
|
|
266
311
|
readonly type: "function";
|
|
267
|
-
readonly name: "
|
|
268
|
-
readonly inputs: readonly [
|
|
312
|
+
readonly name: "getWeightedPricePerShare";
|
|
313
|
+
readonly inputs: readonly [{
|
|
314
|
+
readonly name: "_vaultToken";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
}];
|
|
317
|
+
readonly outputs: readonly [{
|
|
318
|
+
readonly name: "";
|
|
319
|
+
readonly type: "uint256";
|
|
320
|
+
}];
|
|
321
|
+
}, {
|
|
322
|
+
readonly stateMutability: "view";
|
|
323
|
+
readonly type: "function";
|
|
324
|
+
readonly name: "getLatestSnapshot";
|
|
325
|
+
readonly inputs: readonly [{
|
|
326
|
+
readonly name: "_vaultToken";
|
|
327
|
+
readonly type: "address";
|
|
328
|
+
}, {
|
|
329
|
+
readonly name: "_pricePerShare";
|
|
330
|
+
readonly type: "uint256";
|
|
331
|
+
}];
|
|
332
|
+
readonly outputs: readonly [{
|
|
333
|
+
readonly name: "";
|
|
334
|
+
readonly type: "tuple";
|
|
335
|
+
readonly components: readonly [{
|
|
336
|
+
readonly name: "totalSupply";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
}, {
|
|
339
|
+
readonly name: "pricePerShare";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
}, {
|
|
342
|
+
readonly name: "lastUpdate";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
}];
|
|
345
|
+
}];
|
|
346
|
+
}, {
|
|
347
|
+
readonly stateMutability: "nonpayable";
|
|
348
|
+
readonly type: "function";
|
|
349
|
+
readonly name: "setSnapShotPriceConfig";
|
|
350
|
+
readonly inputs: readonly [{
|
|
351
|
+
readonly name: "_config";
|
|
352
|
+
readonly type: "tuple";
|
|
353
|
+
readonly components: readonly [{
|
|
354
|
+
readonly name: "minSnapshotDelay";
|
|
355
|
+
readonly type: "uint256";
|
|
356
|
+
}, {
|
|
357
|
+
readonly name: "maxNumSnapshots";
|
|
358
|
+
readonly type: "uint256";
|
|
359
|
+
}, {
|
|
360
|
+
readonly name: "maxUpsideDeviation";
|
|
361
|
+
readonly type: "uint256";
|
|
362
|
+
}, {
|
|
363
|
+
readonly name: "staleTime";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
}];
|
|
366
|
+
}];
|
|
367
|
+
readonly outputs: readonly [];
|
|
368
|
+
}, {
|
|
369
|
+
readonly stateMutability: "view";
|
|
370
|
+
readonly type: "function";
|
|
371
|
+
readonly name: "isValidPriceConfig";
|
|
372
|
+
readonly inputs: readonly [{
|
|
373
|
+
readonly name: "_config";
|
|
374
|
+
readonly type: "tuple";
|
|
375
|
+
readonly components: readonly [{
|
|
376
|
+
readonly name: "minSnapshotDelay";
|
|
377
|
+
readonly type: "uint256";
|
|
378
|
+
}, {
|
|
379
|
+
readonly name: "maxNumSnapshots";
|
|
380
|
+
readonly type: "uint256";
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "maxUpsideDeviation";
|
|
383
|
+
readonly type: "uint256";
|
|
384
|
+
}, {
|
|
385
|
+
readonly name: "staleTime";
|
|
386
|
+
readonly type: "uint256";
|
|
387
|
+
}];
|
|
388
|
+
}];
|
|
269
389
|
readonly outputs: readonly [{
|
|
270
390
|
readonly name: "";
|
|
271
391
|
readonly type: "bool";
|
|
272
392
|
}];
|
|
393
|
+
}, {
|
|
394
|
+
readonly stateMutability: "view";
|
|
395
|
+
readonly type: "function";
|
|
396
|
+
readonly name: "vaultToAsset";
|
|
397
|
+
readonly inputs: readonly [{
|
|
398
|
+
readonly name: "arg0";
|
|
399
|
+
readonly type: "address";
|
|
400
|
+
}];
|
|
401
|
+
readonly outputs: readonly [{
|
|
402
|
+
readonly name: "";
|
|
403
|
+
readonly type: "tuple";
|
|
404
|
+
readonly components: readonly [{
|
|
405
|
+
readonly name: "underlyingAsset";
|
|
406
|
+
readonly type: "address";
|
|
407
|
+
}, {
|
|
408
|
+
readonly name: "decimals";
|
|
409
|
+
readonly type: "uint256";
|
|
410
|
+
}, {
|
|
411
|
+
readonly name: "lastAveragePricePerShare";
|
|
412
|
+
readonly type: "uint256";
|
|
413
|
+
}];
|
|
414
|
+
}];
|
|
273
415
|
}, {
|
|
274
416
|
readonly stateMutability: "view";
|
|
275
417
|
readonly type: "function";
|
|
@@ -315,10 +457,10 @@ export declare const abi: readonly [{
|
|
|
315
457
|
}, {
|
|
316
458
|
readonly stateMutability: "view";
|
|
317
459
|
readonly type: "function";
|
|
318
|
-
readonly name: "
|
|
460
|
+
readonly name: "assets";
|
|
319
461
|
readonly inputs: readonly [{
|
|
320
462
|
readonly name: "arg0";
|
|
321
|
-
readonly type: "
|
|
463
|
+
readonly type: "uint256";
|
|
322
464
|
}];
|
|
323
465
|
readonly outputs: readonly [{
|
|
324
466
|
readonly name: "";
|
|
@@ -327,35 +469,108 @@ export declare const abi: readonly [{
|
|
|
327
469
|
}, {
|
|
328
470
|
readonly stateMutability: "view";
|
|
329
471
|
readonly type: "function";
|
|
330
|
-
readonly name: "
|
|
472
|
+
readonly name: "indexOfAsset";
|
|
331
473
|
readonly inputs: readonly [{
|
|
332
474
|
readonly name: "arg0";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
}];
|
|
477
|
+
readonly outputs: readonly [{
|
|
478
|
+
readonly name: "";
|
|
333
479
|
readonly type: "uint256";
|
|
334
480
|
}];
|
|
481
|
+
}, {
|
|
482
|
+
readonly stateMutability: "view";
|
|
483
|
+
readonly type: "function";
|
|
484
|
+
readonly name: "numAssets";
|
|
485
|
+
readonly inputs: readonly [];
|
|
335
486
|
readonly outputs: readonly [{
|
|
336
487
|
readonly name: "";
|
|
337
|
-
readonly type: "
|
|
488
|
+
readonly type: "uint256";
|
|
338
489
|
}];
|
|
339
490
|
}, {
|
|
340
491
|
readonly stateMutability: "view";
|
|
341
492
|
readonly type: "function";
|
|
342
|
-
readonly name: "
|
|
493
|
+
readonly name: "snapShotData";
|
|
343
494
|
readonly inputs: readonly [{
|
|
344
495
|
readonly name: "arg0";
|
|
345
496
|
readonly type: "address";
|
|
346
497
|
}];
|
|
347
498
|
readonly outputs: readonly [{
|
|
348
499
|
readonly name: "";
|
|
500
|
+
readonly type: "tuple";
|
|
501
|
+
readonly components: readonly [{
|
|
502
|
+
readonly name: "lastSnapShot";
|
|
503
|
+
readonly type: "tuple";
|
|
504
|
+
readonly components: readonly [{
|
|
505
|
+
readonly name: "totalSupply";
|
|
506
|
+
readonly type: "uint256";
|
|
507
|
+
}, {
|
|
508
|
+
readonly name: "pricePerShare";
|
|
509
|
+
readonly type: "uint256";
|
|
510
|
+
}, {
|
|
511
|
+
readonly name: "lastUpdate";
|
|
512
|
+
readonly type: "uint256";
|
|
513
|
+
}];
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "nextIndex";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
}];
|
|
518
|
+
}];
|
|
519
|
+
}, {
|
|
520
|
+
readonly stateMutability: "view";
|
|
521
|
+
readonly type: "function";
|
|
522
|
+
readonly name: "snapShots";
|
|
523
|
+
readonly inputs: readonly [{
|
|
524
|
+
readonly name: "arg0";
|
|
525
|
+
readonly type: "address";
|
|
526
|
+
}, {
|
|
527
|
+
readonly name: "arg1";
|
|
349
528
|
readonly type: "uint256";
|
|
350
529
|
}];
|
|
530
|
+
readonly outputs: readonly [{
|
|
531
|
+
readonly name: "";
|
|
532
|
+
readonly type: "tuple";
|
|
533
|
+
readonly components: readonly [{
|
|
534
|
+
readonly name: "totalSupply";
|
|
535
|
+
readonly type: "uint256";
|
|
536
|
+
}, {
|
|
537
|
+
readonly name: "pricePerShare";
|
|
538
|
+
readonly type: "uint256";
|
|
539
|
+
}, {
|
|
540
|
+
readonly name: "lastUpdate";
|
|
541
|
+
readonly type: "uint256";
|
|
542
|
+
}];
|
|
543
|
+
}];
|
|
351
544
|
}, {
|
|
352
545
|
readonly stateMutability: "view";
|
|
353
546
|
readonly type: "function";
|
|
354
|
-
readonly name: "
|
|
547
|
+
readonly name: "snapShotPriceConfig";
|
|
355
548
|
readonly inputs: readonly [];
|
|
356
549
|
readonly outputs: readonly [{
|
|
357
550
|
readonly name: "";
|
|
358
|
-
readonly type: "
|
|
551
|
+
readonly type: "tuple";
|
|
552
|
+
readonly components: readonly [{
|
|
553
|
+
readonly name: "minSnapshotDelay";
|
|
554
|
+
readonly type: "uint256";
|
|
555
|
+
}, {
|
|
556
|
+
readonly name: "maxNumSnapshots";
|
|
557
|
+
readonly type: "uint256";
|
|
558
|
+
}, {
|
|
559
|
+
readonly name: "maxUpsideDeviation";
|
|
560
|
+
readonly type: "uint256";
|
|
561
|
+
}, {
|
|
562
|
+
readonly name: "staleTime";
|
|
563
|
+
readonly type: "uint256";
|
|
564
|
+
}];
|
|
565
|
+
}];
|
|
566
|
+
}, {
|
|
567
|
+
readonly stateMutability: "view";
|
|
568
|
+
readonly type: "function";
|
|
569
|
+
readonly name: "isPaused";
|
|
570
|
+
readonly inputs: readonly [];
|
|
571
|
+
readonly outputs: readonly [{
|
|
572
|
+
readonly name: "";
|
|
573
|
+
readonly type: "bool";
|
|
359
574
|
}];
|
|
360
575
|
}, {
|
|
361
576
|
readonly stateMutability: "payable";
|
|
@@ -402,18 +617,243 @@ export declare const abi: readonly [{
|
|
|
402
617
|
}, {
|
|
403
618
|
readonly stateMutability: "view";
|
|
404
619
|
readonly type: "function";
|
|
405
|
-
readonly name: "
|
|
620
|
+
readonly name: "getUnderlyingAsset";
|
|
621
|
+
readonly inputs: readonly [{
|
|
622
|
+
readonly name: "_vaultToken";
|
|
623
|
+
readonly type: "address";
|
|
624
|
+
}];
|
|
625
|
+
readonly outputs: readonly [{
|
|
626
|
+
readonly name: "";
|
|
627
|
+
readonly type: "address";
|
|
628
|
+
}];
|
|
629
|
+
}, {
|
|
630
|
+
readonly stateMutability: "view";
|
|
631
|
+
readonly type: "function";
|
|
632
|
+
readonly name: "getUnderlyingBalances";
|
|
406
633
|
readonly inputs: readonly [{
|
|
407
634
|
readonly name: "_vaultToken";
|
|
408
635
|
readonly type: "address";
|
|
409
636
|
}, {
|
|
410
|
-
readonly name: "
|
|
637
|
+
readonly name: "_vaultTokenBalance";
|
|
638
|
+
readonly type: "uint256";
|
|
639
|
+
}];
|
|
640
|
+
readonly outputs: readonly [{
|
|
641
|
+
readonly name: "";
|
|
642
|
+
readonly type: "uint256";
|
|
643
|
+
}, {
|
|
644
|
+
readonly name: "";
|
|
645
|
+
readonly type: "uint256";
|
|
646
|
+
}];
|
|
647
|
+
}, {
|
|
648
|
+
readonly stateMutability: "view";
|
|
649
|
+
readonly type: "function";
|
|
650
|
+
readonly name: "getUnderlyingAmount";
|
|
651
|
+
readonly inputs: readonly [{
|
|
652
|
+
readonly name: "_vaultToken";
|
|
411
653
|
readonly type: "address";
|
|
654
|
+
}, {
|
|
655
|
+
readonly name: "_vaultTokenAmount";
|
|
656
|
+
readonly type: "uint256";
|
|
412
657
|
}];
|
|
658
|
+
readonly outputs: readonly [{
|
|
659
|
+
readonly name: "";
|
|
660
|
+
readonly type: "uint256";
|
|
661
|
+
}];
|
|
662
|
+
}, {
|
|
663
|
+
readonly stateMutability: "view";
|
|
664
|
+
readonly type: "function";
|
|
665
|
+
readonly name: "getUnderlyingAmountSafe";
|
|
666
|
+
readonly inputs: readonly [{
|
|
667
|
+
readonly name: "_vaultToken";
|
|
668
|
+
readonly type: "address";
|
|
669
|
+
}, {
|
|
670
|
+
readonly name: "_vaultTokenBalance";
|
|
671
|
+
readonly type: "uint256";
|
|
672
|
+
}];
|
|
673
|
+
readonly outputs: readonly [{
|
|
674
|
+
readonly name: "";
|
|
675
|
+
readonly type: "uint256";
|
|
676
|
+
}];
|
|
677
|
+
}, {
|
|
678
|
+
readonly stateMutability: "view";
|
|
679
|
+
readonly type: "function";
|
|
680
|
+
readonly name: "getUnderlyingData";
|
|
681
|
+
readonly inputs: readonly [{
|
|
682
|
+
readonly name: "_vaultToken";
|
|
683
|
+
readonly type: "address";
|
|
684
|
+
}, {
|
|
685
|
+
readonly name: "_vaultTokenAmount";
|
|
686
|
+
readonly type: "uint256";
|
|
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: "getUnderlyingData";
|
|
702
|
+
readonly inputs: readonly [{
|
|
703
|
+
readonly name: "_vaultToken";
|
|
704
|
+
readonly type: "address";
|
|
705
|
+
}, {
|
|
706
|
+
readonly name: "_vaultTokenAmount";
|
|
707
|
+
readonly type: "uint256";
|
|
708
|
+
}, {
|
|
709
|
+
readonly name: "_appraiser";
|
|
710
|
+
readonly type: "address";
|
|
711
|
+
}];
|
|
712
|
+
readonly outputs: readonly [{
|
|
713
|
+
readonly name: "";
|
|
714
|
+
readonly type: "address";
|
|
715
|
+
}, {
|
|
716
|
+
readonly name: "";
|
|
717
|
+
readonly type: "uint256";
|
|
718
|
+
}, {
|
|
719
|
+
readonly name: "";
|
|
720
|
+
readonly type: "uint256";
|
|
721
|
+
}];
|
|
722
|
+
}, {
|
|
723
|
+
readonly stateMutability: "view";
|
|
724
|
+
readonly type: "function";
|
|
725
|
+
readonly name: "getUsdValueOfVaultToken";
|
|
726
|
+
readonly inputs: readonly [{
|
|
727
|
+
readonly name: "_vaultToken";
|
|
728
|
+
readonly type: "address";
|
|
729
|
+
}, {
|
|
730
|
+
readonly name: "_vaultTokenAmount";
|
|
731
|
+
readonly type: "uint256";
|
|
732
|
+
}];
|
|
733
|
+
readonly outputs: readonly [{
|
|
734
|
+
readonly name: "";
|
|
735
|
+
readonly type: "uint256";
|
|
736
|
+
}];
|
|
737
|
+
}, {
|
|
738
|
+
readonly stateMutability: "view";
|
|
739
|
+
readonly type: "function";
|
|
740
|
+
readonly name: "getUsdValueOfVaultToken";
|
|
741
|
+
readonly inputs: readonly [{
|
|
742
|
+
readonly name: "_vaultToken";
|
|
743
|
+
readonly type: "address";
|
|
744
|
+
}, {
|
|
745
|
+
readonly name: "_vaultTokenAmount";
|
|
746
|
+
readonly type: "uint256";
|
|
747
|
+
}, {
|
|
748
|
+
readonly name: "_appraiser";
|
|
749
|
+
readonly type: "address";
|
|
750
|
+
}];
|
|
751
|
+
readonly outputs: readonly [{
|
|
752
|
+
readonly name: "";
|
|
753
|
+
readonly type: "uint256";
|
|
754
|
+
}];
|
|
755
|
+
}, {
|
|
756
|
+
readonly stateMutability: "view";
|
|
757
|
+
readonly type: "function";
|
|
758
|
+
readonly name: "isRebasing";
|
|
759
|
+
readonly inputs: readonly [];
|
|
413
760
|
readonly outputs: readonly [{
|
|
414
761
|
readonly name: "";
|
|
415
762
|
readonly type: "bool";
|
|
416
763
|
}];
|
|
764
|
+
}, {
|
|
765
|
+
readonly stateMutability: "view";
|
|
766
|
+
readonly type: "function";
|
|
767
|
+
readonly name: "getPricePerShare";
|
|
768
|
+
readonly inputs: readonly [{
|
|
769
|
+
readonly name: "_vaultToken";
|
|
770
|
+
readonly type: "address";
|
|
771
|
+
}];
|
|
772
|
+
readonly outputs: readonly [{
|
|
773
|
+
readonly name: "";
|
|
774
|
+
readonly type: "uint256";
|
|
775
|
+
}];
|
|
776
|
+
}, {
|
|
777
|
+
readonly stateMutability: "view";
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
readonly name: "getPricePerShare";
|
|
780
|
+
readonly inputs: readonly [{
|
|
781
|
+
readonly name: "_vaultToken";
|
|
782
|
+
readonly type: "address";
|
|
783
|
+
}, {
|
|
784
|
+
readonly name: "_decimals";
|
|
785
|
+
readonly type: "uint256";
|
|
786
|
+
}];
|
|
787
|
+
readonly outputs: readonly [{
|
|
788
|
+
readonly name: "";
|
|
789
|
+
readonly type: "uint256";
|
|
790
|
+
}];
|
|
791
|
+
}, {
|
|
792
|
+
readonly stateMutability: "view";
|
|
793
|
+
readonly type: "function";
|
|
794
|
+
readonly name: "getVaultTokenAmount";
|
|
795
|
+
readonly inputs: readonly [{
|
|
796
|
+
readonly name: "_asset";
|
|
797
|
+
readonly type: "address";
|
|
798
|
+
}, {
|
|
799
|
+
readonly name: "_assetAmount";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}, {
|
|
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: "totalAssets";
|
|
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: "totalBorrows";
|
|
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
|
+
}];
|
|
833
|
+
}, {
|
|
834
|
+
readonly stateMutability: "view";
|
|
835
|
+
readonly type: "function";
|
|
836
|
+
readonly name: "getAvailLiquidity";
|
|
837
|
+
readonly inputs: readonly [{
|
|
838
|
+
readonly name: "_vaultToken";
|
|
839
|
+
readonly type: "address";
|
|
840
|
+
}];
|
|
841
|
+
readonly outputs: readonly [{
|
|
842
|
+
readonly name: "";
|
|
843
|
+
readonly type: "uint256";
|
|
844
|
+
}];
|
|
845
|
+
}, {
|
|
846
|
+
readonly stateMutability: "view";
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
readonly name: "getUtilizationRatio";
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly name: "_vaultToken";
|
|
851
|
+
readonly type: "address";
|
|
852
|
+
}];
|
|
853
|
+
readonly outputs: readonly [{
|
|
854
|
+
readonly name: "";
|
|
855
|
+
readonly type: "uint256";
|
|
856
|
+
}];
|
|
417
857
|
}, {
|
|
418
858
|
readonly stateMutability: "view";
|
|
419
859
|
readonly type: "function";
|
|
@@ -429,8 +869,78 @@ export declare const abi: readonly [{
|
|
|
429
869
|
}, {
|
|
430
870
|
readonly stateMutability: "view";
|
|
431
871
|
readonly type: "function";
|
|
432
|
-
readonly name: "
|
|
433
|
-
readonly inputs: readonly [
|
|
872
|
+
readonly name: "getWithdrawalFees";
|
|
873
|
+
readonly inputs: readonly [{
|
|
874
|
+
readonly name: "_vaultToken";
|
|
875
|
+
readonly type: "address";
|
|
876
|
+
}, {
|
|
877
|
+
readonly name: "_vaultTokenAmount";
|
|
878
|
+
readonly type: "uint256";
|
|
879
|
+
}];
|
|
880
|
+
readonly outputs: readonly [{
|
|
881
|
+
readonly name: "";
|
|
882
|
+
readonly type: "uint256";
|
|
883
|
+
}];
|
|
884
|
+
}, {
|
|
885
|
+
readonly stateMutability: "view";
|
|
886
|
+
readonly type: "function";
|
|
887
|
+
readonly name: "canRegisterVaultToken";
|
|
888
|
+
readonly inputs: readonly [{
|
|
889
|
+
readonly name: "_asset";
|
|
890
|
+
readonly type: "address";
|
|
891
|
+
}, {
|
|
892
|
+
readonly name: "_vaultToken";
|
|
893
|
+
readonly type: "address";
|
|
894
|
+
}];
|
|
895
|
+
readonly outputs: readonly [{
|
|
896
|
+
readonly name: "";
|
|
897
|
+
readonly type: "bool";
|
|
898
|
+
}];
|
|
899
|
+
}, {
|
|
900
|
+
readonly stateMutability: "nonpayable";
|
|
901
|
+
readonly type: "function";
|
|
902
|
+
readonly name: "registerVaultTokenLocally";
|
|
903
|
+
readonly inputs: readonly [{
|
|
904
|
+
readonly name: "_asset";
|
|
905
|
+
readonly type: "address";
|
|
906
|
+
}, {
|
|
907
|
+
readonly name: "_vaultAddr";
|
|
908
|
+
readonly type: "address";
|
|
909
|
+
}];
|
|
910
|
+
readonly outputs: readonly [{
|
|
911
|
+
readonly name: "";
|
|
912
|
+
readonly type: "tuple";
|
|
913
|
+
readonly components: readonly [{
|
|
914
|
+
readonly name: "underlyingAsset";
|
|
915
|
+
readonly type: "address";
|
|
916
|
+
}, {
|
|
917
|
+
readonly name: "decimals";
|
|
918
|
+
readonly type: "uint256";
|
|
919
|
+
}, {
|
|
920
|
+
readonly name: "lastAveragePricePerShare";
|
|
921
|
+
readonly type: "uint256";
|
|
922
|
+
}];
|
|
923
|
+
}];
|
|
924
|
+
}, {
|
|
925
|
+
readonly stateMutability: "nonpayable";
|
|
926
|
+
readonly type: "function";
|
|
927
|
+
readonly name: "deregisterVaultTokenLocally";
|
|
928
|
+
readonly inputs: readonly [{
|
|
929
|
+
readonly name: "_asset";
|
|
930
|
+
readonly type: "address";
|
|
931
|
+
}, {
|
|
932
|
+
readonly name: "_vaultAddr";
|
|
933
|
+
readonly type: "address";
|
|
934
|
+
}];
|
|
935
|
+
readonly outputs: readonly [];
|
|
936
|
+
}, {
|
|
937
|
+
readonly stateMutability: "nonpayable";
|
|
938
|
+
readonly type: "function";
|
|
939
|
+
readonly name: "addPriceSnapshot";
|
|
940
|
+
readonly inputs: readonly [{
|
|
941
|
+
readonly name: "_vaultToken";
|
|
942
|
+
readonly type: "address";
|
|
943
|
+
}];
|
|
434
944
|
readonly outputs: readonly [{
|
|
435
945
|
readonly name: "";
|
|
436
946
|
readonly type: "bool";
|
|
@@ -593,6 +1103,70 @@ export declare const abi: readonly [{
|
|
|
593
1103
|
readonly name: "";
|
|
594
1104
|
readonly type: "uint256";
|
|
595
1105
|
}];
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly stateMutability: "nonpayable";
|
|
1108
|
+
readonly type: "function";
|
|
1109
|
+
readonly name: "claimIncentives";
|
|
1110
|
+
readonly inputs: readonly [{
|
|
1111
|
+
readonly name: "_user";
|
|
1112
|
+
readonly type: "address";
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly name: "_rewardToken";
|
|
1115
|
+
readonly type: "address";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly name: "_rewardAmount";
|
|
1118
|
+
readonly type: "uint256";
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly name: "_proofs";
|
|
1121
|
+
readonly type: "bytes32[]";
|
|
1122
|
+
}];
|
|
1123
|
+
readonly outputs: readonly [{
|
|
1124
|
+
readonly name: "";
|
|
1125
|
+
readonly type: "uint256";
|
|
1126
|
+
}, {
|
|
1127
|
+
readonly name: "";
|
|
1128
|
+
readonly type: "uint256";
|
|
1129
|
+
}];
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly stateMutability: "nonpayable";
|
|
1132
|
+
readonly type: "function";
|
|
1133
|
+
readonly name: "claimIncentives";
|
|
1134
|
+
readonly inputs: readonly [{
|
|
1135
|
+
readonly name: "_user";
|
|
1136
|
+
readonly type: "address";
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly name: "_rewardToken";
|
|
1139
|
+
readonly type: "address";
|
|
1140
|
+
}, {
|
|
1141
|
+
readonly name: "_rewardAmount";
|
|
1142
|
+
readonly type: "uint256";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly name: "_proofs";
|
|
1145
|
+
readonly type: "bytes32[]";
|
|
1146
|
+
}, {
|
|
1147
|
+
readonly name: "_miniAddys";
|
|
1148
|
+
readonly type: "tuple";
|
|
1149
|
+
readonly components: readonly [{
|
|
1150
|
+
readonly name: "ledger";
|
|
1151
|
+
readonly type: "address";
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly name: "missionControl";
|
|
1154
|
+
readonly type: "address";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly name: "legoBook";
|
|
1157
|
+
readonly type: "address";
|
|
1158
|
+
}, {
|
|
1159
|
+
readonly name: "appraiser";
|
|
1160
|
+
readonly type: "address";
|
|
1161
|
+
}];
|
|
1162
|
+
}];
|
|
1163
|
+
readonly outputs: readonly [{
|
|
1164
|
+
readonly name: "";
|
|
1165
|
+
readonly type: "uint256";
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly name: "";
|
|
1168
|
+
readonly type: "uint256";
|
|
1169
|
+
}];
|
|
596
1170
|
}, {
|
|
597
1171
|
readonly stateMutability: "nonpayable";
|
|
598
1172
|
readonly type: "function";
|
|
@@ -672,201 +1246,24 @@ export declare const abi: readonly [{
|
|
|
672
1246
|
}, {
|
|
673
1247
|
readonly stateMutability: "view";
|
|
674
1248
|
readonly type: "function";
|
|
675
|
-
readonly name: "
|
|
676
|
-
readonly inputs: readonly [{
|
|
677
|
-
readonly name: "_vaultToken";
|
|
678
|
-
readonly type: "address";
|
|
679
|
-
}];
|
|
680
|
-
readonly outputs: readonly [{
|
|
681
|
-
readonly name: "";
|
|
682
|
-
readonly type: "bool";
|
|
683
|
-
}];
|
|
684
|
-
}, {
|
|
685
|
-
readonly stateMutability: "view";
|
|
686
|
-
readonly type: "function";
|
|
687
|
-
readonly name: "getUnderlyingAsset";
|
|
688
|
-
readonly inputs: readonly [{
|
|
689
|
-
readonly name: "_vaultToken";
|
|
690
|
-
readonly type: "address";
|
|
691
|
-
}];
|
|
692
|
-
readonly outputs: readonly [{
|
|
693
|
-
readonly name: "";
|
|
694
|
-
readonly type: "address";
|
|
695
|
-
}];
|
|
696
|
-
}, {
|
|
697
|
-
readonly stateMutability: "view";
|
|
698
|
-
readonly type: "function";
|
|
699
|
-
readonly name: "getUnderlyingAmount";
|
|
700
|
-
readonly inputs: readonly [{
|
|
701
|
-
readonly name: "_vaultToken";
|
|
702
|
-
readonly type: "address";
|
|
703
|
-
}, {
|
|
704
|
-
readonly name: "_vaultTokenAmount";
|
|
705
|
-
readonly type: "uint256";
|
|
706
|
-
}];
|
|
707
|
-
readonly outputs: readonly [{
|
|
708
|
-
readonly name: "";
|
|
709
|
-
readonly type: "uint256";
|
|
710
|
-
}];
|
|
711
|
-
}, {
|
|
712
|
-
readonly stateMutability: "view";
|
|
713
|
-
readonly type: "function";
|
|
714
|
-
readonly name: "getVaultTokenAmount";
|
|
715
|
-
readonly inputs: readonly [{
|
|
716
|
-
readonly name: "_asset";
|
|
717
|
-
readonly type: "address";
|
|
718
|
-
}, {
|
|
719
|
-
readonly name: "_assetAmount";
|
|
720
|
-
readonly type: "uint256";
|
|
721
|
-
}, {
|
|
722
|
-
readonly name: "_vaultToken";
|
|
723
|
-
readonly type: "address";
|
|
724
|
-
}];
|
|
725
|
-
readonly outputs: readonly [{
|
|
726
|
-
readonly name: "";
|
|
727
|
-
readonly type: "uint256";
|
|
728
|
-
}];
|
|
729
|
-
}, {
|
|
730
|
-
readonly stateMutability: "view";
|
|
731
|
-
readonly type: "function";
|
|
732
|
-
readonly name: "getUsdValueOfVaultToken";
|
|
733
|
-
readonly inputs: readonly [{
|
|
734
|
-
readonly name: "_vaultToken";
|
|
735
|
-
readonly type: "address";
|
|
736
|
-
}, {
|
|
737
|
-
readonly name: "_vaultTokenAmount";
|
|
738
|
-
readonly type: "uint256";
|
|
739
|
-
}];
|
|
740
|
-
readonly outputs: readonly [{
|
|
741
|
-
readonly name: "";
|
|
742
|
-
readonly type: "uint256";
|
|
743
|
-
}];
|
|
744
|
-
}, {
|
|
745
|
-
readonly stateMutability: "view";
|
|
746
|
-
readonly type: "function";
|
|
747
|
-
readonly name: "getUsdValueOfVaultToken";
|
|
748
|
-
readonly inputs: readonly [{
|
|
749
|
-
readonly name: "_vaultToken";
|
|
750
|
-
readonly type: "address";
|
|
751
|
-
}, {
|
|
752
|
-
readonly name: "_vaultTokenAmount";
|
|
753
|
-
readonly type: "uint256";
|
|
754
|
-
}, {
|
|
755
|
-
readonly name: "_appraiser";
|
|
756
|
-
readonly type: "address";
|
|
757
|
-
}];
|
|
758
|
-
readonly outputs: readonly [{
|
|
759
|
-
readonly name: "";
|
|
760
|
-
readonly type: "uint256";
|
|
761
|
-
}];
|
|
762
|
-
}, {
|
|
763
|
-
readonly stateMutability: "view";
|
|
764
|
-
readonly type: "function";
|
|
765
|
-
readonly name: "getUnderlyingData";
|
|
766
|
-
readonly inputs: readonly [{
|
|
767
|
-
readonly name: "_vaultToken";
|
|
768
|
-
readonly type: "address";
|
|
769
|
-
}, {
|
|
770
|
-
readonly name: "_vaultTokenAmount";
|
|
771
|
-
readonly type: "uint256";
|
|
772
|
-
}];
|
|
773
|
-
readonly outputs: readonly [{
|
|
774
|
-
readonly name: "";
|
|
775
|
-
readonly type: "address";
|
|
776
|
-
}, {
|
|
777
|
-
readonly name: "";
|
|
778
|
-
readonly type: "uint256";
|
|
779
|
-
}, {
|
|
780
|
-
readonly name: "";
|
|
781
|
-
readonly type: "uint256";
|
|
782
|
-
}];
|
|
783
|
-
}, {
|
|
784
|
-
readonly stateMutability: "view";
|
|
785
|
-
readonly type: "function";
|
|
786
|
-
readonly name: "getUnderlyingData";
|
|
1249
|
+
readonly name: "getAccessForLego";
|
|
787
1250
|
readonly inputs: readonly [{
|
|
788
|
-
readonly name: "
|
|
1251
|
+
readonly name: "_user";
|
|
789
1252
|
readonly type: "address";
|
|
790
1253
|
}, {
|
|
791
|
-
readonly name: "
|
|
1254
|
+
readonly name: "_action";
|
|
792
1255
|
readonly type: "uint256";
|
|
793
|
-
}, {
|
|
794
|
-
readonly name: "_appraiser";
|
|
795
|
-
readonly type: "address";
|
|
796
1256
|
}];
|
|
797
1257
|
readonly outputs: readonly [{
|
|
798
1258
|
readonly name: "";
|
|
799
1259
|
readonly type: "address";
|
|
800
1260
|
}, {
|
|
801
1261
|
readonly name: "";
|
|
802
|
-
readonly type: "
|
|
803
|
-
}, {
|
|
804
|
-
readonly name: "";
|
|
805
|
-
readonly type: "uint256";
|
|
806
|
-
}];
|
|
807
|
-
}, {
|
|
808
|
-
readonly stateMutability: "view";
|
|
809
|
-
readonly type: "function";
|
|
810
|
-
readonly name: "totalAssets";
|
|
811
|
-
readonly inputs: readonly [{
|
|
812
|
-
readonly name: "_vaultToken";
|
|
813
|
-
readonly type: "address";
|
|
814
|
-
}];
|
|
815
|
-
readonly outputs: readonly [{
|
|
816
|
-
readonly name: "";
|
|
817
|
-
readonly type: "uint256";
|
|
818
|
-
}];
|
|
819
|
-
}, {
|
|
820
|
-
readonly stateMutability: "view";
|
|
821
|
-
readonly type: "function";
|
|
822
|
-
readonly name: "totalBorrows";
|
|
823
|
-
readonly inputs: readonly [{
|
|
824
|
-
readonly name: "_vaultToken";
|
|
825
|
-
readonly type: "address";
|
|
826
|
-
}];
|
|
827
|
-
readonly outputs: readonly [{
|
|
828
|
-
readonly name: "";
|
|
829
|
-
readonly type: "uint256";
|
|
830
|
-
}];
|
|
831
|
-
}, {
|
|
832
|
-
readonly stateMutability: "view";
|
|
833
|
-
readonly type: "function";
|
|
834
|
-
readonly name: "getPricePerShare";
|
|
835
|
-
readonly inputs: readonly [{
|
|
836
|
-
readonly name: "_asset";
|
|
837
|
-
readonly type: "address";
|
|
1262
|
+
readonly type: "string";
|
|
838
1263
|
}, {
|
|
839
|
-
readonly name: "_decimals";
|
|
840
|
-
readonly type: "uint256";
|
|
841
|
-
}];
|
|
842
|
-
readonly outputs: readonly [{
|
|
843
1264
|
readonly name: "";
|
|
844
1265
|
readonly type: "uint256";
|
|
845
1266
|
}];
|
|
846
|
-
}, {
|
|
847
|
-
readonly stateMutability: "nonpayable";
|
|
848
|
-
readonly type: "function";
|
|
849
|
-
readonly name: "addAssetOpportunity";
|
|
850
|
-
readonly inputs: readonly [{
|
|
851
|
-
readonly name: "_asset";
|
|
852
|
-
readonly type: "address";
|
|
853
|
-
}, {
|
|
854
|
-
readonly name: "_vaultAddr";
|
|
855
|
-
readonly type: "address";
|
|
856
|
-
}];
|
|
857
|
-
readonly outputs: readonly [];
|
|
858
|
-
}, {
|
|
859
|
-
readonly stateMutability: "nonpayable";
|
|
860
|
-
readonly type: "function";
|
|
861
|
-
readonly name: "removeAssetOpportunity";
|
|
862
|
-
readonly inputs: readonly [{
|
|
863
|
-
readonly name: "_asset";
|
|
864
|
-
readonly type: "address";
|
|
865
|
-
}, {
|
|
866
|
-
readonly name: "_vaultAddr";
|
|
867
|
-
readonly type: "address";
|
|
868
|
-
}];
|
|
869
|
-
readonly outputs: readonly [];
|
|
870
1267
|
}, {
|
|
871
1268
|
readonly stateMutability: "nonpayable";
|
|
872
1269
|
readonly type: "function";
|
|
@@ -1820,43 +2217,16 @@ export declare const abi: readonly [{
|
|
|
1820
2217
|
}, {
|
|
1821
2218
|
readonly stateMutability: "view";
|
|
1822
2219
|
readonly type: "function";
|
|
1823
|
-
readonly name: "
|
|
1824
|
-
readonly inputs: readonly [
|
|
1825
|
-
readonly name: "_user";
|
|
1826
|
-
readonly type: "address";
|
|
1827
|
-
}, {
|
|
1828
|
-
readonly name: "_action";
|
|
1829
|
-
readonly type: "uint256";
|
|
1830
|
-
}];
|
|
2220
|
+
readonly name: "MOONWELL_COMPTROLLER";
|
|
2221
|
+
readonly inputs: readonly [];
|
|
1831
2222
|
readonly outputs: readonly [{
|
|
1832
2223
|
readonly name: "";
|
|
1833
2224
|
readonly type: "address";
|
|
1834
|
-
}, {
|
|
1835
|
-
readonly name: "";
|
|
1836
|
-
readonly type: "string";
|
|
1837
|
-
}, {
|
|
1838
|
-
readonly name: "";
|
|
1839
|
-
readonly type: "uint256";
|
|
1840
|
-
}];
|
|
1841
|
-
}, {
|
|
1842
|
-
readonly stateMutability: "view";
|
|
1843
|
-
readonly type: "function";
|
|
1844
|
-
readonly name: "getPrice";
|
|
1845
|
-
readonly inputs: readonly [{
|
|
1846
|
-
readonly name: "_asset";
|
|
1847
|
-
readonly type: "address";
|
|
1848
|
-
}, {
|
|
1849
|
-
readonly name: "_decimals";
|
|
1850
|
-
readonly type: "uint256";
|
|
1851
|
-
}];
|
|
1852
|
-
readonly outputs: readonly [{
|
|
1853
|
-
readonly name: "";
|
|
1854
|
-
readonly type: "uint256";
|
|
1855
2225
|
}];
|
|
1856
2226
|
}, {
|
|
1857
2227
|
readonly stateMutability: "view";
|
|
1858
2228
|
readonly type: "function";
|
|
1859
|
-
readonly name: "
|
|
2229
|
+
readonly name: "WETH";
|
|
1860
2230
|
readonly inputs: readonly [];
|
|
1861
2231
|
readonly outputs: readonly [{
|
|
1862
2232
|
readonly name: "";
|
|
@@ -1865,7 +2235,7 @@ export declare const abi: readonly [{
|
|
|
1865
2235
|
}, {
|
|
1866
2236
|
readonly stateMutability: "view";
|
|
1867
2237
|
readonly type: "function";
|
|
1868
|
-
readonly name: "
|
|
2238
|
+
readonly name: "RIPE_REGISTRY";
|
|
1869
2239
|
readonly inputs: readonly [];
|
|
1870
2240
|
readonly outputs: readonly [{
|
|
1871
2241
|
readonly name: "";
|
|
@@ -1883,6 +2253,9 @@ export declare const abi: readonly [{
|
|
|
1883
2253
|
}, {
|
|
1884
2254
|
readonly name: "_weth";
|
|
1885
2255
|
readonly type: "address";
|
|
2256
|
+
}, {
|
|
2257
|
+
readonly name: "_ripeRegistry";
|
|
2258
|
+
readonly type: "address";
|
|
1886
2259
|
}];
|
|
1887
2260
|
readonly outputs: readonly [];
|
|
1888
2261
|
}];
|
|
@@ -1901,6 +2274,7 @@ export type Contract = {
|
|
|
1901
2274
|
appraiser: `0x${string}`;
|
|
1902
2275
|
walletBackpack: `0x${string}`;
|
|
1903
2276
|
billing: `0x${string}`;
|
|
2277
|
+
vaultRegistry: `0x${string}`;
|
|
1904
2278
|
}>;
|
|
1905
2279
|
getUndyHq: () => Promise<`0x${string}`>;
|
|
1906
2280
|
isLegoAsset: (asset: `0x${string}`) => Promise<boolean>;
|
|
@@ -1908,40 +2282,92 @@ export type Contract = {
|
|
|
1908
2282
|
getAssets: () => Promise<`0x${string}`[]>;
|
|
1909
2283
|
isAssetOpportunity: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<boolean>;
|
|
1910
2284
|
getNumLegoAssets: () => Promise<bigint>;
|
|
1911
|
-
|
|
2285
|
+
getWeightedPricePerShare: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2286
|
+
getLatestSnapshot: (vaultToken: `0x${string}`, pricePerShare: bigint) => Promise<{
|
|
2287
|
+
totalSupply: bigint;
|
|
2288
|
+
pricePerShare: bigint;
|
|
2289
|
+
lastUpdate: bigint;
|
|
2290
|
+
}>;
|
|
2291
|
+
isValidPriceConfig: (config: {
|
|
2292
|
+
minSnapshotDelay: bigint;
|
|
2293
|
+
maxNumSnapshots: bigint;
|
|
2294
|
+
maxUpsideDeviation: bigint;
|
|
2295
|
+
staleTime: bigint;
|
|
2296
|
+
}) => Promise<boolean>;
|
|
2297
|
+
vaultToAsset: (arg0: `0x${string}`) => Promise<{
|
|
2298
|
+
underlyingAsset: `0x${string}`;
|
|
2299
|
+
decimals: bigint;
|
|
2300
|
+
lastAveragePricePerShare: bigint;
|
|
2301
|
+
}>;
|
|
1912
2302
|
assetOpportunities: (arg0: `0x${string}`, arg1: bigint) => Promise<`0x${string}`>;
|
|
1913
2303
|
indexOfAssetOpportunity: (arg0: `0x${string}`, arg1: `0x${string}`) => Promise<bigint>;
|
|
1914
2304
|
numAssetOpportunities: (arg0: `0x${string}`) => Promise<bigint>;
|
|
1915
|
-
vaultToAsset: (arg0: `0x${string}`) => Promise<`0x${string}`>;
|
|
1916
2305
|
assets: (arg0: bigint) => Promise<`0x${string}`>;
|
|
1917
2306
|
indexOfAsset: (arg0: `0x${string}`) => Promise<bigint>;
|
|
1918
2307
|
numAssets: () => Promise<bigint>;
|
|
2308
|
+
snapShotData: (arg0: `0x${string}`) => Promise<{
|
|
2309
|
+
lastSnapShot: {
|
|
2310
|
+
totalSupply: bigint;
|
|
2311
|
+
pricePerShare: bigint;
|
|
2312
|
+
lastUpdate: bigint;
|
|
2313
|
+
};
|
|
2314
|
+
nextIndex: bigint;
|
|
2315
|
+
}>;
|
|
2316
|
+
snapShots: (arg0: `0x${string}`, arg1: bigint) => Promise<{
|
|
2317
|
+
totalSupply: bigint;
|
|
2318
|
+
pricePerShare: bigint;
|
|
2319
|
+
lastUpdate: bigint;
|
|
2320
|
+
}>;
|
|
2321
|
+
snapShotPriceConfig: () => Promise<{
|
|
2322
|
+
minSnapshotDelay: bigint;
|
|
2323
|
+
maxNumSnapshots: bigint;
|
|
2324
|
+
maxUpsideDeviation: bigint;
|
|
2325
|
+
staleTime: bigint;
|
|
2326
|
+
}>;
|
|
2327
|
+
isPaused: () => Promise<boolean>;
|
|
1919
2328
|
hasCapability: (action: bigint) => Promise<boolean>;
|
|
1920
2329
|
getRegistries: () => Promise<`0x${string}`[]>;
|
|
1921
2330
|
isYieldLego: () => Promise<boolean>;
|
|
1922
2331
|
isDexLego: () => Promise<boolean>;
|
|
1923
|
-
isEligibleVaultForTrialFunds: (vaultToken: `0x${string}`, underlyingAsset: `0x${string}`) => Promise<boolean>;
|
|
1924
|
-
isEligibleForYieldBonus: (asset: `0x${string}`) => Promise<boolean>;
|
|
1925
|
-
isRebasing: () => Promise<boolean>;
|
|
1926
|
-
hasClaimableRewards: (user: `0x${string}`) => Promise<boolean>;
|
|
1927
|
-
isVaultToken: (vaultToken: `0x${string}`) => Promise<boolean>;
|
|
1928
2332
|
getUnderlyingAsset: (vaultToken: `0x${string}`) => Promise<`0x${string}`>;
|
|
2333
|
+
getUnderlyingBalances: (vaultToken: `0x${string}`, vaultTokenBalance: bigint) => Promise<[bigint, bigint]>;
|
|
1929
2334
|
getUnderlyingAmount: (vaultToken: `0x${string}`, vaultTokenAmount: bigint) => Promise<bigint>;
|
|
1930
|
-
|
|
1931
|
-
getUsdValueOfVaultToken: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<bigint>;
|
|
2335
|
+
getUnderlyingAmountSafe: (vaultToken: `0x${string}`, vaultTokenBalance: bigint) => Promise<bigint>;
|
|
1932
2336
|
getUnderlyingData: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
2337
|
+
getUsdValueOfVaultToken: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<bigint>;
|
|
2338
|
+
isRebasing: () => Promise<boolean>;
|
|
2339
|
+
getPricePerShare: (vaultToken: `0x${string}`, decimals?: bigint) => Promise<bigint>;
|
|
2340
|
+
getVaultTokenAmount: (asset: `0x${string}`, assetAmount: bigint, vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1933
2341
|
totalAssets: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1934
2342
|
totalBorrows: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1935
|
-
|
|
2343
|
+
getAvailLiquidity: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2344
|
+
getUtilizationRatio: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2345
|
+
isEligibleForYieldBonus: (asset: `0x${string}`) => Promise<boolean>;
|
|
2346
|
+
getWithdrawalFees: (vaultToken: `0x${string}`, vaultTokenAmount: bigint) => Promise<bigint>;
|
|
2347
|
+
canRegisterVaultToken: (asset: `0x${string}`, vaultToken: `0x${string}`) => Promise<boolean>;
|
|
2348
|
+
hasClaimableRewards: (user: `0x${string}`) => Promise<boolean>;
|
|
1936
2349
|
getAccessForLego: (user: `0x${string}`, action: bigint) => Promise<[`0x${string}`, string, bigint]>;
|
|
1937
|
-
getPrice: (asset: `0x${string}`, decimals: bigint) => Promise<bigint>;
|
|
1938
2350
|
MOONWELL_COMPTROLLER: () => Promise<`0x${string}`>;
|
|
1939
2351
|
WETH: () => Promise<`0x${string}`>;
|
|
2352
|
+
RIPE_REGISTRY: () => Promise<`0x${string}`>;
|
|
1940
2353
|
};
|
|
1941
2354
|
mutations: {
|
|
1942
2355
|
pause: (shouldPause: boolean) => Promise<void>;
|
|
1943
2356
|
recoverFunds: (recipient: `0x${string}`, asset: `0x${string}`) => Promise<void>;
|
|
1944
2357
|
recoverFundsMany: (recipient: `0x${string}`, assets: `0x${string}`[]) => Promise<void>;
|
|
2358
|
+
setSnapShotPriceConfig: (config: {
|
|
2359
|
+
minSnapshotDelay: bigint;
|
|
2360
|
+
maxNumSnapshots: bigint;
|
|
2361
|
+
maxUpsideDeviation: bigint;
|
|
2362
|
+
staleTime: bigint;
|
|
2363
|
+
}) => Promise<void>;
|
|
2364
|
+
registerVaultTokenLocally: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<{
|
|
2365
|
+
underlyingAsset: `0x${string}`;
|
|
2366
|
+
decimals: bigint;
|
|
2367
|
+
lastAveragePricePerShare: bigint;
|
|
2368
|
+
}>;
|
|
2369
|
+
deregisterVaultTokenLocally: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
2370
|
+
addPriceSnapshot: (vaultToken: `0x${string}`) => Promise<boolean>;
|
|
1945
2371
|
depositForYield: (asset: `0x${string}`, amount: bigint, vaultAddr: `0x${string}`, extraData: `0x${string}`, recipient: `0x${string}`, miniAddys?: {
|
|
1946
2372
|
ledger: `0x${string}`;
|
|
1947
2373
|
missionControl: `0x${string}`;
|
|
@@ -1954,14 +2380,18 @@ export type Contract = {
|
|
|
1954
2380
|
legoBook: `0x${string}`;
|
|
1955
2381
|
appraiser: `0x${string}`;
|
|
1956
2382
|
}) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2383
|
+
claimIncentives: (user: `0x${string}`, rewardToken: `0x${string}`, rewardAmount: bigint, proofs: `0x${string}`[], miniAddys?: {
|
|
2384
|
+
ledger: `0x${string}`;
|
|
2385
|
+
missionControl: `0x${string}`;
|
|
2386
|
+
legoBook: `0x${string}`;
|
|
2387
|
+
appraiser: `0x${string}`;
|
|
2388
|
+
}) => Promise<[bigint, bigint]>;
|
|
1957
2389
|
claimRewards: (user: `0x${string}`, rewardToken: `0x${string}`, rewardAmount: bigint, extraData: `0x${string}`, miniAddys?: {
|
|
1958
2390
|
ledger: `0x${string}`;
|
|
1959
2391
|
missionControl: `0x${string}`;
|
|
1960
2392
|
legoBook: `0x${string}`;
|
|
1961
2393
|
appraiser: `0x${string}`;
|
|
1962
2394
|
}) => Promise<[bigint, bigint]>;
|
|
1963
|
-
addAssetOpportunity: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
1964
|
-
removeAssetOpportunity: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
1965
2395
|
swapTokens: (amountIn: bigint, minAmountOut: bigint, tokenPath: `0x${string}`[], poolPath: `0x${string}`[], recipient: `0x${string}`, miniAddys?: {
|
|
1966
2396
|
ledger: `0x${string}`;
|
|
1967
2397
|
missionControl: `0x${string}`;
|
|
@@ -2034,8 +2464,10 @@ export type Contract = {
|
|
|
2034
2464
|
MoonwellWithdrawal: (sender: `0x${string}`, asset: `0x${string}`, vaultToken: `0x${string}`, assetAmountReceived: bigint, usdValue: bigint, vaultTokenAmountBurned: bigint, recipient: `0x${string}`) => Promise<void>;
|
|
2035
2465
|
LegoPauseModified: (isPaused: boolean) => Promise<void>;
|
|
2036
2466
|
LegoFundsRecovered: (asset: `0x${string}`, recipient: `0x${string}`, balance: bigint) => Promise<void>;
|
|
2467
|
+
SnapShotPriceConfigSet: (minSnapshotDelay: bigint, maxNumSnapshots: bigint, maxUpsideDeviation: bigint, staleTime: bigint) => Promise<void>;
|
|
2037
2468
|
AssetOpportunityAdded: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
2038
2469
|
AssetOpportunityRemoved: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
2470
|
+
PricePerShareSnapShotAdded: (vaultToken: `0x${string}`, totalSupply: bigint, pricePerShare: bigint, lastAveragePricePerShare: bigint) => Promise<void>;
|
|
2039
2471
|
};
|
|
2040
2472
|
};
|
|
2041
2473
|
export type Calls = keyof Contract['calls'];
|
|
@@ -2083,43 +2515,56 @@ export type SDK = {
|
|
|
2083
2515
|
getAssets: (...args: ExtractArgs<Contract['calls']['getAssets']>) => Promise<CallReturn<'getAssets'>>;
|
|
2084
2516
|
isAssetOpportunity: (...args: ExtractArgs<Contract['calls']['isAssetOpportunity']>) => Promise<CallReturn<'isAssetOpportunity'>>;
|
|
2085
2517
|
getNumLegoAssets: (...args: ExtractArgs<Contract['calls']['getNumLegoAssets']>) => Promise<CallReturn<'getNumLegoAssets'>>;
|
|
2086
|
-
|
|
2518
|
+
getWeightedPricePerShare: (...args: ExtractArgs<Contract['calls']['getWeightedPricePerShare']>) => Promise<CallReturn<'getWeightedPricePerShare'>>;
|
|
2519
|
+
getLatestSnapshot: (...args: ExtractArgs<Contract['calls']['getLatestSnapshot']>) => Promise<CallReturn<'getLatestSnapshot'>>;
|
|
2520
|
+
isValidPriceConfig: (...args: ExtractArgs<Contract['calls']['isValidPriceConfig']>) => Promise<CallReturn<'isValidPriceConfig'>>;
|
|
2521
|
+
vaultToAsset: (...args: ExtractArgs<Contract['calls']['vaultToAsset']>) => Promise<CallReturn<'vaultToAsset'>>;
|
|
2087
2522
|
assetOpportunities: (...args: ExtractArgs<Contract['calls']['assetOpportunities']>) => Promise<CallReturn<'assetOpportunities'>>;
|
|
2088
2523
|
indexOfAssetOpportunity: (...args: ExtractArgs<Contract['calls']['indexOfAssetOpportunity']>) => Promise<CallReturn<'indexOfAssetOpportunity'>>;
|
|
2089
2524
|
numAssetOpportunities: (...args: ExtractArgs<Contract['calls']['numAssetOpportunities']>) => Promise<CallReturn<'numAssetOpportunities'>>;
|
|
2090
|
-
vaultToAsset: (...args: ExtractArgs<Contract['calls']['vaultToAsset']>) => Promise<CallReturn<'vaultToAsset'>>;
|
|
2091
2525
|
assets: (...args: ExtractArgs<Contract['calls']['assets']>) => Promise<CallReturn<'assets'>>;
|
|
2092
2526
|
indexOfAsset: (...args: ExtractArgs<Contract['calls']['indexOfAsset']>) => Promise<CallReturn<'indexOfAsset'>>;
|
|
2093
2527
|
numAssets: (...args: ExtractArgs<Contract['calls']['numAssets']>) => Promise<CallReturn<'numAssets'>>;
|
|
2528
|
+
snapShotData: (...args: ExtractArgs<Contract['calls']['snapShotData']>) => Promise<CallReturn<'snapShotData'>>;
|
|
2529
|
+
snapShots: (...args: ExtractArgs<Contract['calls']['snapShots']>) => Promise<CallReturn<'snapShots'>>;
|
|
2530
|
+
snapShotPriceConfig: (...args: ExtractArgs<Contract['calls']['snapShotPriceConfig']>) => Promise<CallReturn<'snapShotPriceConfig'>>;
|
|
2531
|
+
isPaused: (...args: ExtractArgs<Contract['calls']['isPaused']>) => Promise<CallReturn<'isPaused'>>;
|
|
2094
2532
|
hasCapability: (...args: ExtractArgs<Contract['calls']['hasCapability']>) => Promise<CallReturn<'hasCapability'>>;
|
|
2095
2533
|
getRegistries: (...args: ExtractArgs<Contract['calls']['getRegistries']>) => Promise<CallReturn<'getRegistries'>>;
|
|
2096
2534
|
isYieldLego: (...args: ExtractArgs<Contract['calls']['isYieldLego']>) => Promise<CallReturn<'isYieldLego'>>;
|
|
2097
2535
|
isDexLego: (...args: ExtractArgs<Contract['calls']['isDexLego']>) => Promise<CallReturn<'isDexLego'>>;
|
|
2098
|
-
isEligibleVaultForTrialFunds: (...args: ExtractArgs<Contract['calls']['isEligibleVaultForTrialFunds']>) => Promise<CallReturn<'isEligibleVaultForTrialFunds'>>;
|
|
2099
|
-
isEligibleForYieldBonus: (...args: ExtractArgs<Contract['calls']['isEligibleForYieldBonus']>) => Promise<CallReturn<'isEligibleForYieldBonus'>>;
|
|
2100
|
-
isRebasing: (...args: ExtractArgs<Contract['calls']['isRebasing']>) => Promise<CallReturn<'isRebasing'>>;
|
|
2101
|
-
hasClaimableRewards: (...args: ExtractArgs<Contract['calls']['hasClaimableRewards']>) => Promise<CallReturn<'hasClaimableRewards'>>;
|
|
2102
|
-
isVaultToken: (...args: ExtractArgs<Contract['calls']['isVaultToken']>) => Promise<CallReturn<'isVaultToken'>>;
|
|
2103
2536
|
getUnderlyingAsset: (...args: ExtractArgs<Contract['calls']['getUnderlyingAsset']>) => Promise<CallReturn<'getUnderlyingAsset'>>;
|
|
2537
|
+
getUnderlyingBalances: (...args: ExtractArgs<Contract['calls']['getUnderlyingBalances']>) => Promise<CallReturn<'getUnderlyingBalances'>>;
|
|
2104
2538
|
getUnderlyingAmount: (...args: ExtractArgs<Contract['calls']['getUnderlyingAmount']>) => Promise<CallReturn<'getUnderlyingAmount'>>;
|
|
2105
|
-
|
|
2106
|
-
getUsdValueOfVaultToken: (...args: ExtractArgs<Contract['calls']['getUsdValueOfVaultToken']>) => Promise<CallReturn<'getUsdValueOfVaultToken'>>;
|
|
2539
|
+
getUnderlyingAmountSafe: (...args: ExtractArgs<Contract['calls']['getUnderlyingAmountSafe']>) => Promise<CallReturn<'getUnderlyingAmountSafe'>>;
|
|
2107
2540
|
getUnderlyingData: (...args: ExtractArgs<Contract['calls']['getUnderlyingData']>) => Promise<CallReturn<'getUnderlyingData'>>;
|
|
2541
|
+
getUsdValueOfVaultToken: (...args: ExtractArgs<Contract['calls']['getUsdValueOfVaultToken']>) => Promise<CallReturn<'getUsdValueOfVaultToken'>>;
|
|
2542
|
+
isRebasing: (...args: ExtractArgs<Contract['calls']['isRebasing']>) => Promise<CallReturn<'isRebasing'>>;
|
|
2543
|
+
getPricePerShare: (...args: ExtractArgs<Contract['calls']['getPricePerShare']>) => Promise<CallReturn<'getPricePerShare'>>;
|
|
2544
|
+
getVaultTokenAmount: (...args: ExtractArgs<Contract['calls']['getVaultTokenAmount']>) => Promise<CallReturn<'getVaultTokenAmount'>>;
|
|
2108
2545
|
totalAssets: (...args: ExtractArgs<Contract['calls']['totalAssets']>) => Promise<CallReturn<'totalAssets'>>;
|
|
2109
2546
|
totalBorrows: (...args: ExtractArgs<Contract['calls']['totalBorrows']>) => Promise<CallReturn<'totalBorrows'>>;
|
|
2110
|
-
|
|
2547
|
+
getAvailLiquidity: (...args: ExtractArgs<Contract['calls']['getAvailLiquidity']>) => Promise<CallReturn<'getAvailLiquidity'>>;
|
|
2548
|
+
getUtilizationRatio: (...args: ExtractArgs<Contract['calls']['getUtilizationRatio']>) => Promise<CallReturn<'getUtilizationRatio'>>;
|
|
2549
|
+
isEligibleForYieldBonus: (...args: ExtractArgs<Contract['calls']['isEligibleForYieldBonus']>) => Promise<CallReturn<'isEligibleForYieldBonus'>>;
|
|
2550
|
+
getWithdrawalFees: (...args: ExtractArgs<Contract['calls']['getWithdrawalFees']>) => Promise<CallReturn<'getWithdrawalFees'>>;
|
|
2551
|
+
canRegisterVaultToken: (...args: ExtractArgs<Contract['calls']['canRegisterVaultToken']>) => Promise<CallReturn<'canRegisterVaultToken'>>;
|
|
2552
|
+
hasClaimableRewards: (...args: ExtractArgs<Contract['calls']['hasClaimableRewards']>) => Promise<CallReturn<'hasClaimableRewards'>>;
|
|
2111
2553
|
getAccessForLego: (...args: ExtractArgs<Contract['calls']['getAccessForLego']>) => Promise<CallReturn<'getAccessForLego'>>;
|
|
2112
|
-
getPrice: (...args: ExtractArgs<Contract['calls']['getPrice']>) => Promise<CallReturn<'getPrice'>>;
|
|
2113
2554
|
MOONWELL_COMPTROLLER: (...args: ExtractArgs<Contract['calls']['MOONWELL_COMPTROLLER']>) => Promise<CallReturn<'MOONWELL_COMPTROLLER'>>;
|
|
2114
2555
|
WETH: (...args: ExtractArgs<Contract['calls']['WETH']>) => Promise<CallReturn<'WETH'>>;
|
|
2556
|
+
RIPE_REGISTRY: (...args: ExtractArgs<Contract['calls']['RIPE_REGISTRY']>) => Promise<CallReturn<'RIPE_REGISTRY'>>;
|
|
2115
2557
|
pause: (...args: ExtractArgs<Contract['mutations']['pause']>) => Promise<Address>;
|
|
2116
2558
|
recoverFunds: (...args: ExtractArgs<Contract['mutations']['recoverFunds']>) => Promise<Address>;
|
|
2117
2559
|
recoverFundsMany: (...args: ExtractArgs<Contract['mutations']['recoverFundsMany']>) => Promise<Address>;
|
|
2560
|
+
setSnapShotPriceConfig: (...args: ExtractArgs<Contract['mutations']['setSnapShotPriceConfig']>) => Promise<Address>;
|
|
2561
|
+
registerVaultTokenLocally: (...args: ExtractArgs<Contract['mutations']['registerVaultTokenLocally']>) => Promise<Address>;
|
|
2562
|
+
deregisterVaultTokenLocally: (...args: ExtractArgs<Contract['mutations']['deregisterVaultTokenLocally']>) => Promise<Address>;
|
|
2563
|
+
addPriceSnapshot: (...args: ExtractArgs<Contract['mutations']['addPriceSnapshot']>) => Promise<Address>;
|
|
2118
2564
|
depositForYield: (...args: ExtractArgs<Contract['mutations']['depositForYield']>) => Promise<Address>;
|
|
2119
2565
|
withdrawFromYield: (...args: ExtractArgs<Contract['mutations']['withdrawFromYield']>) => Promise<Address>;
|
|
2566
|
+
claimIncentives: (...args: ExtractArgs<Contract['mutations']['claimIncentives']>) => Promise<Address>;
|
|
2120
2567
|
claimRewards: (...args: ExtractArgs<Contract['mutations']['claimRewards']>) => Promise<Address>;
|
|
2121
|
-
addAssetOpportunity: (...args: ExtractArgs<Contract['mutations']['addAssetOpportunity']>) => Promise<Address>;
|
|
2122
|
-
removeAssetOpportunity: (...args: ExtractArgs<Contract['mutations']['removeAssetOpportunity']>) => Promise<Address>;
|
|
2123
2568
|
swapTokens: (...args: ExtractArgs<Contract['mutations']['swapTokens']>) => Promise<Address>;
|
|
2124
2569
|
mintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['mintOrRedeemAsset']>) => Promise<Address>;
|
|
2125
2570
|
confirmMintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['confirmMintOrRedeemAsset']>) => Promise<Address>;
|