@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
|
@@ -102,6 +102,27 @@ export declare const abi: readonly [{
|
|
|
102
102
|
}];
|
|
103
103
|
readonly anonymous: false;
|
|
104
104
|
readonly type: "event";
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: "SnapShotPriceConfigSet";
|
|
107
|
+
readonly inputs: readonly [{
|
|
108
|
+
readonly name: "minSnapshotDelay";
|
|
109
|
+
readonly type: "uint256";
|
|
110
|
+
readonly indexed: false;
|
|
111
|
+
}, {
|
|
112
|
+
readonly name: "maxNumSnapshots";
|
|
113
|
+
readonly type: "uint256";
|
|
114
|
+
readonly indexed: false;
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: "maxUpsideDeviation";
|
|
117
|
+
readonly type: "uint256";
|
|
118
|
+
readonly indexed: false;
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "staleTime";
|
|
121
|
+
readonly type: "uint256";
|
|
122
|
+
readonly indexed: false;
|
|
123
|
+
}];
|
|
124
|
+
readonly anonymous: false;
|
|
125
|
+
readonly type: "event";
|
|
105
126
|
}, {
|
|
106
127
|
readonly name: "AssetOpportunityAdded";
|
|
107
128
|
readonly inputs: readonly [{
|
|
@@ -169,6 +190,9 @@ export declare const abi: readonly [{
|
|
|
169
190
|
}, {
|
|
170
191
|
readonly name: "billing";
|
|
171
192
|
readonly type: "address";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "vaultRegistry";
|
|
195
|
+
readonly type: "address";
|
|
172
196
|
}];
|
|
173
197
|
}];
|
|
174
198
|
}, {
|
|
@@ -273,12 +297,109 @@ export declare const abi: readonly [{
|
|
|
273
297
|
}, {
|
|
274
298
|
readonly stateMutability: "view";
|
|
275
299
|
readonly type: "function";
|
|
276
|
-
readonly name: "
|
|
277
|
-
readonly inputs: readonly [
|
|
300
|
+
readonly name: "getWeightedPricePerShare";
|
|
301
|
+
readonly inputs: readonly [{
|
|
302
|
+
readonly name: "_vaultToken";
|
|
303
|
+
readonly type: "address";
|
|
304
|
+
}];
|
|
305
|
+
readonly outputs: readonly [{
|
|
306
|
+
readonly name: "";
|
|
307
|
+
readonly type: "uint256";
|
|
308
|
+
}];
|
|
309
|
+
}, {
|
|
310
|
+
readonly stateMutability: "view";
|
|
311
|
+
readonly type: "function";
|
|
312
|
+
readonly name: "getLatestSnapshot";
|
|
313
|
+
readonly inputs: readonly [{
|
|
314
|
+
readonly name: "_vaultToken";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
}, {
|
|
317
|
+
readonly name: "_pricePerShare";
|
|
318
|
+
readonly type: "uint256";
|
|
319
|
+
}];
|
|
320
|
+
readonly outputs: readonly [{
|
|
321
|
+
readonly name: "";
|
|
322
|
+
readonly type: "tuple";
|
|
323
|
+
readonly components: readonly [{
|
|
324
|
+
readonly name: "totalSupply";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
}, {
|
|
327
|
+
readonly name: "pricePerShare";
|
|
328
|
+
readonly type: "uint256";
|
|
329
|
+
}, {
|
|
330
|
+
readonly name: "lastUpdate";
|
|
331
|
+
readonly type: "uint256";
|
|
332
|
+
}];
|
|
333
|
+
}];
|
|
334
|
+
}, {
|
|
335
|
+
readonly stateMutability: "nonpayable";
|
|
336
|
+
readonly type: "function";
|
|
337
|
+
readonly name: "setSnapShotPriceConfig";
|
|
338
|
+
readonly inputs: readonly [{
|
|
339
|
+
readonly name: "_config";
|
|
340
|
+
readonly type: "tuple";
|
|
341
|
+
readonly components: readonly [{
|
|
342
|
+
readonly name: "minSnapshotDelay";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
}, {
|
|
345
|
+
readonly name: "maxNumSnapshots";
|
|
346
|
+
readonly type: "uint256";
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "maxUpsideDeviation";
|
|
349
|
+
readonly type: "uint256";
|
|
350
|
+
}, {
|
|
351
|
+
readonly name: "staleTime";
|
|
352
|
+
readonly type: "uint256";
|
|
353
|
+
}];
|
|
354
|
+
}];
|
|
355
|
+
readonly outputs: readonly [];
|
|
356
|
+
}, {
|
|
357
|
+
readonly stateMutability: "view";
|
|
358
|
+
readonly type: "function";
|
|
359
|
+
readonly name: "isValidPriceConfig";
|
|
360
|
+
readonly inputs: readonly [{
|
|
361
|
+
readonly name: "_config";
|
|
362
|
+
readonly type: "tuple";
|
|
363
|
+
readonly components: readonly [{
|
|
364
|
+
readonly name: "minSnapshotDelay";
|
|
365
|
+
readonly type: "uint256";
|
|
366
|
+
}, {
|
|
367
|
+
readonly name: "maxNumSnapshots";
|
|
368
|
+
readonly type: "uint256";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "maxUpsideDeviation";
|
|
371
|
+
readonly type: "uint256";
|
|
372
|
+
}, {
|
|
373
|
+
readonly name: "staleTime";
|
|
374
|
+
readonly type: "uint256";
|
|
375
|
+
}];
|
|
376
|
+
}];
|
|
278
377
|
readonly outputs: readonly [{
|
|
279
378
|
readonly name: "";
|
|
280
379
|
readonly type: "bool";
|
|
281
380
|
}];
|
|
381
|
+
}, {
|
|
382
|
+
readonly stateMutability: "view";
|
|
383
|
+
readonly type: "function";
|
|
384
|
+
readonly name: "vaultToAsset";
|
|
385
|
+
readonly inputs: readonly [{
|
|
386
|
+
readonly name: "arg0";
|
|
387
|
+
readonly type: "address";
|
|
388
|
+
}];
|
|
389
|
+
readonly outputs: readonly [{
|
|
390
|
+
readonly name: "";
|
|
391
|
+
readonly type: "tuple";
|
|
392
|
+
readonly components: readonly [{
|
|
393
|
+
readonly name: "underlyingAsset";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}, {
|
|
396
|
+
readonly name: "decimals";
|
|
397
|
+
readonly type: "uint256";
|
|
398
|
+
}, {
|
|
399
|
+
readonly name: "lastAveragePricePerShare";
|
|
400
|
+
readonly type: "uint256";
|
|
401
|
+
}];
|
|
402
|
+
}];
|
|
282
403
|
}, {
|
|
283
404
|
readonly stateMutability: "view";
|
|
284
405
|
readonly type: "function";
|
|
@@ -324,10 +445,10 @@ export declare const abi: readonly [{
|
|
|
324
445
|
}, {
|
|
325
446
|
readonly stateMutability: "view";
|
|
326
447
|
readonly type: "function";
|
|
327
|
-
readonly name: "
|
|
448
|
+
readonly name: "assets";
|
|
328
449
|
readonly inputs: readonly [{
|
|
329
450
|
readonly name: "arg0";
|
|
330
|
-
readonly type: "
|
|
451
|
+
readonly type: "uint256";
|
|
331
452
|
}];
|
|
332
453
|
readonly outputs: readonly [{
|
|
333
454
|
readonly name: "";
|
|
@@ -336,35 +457,108 @@ export declare const abi: readonly [{
|
|
|
336
457
|
}, {
|
|
337
458
|
readonly stateMutability: "view";
|
|
338
459
|
readonly type: "function";
|
|
339
|
-
readonly name: "
|
|
460
|
+
readonly name: "indexOfAsset";
|
|
340
461
|
readonly inputs: readonly [{
|
|
341
462
|
readonly name: "arg0";
|
|
463
|
+
readonly type: "address";
|
|
464
|
+
}];
|
|
465
|
+
readonly outputs: readonly [{
|
|
466
|
+
readonly name: "";
|
|
342
467
|
readonly type: "uint256";
|
|
343
468
|
}];
|
|
469
|
+
}, {
|
|
470
|
+
readonly stateMutability: "view";
|
|
471
|
+
readonly type: "function";
|
|
472
|
+
readonly name: "numAssets";
|
|
473
|
+
readonly inputs: readonly [];
|
|
344
474
|
readonly outputs: readonly [{
|
|
345
475
|
readonly name: "";
|
|
346
|
-
readonly type: "
|
|
476
|
+
readonly type: "uint256";
|
|
347
477
|
}];
|
|
348
478
|
}, {
|
|
349
479
|
readonly stateMutability: "view";
|
|
350
480
|
readonly type: "function";
|
|
351
|
-
readonly name: "
|
|
481
|
+
readonly name: "snapShotData";
|
|
352
482
|
readonly inputs: readonly [{
|
|
353
483
|
readonly name: "arg0";
|
|
354
484
|
readonly type: "address";
|
|
355
485
|
}];
|
|
356
486
|
readonly outputs: readonly [{
|
|
357
487
|
readonly name: "";
|
|
488
|
+
readonly type: "tuple";
|
|
489
|
+
readonly components: readonly [{
|
|
490
|
+
readonly name: "lastSnapShot";
|
|
491
|
+
readonly type: "tuple";
|
|
492
|
+
readonly components: readonly [{
|
|
493
|
+
readonly name: "totalSupply";
|
|
494
|
+
readonly type: "uint256";
|
|
495
|
+
}, {
|
|
496
|
+
readonly name: "pricePerShare";
|
|
497
|
+
readonly type: "uint256";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "lastUpdate";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
}];
|
|
502
|
+
}, {
|
|
503
|
+
readonly name: "nextIndex";
|
|
504
|
+
readonly type: "uint256";
|
|
505
|
+
}];
|
|
506
|
+
}];
|
|
507
|
+
}, {
|
|
508
|
+
readonly stateMutability: "view";
|
|
509
|
+
readonly type: "function";
|
|
510
|
+
readonly name: "snapShots";
|
|
511
|
+
readonly inputs: readonly [{
|
|
512
|
+
readonly name: "arg0";
|
|
513
|
+
readonly type: "address";
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "arg1";
|
|
358
516
|
readonly type: "uint256";
|
|
359
517
|
}];
|
|
518
|
+
readonly outputs: readonly [{
|
|
519
|
+
readonly name: "";
|
|
520
|
+
readonly type: "tuple";
|
|
521
|
+
readonly components: readonly [{
|
|
522
|
+
readonly name: "totalSupply";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
}, {
|
|
525
|
+
readonly name: "pricePerShare";
|
|
526
|
+
readonly type: "uint256";
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: "lastUpdate";
|
|
529
|
+
readonly type: "uint256";
|
|
530
|
+
}];
|
|
531
|
+
}];
|
|
360
532
|
}, {
|
|
361
533
|
readonly stateMutability: "view";
|
|
362
534
|
readonly type: "function";
|
|
363
|
-
readonly name: "
|
|
535
|
+
readonly name: "snapShotPriceConfig";
|
|
364
536
|
readonly inputs: readonly [];
|
|
365
537
|
readonly outputs: readonly [{
|
|
366
538
|
readonly name: "";
|
|
367
|
-
readonly type: "
|
|
539
|
+
readonly type: "tuple";
|
|
540
|
+
readonly components: readonly [{
|
|
541
|
+
readonly name: "minSnapshotDelay";
|
|
542
|
+
readonly type: "uint256";
|
|
543
|
+
}, {
|
|
544
|
+
readonly name: "maxNumSnapshots";
|
|
545
|
+
readonly type: "uint256";
|
|
546
|
+
}, {
|
|
547
|
+
readonly name: "maxUpsideDeviation";
|
|
548
|
+
readonly type: "uint256";
|
|
549
|
+
}, {
|
|
550
|
+
readonly name: "staleTime";
|
|
551
|
+
readonly type: "uint256";
|
|
552
|
+
}];
|
|
553
|
+
}];
|
|
554
|
+
}, {
|
|
555
|
+
readonly stateMutability: "view";
|
|
556
|
+
readonly type: "function";
|
|
557
|
+
readonly name: "isPaused";
|
|
558
|
+
readonly inputs: readonly [];
|
|
559
|
+
readonly outputs: readonly [{
|
|
560
|
+
readonly name: "";
|
|
561
|
+
readonly type: "bool";
|
|
368
562
|
}];
|
|
369
563
|
}, {
|
|
370
564
|
readonly stateMutability: "view";
|
|
@@ -408,18 +602,243 @@ export declare const abi: readonly [{
|
|
|
408
602
|
}, {
|
|
409
603
|
readonly stateMutability: "view";
|
|
410
604
|
readonly type: "function";
|
|
411
|
-
readonly name: "
|
|
605
|
+
readonly name: "getUnderlyingAsset";
|
|
606
|
+
readonly inputs: readonly [{
|
|
607
|
+
readonly name: "_vaultToken";
|
|
608
|
+
readonly type: "address";
|
|
609
|
+
}];
|
|
610
|
+
readonly outputs: readonly [{
|
|
611
|
+
readonly name: "";
|
|
612
|
+
readonly type: "address";
|
|
613
|
+
}];
|
|
614
|
+
}, {
|
|
615
|
+
readonly stateMutability: "view";
|
|
616
|
+
readonly type: "function";
|
|
617
|
+
readonly name: "getUnderlyingBalances";
|
|
618
|
+
readonly inputs: readonly [{
|
|
619
|
+
readonly name: "_vaultToken";
|
|
620
|
+
readonly type: "address";
|
|
621
|
+
}, {
|
|
622
|
+
readonly name: "_vaultTokenBalance";
|
|
623
|
+
readonly type: "uint256";
|
|
624
|
+
}];
|
|
625
|
+
readonly outputs: readonly [{
|
|
626
|
+
readonly name: "";
|
|
627
|
+
readonly type: "uint256";
|
|
628
|
+
}, {
|
|
629
|
+
readonly name: "";
|
|
630
|
+
readonly type: "uint256";
|
|
631
|
+
}];
|
|
632
|
+
}, {
|
|
633
|
+
readonly stateMutability: "view";
|
|
634
|
+
readonly type: "function";
|
|
635
|
+
readonly name: "getUnderlyingAmount";
|
|
636
|
+
readonly inputs: readonly [{
|
|
637
|
+
readonly name: "_vaultToken";
|
|
638
|
+
readonly type: "address";
|
|
639
|
+
}, {
|
|
640
|
+
readonly name: "_vaultTokenAmount";
|
|
641
|
+
readonly type: "uint256";
|
|
642
|
+
}];
|
|
643
|
+
readonly outputs: readonly [{
|
|
644
|
+
readonly name: "";
|
|
645
|
+
readonly type: "uint256";
|
|
646
|
+
}];
|
|
647
|
+
}, {
|
|
648
|
+
readonly stateMutability: "view";
|
|
649
|
+
readonly type: "function";
|
|
650
|
+
readonly name: "getUnderlyingAmountSafe";
|
|
651
|
+
readonly inputs: readonly [{
|
|
652
|
+
readonly name: "_vaultToken";
|
|
653
|
+
readonly type: "address";
|
|
654
|
+
}, {
|
|
655
|
+
readonly name: "_vaultTokenBalance";
|
|
656
|
+
readonly type: "uint256";
|
|
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: "getUnderlyingData";
|
|
666
|
+
readonly inputs: readonly [{
|
|
667
|
+
readonly name: "_vaultToken";
|
|
668
|
+
readonly type: "address";
|
|
669
|
+
}, {
|
|
670
|
+
readonly name: "_vaultTokenAmount";
|
|
671
|
+
readonly type: "uint256";
|
|
672
|
+
}];
|
|
673
|
+
readonly outputs: readonly [{
|
|
674
|
+
readonly name: "";
|
|
675
|
+
readonly type: "address";
|
|
676
|
+
}, {
|
|
677
|
+
readonly name: "";
|
|
678
|
+
readonly type: "uint256";
|
|
679
|
+
}, {
|
|
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";
|
|
689
|
+
readonly type: "address";
|
|
690
|
+
}, {
|
|
691
|
+
readonly name: "_vaultTokenAmount";
|
|
692
|
+
readonly type: "uint256";
|
|
693
|
+
}, {
|
|
694
|
+
readonly name: "_appraiser";
|
|
695
|
+
readonly type: "address";
|
|
696
|
+
}];
|
|
697
|
+
readonly outputs: readonly [{
|
|
698
|
+
readonly name: "";
|
|
699
|
+
readonly type: "address";
|
|
700
|
+
}, {
|
|
701
|
+
readonly name: "";
|
|
702
|
+
readonly type: "uint256";
|
|
703
|
+
}, {
|
|
704
|
+
readonly name: "";
|
|
705
|
+
readonly type: "uint256";
|
|
706
|
+
}];
|
|
707
|
+
}, {
|
|
708
|
+
readonly stateMutability: "view";
|
|
709
|
+
readonly type: "function";
|
|
710
|
+
readonly name: "getUsdValueOfVaultToken";
|
|
412
711
|
readonly inputs: readonly [{
|
|
413
712
|
readonly name: "_vaultToken";
|
|
414
713
|
readonly type: "address";
|
|
415
714
|
}, {
|
|
416
|
-
readonly name: "
|
|
715
|
+
readonly name: "_vaultTokenAmount";
|
|
716
|
+
readonly type: "uint256";
|
|
717
|
+
}];
|
|
718
|
+
readonly outputs: readonly [{
|
|
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 name: "_appraiser";
|
|
417
734
|
readonly type: "address";
|
|
418
735
|
}];
|
|
736
|
+
readonly outputs: readonly [{
|
|
737
|
+
readonly name: "";
|
|
738
|
+
readonly type: "uint256";
|
|
739
|
+
}];
|
|
740
|
+
}, {
|
|
741
|
+
readonly stateMutability: "view";
|
|
742
|
+
readonly type: "function";
|
|
743
|
+
readonly name: "isRebasing";
|
|
744
|
+
readonly inputs: readonly [];
|
|
419
745
|
readonly outputs: readonly [{
|
|
420
746
|
readonly name: "";
|
|
421
747
|
readonly type: "bool";
|
|
422
748
|
}];
|
|
749
|
+
}, {
|
|
750
|
+
readonly stateMutability: "view";
|
|
751
|
+
readonly type: "function";
|
|
752
|
+
readonly name: "getPricePerShare";
|
|
753
|
+
readonly inputs: readonly [{
|
|
754
|
+
readonly name: "_vaultToken";
|
|
755
|
+
readonly type: "address";
|
|
756
|
+
}];
|
|
757
|
+
readonly outputs: readonly [{
|
|
758
|
+
readonly name: "";
|
|
759
|
+
readonly type: "uint256";
|
|
760
|
+
}];
|
|
761
|
+
}, {
|
|
762
|
+
readonly stateMutability: "view";
|
|
763
|
+
readonly type: "function";
|
|
764
|
+
readonly name: "getPricePerShare";
|
|
765
|
+
readonly inputs: readonly [{
|
|
766
|
+
readonly name: "_vaultToken";
|
|
767
|
+
readonly type: "address";
|
|
768
|
+
}, {
|
|
769
|
+
readonly name: "_decimals";
|
|
770
|
+
readonly type: "uint256";
|
|
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: "getVaultTokenAmount";
|
|
780
|
+
readonly inputs: readonly [{
|
|
781
|
+
readonly name: "_asset";
|
|
782
|
+
readonly type: "address";
|
|
783
|
+
}, {
|
|
784
|
+
readonly name: "_assetAmount";
|
|
785
|
+
readonly type: "uint256";
|
|
786
|
+
}, {
|
|
787
|
+
readonly name: "_vaultToken";
|
|
788
|
+
readonly type: "address";
|
|
789
|
+
}];
|
|
790
|
+
readonly outputs: readonly [{
|
|
791
|
+
readonly name: "";
|
|
792
|
+
readonly type: "uint256";
|
|
793
|
+
}];
|
|
794
|
+
}, {
|
|
795
|
+
readonly stateMutability: "view";
|
|
796
|
+
readonly type: "function";
|
|
797
|
+
readonly name: "totalAssets";
|
|
798
|
+
readonly inputs: readonly [{
|
|
799
|
+
readonly name: "_vaultToken";
|
|
800
|
+
readonly type: "address";
|
|
801
|
+
}];
|
|
802
|
+
readonly outputs: readonly [{
|
|
803
|
+
readonly name: "";
|
|
804
|
+
readonly type: "uint256";
|
|
805
|
+
}];
|
|
806
|
+
}, {
|
|
807
|
+
readonly stateMutability: "view";
|
|
808
|
+
readonly type: "function";
|
|
809
|
+
readonly name: "totalBorrows";
|
|
810
|
+
readonly inputs: readonly [{
|
|
811
|
+
readonly name: "_vaultToken";
|
|
812
|
+
readonly type: "address";
|
|
813
|
+
}];
|
|
814
|
+
readonly outputs: readonly [{
|
|
815
|
+
readonly name: "";
|
|
816
|
+
readonly type: "uint256";
|
|
817
|
+
}];
|
|
818
|
+
}, {
|
|
819
|
+
readonly stateMutability: "view";
|
|
820
|
+
readonly type: "function";
|
|
821
|
+
readonly name: "getAvailLiquidity";
|
|
822
|
+
readonly inputs: readonly [{
|
|
823
|
+
readonly name: "_vaultToken";
|
|
824
|
+
readonly type: "address";
|
|
825
|
+
}];
|
|
826
|
+
readonly outputs: readonly [{
|
|
827
|
+
readonly name: "";
|
|
828
|
+
readonly type: "uint256";
|
|
829
|
+
}];
|
|
830
|
+
}, {
|
|
831
|
+
readonly stateMutability: "view";
|
|
832
|
+
readonly type: "function";
|
|
833
|
+
readonly name: "getUtilizationRatio";
|
|
834
|
+
readonly inputs: readonly [{
|
|
835
|
+
readonly name: "_vaultToken";
|
|
836
|
+
readonly type: "address";
|
|
837
|
+
}];
|
|
838
|
+
readonly outputs: readonly [{
|
|
839
|
+
readonly name: "";
|
|
840
|
+
readonly type: "uint256";
|
|
841
|
+
}];
|
|
423
842
|
}, {
|
|
424
843
|
readonly stateMutability: "view";
|
|
425
844
|
readonly type: "function";
|
|
@@ -435,12 +854,70 @@ export declare const abi: readonly [{
|
|
|
435
854
|
}, {
|
|
436
855
|
readonly stateMutability: "view";
|
|
437
856
|
readonly type: "function";
|
|
438
|
-
readonly name: "
|
|
439
|
-
readonly inputs: readonly [
|
|
857
|
+
readonly name: "getWithdrawalFees";
|
|
858
|
+
readonly inputs: readonly [{
|
|
859
|
+
readonly name: "_vaultToken";
|
|
860
|
+
readonly type: "address";
|
|
861
|
+
}, {
|
|
862
|
+
readonly name: "_vaultTokenAmount";
|
|
863
|
+
readonly type: "uint256";
|
|
864
|
+
}];
|
|
865
|
+
readonly outputs: readonly [{
|
|
866
|
+
readonly name: "";
|
|
867
|
+
readonly type: "uint256";
|
|
868
|
+
}];
|
|
869
|
+
}, {
|
|
870
|
+
readonly stateMutability: "view";
|
|
871
|
+
readonly type: "function";
|
|
872
|
+
readonly name: "canRegisterVaultToken";
|
|
873
|
+
readonly inputs: readonly [{
|
|
874
|
+
readonly name: "_asset";
|
|
875
|
+
readonly type: "address";
|
|
876
|
+
}, {
|
|
877
|
+
readonly name: "_vaultToken";
|
|
878
|
+
readonly type: "address";
|
|
879
|
+
}];
|
|
440
880
|
readonly outputs: readonly [{
|
|
441
881
|
readonly name: "";
|
|
442
882
|
readonly type: "bool";
|
|
443
883
|
}];
|
|
884
|
+
}, {
|
|
885
|
+
readonly stateMutability: "nonpayable";
|
|
886
|
+
readonly type: "function";
|
|
887
|
+
readonly name: "registerVaultTokenLocally";
|
|
888
|
+
readonly inputs: readonly [{
|
|
889
|
+
readonly name: "_asset";
|
|
890
|
+
readonly type: "address";
|
|
891
|
+
}, {
|
|
892
|
+
readonly name: "_vaultAddr";
|
|
893
|
+
readonly type: "address";
|
|
894
|
+
}];
|
|
895
|
+
readonly outputs: readonly [{
|
|
896
|
+
readonly name: "";
|
|
897
|
+
readonly type: "tuple";
|
|
898
|
+
readonly components: readonly [{
|
|
899
|
+
readonly name: "underlyingAsset";
|
|
900
|
+
readonly type: "address";
|
|
901
|
+
}, {
|
|
902
|
+
readonly name: "decimals";
|
|
903
|
+
readonly type: "uint256";
|
|
904
|
+
}, {
|
|
905
|
+
readonly name: "lastAveragePricePerShare";
|
|
906
|
+
readonly type: "uint256";
|
|
907
|
+
}];
|
|
908
|
+
}];
|
|
909
|
+
}, {
|
|
910
|
+
readonly stateMutability: "nonpayable";
|
|
911
|
+
readonly type: "function";
|
|
912
|
+
readonly name: "deregisterVaultTokenLocally";
|
|
913
|
+
readonly inputs: readonly [{
|
|
914
|
+
readonly name: "_asset";
|
|
915
|
+
readonly type: "address";
|
|
916
|
+
}, {
|
|
917
|
+
readonly name: "_vaultAddr";
|
|
918
|
+
readonly type: "address";
|
|
919
|
+
}];
|
|
920
|
+
readonly outputs: readonly [];
|
|
444
921
|
}, {
|
|
445
922
|
readonly stateMutability: "nonpayable";
|
|
446
923
|
readonly type: "function";
|
|
@@ -561,14 +1038,84 @@ export declare const abi: readonly [{
|
|
|
561
1038
|
readonly name: "_vaultToken";
|
|
562
1039
|
readonly type: "address";
|
|
563
1040
|
}, {
|
|
564
|
-
readonly name: "_amount";
|
|
1041
|
+
readonly name: "_amount";
|
|
1042
|
+
readonly type: "uint256";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly name: "_extraData";
|
|
1045
|
+
readonly type: "bytes32";
|
|
1046
|
+
}, {
|
|
1047
|
+
readonly name: "_recipient";
|
|
1048
|
+
readonly type: "address";
|
|
1049
|
+
}, {
|
|
1050
|
+
readonly name: "_miniAddys";
|
|
1051
|
+
readonly type: "tuple";
|
|
1052
|
+
readonly components: readonly [{
|
|
1053
|
+
readonly name: "ledger";
|
|
1054
|
+
readonly type: "address";
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly name: "missionControl";
|
|
1057
|
+
readonly type: "address";
|
|
1058
|
+
}, {
|
|
1059
|
+
readonly name: "legoBook";
|
|
1060
|
+
readonly type: "address";
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly name: "appraiser";
|
|
1063
|
+
readonly type: "address";
|
|
1064
|
+
}];
|
|
1065
|
+
}];
|
|
1066
|
+
readonly outputs: readonly [{
|
|
1067
|
+
readonly name: "";
|
|
1068
|
+
readonly type: "uint256";
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly name: "";
|
|
1071
|
+
readonly type: "address";
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly name: "";
|
|
1074
|
+
readonly type: "uint256";
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly name: "";
|
|
1077
|
+
readonly type: "uint256";
|
|
1078
|
+
}];
|
|
1079
|
+
}, {
|
|
1080
|
+
readonly stateMutability: "nonpayable";
|
|
1081
|
+
readonly type: "function";
|
|
1082
|
+
readonly name: "claimIncentives";
|
|
1083
|
+
readonly inputs: readonly [{
|
|
1084
|
+
readonly name: "_user";
|
|
1085
|
+
readonly type: "address";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly name: "_rewardToken";
|
|
1088
|
+
readonly type: "address";
|
|
1089
|
+
}, {
|
|
1090
|
+
readonly name: "_rewardAmount";
|
|
1091
|
+
readonly type: "uint256";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly name: "_proofs";
|
|
1094
|
+
readonly type: "bytes32[]";
|
|
1095
|
+
}];
|
|
1096
|
+
readonly outputs: readonly [{
|
|
1097
|
+
readonly name: "";
|
|
1098
|
+
readonly type: "uint256";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly name: "";
|
|
1101
|
+
readonly type: "uint256";
|
|
1102
|
+
}];
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly stateMutability: "nonpayable";
|
|
1105
|
+
readonly type: "function";
|
|
1106
|
+
readonly name: "claimIncentives";
|
|
1107
|
+
readonly inputs: readonly [{
|
|
1108
|
+
readonly name: "_user";
|
|
1109
|
+
readonly type: "address";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly name: "_rewardToken";
|
|
1112
|
+
readonly type: "address";
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly name: "_rewardAmount";
|
|
565
1115
|
readonly type: "uint256";
|
|
566
1116
|
}, {
|
|
567
|
-
readonly name: "
|
|
568
|
-
readonly type: "bytes32";
|
|
569
|
-
}, {
|
|
570
|
-
readonly name: "_recipient";
|
|
571
|
-
readonly type: "address";
|
|
1117
|
+
readonly name: "_proofs";
|
|
1118
|
+
readonly type: "bytes32[]";
|
|
572
1119
|
}, {
|
|
573
1120
|
readonly name: "_miniAddys";
|
|
574
1121
|
readonly type: "tuple";
|
|
@@ -589,12 +1136,6 @@ export declare const abi: readonly [{
|
|
|
589
1136
|
readonly outputs: readonly [{
|
|
590
1137
|
readonly name: "";
|
|
591
1138
|
readonly type: "uint256";
|
|
592
|
-
}, {
|
|
593
|
-
readonly name: "";
|
|
594
|
-
readonly type: "address";
|
|
595
|
-
}, {
|
|
596
|
-
readonly name: "";
|
|
597
|
-
readonly type: "uint256";
|
|
598
1139
|
}, {
|
|
599
1140
|
readonly name: "";
|
|
600
1141
|
readonly type: "uint256";
|
|
@@ -688,9 +1229,9 @@ export declare const abi: readonly [{
|
|
|
688
1229
|
readonly type: "bool";
|
|
689
1230
|
}];
|
|
690
1231
|
}, {
|
|
691
|
-
readonly stateMutability: "
|
|
1232
|
+
readonly stateMutability: "nonpayable";
|
|
692
1233
|
readonly type: "function";
|
|
693
|
-
readonly name: "
|
|
1234
|
+
readonly name: "addPriceSnapshot";
|
|
694
1235
|
readonly inputs: readonly [{
|
|
695
1236
|
readonly name: "_vaultToken";
|
|
696
1237
|
readonly type: "address";
|
|
@@ -702,189 +1243,24 @@ export declare const abi: readonly [{
|
|
|
702
1243
|
}, {
|
|
703
1244
|
readonly stateMutability: "view";
|
|
704
1245
|
readonly type: "function";
|
|
705
|
-
readonly name: "
|
|
706
|
-
readonly inputs: readonly [{
|
|
707
|
-
readonly name: "_vaultToken";
|
|
708
|
-
readonly type: "address";
|
|
709
|
-
}];
|
|
710
|
-
readonly outputs: readonly [{
|
|
711
|
-
readonly name: "";
|
|
712
|
-
readonly type: "address";
|
|
713
|
-
}];
|
|
714
|
-
}, {
|
|
715
|
-
readonly stateMutability: "view";
|
|
716
|
-
readonly type: "function";
|
|
717
|
-
readonly name: "getUnderlyingAmount";
|
|
718
|
-
readonly inputs: readonly [{
|
|
719
|
-
readonly name: "_vaultToken";
|
|
720
|
-
readonly type: "address";
|
|
721
|
-
}, {
|
|
722
|
-
readonly name: "_vaultTokenAmount";
|
|
723
|
-
readonly type: "uint256";
|
|
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: "getVaultTokenAmount";
|
|
733
|
-
readonly inputs: readonly [{
|
|
734
|
-
readonly name: "_asset";
|
|
735
|
-
readonly type: "address";
|
|
736
|
-
}, {
|
|
737
|
-
readonly name: "_assetAmount";
|
|
738
|
-
readonly type: "uint256";
|
|
739
|
-
}, {
|
|
740
|
-
readonly name: "_vaultToken";
|
|
741
|
-
readonly type: "address";
|
|
742
|
-
}];
|
|
743
|
-
readonly outputs: readonly [{
|
|
744
|
-
readonly name: "";
|
|
745
|
-
readonly type: "uint256";
|
|
746
|
-
}];
|
|
747
|
-
}, {
|
|
748
|
-
readonly stateMutability: "view";
|
|
749
|
-
readonly type: "function";
|
|
750
|
-
readonly name: "getUsdValueOfVaultToken";
|
|
751
|
-
readonly inputs: readonly [{
|
|
752
|
-
readonly name: "_vaultToken";
|
|
753
|
-
readonly type: "address";
|
|
754
|
-
}, {
|
|
755
|
-
readonly name: "_vaultTokenAmount";
|
|
756
|
-
readonly type: "uint256";
|
|
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: "getUsdValueOfVaultToken";
|
|
766
|
-
readonly inputs: readonly [{
|
|
767
|
-
readonly name: "_vaultToken";
|
|
768
|
-
readonly type: "address";
|
|
769
|
-
}, {
|
|
770
|
-
readonly name: "_vaultTokenAmount";
|
|
771
|
-
readonly type: "uint256";
|
|
772
|
-
}, {
|
|
773
|
-
readonly name: "_appraiser";
|
|
774
|
-
readonly type: "address";
|
|
775
|
-
}];
|
|
776
|
-
readonly outputs: readonly [{
|
|
777
|
-
readonly name: "";
|
|
778
|
-
readonly type: "uint256";
|
|
779
|
-
}];
|
|
780
|
-
}, {
|
|
781
|
-
readonly stateMutability: "view";
|
|
782
|
-
readonly type: "function";
|
|
783
|
-
readonly name: "getUnderlyingData";
|
|
784
|
-
readonly inputs: readonly [{
|
|
785
|
-
readonly name: "_vaultToken";
|
|
786
|
-
readonly type: "address";
|
|
787
|
-
}, {
|
|
788
|
-
readonly name: "_vaultTokenAmount";
|
|
789
|
-
readonly type: "uint256";
|
|
790
|
-
}];
|
|
791
|
-
readonly outputs: readonly [{
|
|
792
|
-
readonly name: "";
|
|
793
|
-
readonly type: "address";
|
|
794
|
-
}, {
|
|
795
|
-
readonly name: "";
|
|
796
|
-
readonly type: "uint256";
|
|
797
|
-
}, {
|
|
798
|
-
readonly name: "";
|
|
799
|
-
readonly type: "uint256";
|
|
800
|
-
}];
|
|
801
|
-
}, {
|
|
802
|
-
readonly stateMutability: "view";
|
|
803
|
-
readonly type: "function";
|
|
804
|
-
readonly name: "getUnderlyingData";
|
|
1246
|
+
readonly name: "getAccessForLego";
|
|
805
1247
|
readonly inputs: readonly [{
|
|
806
|
-
readonly name: "
|
|
1248
|
+
readonly name: "_user";
|
|
807
1249
|
readonly type: "address";
|
|
808
1250
|
}, {
|
|
809
|
-
readonly name: "
|
|
1251
|
+
readonly name: "_action";
|
|
810
1252
|
readonly type: "uint256";
|
|
811
|
-
}, {
|
|
812
|
-
readonly name: "_appraiser";
|
|
813
|
-
readonly type: "address";
|
|
814
1253
|
}];
|
|
815
1254
|
readonly outputs: readonly [{
|
|
816
1255
|
readonly name: "";
|
|
817
1256
|
readonly type: "address";
|
|
818
1257
|
}, {
|
|
819
1258
|
readonly name: "";
|
|
820
|
-
readonly type: "
|
|
821
|
-
}, {
|
|
822
|
-
readonly name: "";
|
|
823
|
-
readonly type: "uint256";
|
|
824
|
-
}];
|
|
825
|
-
}, {
|
|
826
|
-
readonly stateMutability: "view";
|
|
827
|
-
readonly type: "function";
|
|
828
|
-
readonly name: "totalAssets";
|
|
829
|
-
readonly inputs: readonly [{
|
|
830
|
-
readonly name: "_vaultToken";
|
|
831
|
-
readonly type: "address";
|
|
832
|
-
}];
|
|
833
|
-
readonly outputs: readonly [{
|
|
834
|
-
readonly name: "";
|
|
835
|
-
readonly type: "uint256";
|
|
836
|
-
}];
|
|
837
|
-
}, {
|
|
838
|
-
readonly stateMutability: "view";
|
|
839
|
-
readonly type: "function";
|
|
840
|
-
readonly name: "totalBorrows";
|
|
841
|
-
readonly inputs: readonly [{
|
|
842
|
-
readonly name: "_vaultToken";
|
|
843
|
-
readonly type: "address";
|
|
844
|
-
}];
|
|
845
|
-
readonly outputs: readonly [{
|
|
846
|
-
readonly name: "";
|
|
847
|
-
readonly type: "uint256";
|
|
848
|
-
}];
|
|
849
|
-
}, {
|
|
850
|
-
readonly stateMutability: "view";
|
|
851
|
-
readonly type: "function";
|
|
852
|
-
readonly name: "getPricePerShare";
|
|
853
|
-
readonly inputs: readonly [{
|
|
854
|
-
readonly name: "_asset";
|
|
855
|
-
readonly type: "address";
|
|
1259
|
+
readonly type: "string";
|
|
856
1260
|
}, {
|
|
857
|
-
readonly name: "_decimals";
|
|
858
|
-
readonly type: "uint256";
|
|
859
|
-
}];
|
|
860
|
-
readonly outputs: readonly [{
|
|
861
1261
|
readonly name: "";
|
|
862
1262
|
readonly type: "uint256";
|
|
863
1263
|
}];
|
|
864
|
-
}, {
|
|
865
|
-
readonly stateMutability: "nonpayable";
|
|
866
|
-
readonly type: "function";
|
|
867
|
-
readonly name: "addAssetOpportunity";
|
|
868
|
-
readonly inputs: readonly [{
|
|
869
|
-
readonly name: "_asset";
|
|
870
|
-
readonly type: "address";
|
|
871
|
-
}, {
|
|
872
|
-
readonly name: "_vaultAddr";
|
|
873
|
-
readonly type: "address";
|
|
874
|
-
}];
|
|
875
|
-
readonly outputs: readonly [];
|
|
876
|
-
}, {
|
|
877
|
-
readonly stateMutability: "nonpayable";
|
|
878
|
-
readonly type: "function";
|
|
879
|
-
readonly name: "removeAssetOpportunity";
|
|
880
|
-
readonly inputs: readonly [{
|
|
881
|
-
readonly name: "_asset";
|
|
882
|
-
readonly type: "address";
|
|
883
|
-
}, {
|
|
884
|
-
readonly name: "_vaultAddr";
|
|
885
|
-
readonly type: "address";
|
|
886
|
-
}];
|
|
887
|
-
readonly outputs: readonly [];
|
|
888
1264
|
}, {
|
|
889
1265
|
readonly stateMutability: "nonpayable";
|
|
890
1266
|
readonly type: "function";
|
|
@@ -1838,43 +2214,16 @@ export declare const abi: readonly [{
|
|
|
1838
2214
|
}, {
|
|
1839
2215
|
readonly stateMutability: "view";
|
|
1840
2216
|
readonly type: "function";
|
|
1841
|
-
readonly name: "
|
|
1842
|
-
readonly inputs: readonly [
|
|
1843
|
-
readonly name: "_user";
|
|
1844
|
-
readonly type: "address";
|
|
1845
|
-
}, {
|
|
1846
|
-
readonly name: "_action";
|
|
1847
|
-
readonly type: "uint256";
|
|
1848
|
-
}];
|
|
2217
|
+
readonly name: "compoundRewards";
|
|
2218
|
+
readonly inputs: readonly [];
|
|
1849
2219
|
readonly outputs: readonly [{
|
|
1850
2220
|
readonly name: "";
|
|
1851
2221
|
readonly type: "address";
|
|
1852
|
-
}, {
|
|
1853
|
-
readonly name: "";
|
|
1854
|
-
readonly type: "string";
|
|
1855
|
-
}, {
|
|
1856
|
-
readonly name: "";
|
|
1857
|
-
readonly type: "uint256";
|
|
1858
|
-
}];
|
|
1859
|
-
}, {
|
|
1860
|
-
readonly stateMutability: "view";
|
|
1861
|
-
readonly type: "function";
|
|
1862
|
-
readonly name: "getPrice";
|
|
1863
|
-
readonly inputs: readonly [{
|
|
1864
|
-
readonly name: "_asset";
|
|
1865
|
-
readonly type: "address";
|
|
1866
|
-
}, {
|
|
1867
|
-
readonly name: "_decimals";
|
|
1868
|
-
readonly type: "uint256";
|
|
1869
|
-
}];
|
|
1870
|
-
readonly outputs: readonly [{
|
|
1871
|
-
readonly name: "";
|
|
1872
|
-
readonly type: "uint256";
|
|
1873
2222
|
}];
|
|
1874
2223
|
}, {
|
|
1875
2224
|
readonly stateMutability: "view";
|
|
1876
2225
|
readonly type: "function";
|
|
1877
|
-
readonly name: "
|
|
2226
|
+
readonly name: "COMPOUND_V3_CONFIGURATOR";
|
|
1878
2227
|
readonly inputs: readonly [];
|
|
1879
2228
|
readonly outputs: readonly [{
|
|
1880
2229
|
readonly name: "";
|
|
@@ -1883,7 +2232,7 @@ export declare const abi: readonly [{
|
|
|
1883
2232
|
}, {
|
|
1884
2233
|
readonly stateMutability: "view";
|
|
1885
2234
|
readonly type: "function";
|
|
1886
|
-
readonly name: "
|
|
2235
|
+
readonly name: "RIPE_REGISTRY";
|
|
1887
2236
|
readonly inputs: readonly [];
|
|
1888
2237
|
readonly outputs: readonly [{
|
|
1889
2238
|
readonly name: "";
|
|
@@ -1901,6 +2250,9 @@ export declare const abi: readonly [{
|
|
|
1901
2250
|
}, {
|
|
1902
2251
|
readonly name: "_compRewards";
|
|
1903
2252
|
readonly type: "address";
|
|
2253
|
+
}, {
|
|
2254
|
+
readonly name: "_ripeRegistry";
|
|
2255
|
+
readonly type: "address";
|
|
1904
2256
|
}];
|
|
1905
2257
|
readonly outputs: readonly [];
|
|
1906
2258
|
}];
|
|
@@ -1919,6 +2271,7 @@ export type Contract = {
|
|
|
1919
2271
|
appraiser: `0x${string}`;
|
|
1920
2272
|
walletBackpack: `0x${string}`;
|
|
1921
2273
|
billing: `0x${string}`;
|
|
2274
|
+
vaultRegistry: `0x${string}`;
|
|
1922
2275
|
}>;
|
|
1923
2276
|
getUndyHq: () => Promise<`0x${string}`>;
|
|
1924
2277
|
isLegoAsset: (asset: `0x${string}`) => Promise<boolean>;
|
|
@@ -1926,39 +2279,90 @@ export type Contract = {
|
|
|
1926
2279
|
getAssets: () => Promise<`0x${string}`[]>;
|
|
1927
2280
|
isAssetOpportunity: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<boolean>;
|
|
1928
2281
|
getNumLegoAssets: () => Promise<bigint>;
|
|
1929
|
-
|
|
2282
|
+
getWeightedPricePerShare: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2283
|
+
getLatestSnapshot: (vaultToken: `0x${string}`, pricePerShare: bigint) => Promise<{
|
|
2284
|
+
totalSupply: bigint;
|
|
2285
|
+
pricePerShare: bigint;
|
|
2286
|
+
lastUpdate: bigint;
|
|
2287
|
+
}>;
|
|
2288
|
+
isValidPriceConfig: (config: {
|
|
2289
|
+
minSnapshotDelay: bigint;
|
|
2290
|
+
maxNumSnapshots: bigint;
|
|
2291
|
+
maxUpsideDeviation: bigint;
|
|
2292
|
+
staleTime: bigint;
|
|
2293
|
+
}) => Promise<boolean>;
|
|
2294
|
+
vaultToAsset: (arg0: `0x${string}`) => Promise<{
|
|
2295
|
+
underlyingAsset: `0x${string}`;
|
|
2296
|
+
decimals: bigint;
|
|
2297
|
+
lastAveragePricePerShare: bigint;
|
|
2298
|
+
}>;
|
|
1930
2299
|
assetOpportunities: (arg0: `0x${string}`, arg1: bigint) => Promise<`0x${string}`>;
|
|
1931
2300
|
indexOfAssetOpportunity: (arg0: `0x${string}`, arg1: `0x${string}`) => Promise<bigint>;
|
|
1932
2301
|
numAssetOpportunities: (arg0: `0x${string}`) => Promise<bigint>;
|
|
1933
|
-
vaultToAsset: (arg0: `0x${string}`) => Promise<`0x${string}`>;
|
|
1934
2302
|
assets: (arg0: bigint) => Promise<`0x${string}`>;
|
|
1935
2303
|
indexOfAsset: (arg0: `0x${string}`) => Promise<bigint>;
|
|
1936
2304
|
numAssets: () => Promise<bigint>;
|
|
2305
|
+
snapShotData: (arg0: `0x${string}`) => Promise<{
|
|
2306
|
+
lastSnapShot: {
|
|
2307
|
+
totalSupply: bigint;
|
|
2308
|
+
pricePerShare: bigint;
|
|
2309
|
+
lastUpdate: bigint;
|
|
2310
|
+
};
|
|
2311
|
+
nextIndex: bigint;
|
|
2312
|
+
}>;
|
|
2313
|
+
snapShots: (arg0: `0x${string}`, arg1: bigint) => Promise<{
|
|
2314
|
+
totalSupply: bigint;
|
|
2315
|
+
pricePerShare: bigint;
|
|
2316
|
+
lastUpdate: bigint;
|
|
2317
|
+
}>;
|
|
2318
|
+
snapShotPriceConfig: () => Promise<{
|
|
2319
|
+
minSnapshotDelay: bigint;
|
|
2320
|
+
maxNumSnapshots: bigint;
|
|
2321
|
+
maxUpsideDeviation: bigint;
|
|
2322
|
+
staleTime: bigint;
|
|
2323
|
+
}>;
|
|
2324
|
+
isPaused: () => Promise<boolean>;
|
|
1937
2325
|
hasCapability: (action: bigint) => Promise<boolean>;
|
|
1938
2326
|
getRegistries: () => Promise<`0x${string}`[]>;
|
|
1939
2327
|
isYieldLego: () => Promise<boolean>;
|
|
1940
2328
|
isDexLego: () => Promise<boolean>;
|
|
1941
|
-
isEligibleVaultForTrialFunds: (vaultToken: `0x${string}`, underlyingAsset: `0x${string}`) => Promise<boolean>;
|
|
1942
|
-
isEligibleForYieldBonus: (asset: `0x${string}`) => Promise<boolean>;
|
|
1943
|
-
isRebasing: () => Promise<boolean>;
|
|
1944
|
-
isVaultToken: (vaultToken: `0x${string}`) => Promise<boolean>;
|
|
1945
2329
|
getUnderlyingAsset: (vaultToken: `0x${string}`) => Promise<`0x${string}`>;
|
|
2330
|
+
getUnderlyingBalances: (vaultToken: `0x${string}`, vaultTokenBalance: bigint) => Promise<[bigint, bigint]>;
|
|
1946
2331
|
getUnderlyingAmount: (vaultToken: `0x${string}`, vaultTokenAmount: bigint) => Promise<bigint>;
|
|
1947
|
-
|
|
1948
|
-
getUsdValueOfVaultToken: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<bigint>;
|
|
2332
|
+
getUnderlyingAmountSafe: (vaultToken: `0x${string}`, vaultTokenBalance: bigint) => Promise<bigint>;
|
|
1949
2333
|
getUnderlyingData: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
2334
|
+
getUsdValueOfVaultToken: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, appraiser?: `0x${string}`) => Promise<bigint>;
|
|
2335
|
+
isRebasing: () => Promise<boolean>;
|
|
2336
|
+
getPricePerShare: (vaultToken: `0x${string}`, decimals?: bigint) => Promise<bigint>;
|
|
2337
|
+
getVaultTokenAmount: (asset: `0x${string}`, assetAmount: bigint, vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1950
2338
|
totalAssets: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1951
2339
|
totalBorrows: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
1952
|
-
|
|
2340
|
+
getAvailLiquidity: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2341
|
+
getUtilizationRatio: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
2342
|
+
isEligibleForYieldBonus: (asset: `0x${string}`) => Promise<boolean>;
|
|
2343
|
+
getWithdrawalFees: (vaultToken: `0x${string}`, vaultTokenAmount: bigint) => Promise<bigint>;
|
|
2344
|
+
canRegisterVaultToken: (asset: `0x${string}`, vaultToken: `0x${string}`) => Promise<boolean>;
|
|
1953
2345
|
getAccessForLego: (user: `0x${string}`, action: bigint) => Promise<[`0x${string}`, string, bigint]>;
|
|
1954
|
-
getPrice: (asset: `0x${string}`, decimals: bigint) => Promise<bigint>;
|
|
1955
2346
|
compoundRewards: () => Promise<`0x${string}`>;
|
|
1956
2347
|
COMPOUND_V3_CONFIGURATOR: () => Promise<`0x${string}`>;
|
|
2348
|
+
RIPE_REGISTRY: () => Promise<`0x${string}`>;
|
|
1957
2349
|
};
|
|
1958
2350
|
mutations: {
|
|
1959
2351
|
pause: (shouldPause: boolean) => Promise<void>;
|
|
1960
2352
|
recoverFunds: (recipient: `0x${string}`, asset: `0x${string}`) => Promise<void>;
|
|
1961
2353
|
recoverFundsMany: (recipient: `0x${string}`, assets: `0x${string}`[]) => Promise<void>;
|
|
2354
|
+
setSnapShotPriceConfig: (config: {
|
|
2355
|
+
minSnapshotDelay: bigint;
|
|
2356
|
+
maxNumSnapshots: bigint;
|
|
2357
|
+
maxUpsideDeviation: bigint;
|
|
2358
|
+
staleTime: bigint;
|
|
2359
|
+
}) => Promise<void>;
|
|
2360
|
+
registerVaultTokenLocally: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<{
|
|
2361
|
+
underlyingAsset: `0x${string}`;
|
|
2362
|
+
decimals: bigint;
|
|
2363
|
+
lastAveragePricePerShare: bigint;
|
|
2364
|
+
}>;
|
|
2365
|
+
deregisterVaultTokenLocally: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
1962
2366
|
depositForYield: (asset: `0x${string}`, amount: bigint, vaultAddr: `0x${string}`, extraData: `0x${string}`, recipient: `0x${string}`, miniAddys?: {
|
|
1963
2367
|
ledger: `0x${string}`;
|
|
1964
2368
|
missionControl: `0x${string}`;
|
|
@@ -1971,6 +2375,12 @@ export type Contract = {
|
|
|
1971
2375
|
legoBook: `0x${string}`;
|
|
1972
2376
|
appraiser: `0x${string}`;
|
|
1973
2377
|
}) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2378
|
+
claimIncentives: (user: `0x${string}`, rewardToken: `0x${string}`, rewardAmount: bigint, proofs: `0x${string}`[], miniAddys?: {
|
|
2379
|
+
ledger: `0x${string}`;
|
|
2380
|
+
missionControl: `0x${string}`;
|
|
2381
|
+
legoBook: `0x${string}`;
|
|
2382
|
+
appraiser: `0x${string}`;
|
|
2383
|
+
}) => Promise<[bigint, bigint]>;
|
|
1974
2384
|
claimRewards: (user: `0x${string}`, rewardToken: `0x${string}`, rewardAmount: bigint, extraData: `0x${string}`, miniAddys?: {
|
|
1975
2385
|
ledger: `0x${string}`;
|
|
1976
2386
|
missionControl: `0x${string}`;
|
|
@@ -1979,8 +2389,7 @@ export type Contract = {
|
|
|
1979
2389
|
}) => Promise<[bigint, bigint]>;
|
|
1980
2390
|
hasClaimableRewards: (user: `0x${string}`) => Promise<boolean>;
|
|
1981
2391
|
setCompRewardsAddr: (addr: `0x${string}`) => Promise<boolean>;
|
|
1982
|
-
|
|
1983
|
-
removeAssetOpportunity: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
2392
|
+
addPriceSnapshot: (vaultToken: `0x${string}`) => Promise<boolean>;
|
|
1984
2393
|
swapTokens: (amountIn: bigint, minAmountOut: bigint, tokenPath: `0x${string}`[], poolPath: `0x${string}`[], recipient: `0x${string}`, miniAddys?: {
|
|
1985
2394
|
ledger: `0x${string}`;
|
|
1986
2395
|
missionControl: `0x${string}`;
|
|
@@ -2054,6 +2463,7 @@ export type Contract = {
|
|
|
2054
2463
|
CompoundV3RewardsAddrSet: (addr: `0x${string}`) => Promise<void>;
|
|
2055
2464
|
LegoPauseModified: (isPaused: boolean) => Promise<void>;
|
|
2056
2465
|
LegoFundsRecovered: (asset: `0x${string}`, recipient: `0x${string}`, balance: bigint) => Promise<void>;
|
|
2466
|
+
SnapShotPriceConfigSet: (minSnapshotDelay: bigint, maxNumSnapshots: bigint, maxUpsideDeviation: bigint, staleTime: bigint) => Promise<void>;
|
|
2057
2467
|
AssetOpportunityAdded: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
2058
2468
|
AssetOpportunityRemoved: (asset: `0x${string}`, vaultAddr: `0x${string}`) => Promise<void>;
|
|
2059
2469
|
};
|
|
@@ -2103,44 +2513,57 @@ export type SDK = {
|
|
|
2103
2513
|
getAssets: (...args: ExtractArgs<Contract['calls']['getAssets']>) => Promise<CallReturn<'getAssets'>>;
|
|
2104
2514
|
isAssetOpportunity: (...args: ExtractArgs<Contract['calls']['isAssetOpportunity']>) => Promise<CallReturn<'isAssetOpportunity'>>;
|
|
2105
2515
|
getNumLegoAssets: (...args: ExtractArgs<Contract['calls']['getNumLegoAssets']>) => Promise<CallReturn<'getNumLegoAssets'>>;
|
|
2106
|
-
|
|
2516
|
+
getWeightedPricePerShare: (...args: ExtractArgs<Contract['calls']['getWeightedPricePerShare']>) => Promise<CallReturn<'getWeightedPricePerShare'>>;
|
|
2517
|
+
getLatestSnapshot: (...args: ExtractArgs<Contract['calls']['getLatestSnapshot']>) => Promise<CallReturn<'getLatestSnapshot'>>;
|
|
2518
|
+
isValidPriceConfig: (...args: ExtractArgs<Contract['calls']['isValidPriceConfig']>) => Promise<CallReturn<'isValidPriceConfig'>>;
|
|
2519
|
+
vaultToAsset: (...args: ExtractArgs<Contract['calls']['vaultToAsset']>) => Promise<CallReturn<'vaultToAsset'>>;
|
|
2107
2520
|
assetOpportunities: (...args: ExtractArgs<Contract['calls']['assetOpportunities']>) => Promise<CallReturn<'assetOpportunities'>>;
|
|
2108
2521
|
indexOfAssetOpportunity: (...args: ExtractArgs<Contract['calls']['indexOfAssetOpportunity']>) => Promise<CallReturn<'indexOfAssetOpportunity'>>;
|
|
2109
2522
|
numAssetOpportunities: (...args: ExtractArgs<Contract['calls']['numAssetOpportunities']>) => Promise<CallReturn<'numAssetOpportunities'>>;
|
|
2110
|
-
vaultToAsset: (...args: ExtractArgs<Contract['calls']['vaultToAsset']>) => Promise<CallReturn<'vaultToAsset'>>;
|
|
2111
2523
|
assets: (...args: ExtractArgs<Contract['calls']['assets']>) => Promise<CallReturn<'assets'>>;
|
|
2112
2524
|
indexOfAsset: (...args: ExtractArgs<Contract['calls']['indexOfAsset']>) => Promise<CallReturn<'indexOfAsset'>>;
|
|
2113
2525
|
numAssets: (...args: ExtractArgs<Contract['calls']['numAssets']>) => Promise<CallReturn<'numAssets'>>;
|
|
2526
|
+
snapShotData: (...args: ExtractArgs<Contract['calls']['snapShotData']>) => Promise<CallReturn<'snapShotData'>>;
|
|
2527
|
+
snapShots: (...args: ExtractArgs<Contract['calls']['snapShots']>) => Promise<CallReturn<'snapShots'>>;
|
|
2528
|
+
snapShotPriceConfig: (...args: ExtractArgs<Contract['calls']['snapShotPriceConfig']>) => Promise<CallReturn<'snapShotPriceConfig'>>;
|
|
2529
|
+
isPaused: (...args: ExtractArgs<Contract['calls']['isPaused']>) => Promise<CallReturn<'isPaused'>>;
|
|
2114
2530
|
hasCapability: (...args: ExtractArgs<Contract['calls']['hasCapability']>) => Promise<CallReturn<'hasCapability'>>;
|
|
2115
2531
|
getRegistries: (...args: ExtractArgs<Contract['calls']['getRegistries']>) => Promise<CallReturn<'getRegistries'>>;
|
|
2116
2532
|
isYieldLego: (...args: ExtractArgs<Contract['calls']['isYieldLego']>) => Promise<CallReturn<'isYieldLego'>>;
|
|
2117
2533
|
isDexLego: (...args: ExtractArgs<Contract['calls']['isDexLego']>) => Promise<CallReturn<'isDexLego'>>;
|
|
2118
|
-
isEligibleVaultForTrialFunds: (...args: ExtractArgs<Contract['calls']['isEligibleVaultForTrialFunds']>) => Promise<CallReturn<'isEligibleVaultForTrialFunds'>>;
|
|
2119
|
-
isEligibleForYieldBonus: (...args: ExtractArgs<Contract['calls']['isEligibleForYieldBonus']>) => Promise<CallReturn<'isEligibleForYieldBonus'>>;
|
|
2120
|
-
isRebasing: (...args: ExtractArgs<Contract['calls']['isRebasing']>) => Promise<CallReturn<'isRebasing'>>;
|
|
2121
|
-
isVaultToken: (...args: ExtractArgs<Contract['calls']['isVaultToken']>) => Promise<CallReturn<'isVaultToken'>>;
|
|
2122
2534
|
getUnderlyingAsset: (...args: ExtractArgs<Contract['calls']['getUnderlyingAsset']>) => Promise<CallReturn<'getUnderlyingAsset'>>;
|
|
2535
|
+
getUnderlyingBalances: (...args: ExtractArgs<Contract['calls']['getUnderlyingBalances']>) => Promise<CallReturn<'getUnderlyingBalances'>>;
|
|
2123
2536
|
getUnderlyingAmount: (...args: ExtractArgs<Contract['calls']['getUnderlyingAmount']>) => Promise<CallReturn<'getUnderlyingAmount'>>;
|
|
2124
|
-
|
|
2125
|
-
getUsdValueOfVaultToken: (...args: ExtractArgs<Contract['calls']['getUsdValueOfVaultToken']>) => Promise<CallReturn<'getUsdValueOfVaultToken'>>;
|
|
2537
|
+
getUnderlyingAmountSafe: (...args: ExtractArgs<Contract['calls']['getUnderlyingAmountSafe']>) => Promise<CallReturn<'getUnderlyingAmountSafe'>>;
|
|
2126
2538
|
getUnderlyingData: (...args: ExtractArgs<Contract['calls']['getUnderlyingData']>) => Promise<CallReturn<'getUnderlyingData'>>;
|
|
2539
|
+
getUsdValueOfVaultToken: (...args: ExtractArgs<Contract['calls']['getUsdValueOfVaultToken']>) => Promise<CallReturn<'getUsdValueOfVaultToken'>>;
|
|
2540
|
+
isRebasing: (...args: ExtractArgs<Contract['calls']['isRebasing']>) => Promise<CallReturn<'isRebasing'>>;
|
|
2541
|
+
getPricePerShare: (...args: ExtractArgs<Contract['calls']['getPricePerShare']>) => Promise<CallReturn<'getPricePerShare'>>;
|
|
2542
|
+
getVaultTokenAmount: (...args: ExtractArgs<Contract['calls']['getVaultTokenAmount']>) => Promise<CallReturn<'getVaultTokenAmount'>>;
|
|
2127
2543
|
totalAssets: (...args: ExtractArgs<Contract['calls']['totalAssets']>) => Promise<CallReturn<'totalAssets'>>;
|
|
2128
2544
|
totalBorrows: (...args: ExtractArgs<Contract['calls']['totalBorrows']>) => Promise<CallReturn<'totalBorrows'>>;
|
|
2129
|
-
|
|
2545
|
+
getAvailLiquidity: (...args: ExtractArgs<Contract['calls']['getAvailLiquidity']>) => Promise<CallReturn<'getAvailLiquidity'>>;
|
|
2546
|
+
getUtilizationRatio: (...args: ExtractArgs<Contract['calls']['getUtilizationRatio']>) => Promise<CallReturn<'getUtilizationRatio'>>;
|
|
2547
|
+
isEligibleForYieldBonus: (...args: ExtractArgs<Contract['calls']['isEligibleForYieldBonus']>) => Promise<CallReturn<'isEligibleForYieldBonus'>>;
|
|
2548
|
+
getWithdrawalFees: (...args: ExtractArgs<Contract['calls']['getWithdrawalFees']>) => Promise<CallReturn<'getWithdrawalFees'>>;
|
|
2549
|
+
canRegisterVaultToken: (...args: ExtractArgs<Contract['calls']['canRegisterVaultToken']>) => Promise<CallReturn<'canRegisterVaultToken'>>;
|
|
2130
2550
|
getAccessForLego: (...args: ExtractArgs<Contract['calls']['getAccessForLego']>) => Promise<CallReturn<'getAccessForLego'>>;
|
|
2131
|
-
getPrice: (...args: ExtractArgs<Contract['calls']['getPrice']>) => Promise<CallReturn<'getPrice'>>;
|
|
2132
2551
|
compoundRewards: (...args: ExtractArgs<Contract['calls']['compoundRewards']>) => Promise<CallReturn<'compoundRewards'>>;
|
|
2133
2552
|
COMPOUND_V3_CONFIGURATOR: (...args: ExtractArgs<Contract['calls']['COMPOUND_V3_CONFIGURATOR']>) => Promise<CallReturn<'COMPOUND_V3_CONFIGURATOR'>>;
|
|
2553
|
+
RIPE_REGISTRY: (...args: ExtractArgs<Contract['calls']['RIPE_REGISTRY']>) => Promise<CallReturn<'RIPE_REGISTRY'>>;
|
|
2134
2554
|
pause: (...args: ExtractArgs<Contract['mutations']['pause']>) => Promise<Address>;
|
|
2135
2555
|
recoverFunds: (...args: ExtractArgs<Contract['mutations']['recoverFunds']>) => Promise<Address>;
|
|
2136
2556
|
recoverFundsMany: (...args: ExtractArgs<Contract['mutations']['recoverFundsMany']>) => Promise<Address>;
|
|
2557
|
+
setSnapShotPriceConfig: (...args: ExtractArgs<Contract['mutations']['setSnapShotPriceConfig']>) => Promise<Address>;
|
|
2558
|
+
registerVaultTokenLocally: (...args: ExtractArgs<Contract['mutations']['registerVaultTokenLocally']>) => Promise<Address>;
|
|
2559
|
+
deregisterVaultTokenLocally: (...args: ExtractArgs<Contract['mutations']['deregisterVaultTokenLocally']>) => Promise<Address>;
|
|
2137
2560
|
depositForYield: (...args: ExtractArgs<Contract['mutations']['depositForYield']>) => Promise<Address>;
|
|
2138
2561
|
withdrawFromYield: (...args: ExtractArgs<Contract['mutations']['withdrawFromYield']>) => Promise<Address>;
|
|
2562
|
+
claimIncentives: (...args: ExtractArgs<Contract['mutations']['claimIncentives']>) => Promise<Address>;
|
|
2139
2563
|
claimRewards: (...args: ExtractArgs<Contract['mutations']['claimRewards']>) => Promise<Address>;
|
|
2140
2564
|
hasClaimableRewards: (...args: ExtractArgs<Contract['mutations']['hasClaimableRewards']>) => Promise<Address>;
|
|
2141
2565
|
setCompRewardsAddr: (...args: ExtractArgs<Contract['mutations']['setCompRewardsAddr']>) => Promise<Address>;
|
|
2142
|
-
|
|
2143
|
-
removeAssetOpportunity: (...args: ExtractArgs<Contract['mutations']['removeAssetOpportunity']>) => Promise<Address>;
|
|
2566
|
+
addPriceSnapshot: (...args: ExtractArgs<Contract['mutations']['addPriceSnapshot']>) => Promise<Address>;
|
|
2144
2567
|
swapTokens: (...args: ExtractArgs<Contract['mutations']['swapTokens']>) => Promise<Address>;
|
|
2145
2568
|
mintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['mintOrRedeemAsset']>) => Promise<Address>;
|
|
2146
2569
|
confirmMintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['confirmMintOrRedeemAsset']>) => Promise<Address>;
|