@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
|
@@ -1,390 +0,0 @@
|
|
|
1
|
-
import { PublicClient, WalletClient } from 'viem';
|
|
2
|
-
type ExtractArgs<T> = T extends (...args: infer P) => any ? P : never;
|
|
3
|
-
type Address = `0x${string}`;
|
|
4
|
-
export declare const abi: readonly [{
|
|
5
|
-
readonly stateMutability: "nonpayable";
|
|
6
|
-
readonly type: "function";
|
|
7
|
-
readonly name: "depositTokens";
|
|
8
|
-
readonly inputs: readonly [{
|
|
9
|
-
readonly name: "_asset";
|
|
10
|
-
readonly type: "address";
|
|
11
|
-
}, {
|
|
12
|
-
readonly name: "_amount";
|
|
13
|
-
readonly type: "uint256";
|
|
14
|
-
}, {
|
|
15
|
-
readonly name: "_vault";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}, {
|
|
18
|
-
readonly name: "_recipient";
|
|
19
|
-
readonly type: "address";
|
|
20
|
-
}];
|
|
21
|
-
readonly outputs: readonly [{
|
|
22
|
-
readonly name: "";
|
|
23
|
-
readonly type: "uint256";
|
|
24
|
-
}, {
|
|
25
|
-
readonly name: "";
|
|
26
|
-
readonly type: "address";
|
|
27
|
-
}, {
|
|
28
|
-
readonly name: "";
|
|
29
|
-
readonly type: "uint256";
|
|
30
|
-
}, {
|
|
31
|
-
readonly name: "";
|
|
32
|
-
readonly type: "uint256";
|
|
33
|
-
}, {
|
|
34
|
-
readonly name: "";
|
|
35
|
-
readonly type: "uint256";
|
|
36
|
-
}];
|
|
37
|
-
}, {
|
|
38
|
-
readonly stateMutability: "nonpayable";
|
|
39
|
-
readonly type: "function";
|
|
40
|
-
readonly name: "depositTokens";
|
|
41
|
-
readonly inputs: readonly [{
|
|
42
|
-
readonly name: "_asset";
|
|
43
|
-
readonly type: "address";
|
|
44
|
-
}, {
|
|
45
|
-
readonly name: "_amount";
|
|
46
|
-
readonly type: "uint256";
|
|
47
|
-
}, {
|
|
48
|
-
readonly name: "_vault";
|
|
49
|
-
readonly type: "address";
|
|
50
|
-
}, {
|
|
51
|
-
readonly name: "_recipient";
|
|
52
|
-
readonly type: "address";
|
|
53
|
-
}, {
|
|
54
|
-
readonly name: "_oracleRegistry";
|
|
55
|
-
readonly type: "address";
|
|
56
|
-
}];
|
|
57
|
-
readonly outputs: readonly [{
|
|
58
|
-
readonly name: "";
|
|
59
|
-
readonly type: "uint256";
|
|
60
|
-
}, {
|
|
61
|
-
readonly name: "";
|
|
62
|
-
readonly type: "address";
|
|
63
|
-
}, {
|
|
64
|
-
readonly name: "";
|
|
65
|
-
readonly type: "uint256";
|
|
66
|
-
}, {
|
|
67
|
-
readonly name: "";
|
|
68
|
-
readonly type: "uint256";
|
|
69
|
-
}, {
|
|
70
|
-
readonly name: "";
|
|
71
|
-
readonly type: "uint256";
|
|
72
|
-
}];
|
|
73
|
-
}, {
|
|
74
|
-
readonly stateMutability: "nonpayable";
|
|
75
|
-
readonly type: "function";
|
|
76
|
-
readonly name: "withdrawTokens";
|
|
77
|
-
readonly inputs: readonly [{
|
|
78
|
-
readonly name: "_asset";
|
|
79
|
-
readonly type: "address";
|
|
80
|
-
}, {
|
|
81
|
-
readonly name: "_amount";
|
|
82
|
-
readonly type: "uint256";
|
|
83
|
-
}, {
|
|
84
|
-
readonly name: "_vaultToken";
|
|
85
|
-
readonly type: "address";
|
|
86
|
-
}, {
|
|
87
|
-
readonly name: "_recipient";
|
|
88
|
-
readonly type: "address";
|
|
89
|
-
}];
|
|
90
|
-
readonly outputs: readonly [{
|
|
91
|
-
readonly name: "";
|
|
92
|
-
readonly type: "uint256";
|
|
93
|
-
}, {
|
|
94
|
-
readonly name: "";
|
|
95
|
-
readonly type: "uint256";
|
|
96
|
-
}, {
|
|
97
|
-
readonly name: "";
|
|
98
|
-
readonly type: "uint256";
|
|
99
|
-
}, {
|
|
100
|
-
readonly name: "";
|
|
101
|
-
readonly type: "uint256";
|
|
102
|
-
}];
|
|
103
|
-
}, {
|
|
104
|
-
readonly stateMutability: "nonpayable";
|
|
105
|
-
readonly type: "function";
|
|
106
|
-
readonly name: "withdrawTokens";
|
|
107
|
-
readonly inputs: readonly [{
|
|
108
|
-
readonly name: "_asset";
|
|
109
|
-
readonly type: "address";
|
|
110
|
-
}, {
|
|
111
|
-
readonly name: "_amount";
|
|
112
|
-
readonly type: "uint256";
|
|
113
|
-
}, {
|
|
114
|
-
readonly name: "_vaultToken";
|
|
115
|
-
readonly type: "address";
|
|
116
|
-
}, {
|
|
117
|
-
readonly name: "_recipient";
|
|
118
|
-
readonly type: "address";
|
|
119
|
-
}, {
|
|
120
|
-
readonly name: "_oracleRegistry";
|
|
121
|
-
readonly type: "address";
|
|
122
|
-
}];
|
|
123
|
-
readonly outputs: readonly [{
|
|
124
|
-
readonly name: "";
|
|
125
|
-
readonly type: "uint256";
|
|
126
|
-
}, {
|
|
127
|
-
readonly name: "";
|
|
128
|
-
readonly type: "uint256";
|
|
129
|
-
}, {
|
|
130
|
-
readonly name: "";
|
|
131
|
-
readonly type: "uint256";
|
|
132
|
-
}, {
|
|
133
|
-
readonly name: "";
|
|
134
|
-
readonly type: "uint256";
|
|
135
|
-
}];
|
|
136
|
-
}, {
|
|
137
|
-
readonly stateMutability: "view";
|
|
138
|
-
readonly type: "function";
|
|
139
|
-
readonly name: "getAssetOpportunities";
|
|
140
|
-
readonly inputs: readonly [{
|
|
141
|
-
readonly name: "_asset";
|
|
142
|
-
readonly type: "address";
|
|
143
|
-
}];
|
|
144
|
-
readonly outputs: readonly [{
|
|
145
|
-
readonly name: "";
|
|
146
|
-
readonly type: "address[]";
|
|
147
|
-
}];
|
|
148
|
-
}, {
|
|
149
|
-
readonly stateMutability: "view";
|
|
150
|
-
readonly type: "function";
|
|
151
|
-
readonly name: "getUnderlyingAmount";
|
|
152
|
-
readonly inputs: readonly [{
|
|
153
|
-
readonly name: "_vaultToken";
|
|
154
|
-
readonly type: "address";
|
|
155
|
-
}, {
|
|
156
|
-
readonly name: "_vaultTokenAmount";
|
|
157
|
-
readonly type: "uint256";
|
|
158
|
-
}];
|
|
159
|
-
readonly outputs: readonly [{
|
|
160
|
-
readonly name: "";
|
|
161
|
-
readonly type: "uint256";
|
|
162
|
-
}];
|
|
163
|
-
}, {
|
|
164
|
-
readonly stateMutability: "view";
|
|
165
|
-
readonly type: "function";
|
|
166
|
-
readonly name: "getUnderlyingAsset";
|
|
167
|
-
readonly inputs: readonly [{
|
|
168
|
-
readonly name: "_vaultToken";
|
|
169
|
-
readonly type: "address";
|
|
170
|
-
}];
|
|
171
|
-
readonly outputs: readonly [{
|
|
172
|
-
readonly name: "";
|
|
173
|
-
readonly type: "address";
|
|
174
|
-
}];
|
|
175
|
-
}, {
|
|
176
|
-
readonly stateMutability: "view";
|
|
177
|
-
readonly type: "function";
|
|
178
|
-
readonly name: "getAssets";
|
|
179
|
-
readonly inputs: readonly [];
|
|
180
|
-
readonly outputs: readonly [{
|
|
181
|
-
readonly name: "";
|
|
182
|
-
readonly type: "address[]";
|
|
183
|
-
}];
|
|
184
|
-
}, {
|
|
185
|
-
readonly stateMutability: "view";
|
|
186
|
-
readonly type: "function";
|
|
187
|
-
readonly name: "isVaultToken";
|
|
188
|
-
readonly inputs: readonly [{
|
|
189
|
-
readonly name: "_vaultToken";
|
|
190
|
-
readonly type: "address";
|
|
191
|
-
}];
|
|
192
|
-
readonly outputs: readonly [{
|
|
193
|
-
readonly name: "";
|
|
194
|
-
readonly type: "bool";
|
|
195
|
-
}];
|
|
196
|
-
}, {
|
|
197
|
-
readonly stateMutability: "view";
|
|
198
|
-
readonly type: "function";
|
|
199
|
-
readonly name: "getVaultTokenAmount";
|
|
200
|
-
readonly inputs: readonly [{
|
|
201
|
-
readonly name: "_asset";
|
|
202
|
-
readonly type: "address";
|
|
203
|
-
}, {
|
|
204
|
-
readonly name: "_assetAmount";
|
|
205
|
-
readonly type: "uint256";
|
|
206
|
-
}, {
|
|
207
|
-
readonly name: "_vaultToken";
|
|
208
|
-
readonly type: "address";
|
|
209
|
-
}];
|
|
210
|
-
readonly outputs: readonly [{
|
|
211
|
-
readonly name: "";
|
|
212
|
-
readonly type: "uint256";
|
|
213
|
-
}];
|
|
214
|
-
}, {
|
|
215
|
-
readonly stateMutability: "view";
|
|
216
|
-
readonly type: "function";
|
|
217
|
-
readonly name: "getUsdValueOfVaultToken";
|
|
218
|
-
readonly inputs: readonly [{
|
|
219
|
-
readonly name: "_vaultToken";
|
|
220
|
-
readonly type: "address";
|
|
221
|
-
}, {
|
|
222
|
-
readonly name: "_vaultTokenAmount";
|
|
223
|
-
readonly type: "uint256";
|
|
224
|
-
}];
|
|
225
|
-
readonly outputs: readonly [{
|
|
226
|
-
readonly name: "";
|
|
227
|
-
readonly type: "uint256";
|
|
228
|
-
}];
|
|
229
|
-
}, {
|
|
230
|
-
readonly stateMutability: "view";
|
|
231
|
-
readonly type: "function";
|
|
232
|
-
readonly name: "getUsdValueOfVaultToken";
|
|
233
|
-
readonly inputs: readonly [{
|
|
234
|
-
readonly name: "_vaultToken";
|
|
235
|
-
readonly type: "address";
|
|
236
|
-
}, {
|
|
237
|
-
readonly name: "_vaultTokenAmount";
|
|
238
|
-
readonly type: "uint256";
|
|
239
|
-
}, {
|
|
240
|
-
readonly name: "_oracleRegistry";
|
|
241
|
-
readonly type: "address";
|
|
242
|
-
}];
|
|
243
|
-
readonly outputs: readonly [{
|
|
244
|
-
readonly name: "";
|
|
245
|
-
readonly type: "uint256";
|
|
246
|
-
}];
|
|
247
|
-
}, {
|
|
248
|
-
readonly stateMutability: "view";
|
|
249
|
-
readonly type: "function";
|
|
250
|
-
readonly name: "getUnderlyingData";
|
|
251
|
-
readonly inputs: readonly [{
|
|
252
|
-
readonly name: "_vaultToken";
|
|
253
|
-
readonly type: "address";
|
|
254
|
-
}, {
|
|
255
|
-
readonly name: "_vaultTokenAmount";
|
|
256
|
-
readonly type: "uint256";
|
|
257
|
-
}];
|
|
258
|
-
readonly outputs: readonly [{
|
|
259
|
-
readonly name: "";
|
|
260
|
-
readonly type: "address";
|
|
261
|
-
}, {
|
|
262
|
-
readonly name: "";
|
|
263
|
-
readonly type: "uint256";
|
|
264
|
-
}, {
|
|
265
|
-
readonly name: "";
|
|
266
|
-
readonly type: "uint256";
|
|
267
|
-
}];
|
|
268
|
-
}, {
|
|
269
|
-
readonly stateMutability: "view";
|
|
270
|
-
readonly type: "function";
|
|
271
|
-
readonly name: "getUnderlyingData";
|
|
272
|
-
readonly inputs: readonly [{
|
|
273
|
-
readonly name: "_vaultToken";
|
|
274
|
-
readonly type: "address";
|
|
275
|
-
}, {
|
|
276
|
-
readonly name: "_vaultTokenAmount";
|
|
277
|
-
readonly type: "uint256";
|
|
278
|
-
}, {
|
|
279
|
-
readonly name: "_oracleRegistry";
|
|
280
|
-
readonly type: "address";
|
|
281
|
-
}];
|
|
282
|
-
readonly outputs: readonly [{
|
|
283
|
-
readonly name: "";
|
|
284
|
-
readonly type: "address";
|
|
285
|
-
}, {
|
|
286
|
-
readonly name: "";
|
|
287
|
-
readonly type: "uint256";
|
|
288
|
-
}, {
|
|
289
|
-
readonly name: "";
|
|
290
|
-
readonly type: "uint256";
|
|
291
|
-
}];
|
|
292
|
-
}, {
|
|
293
|
-
readonly stateMutability: "view";
|
|
294
|
-
readonly type: "function";
|
|
295
|
-
readonly name: "totalAssets";
|
|
296
|
-
readonly inputs: readonly [{
|
|
297
|
-
readonly name: "_vaultToken";
|
|
298
|
-
readonly type: "address";
|
|
299
|
-
}];
|
|
300
|
-
readonly outputs: readonly [{
|
|
301
|
-
readonly name: "";
|
|
302
|
-
readonly type: "uint256";
|
|
303
|
-
}];
|
|
304
|
-
}, {
|
|
305
|
-
readonly stateMutability: "view";
|
|
306
|
-
readonly type: "function";
|
|
307
|
-
readonly name: "totalBorrows";
|
|
308
|
-
readonly inputs: readonly [{
|
|
309
|
-
readonly name: "_vaultToken";
|
|
310
|
-
readonly type: "address";
|
|
311
|
-
}];
|
|
312
|
-
readonly outputs: readonly [{
|
|
313
|
-
readonly name: "";
|
|
314
|
-
readonly type: "uint256";
|
|
315
|
-
}];
|
|
316
|
-
}];
|
|
317
|
-
export declare const deployAddress: Address | undefined;
|
|
318
|
-
export type Contract = {
|
|
319
|
-
calls: {
|
|
320
|
-
getAssetOpportunities: (asset: `0x${string}`) => Promise<`0x${string}`[]>;
|
|
321
|
-
getUnderlyingAmount: (vaultToken: `0x${string}`, vaultTokenAmount: bigint) => Promise<bigint>;
|
|
322
|
-
getUnderlyingAsset: (vaultToken: `0x${string}`) => Promise<`0x${string}`>;
|
|
323
|
-
getAssets: () => Promise<`0x${string}`[]>;
|
|
324
|
-
isVaultToken: (vaultToken: `0x${string}`) => Promise<boolean>;
|
|
325
|
-
getVaultTokenAmount: (asset: `0x${string}`, assetAmount: bigint, vaultToken: `0x${string}`) => Promise<bigint>;
|
|
326
|
-
getUsdValueOfVaultToken: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, oracleRegistry?: `0x${string}`) => Promise<bigint>;
|
|
327
|
-
getUnderlyingData: (vaultToken: `0x${string}`, vaultTokenAmount: bigint, oracleRegistry?: `0x${string}`) => Promise<[`0x${string}`, bigint, bigint]>;
|
|
328
|
-
totalAssets: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
329
|
-
totalBorrows: (vaultToken: `0x${string}`) => Promise<bigint>;
|
|
330
|
-
};
|
|
331
|
-
mutations: {
|
|
332
|
-
depositTokens: (asset: `0x${string}`, amount: bigint, vault: `0x${string}`, recipient: `0x${string}`, oracleRegistry?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint, bigint]>;
|
|
333
|
-
withdrawTokens: (asset: `0x${string}`, amount: bigint, vaultToken: `0x${string}`, recipient: `0x${string}`, oracleRegistry?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
334
|
-
};
|
|
335
|
-
events: {};
|
|
336
|
-
};
|
|
337
|
-
export type Calls = keyof Contract['calls'];
|
|
338
|
-
export type Request<M extends Calls> = {
|
|
339
|
-
contractName: 'LegoYield';
|
|
340
|
-
method: M;
|
|
341
|
-
args: ExtractArgs<Contract['calls'][M]>;
|
|
342
|
-
address: Address | undefined;
|
|
343
|
-
deployAddress: Address | undefined;
|
|
344
|
-
defaultValue: Awaited<ReturnType<Contract['calls'][M]>> | undefined;
|
|
345
|
-
getAbi: () => typeof abi;
|
|
346
|
-
with: (options: {
|
|
347
|
-
contractAddress?: Address;
|
|
348
|
-
defaultValue?: Awaited<ReturnType<Contract['calls'][M]>>;
|
|
349
|
-
}) => Request<M>;
|
|
350
|
-
defaultTo: (defaultValue: Awaited<ReturnType<Contract['calls'][M]>>) => Request<M>;
|
|
351
|
-
at: (address: Address) => Request<M>;
|
|
352
|
-
};
|
|
353
|
-
export type CallReturn<M extends Calls> = NonNullable<Request<M>['defaultValue']>;
|
|
354
|
-
declare function getRequest<M extends Calls>(method: M, args: ExtractArgs<Contract['calls'][M]>, contractAddressOrOptions?: Address | {
|
|
355
|
-
contractAddress?: Address;
|
|
356
|
-
defaultValue?: Awaited<ReturnType<Contract['calls'][M]>>;
|
|
357
|
-
}): Request<M>;
|
|
358
|
-
type CallType = {
|
|
359
|
-
[K in Calls]: (...args: ExtractArgs<Contract['calls'][K]>) => ReturnType<typeof getRequest<K>>;
|
|
360
|
-
};
|
|
361
|
-
export declare const call: CallType;
|
|
362
|
-
export type Mutations = keyof Contract['mutations'];
|
|
363
|
-
export declare const mutation: {
|
|
364
|
-
[K in Mutations]: {
|
|
365
|
-
contractName: 'LegoYield';
|
|
366
|
-
deployAddress: Address | undefined;
|
|
367
|
-
getAbi: () => typeof abi;
|
|
368
|
-
functionName: K;
|
|
369
|
-
argsType: ExtractArgs<Contract['mutations'][K]> | undefined;
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
export type SDK = {
|
|
373
|
-
deployAddress: Address | undefined;
|
|
374
|
-
abi: typeof abi;
|
|
375
|
-
getAssetOpportunities: (...args: ExtractArgs<Contract['calls']['getAssetOpportunities']>) => Promise<CallReturn<'getAssetOpportunities'>>;
|
|
376
|
-
getUnderlyingAmount: (...args: ExtractArgs<Contract['calls']['getUnderlyingAmount']>) => Promise<CallReturn<'getUnderlyingAmount'>>;
|
|
377
|
-
getUnderlyingAsset: (...args: ExtractArgs<Contract['calls']['getUnderlyingAsset']>) => Promise<CallReturn<'getUnderlyingAsset'>>;
|
|
378
|
-
getAssets: (...args: ExtractArgs<Contract['calls']['getAssets']>) => Promise<CallReturn<'getAssets'>>;
|
|
379
|
-
isVaultToken: (...args: ExtractArgs<Contract['calls']['isVaultToken']>) => Promise<CallReturn<'isVaultToken'>>;
|
|
380
|
-
getVaultTokenAmount: (...args: ExtractArgs<Contract['calls']['getVaultTokenAmount']>) => Promise<CallReturn<'getVaultTokenAmount'>>;
|
|
381
|
-
getUsdValueOfVaultToken: (...args: ExtractArgs<Contract['calls']['getUsdValueOfVaultToken']>) => Promise<CallReturn<'getUsdValueOfVaultToken'>>;
|
|
382
|
-
getUnderlyingData: (...args: ExtractArgs<Contract['calls']['getUnderlyingData']>) => Promise<CallReturn<'getUnderlyingData'>>;
|
|
383
|
-
totalAssets: (...args: ExtractArgs<Contract['calls']['totalAssets']>) => Promise<CallReturn<'totalAssets'>>;
|
|
384
|
-
totalBorrows: (...args: ExtractArgs<Contract['calls']['totalBorrows']>) => Promise<CallReturn<'totalBorrows'>>;
|
|
385
|
-
depositTokens: (...args: ExtractArgs<Contract['mutations']['depositTokens']>) => Promise<Address>;
|
|
386
|
-
withdrawTokens: (...args: ExtractArgs<Contract['mutations']['withdrawTokens']>) => Promise<Address>;
|
|
387
|
-
};
|
|
388
|
-
export declare function toSdk(deployAddress: Address, publicClient?: PublicClient, walletClient?: WalletClient): SDK;
|
|
389
|
-
export {};
|
|
390
|
-
//# sourceMappingURL=LegoYield.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LegoYield.d.ts","sourceRoot":"","sources":["../../src/contracts/LegoYield.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAEjD,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,KAA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