@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
|
@@ -4,120 +4,251 @@ type Address = `0x${string}`;
|
|
|
4
4
|
export declare const abi: readonly [{
|
|
5
5
|
readonly anonymous: false;
|
|
6
6
|
readonly inputs: readonly [{
|
|
7
|
+
readonly indexed: false;
|
|
8
|
+
readonly name: "op";
|
|
9
|
+
readonly type: "uint8";
|
|
10
|
+
}, {
|
|
7
11
|
readonly indexed: true;
|
|
8
|
-
readonly name: "
|
|
12
|
+
readonly name: "asset1";
|
|
9
13
|
readonly type: "address";
|
|
10
14
|
}, {
|
|
11
15
|
readonly indexed: true;
|
|
12
|
-
readonly name: "
|
|
16
|
+
readonly name: "asset2";
|
|
13
17
|
readonly type: "address";
|
|
14
18
|
}, {
|
|
15
19
|
readonly indexed: false;
|
|
16
|
-
readonly name: "
|
|
20
|
+
readonly name: "amount1";
|
|
21
|
+
readonly type: "uint256";
|
|
22
|
+
}, {
|
|
23
|
+
readonly indexed: false;
|
|
24
|
+
readonly name: "amount2";
|
|
25
|
+
readonly type: "uint256";
|
|
26
|
+
}, {
|
|
27
|
+
readonly indexed: false;
|
|
28
|
+
readonly name: "usdValue";
|
|
17
29
|
readonly type: "uint256";
|
|
30
|
+
}, {
|
|
31
|
+
readonly indexed: false;
|
|
32
|
+
readonly name: "legoId";
|
|
33
|
+
readonly type: "uint256";
|
|
34
|
+
}, {
|
|
35
|
+
readonly indexed: true;
|
|
36
|
+
readonly name: "signer";
|
|
37
|
+
readonly type: "address";
|
|
18
38
|
}];
|
|
19
|
-
readonly name: "
|
|
39
|
+
readonly name: "WalletAction";
|
|
20
40
|
readonly type: "event";
|
|
21
41
|
}, {
|
|
22
42
|
readonly anonymous: false;
|
|
23
43
|
readonly inputs: readonly [{
|
|
44
|
+
readonly indexed: false;
|
|
45
|
+
readonly name: "op";
|
|
46
|
+
readonly type: "uint8";
|
|
47
|
+
}, {
|
|
24
48
|
readonly indexed: true;
|
|
25
|
-
readonly name: "
|
|
49
|
+
readonly name: "asset1";
|
|
26
50
|
readonly type: "address";
|
|
27
51
|
}, {
|
|
28
52
|
readonly indexed: true;
|
|
29
|
-
readonly name: "
|
|
53
|
+
readonly name: "asset2";
|
|
30
54
|
readonly type: "address";
|
|
31
55
|
}, {
|
|
32
56
|
readonly indexed: false;
|
|
33
|
-
readonly name: "
|
|
57
|
+
readonly name: "tokenId";
|
|
34
58
|
readonly type: "uint256";
|
|
35
59
|
}, {
|
|
36
60
|
readonly indexed: false;
|
|
37
|
-
readonly name: "
|
|
61
|
+
readonly name: "amount1";
|
|
62
|
+
readonly type: "uint256";
|
|
63
|
+
}, {
|
|
64
|
+
readonly indexed: false;
|
|
65
|
+
readonly name: "amount2";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}, {
|
|
68
|
+
readonly indexed: false;
|
|
69
|
+
readonly name: "usdValue";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}, {
|
|
72
|
+
readonly indexed: false;
|
|
73
|
+
readonly name: "extra";
|
|
38
74
|
readonly type: "uint256";
|
|
39
75
|
}];
|
|
40
|
-
readonly name: "
|
|
76
|
+
readonly name: "WalletActionExt";
|
|
41
77
|
readonly type: "event";
|
|
42
78
|
}, {
|
|
43
|
-
readonly anonymous: false;
|
|
44
79
|
readonly inputs: readonly [{
|
|
45
|
-
readonly
|
|
46
|
-
readonly name: "cancelledOwner";
|
|
80
|
+
readonly name: "_operator";
|
|
47
81
|
readonly type: "address";
|
|
48
82
|
}, {
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly type: "uint256";
|
|
83
|
+
readonly name: "_owner";
|
|
84
|
+
readonly type: "address";
|
|
52
85
|
}, {
|
|
53
|
-
readonly
|
|
54
|
-
readonly name: "confirmBlock";
|
|
86
|
+
readonly name: "_tokenId";
|
|
55
87
|
readonly type: "uint256";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "_data";
|
|
90
|
+
readonly type: "bytes";
|
|
56
91
|
}];
|
|
57
|
-
readonly name: "
|
|
58
|
-
readonly
|
|
92
|
+
readonly name: "onERC721Received";
|
|
93
|
+
readonly outputs: readonly [{
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "bytes4";
|
|
96
|
+
}];
|
|
97
|
+
readonly stateMutability: "view";
|
|
98
|
+
readonly type: "function";
|
|
99
|
+
}, {
|
|
100
|
+
readonly stateMutability: "payable";
|
|
101
|
+
readonly type: "fallback";
|
|
102
|
+
}, {
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly name: "apiVersion";
|
|
105
|
+
readonly outputs: readonly [{
|
|
106
|
+
readonly name: "";
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
}];
|
|
109
|
+
readonly stateMutability: "pure";
|
|
110
|
+
readonly type: "function";
|
|
59
111
|
}, {
|
|
60
|
-
readonly anonymous: false;
|
|
61
112
|
readonly inputs: readonly [{
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
113
|
+
readonly name: "_recipient";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
}];
|
|
116
|
+
readonly name: "transferFunds";
|
|
117
|
+
readonly outputs: readonly [{
|
|
118
|
+
readonly name: "";
|
|
119
|
+
readonly type: "uint256";
|
|
120
|
+
}, {
|
|
121
|
+
readonly name: "";
|
|
64
122
|
readonly type: "uint256";
|
|
65
123
|
}];
|
|
66
|
-
readonly
|
|
67
|
-
readonly type: "
|
|
124
|
+
readonly stateMutability: "nonpayable";
|
|
125
|
+
readonly type: "function";
|
|
68
126
|
}, {
|
|
69
|
-
readonly anonymous: false;
|
|
70
127
|
readonly inputs: readonly [{
|
|
71
|
-
readonly
|
|
72
|
-
readonly name: "asset";
|
|
128
|
+
readonly name: "_recipient";
|
|
73
129
|
readonly type: "address";
|
|
74
130
|
}, {
|
|
75
|
-
readonly
|
|
76
|
-
readonly name: "recipient";
|
|
131
|
+
readonly name: "_asset";
|
|
77
132
|
readonly type: "address";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "transferFunds";
|
|
135
|
+
readonly outputs: readonly [{
|
|
136
|
+
readonly name: "";
|
|
137
|
+
readonly type: "uint256";
|
|
78
138
|
}, {
|
|
79
|
-
readonly
|
|
80
|
-
readonly name: "balance";
|
|
139
|
+
readonly name: "";
|
|
81
140
|
readonly type: "uint256";
|
|
82
141
|
}];
|
|
83
|
-
readonly
|
|
84
|
-
readonly type: "
|
|
142
|
+
readonly stateMutability: "nonpayable";
|
|
143
|
+
readonly type: "function";
|
|
85
144
|
}, {
|
|
86
145
|
readonly inputs: readonly [{
|
|
87
|
-
readonly name: "
|
|
146
|
+
readonly name: "_recipient";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "_asset";
|
|
88
150
|
readonly type: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "_amount";
|
|
153
|
+
readonly type: "uint256";
|
|
89
154
|
}];
|
|
90
|
-
readonly name: "
|
|
155
|
+
readonly name: "transferFunds";
|
|
91
156
|
readonly outputs: readonly [{
|
|
92
157
|
readonly name: "";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "";
|
|
161
|
+
readonly type: "uint256";
|
|
162
|
+
}];
|
|
163
|
+
readonly stateMutability: "nonpayable";
|
|
164
|
+
readonly type: "function";
|
|
165
|
+
}, {
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly name: "_recipient";
|
|
168
|
+
readonly type: "address";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "_asset";
|
|
171
|
+
readonly type: "address";
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: "_amount";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "_isCheque";
|
|
93
177
|
readonly type: "bool";
|
|
94
178
|
}];
|
|
179
|
+
readonly name: "transferFunds";
|
|
180
|
+
readonly outputs: readonly [{
|
|
181
|
+
readonly name: "";
|
|
182
|
+
readonly type: "uint256";
|
|
183
|
+
}, {
|
|
184
|
+
readonly name: "";
|
|
185
|
+
readonly type: "uint256";
|
|
186
|
+
}];
|
|
95
187
|
readonly stateMutability: "nonpayable";
|
|
96
188
|
readonly type: "function";
|
|
97
189
|
}, {
|
|
98
|
-
readonly inputs: readonly [
|
|
99
|
-
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly name: "_recipient";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "_asset";
|
|
195
|
+
readonly type: "address";
|
|
196
|
+
}, {
|
|
197
|
+
readonly name: "_amount";
|
|
198
|
+
readonly type: "uint256";
|
|
199
|
+
}, {
|
|
200
|
+
readonly name: "_isCheque";
|
|
201
|
+
readonly type: "bool";
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: "_isSpecialTx";
|
|
204
|
+
readonly type: "bool";
|
|
205
|
+
}];
|
|
206
|
+
readonly name: "transferFunds";
|
|
100
207
|
readonly outputs: readonly [{
|
|
101
208
|
readonly name: "";
|
|
102
|
-
readonly type: "
|
|
209
|
+
readonly type: "uint256";
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "";
|
|
212
|
+
readonly type: "uint256";
|
|
103
213
|
}];
|
|
104
|
-
readonly stateMutability: "
|
|
214
|
+
readonly stateMutability: "nonpayable";
|
|
105
215
|
readonly type: "function";
|
|
106
216
|
}, {
|
|
107
217
|
readonly inputs: readonly [{
|
|
108
|
-
readonly name: "
|
|
218
|
+
readonly name: "_legoId";
|
|
219
|
+
readonly type: "uint256";
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "_asset";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}];
|
|
224
|
+
readonly name: "depositForYield";
|
|
225
|
+
readonly outputs: readonly [{
|
|
226
|
+
readonly name: "";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
}, {
|
|
229
|
+
readonly name: "";
|
|
109
230
|
readonly type: "address";
|
|
110
231
|
}, {
|
|
232
|
+
readonly name: "";
|
|
233
|
+
readonly type: "uint256";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "";
|
|
236
|
+
readonly type: "uint256";
|
|
237
|
+
}];
|
|
238
|
+
readonly stateMutability: "nonpayable";
|
|
239
|
+
readonly type: "function";
|
|
240
|
+
}, {
|
|
241
|
+
readonly inputs: readonly [{
|
|
111
242
|
readonly name: "_legoId";
|
|
112
243
|
readonly type: "uint256";
|
|
113
244
|
}, {
|
|
114
245
|
readonly name: "_asset";
|
|
115
246
|
readonly type: "address";
|
|
116
247
|
}, {
|
|
117
|
-
readonly name: "
|
|
248
|
+
readonly name: "_vaultAddr";
|
|
118
249
|
readonly type: "address";
|
|
119
250
|
}];
|
|
120
|
-
readonly name: "
|
|
251
|
+
readonly name: "depositForYield";
|
|
121
252
|
readonly outputs: readonly [{
|
|
122
253
|
readonly name: "";
|
|
123
254
|
readonly type: "uint256";
|
|
@@ -135,22 +266,19 @@ export declare const abi: readonly [{
|
|
|
135
266
|
readonly type: "function";
|
|
136
267
|
}, {
|
|
137
268
|
readonly inputs: readonly [{
|
|
138
|
-
readonly name: "_userWallet";
|
|
139
|
-
readonly type: "address";
|
|
140
|
-
}, {
|
|
141
269
|
readonly name: "_legoId";
|
|
142
270
|
readonly type: "uint256";
|
|
143
271
|
}, {
|
|
144
272
|
readonly name: "_asset";
|
|
145
273
|
readonly type: "address";
|
|
146
274
|
}, {
|
|
147
|
-
readonly name: "
|
|
275
|
+
readonly name: "_vaultAddr";
|
|
148
276
|
readonly type: "address";
|
|
149
277
|
}, {
|
|
150
278
|
readonly name: "_amount";
|
|
151
279
|
readonly type: "uint256";
|
|
152
280
|
}];
|
|
153
|
-
readonly name: "
|
|
281
|
+
readonly name: "depositForYield";
|
|
154
282
|
readonly outputs: readonly [{
|
|
155
283
|
readonly name: "";
|
|
156
284
|
readonly type: "uint256";
|
|
@@ -168,35 +296,22 @@ export declare const abi: readonly [{
|
|
|
168
296
|
readonly type: "function";
|
|
169
297
|
}, {
|
|
170
298
|
readonly inputs: readonly [{
|
|
171
|
-
readonly name: "_userWallet";
|
|
172
|
-
readonly type: "address";
|
|
173
|
-
}, {
|
|
174
299
|
readonly name: "_legoId";
|
|
175
300
|
readonly type: "uint256";
|
|
176
301
|
}, {
|
|
177
302
|
readonly name: "_asset";
|
|
178
303
|
readonly type: "address";
|
|
179
304
|
}, {
|
|
180
|
-
readonly name: "
|
|
305
|
+
readonly name: "_vaultAddr";
|
|
181
306
|
readonly type: "address";
|
|
182
307
|
}, {
|
|
183
308
|
readonly name: "_amount";
|
|
184
309
|
readonly type: "uint256";
|
|
185
310
|
}, {
|
|
186
|
-
readonly
|
|
187
|
-
|
|
188
|
-
readonly type: "bytes";
|
|
189
|
-
}, {
|
|
190
|
-
readonly name: "signer";
|
|
191
|
-
readonly type: "address";
|
|
192
|
-
}, {
|
|
193
|
-
readonly name: "expiration";
|
|
194
|
-
readonly type: "uint256";
|
|
195
|
-
}];
|
|
196
|
-
readonly name: "_sig";
|
|
197
|
-
readonly type: "tuple";
|
|
311
|
+
readonly name: "_extraData";
|
|
312
|
+
readonly type: "bytes32";
|
|
198
313
|
}];
|
|
199
|
-
readonly name: "
|
|
314
|
+
readonly name: "depositForYield";
|
|
200
315
|
readonly outputs: readonly [{
|
|
201
316
|
readonly name: "";
|
|
202
317
|
readonly type: "uint256";
|
|
@@ -214,22 +329,19 @@ export declare const abi: readonly [{
|
|
|
214
329
|
readonly type: "function";
|
|
215
330
|
}, {
|
|
216
331
|
readonly inputs: readonly [{
|
|
217
|
-
readonly name: "_userWallet";
|
|
218
|
-
readonly type: "address";
|
|
219
|
-
}, {
|
|
220
332
|
readonly name: "_legoId";
|
|
221
333
|
readonly type: "uint256";
|
|
222
|
-
}, {
|
|
223
|
-
readonly name: "_asset";
|
|
224
|
-
readonly type: "address";
|
|
225
334
|
}, {
|
|
226
335
|
readonly name: "_vaultToken";
|
|
227
336
|
readonly type: "address";
|
|
228
337
|
}];
|
|
229
|
-
readonly name: "
|
|
338
|
+
readonly name: "withdrawFromYield";
|
|
230
339
|
readonly outputs: readonly [{
|
|
231
340
|
readonly name: "";
|
|
232
341
|
readonly type: "uint256";
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "";
|
|
344
|
+
readonly type: "address";
|
|
233
345
|
}, {
|
|
234
346
|
readonly name: "";
|
|
235
347
|
readonly type: "uint256";
|
|
@@ -241,25 +353,22 @@ export declare const abi: readonly [{
|
|
|
241
353
|
readonly type: "function";
|
|
242
354
|
}, {
|
|
243
355
|
readonly inputs: readonly [{
|
|
244
|
-
readonly name: "_userWallet";
|
|
245
|
-
readonly type: "address";
|
|
246
|
-
}, {
|
|
247
356
|
readonly name: "_legoId";
|
|
248
357
|
readonly type: "uint256";
|
|
249
|
-
}, {
|
|
250
|
-
readonly name: "_asset";
|
|
251
|
-
readonly type: "address";
|
|
252
358
|
}, {
|
|
253
359
|
readonly name: "_vaultToken";
|
|
254
360
|
readonly type: "address";
|
|
255
361
|
}, {
|
|
256
|
-
readonly name: "
|
|
362
|
+
readonly name: "_amount";
|
|
257
363
|
readonly type: "uint256";
|
|
258
364
|
}];
|
|
259
|
-
readonly name: "
|
|
365
|
+
readonly name: "withdrawFromYield";
|
|
260
366
|
readonly outputs: readonly [{
|
|
261
367
|
readonly name: "";
|
|
262
368
|
readonly type: "uint256";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "";
|
|
371
|
+
readonly type: "address";
|
|
263
372
|
}, {
|
|
264
373
|
readonly name: "";
|
|
265
374
|
readonly type: "uint256";
|
|
@@ -271,38 +380,25 @@ export declare const abi: readonly [{
|
|
|
271
380
|
readonly type: "function";
|
|
272
381
|
}, {
|
|
273
382
|
readonly inputs: readonly [{
|
|
274
|
-
readonly name: "_userWallet";
|
|
275
|
-
readonly type: "address";
|
|
276
|
-
}, {
|
|
277
383
|
readonly name: "_legoId";
|
|
278
384
|
readonly type: "uint256";
|
|
279
|
-
}, {
|
|
280
|
-
readonly name: "_asset";
|
|
281
|
-
readonly type: "address";
|
|
282
385
|
}, {
|
|
283
386
|
readonly name: "_vaultToken";
|
|
284
387
|
readonly type: "address";
|
|
285
388
|
}, {
|
|
286
|
-
readonly name: "
|
|
389
|
+
readonly name: "_amount";
|
|
287
390
|
readonly type: "uint256";
|
|
288
391
|
}, {
|
|
289
|
-
readonly
|
|
290
|
-
|
|
291
|
-
readonly type: "bytes";
|
|
292
|
-
}, {
|
|
293
|
-
readonly name: "signer";
|
|
294
|
-
readonly type: "address";
|
|
295
|
-
}, {
|
|
296
|
-
readonly name: "expiration";
|
|
297
|
-
readonly type: "uint256";
|
|
298
|
-
}];
|
|
299
|
-
readonly name: "_sig";
|
|
300
|
-
readonly type: "tuple";
|
|
392
|
+
readonly name: "_extraData";
|
|
393
|
+
readonly type: "bytes32";
|
|
301
394
|
}];
|
|
302
|
-
readonly name: "
|
|
395
|
+
readonly name: "withdrawFromYield";
|
|
303
396
|
readonly outputs: readonly [{
|
|
304
397
|
readonly name: "";
|
|
305
398
|
readonly type: "uint256";
|
|
399
|
+
}, {
|
|
400
|
+
readonly name: "";
|
|
401
|
+
readonly type: "address";
|
|
306
402
|
}, {
|
|
307
403
|
readonly name: "";
|
|
308
404
|
readonly type: "uint256";
|
|
@@ -314,25 +410,49 @@ export declare const abi: readonly [{
|
|
|
314
410
|
readonly type: "function";
|
|
315
411
|
}, {
|
|
316
412
|
readonly inputs: readonly [{
|
|
317
|
-
readonly name: "
|
|
413
|
+
readonly name: "_legoId";
|
|
414
|
+
readonly type: "uint256";
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "_vaultToken";
|
|
318
417
|
readonly type: "address";
|
|
319
418
|
}, {
|
|
320
|
-
readonly name: "
|
|
419
|
+
readonly name: "_amount";
|
|
420
|
+
readonly type: "uint256";
|
|
421
|
+
}, {
|
|
422
|
+
readonly name: "_extraData";
|
|
423
|
+
readonly type: "bytes32";
|
|
424
|
+
}, {
|
|
425
|
+
readonly name: "_isSpecialTx";
|
|
426
|
+
readonly type: "bool";
|
|
427
|
+
}];
|
|
428
|
+
readonly name: "withdrawFromYield";
|
|
429
|
+
readonly outputs: readonly [{
|
|
430
|
+
readonly name: "";
|
|
321
431
|
readonly type: "uint256";
|
|
322
432
|
}, {
|
|
323
|
-
readonly name: "
|
|
433
|
+
readonly name: "";
|
|
324
434
|
readonly type: "address";
|
|
435
|
+
}, {
|
|
436
|
+
readonly name: "";
|
|
437
|
+
readonly type: "uint256";
|
|
438
|
+
}, {
|
|
439
|
+
readonly name: "";
|
|
440
|
+
readonly type: "uint256";
|
|
441
|
+
}];
|
|
442
|
+
readonly stateMutability: "nonpayable";
|
|
443
|
+
readonly type: "function";
|
|
444
|
+
}, {
|
|
445
|
+
readonly inputs: readonly [{
|
|
446
|
+
readonly name: "_fromLegoId";
|
|
447
|
+
readonly type: "uint256";
|
|
325
448
|
}, {
|
|
326
449
|
readonly name: "_fromVaultToken";
|
|
327
450
|
readonly type: "address";
|
|
328
451
|
}, {
|
|
329
452
|
readonly name: "_toLegoId";
|
|
330
453
|
readonly type: "uint256";
|
|
331
|
-
}, {
|
|
332
|
-
readonly name: "_toVault";
|
|
333
|
-
readonly type: "address";
|
|
334
454
|
}];
|
|
335
|
-
readonly name: "
|
|
455
|
+
readonly name: "rebalanceYieldPosition";
|
|
336
456
|
readonly outputs: readonly [{
|
|
337
457
|
readonly name: "";
|
|
338
458
|
readonly type: "uint256";
|
|
@@ -350,14 +470,8 @@ export declare const abi: readonly [{
|
|
|
350
470
|
readonly type: "function";
|
|
351
471
|
}, {
|
|
352
472
|
readonly inputs: readonly [{
|
|
353
|
-
readonly name: "_userWallet";
|
|
354
|
-
readonly type: "address";
|
|
355
|
-
}, {
|
|
356
473
|
readonly name: "_fromLegoId";
|
|
357
474
|
readonly type: "uint256";
|
|
358
|
-
}, {
|
|
359
|
-
readonly name: "_fromAsset";
|
|
360
|
-
readonly type: "address";
|
|
361
475
|
}, {
|
|
362
476
|
readonly name: "_fromVaultToken";
|
|
363
477
|
readonly type: "address";
|
|
@@ -365,13 +479,10 @@ export declare const abi: readonly [{
|
|
|
365
479
|
readonly name: "_toLegoId";
|
|
366
480
|
readonly type: "uint256";
|
|
367
481
|
}, {
|
|
368
|
-
readonly name: "
|
|
482
|
+
readonly name: "_toVaultAddr";
|
|
369
483
|
readonly type: "address";
|
|
370
|
-
}, {
|
|
371
|
-
readonly name: "_fromVaultTokenAmount";
|
|
372
|
-
readonly type: "uint256";
|
|
373
484
|
}];
|
|
374
|
-
readonly name: "
|
|
485
|
+
readonly name: "rebalanceYieldPosition";
|
|
375
486
|
readonly outputs: readonly [{
|
|
376
487
|
readonly name: "";
|
|
377
488
|
readonly type: "uint256";
|
|
@@ -389,14 +500,8 @@ export declare const abi: readonly [{
|
|
|
389
500
|
readonly type: "function";
|
|
390
501
|
}, {
|
|
391
502
|
readonly inputs: readonly [{
|
|
392
|
-
readonly name: "_userWallet";
|
|
393
|
-
readonly type: "address";
|
|
394
|
-
}, {
|
|
395
503
|
readonly name: "_fromLegoId";
|
|
396
504
|
readonly type: "uint256";
|
|
397
|
-
}, {
|
|
398
|
-
readonly name: "_fromAsset";
|
|
399
|
-
readonly type: "address";
|
|
400
505
|
}, {
|
|
401
506
|
readonly name: "_fromVaultToken";
|
|
402
507
|
readonly type: "address";
|
|
@@ -404,26 +509,13 @@ export declare const abi: readonly [{
|
|
|
404
509
|
readonly name: "_toLegoId";
|
|
405
510
|
readonly type: "uint256";
|
|
406
511
|
}, {
|
|
407
|
-
readonly name: "
|
|
512
|
+
readonly name: "_toVaultAddr";
|
|
408
513
|
readonly type: "address";
|
|
409
514
|
}, {
|
|
410
|
-
readonly name: "
|
|
515
|
+
readonly name: "_fromVaultAmount";
|
|
411
516
|
readonly type: "uint256";
|
|
412
|
-
}, {
|
|
413
|
-
readonly components: readonly [{
|
|
414
|
-
readonly name: "signature";
|
|
415
|
-
readonly type: "bytes";
|
|
416
|
-
}, {
|
|
417
|
-
readonly name: "signer";
|
|
418
|
-
readonly type: "address";
|
|
419
|
-
}, {
|
|
420
|
-
readonly name: "expiration";
|
|
421
|
-
readonly type: "uint256";
|
|
422
|
-
}];
|
|
423
|
-
readonly name: "_sig";
|
|
424
|
-
readonly type: "tuple";
|
|
425
517
|
}];
|
|
426
|
-
readonly name: "
|
|
518
|
+
readonly name: "rebalanceYieldPosition";
|
|
427
519
|
readonly outputs: readonly [{
|
|
428
520
|
readonly name: "";
|
|
429
521
|
readonly type: "uint256";
|
|
@@ -441,82 +533,31 @@ export declare const abi: readonly [{
|
|
|
441
533
|
readonly type: "function";
|
|
442
534
|
}, {
|
|
443
535
|
readonly inputs: readonly [{
|
|
444
|
-
readonly name: "
|
|
445
|
-
readonly type: "address";
|
|
446
|
-
}, {
|
|
447
|
-
readonly components: readonly [{
|
|
448
|
-
readonly name: "legoId";
|
|
449
|
-
readonly type: "uint256";
|
|
450
|
-
}, {
|
|
451
|
-
readonly name: "amountIn";
|
|
452
|
-
readonly type: "uint256";
|
|
453
|
-
}, {
|
|
454
|
-
readonly name: "minAmountOut";
|
|
455
|
-
readonly type: "uint256";
|
|
456
|
-
}, {
|
|
457
|
-
readonly name: "tokenPath";
|
|
458
|
-
readonly type: "address[]";
|
|
459
|
-
}, {
|
|
460
|
-
readonly name: "poolPath";
|
|
461
|
-
readonly type: "address[]";
|
|
462
|
-
}];
|
|
463
|
-
readonly name: "_swapInstructions";
|
|
464
|
-
readonly type: "tuple[]";
|
|
465
|
-
}];
|
|
466
|
-
readonly name: "swapTokens";
|
|
467
|
-
readonly outputs: readonly [{
|
|
468
|
-
readonly name: "";
|
|
536
|
+
readonly name: "_fromLegoId";
|
|
469
537
|
readonly type: "uint256";
|
|
470
538
|
}, {
|
|
471
|
-
readonly name: "";
|
|
472
|
-
readonly type: "
|
|
539
|
+
readonly name: "_fromVaultToken";
|
|
540
|
+
readonly type: "address";
|
|
473
541
|
}, {
|
|
474
|
-
readonly name: "";
|
|
542
|
+
readonly name: "_toLegoId";
|
|
475
543
|
readonly type: "uint256";
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
readonly type: "function";
|
|
479
|
-
}, {
|
|
480
|
-
readonly inputs: readonly [{
|
|
481
|
-
readonly name: "_userWallet";
|
|
544
|
+
}, {
|
|
545
|
+
readonly name: "_toVaultAddr";
|
|
482
546
|
readonly type: "address";
|
|
483
547
|
}, {
|
|
484
|
-
readonly
|
|
485
|
-
|
|
486
|
-
readonly type: "uint256";
|
|
487
|
-
}, {
|
|
488
|
-
readonly name: "amountIn";
|
|
489
|
-
readonly type: "uint256";
|
|
490
|
-
}, {
|
|
491
|
-
readonly name: "minAmountOut";
|
|
492
|
-
readonly type: "uint256";
|
|
493
|
-
}, {
|
|
494
|
-
readonly name: "tokenPath";
|
|
495
|
-
readonly type: "address[]";
|
|
496
|
-
}, {
|
|
497
|
-
readonly name: "poolPath";
|
|
498
|
-
readonly type: "address[]";
|
|
499
|
-
}];
|
|
500
|
-
readonly name: "_swapInstructions";
|
|
501
|
-
readonly type: "tuple[]";
|
|
548
|
+
readonly name: "_fromVaultAmount";
|
|
549
|
+
readonly type: "uint256";
|
|
502
550
|
}, {
|
|
503
|
-
readonly
|
|
504
|
-
|
|
505
|
-
readonly type: "bytes";
|
|
506
|
-
}, {
|
|
507
|
-
readonly name: "signer";
|
|
508
|
-
readonly type: "address";
|
|
509
|
-
}, {
|
|
510
|
-
readonly name: "expiration";
|
|
511
|
-
readonly type: "uint256";
|
|
512
|
-
}];
|
|
513
|
-
readonly name: "_sig";
|
|
514
|
-
readonly type: "tuple";
|
|
551
|
+
readonly name: "_extraData";
|
|
552
|
+
readonly type: "bytes32";
|
|
515
553
|
}];
|
|
516
|
-
readonly name: "
|
|
554
|
+
readonly name: "rebalanceYieldPosition";
|
|
517
555
|
readonly outputs: readonly [{
|
|
518
556
|
readonly name: "";
|
|
519
557
|
readonly type: "uint256";
|
|
558
|
+
}, {
|
|
559
|
+
readonly name: "";
|
|
560
|
+
readonly type: "address";
|
|
520
561
|
}, {
|
|
521
562
|
readonly name: "";
|
|
522
563
|
readonly type: "uint256";
|
|
@@ -528,9 +569,6 @@ export declare const abi: readonly [{
|
|
|
528
569
|
readonly type: "function";
|
|
529
570
|
}, {
|
|
530
571
|
readonly inputs: readonly [{
|
|
531
|
-
readonly name: "_userWallet";
|
|
532
|
-
readonly type: "address";
|
|
533
|
-
}, {
|
|
534
572
|
readonly components: readonly [{
|
|
535
573
|
readonly name: "legoId";
|
|
536
574
|
readonly type: "uint256";
|
|
@@ -547,29 +585,17 @@ export declare const abi: readonly [{
|
|
|
547
585
|
readonly name: "poolPath";
|
|
548
586
|
readonly type: "address[]";
|
|
549
587
|
}];
|
|
550
|
-
readonly name: "
|
|
588
|
+
readonly name: "_instructions";
|
|
551
589
|
readonly type: "tuple[]";
|
|
552
|
-
}, {
|
|
553
|
-
readonly name: "_expiration";
|
|
554
|
-
readonly type: "uint256";
|
|
555
590
|
}];
|
|
556
|
-
readonly name: "
|
|
591
|
+
readonly name: "swapTokens";
|
|
557
592
|
readonly outputs: readonly [{
|
|
558
593
|
readonly name: "";
|
|
559
|
-
readonly type: "bytes32";
|
|
560
|
-
}];
|
|
561
|
-
readonly stateMutability: "view";
|
|
562
|
-
readonly type: "function";
|
|
563
|
-
}, {
|
|
564
|
-
readonly inputs: readonly [{
|
|
565
|
-
readonly name: "_userWallet";
|
|
566
594
|
readonly type: "address";
|
|
567
595
|
}, {
|
|
568
|
-
readonly name: "
|
|
596
|
+
readonly name: "";
|
|
569
597
|
readonly type: "uint256";
|
|
570
|
-
}
|
|
571
|
-
readonly name: "borrow";
|
|
572
|
-
readonly outputs: readonly [{
|
|
598
|
+
}, {
|
|
573
599
|
readonly name: "";
|
|
574
600
|
readonly type: "address";
|
|
575
601
|
}, {
|
|
@@ -583,22 +609,25 @@ export declare const abi: readonly [{
|
|
|
583
609
|
readonly type: "function";
|
|
584
610
|
}, {
|
|
585
611
|
readonly inputs: readonly [{
|
|
586
|
-
readonly name: "_userWallet";
|
|
587
|
-
readonly type: "address";
|
|
588
|
-
}, {
|
|
589
612
|
readonly name: "_legoId";
|
|
590
613
|
readonly type: "uint256";
|
|
591
614
|
}, {
|
|
592
|
-
readonly name: "
|
|
615
|
+
readonly name: "_tokenIn";
|
|
616
|
+
readonly type: "address";
|
|
617
|
+
}, {
|
|
618
|
+
readonly name: "_tokenOut";
|
|
593
619
|
readonly type: "address";
|
|
594
620
|
}];
|
|
595
|
-
readonly name: "
|
|
621
|
+
readonly name: "mintOrRedeemAsset";
|
|
596
622
|
readonly outputs: readonly [{
|
|
597
623
|
readonly name: "";
|
|
598
|
-
readonly type: "
|
|
624
|
+
readonly type: "uint256";
|
|
599
625
|
}, {
|
|
600
626
|
readonly name: "";
|
|
601
627
|
readonly type: "uint256";
|
|
628
|
+
}, {
|
|
629
|
+
readonly name: "";
|
|
630
|
+
readonly type: "bool";
|
|
602
631
|
}, {
|
|
603
632
|
readonly name: "";
|
|
604
633
|
readonly type: "uint256";
|
|
@@ -607,25 +636,28 @@ export declare const abi: readonly [{
|
|
|
607
636
|
readonly type: "function";
|
|
608
637
|
}, {
|
|
609
638
|
readonly inputs: readonly [{
|
|
610
|
-
readonly name: "_userWallet";
|
|
611
|
-
readonly type: "address";
|
|
612
|
-
}, {
|
|
613
639
|
readonly name: "_legoId";
|
|
614
640
|
readonly type: "uint256";
|
|
615
641
|
}, {
|
|
616
|
-
readonly name: "
|
|
642
|
+
readonly name: "_tokenIn";
|
|
617
643
|
readonly type: "address";
|
|
618
644
|
}, {
|
|
619
|
-
readonly name: "
|
|
645
|
+
readonly name: "_tokenOut";
|
|
646
|
+
readonly type: "address";
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "_amountIn";
|
|
620
649
|
readonly type: "uint256";
|
|
621
650
|
}];
|
|
622
|
-
readonly name: "
|
|
651
|
+
readonly name: "mintOrRedeemAsset";
|
|
623
652
|
readonly outputs: readonly [{
|
|
624
653
|
readonly name: "";
|
|
625
|
-
readonly type: "
|
|
654
|
+
readonly type: "uint256";
|
|
626
655
|
}, {
|
|
627
656
|
readonly name: "";
|
|
628
657
|
readonly type: "uint256";
|
|
658
|
+
}, {
|
|
659
|
+
readonly name: "";
|
|
660
|
+
readonly type: "bool";
|
|
629
661
|
}, {
|
|
630
662
|
readonly name: "";
|
|
631
663
|
readonly type: "uint256";
|
|
@@ -634,38 +666,31 @@ export declare const abi: readonly [{
|
|
|
634
666
|
readonly type: "function";
|
|
635
667
|
}, {
|
|
636
668
|
readonly inputs: readonly [{
|
|
637
|
-
readonly name: "_userWallet";
|
|
638
|
-
readonly type: "address";
|
|
639
|
-
}, {
|
|
640
669
|
readonly name: "_legoId";
|
|
641
670
|
readonly type: "uint256";
|
|
642
671
|
}, {
|
|
643
|
-
readonly name: "
|
|
672
|
+
readonly name: "_tokenIn";
|
|
644
673
|
readonly type: "address";
|
|
645
674
|
}, {
|
|
646
|
-
readonly name: "
|
|
675
|
+
readonly name: "_tokenOut";
|
|
676
|
+
readonly type: "address";
|
|
677
|
+
}, {
|
|
678
|
+
readonly name: "_amountIn";
|
|
647
679
|
readonly type: "uint256";
|
|
648
680
|
}, {
|
|
649
|
-
readonly
|
|
650
|
-
|
|
651
|
-
readonly type: "bytes";
|
|
652
|
-
}, {
|
|
653
|
-
readonly name: "signer";
|
|
654
|
-
readonly type: "address";
|
|
655
|
-
}, {
|
|
656
|
-
readonly name: "expiration";
|
|
657
|
-
readonly type: "uint256";
|
|
658
|
-
}];
|
|
659
|
-
readonly name: "_sig";
|
|
660
|
-
readonly type: "tuple";
|
|
681
|
+
readonly name: "_minAmountOut";
|
|
682
|
+
readonly type: "uint256";
|
|
661
683
|
}];
|
|
662
|
-
readonly name: "
|
|
684
|
+
readonly name: "mintOrRedeemAsset";
|
|
663
685
|
readonly outputs: readonly [{
|
|
664
686
|
readonly name: "";
|
|
665
|
-
readonly type: "
|
|
687
|
+
readonly type: "uint256";
|
|
666
688
|
}, {
|
|
667
689
|
readonly name: "";
|
|
668
690
|
readonly type: "uint256";
|
|
691
|
+
}, {
|
|
692
|
+
readonly name: "";
|
|
693
|
+
readonly type: "bool";
|
|
669
694
|
}, {
|
|
670
695
|
readonly name: "";
|
|
671
696
|
readonly type: "uint256";
|
|
@@ -674,25 +699,34 @@ export declare const abi: readonly [{
|
|
|
674
699
|
readonly type: "function";
|
|
675
700
|
}, {
|
|
676
701
|
readonly inputs: readonly [{
|
|
677
|
-
readonly name: "_userWallet";
|
|
678
|
-
readonly type: "address";
|
|
679
|
-
}, {
|
|
680
702
|
readonly name: "_legoId";
|
|
681
703
|
readonly type: "uint256";
|
|
682
704
|
}, {
|
|
683
|
-
readonly name: "
|
|
705
|
+
readonly name: "_tokenIn";
|
|
684
706
|
readonly type: "address";
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "_tokenOut";
|
|
709
|
+
readonly type: "address";
|
|
710
|
+
}, {
|
|
711
|
+
readonly name: "_amountIn";
|
|
712
|
+
readonly type: "uint256";
|
|
713
|
+
}, {
|
|
714
|
+
readonly name: "_minAmountOut";
|
|
715
|
+
readonly type: "uint256";
|
|
716
|
+
}, {
|
|
717
|
+
readonly name: "_extraData";
|
|
718
|
+
readonly type: "bytes32";
|
|
685
719
|
}];
|
|
686
|
-
readonly name: "
|
|
720
|
+
readonly name: "mintOrRedeemAsset";
|
|
687
721
|
readonly outputs: readonly [{
|
|
688
722
|
readonly name: "";
|
|
689
|
-
readonly type: "
|
|
723
|
+
readonly type: "uint256";
|
|
690
724
|
}, {
|
|
691
725
|
readonly name: "";
|
|
692
726
|
readonly type: "uint256";
|
|
693
727
|
}, {
|
|
694
728
|
readonly name: "";
|
|
695
|
-
readonly type: "
|
|
729
|
+
readonly type: "bool";
|
|
696
730
|
}, {
|
|
697
731
|
readonly name: "";
|
|
698
732
|
readonly type: "uint256";
|
|
@@ -701,26 +735,17 @@ export declare const abi: readonly [{
|
|
|
701
735
|
readonly type: "function";
|
|
702
736
|
}, {
|
|
703
737
|
readonly inputs: readonly [{
|
|
704
|
-
readonly name: "_userWallet";
|
|
705
|
-
readonly type: "address";
|
|
706
|
-
}, {
|
|
707
738
|
readonly name: "_legoId";
|
|
708
739
|
readonly type: "uint256";
|
|
709
740
|
}, {
|
|
710
|
-
readonly name: "
|
|
741
|
+
readonly name: "_tokenIn";
|
|
711
742
|
readonly type: "address";
|
|
712
743
|
}, {
|
|
713
|
-
readonly name: "
|
|
714
|
-
readonly type: "
|
|
744
|
+
readonly name: "_tokenOut";
|
|
745
|
+
readonly type: "address";
|
|
715
746
|
}];
|
|
716
|
-
readonly name: "
|
|
747
|
+
readonly name: "confirmMintOrRedeemAsset";
|
|
717
748
|
readonly outputs: readonly [{
|
|
718
|
-
readonly name: "";
|
|
719
|
-
readonly type: "address";
|
|
720
|
-
}, {
|
|
721
|
-
readonly name: "";
|
|
722
|
-
readonly type: "uint256";
|
|
723
|
-
}, {
|
|
724
749
|
readonly name: "";
|
|
725
750
|
readonly type: "uint256";
|
|
726
751
|
}, {
|
|
@@ -731,39 +756,20 @@ export declare const abi: readonly [{
|
|
|
731
756
|
readonly type: "function";
|
|
732
757
|
}, {
|
|
733
758
|
readonly inputs: readonly [{
|
|
734
|
-
readonly name: "_userWallet";
|
|
735
|
-
readonly type: "address";
|
|
736
|
-
}, {
|
|
737
759
|
readonly name: "_legoId";
|
|
738
760
|
readonly type: "uint256";
|
|
739
761
|
}, {
|
|
740
|
-
readonly name: "
|
|
762
|
+
readonly name: "_tokenIn";
|
|
741
763
|
readonly type: "address";
|
|
742
764
|
}, {
|
|
743
|
-
readonly name: "
|
|
744
|
-
readonly type: "
|
|
765
|
+
readonly name: "_tokenOut";
|
|
766
|
+
readonly type: "address";
|
|
745
767
|
}, {
|
|
746
|
-
readonly
|
|
747
|
-
|
|
748
|
-
readonly type: "bytes";
|
|
749
|
-
}, {
|
|
750
|
-
readonly name: "signer";
|
|
751
|
-
readonly type: "address";
|
|
752
|
-
}, {
|
|
753
|
-
readonly name: "expiration";
|
|
754
|
-
readonly type: "uint256";
|
|
755
|
-
}];
|
|
756
|
-
readonly name: "_sig";
|
|
757
|
-
readonly type: "tuple";
|
|
768
|
+
readonly name: "_extraData";
|
|
769
|
+
readonly type: "bytes32";
|
|
758
770
|
}];
|
|
759
|
-
readonly name: "
|
|
771
|
+
readonly name: "confirmMintOrRedeemAsset";
|
|
760
772
|
readonly outputs: readonly [{
|
|
761
|
-
readonly name: "";
|
|
762
|
-
readonly type: "address";
|
|
763
|
-
}, {
|
|
764
|
-
readonly name: "";
|
|
765
|
-
readonly type: "uint256";
|
|
766
|
-
}, {
|
|
767
773
|
readonly name: "";
|
|
768
774
|
readonly type: "uint256";
|
|
769
775
|
}, {
|
|
@@ -774,165 +780,185 @@ export declare const abi: readonly [{
|
|
|
774
780
|
readonly type: "function";
|
|
775
781
|
}, {
|
|
776
782
|
readonly inputs: readonly [{
|
|
777
|
-
readonly name: "
|
|
783
|
+
readonly name: "_legoId";
|
|
784
|
+
readonly type: "uint256";
|
|
785
|
+
}, {
|
|
786
|
+
readonly name: "_asset";
|
|
778
787
|
readonly type: "address";
|
|
788
|
+
}];
|
|
789
|
+
readonly name: "addCollateral";
|
|
790
|
+
readonly outputs: readonly [{
|
|
791
|
+
readonly name: "";
|
|
792
|
+
readonly type: "uint256";
|
|
779
793
|
}, {
|
|
780
|
-
readonly name: "
|
|
794
|
+
readonly name: "";
|
|
781
795
|
readonly type: "uint256";
|
|
782
796
|
}];
|
|
783
|
-
readonly name: "claimRewards";
|
|
784
|
-
readonly outputs: readonly [];
|
|
785
797
|
readonly stateMutability: "nonpayable";
|
|
786
798
|
readonly type: "function";
|
|
787
799
|
}, {
|
|
788
800
|
readonly inputs: readonly [{
|
|
789
|
-
readonly name: "_userWallet";
|
|
790
|
-
readonly type: "address";
|
|
791
|
-
}, {
|
|
792
801
|
readonly name: "_legoId";
|
|
793
802
|
readonly type: "uint256";
|
|
794
803
|
}, {
|
|
795
|
-
readonly name: "
|
|
804
|
+
readonly name: "_asset";
|
|
796
805
|
readonly type: "address";
|
|
806
|
+
}, {
|
|
807
|
+
readonly name: "_amount";
|
|
808
|
+
readonly type: "uint256";
|
|
809
|
+
}];
|
|
810
|
+
readonly name: "addCollateral";
|
|
811
|
+
readonly outputs: readonly [{
|
|
812
|
+
readonly name: "";
|
|
813
|
+
readonly type: "uint256";
|
|
814
|
+
}, {
|
|
815
|
+
readonly name: "";
|
|
816
|
+
readonly type: "uint256";
|
|
797
817
|
}];
|
|
798
|
-
readonly name: "claimRewards";
|
|
799
|
-
readonly outputs: readonly [];
|
|
800
818
|
readonly stateMutability: "nonpayable";
|
|
801
819
|
readonly type: "function";
|
|
802
820
|
}, {
|
|
803
821
|
readonly inputs: readonly [{
|
|
804
|
-
readonly name: "_userWallet";
|
|
805
|
-
readonly type: "address";
|
|
806
|
-
}, {
|
|
807
822
|
readonly name: "_legoId";
|
|
808
823
|
readonly type: "uint256";
|
|
809
824
|
}, {
|
|
810
|
-
readonly name: "
|
|
825
|
+
readonly name: "_asset";
|
|
811
826
|
readonly type: "address";
|
|
812
827
|
}, {
|
|
813
|
-
readonly name: "
|
|
814
|
-
readonly type: "
|
|
828
|
+
readonly name: "_amount";
|
|
829
|
+
readonly type: "uint256";
|
|
830
|
+
}, {
|
|
831
|
+
readonly name: "_extraData";
|
|
832
|
+
readonly type: "bytes32";
|
|
833
|
+
}];
|
|
834
|
+
readonly name: "addCollateral";
|
|
835
|
+
readonly outputs: readonly [{
|
|
836
|
+
readonly name: "";
|
|
837
|
+
readonly type: "uint256";
|
|
838
|
+
}, {
|
|
839
|
+
readonly name: "";
|
|
840
|
+
readonly type: "uint256";
|
|
815
841
|
}];
|
|
816
|
-
readonly name: "claimRewards";
|
|
817
|
-
readonly outputs: readonly [];
|
|
818
842
|
readonly stateMutability: "nonpayable";
|
|
819
843
|
readonly type: "function";
|
|
820
844
|
}, {
|
|
821
845
|
readonly inputs: readonly [{
|
|
822
|
-
readonly name: "_userWallet";
|
|
823
|
-
readonly type: "address";
|
|
824
|
-
}, {
|
|
825
846
|
readonly name: "_legoId";
|
|
826
847
|
readonly type: "uint256";
|
|
827
848
|
}, {
|
|
828
|
-
readonly name: "
|
|
829
|
-
readonly type: "address";
|
|
830
|
-
}, {
|
|
831
|
-
readonly name: "_rewardToken";
|
|
849
|
+
readonly name: "_asset";
|
|
832
850
|
readonly type: "address";
|
|
851
|
+
}];
|
|
852
|
+
readonly name: "removeCollateral";
|
|
853
|
+
readonly outputs: readonly [{
|
|
854
|
+
readonly name: "";
|
|
855
|
+
readonly type: "uint256";
|
|
833
856
|
}, {
|
|
834
|
-
readonly name: "
|
|
857
|
+
readonly name: "";
|
|
835
858
|
readonly type: "uint256";
|
|
836
859
|
}];
|
|
837
|
-
readonly name: "claimRewards";
|
|
838
|
-
readonly outputs: readonly [];
|
|
839
860
|
readonly stateMutability: "nonpayable";
|
|
840
861
|
readonly type: "function";
|
|
841
862
|
}, {
|
|
842
863
|
readonly inputs: readonly [{
|
|
843
|
-
readonly name: "_userWallet";
|
|
844
|
-
readonly type: "address";
|
|
845
|
-
}, {
|
|
846
864
|
readonly name: "_legoId";
|
|
847
865
|
readonly type: "uint256";
|
|
848
866
|
}, {
|
|
849
|
-
readonly name: "
|
|
850
|
-
readonly type: "address";
|
|
851
|
-
}, {
|
|
852
|
-
readonly name: "_rewardToken";
|
|
867
|
+
readonly name: "_asset";
|
|
853
868
|
readonly type: "address";
|
|
854
869
|
}, {
|
|
855
|
-
readonly name: "
|
|
870
|
+
readonly name: "_amount";
|
|
871
|
+
readonly type: "uint256";
|
|
872
|
+
}];
|
|
873
|
+
readonly name: "removeCollateral";
|
|
874
|
+
readonly outputs: readonly [{
|
|
875
|
+
readonly name: "";
|
|
856
876
|
readonly type: "uint256";
|
|
857
877
|
}, {
|
|
858
|
-
readonly name: "
|
|
859
|
-
readonly type: "
|
|
878
|
+
readonly name: "";
|
|
879
|
+
readonly type: "uint256";
|
|
860
880
|
}];
|
|
861
|
-
readonly name: "claimRewards";
|
|
862
|
-
readonly outputs: readonly [];
|
|
863
881
|
readonly stateMutability: "nonpayable";
|
|
864
882
|
readonly type: "function";
|
|
865
883
|
}, {
|
|
866
884
|
readonly inputs: readonly [{
|
|
867
|
-
readonly name: "_userWallet";
|
|
868
|
-
readonly type: "address";
|
|
869
|
-
}, {
|
|
870
885
|
readonly name: "_legoId";
|
|
871
886
|
readonly type: "uint256";
|
|
872
887
|
}, {
|
|
873
|
-
readonly name: "
|
|
888
|
+
readonly name: "_asset";
|
|
874
889
|
readonly type: "address";
|
|
875
890
|
}, {
|
|
876
|
-
readonly name: "
|
|
877
|
-
readonly type: "address";
|
|
878
|
-
}, {
|
|
879
|
-
readonly name: "_rewardAmount";
|
|
891
|
+
readonly name: "_amount";
|
|
880
892
|
readonly type: "uint256";
|
|
881
893
|
}, {
|
|
882
|
-
readonly name: "
|
|
894
|
+
readonly name: "_extraData";
|
|
883
895
|
readonly type: "bytes32";
|
|
896
|
+
}];
|
|
897
|
+
readonly name: "removeCollateral";
|
|
898
|
+
readonly outputs: readonly [{
|
|
899
|
+
readonly name: "";
|
|
900
|
+
readonly type: "uint256";
|
|
884
901
|
}, {
|
|
885
|
-
readonly
|
|
886
|
-
|
|
887
|
-
readonly type: "bytes";
|
|
888
|
-
}, {
|
|
889
|
-
readonly name: "signer";
|
|
890
|
-
readonly type: "address";
|
|
891
|
-
}, {
|
|
892
|
-
readonly name: "expiration";
|
|
893
|
-
readonly type: "uint256";
|
|
894
|
-
}];
|
|
895
|
-
readonly name: "_sig";
|
|
896
|
-
readonly type: "tuple";
|
|
902
|
+
readonly name: "";
|
|
903
|
+
readonly type: "uint256";
|
|
897
904
|
}];
|
|
898
|
-
readonly name: "claimRewards";
|
|
899
|
-
readonly outputs: readonly [];
|
|
900
905
|
readonly stateMutability: "nonpayable";
|
|
901
906
|
readonly type: "function";
|
|
902
907
|
}, {
|
|
903
908
|
readonly inputs: readonly [{
|
|
904
|
-
readonly name: "_userWallet";
|
|
905
|
-
readonly type: "address";
|
|
906
|
-
}, {
|
|
907
909
|
readonly name: "_legoId";
|
|
908
910
|
readonly type: "uint256";
|
|
909
911
|
}, {
|
|
910
|
-
readonly name: "
|
|
912
|
+
readonly name: "_borrowAsset";
|
|
911
913
|
readonly type: "address";
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
+
}];
|
|
915
|
+
readonly name: "borrow";
|
|
916
|
+
readonly outputs: readonly [{
|
|
917
|
+
readonly name: "";
|
|
914
918
|
readonly type: "uint256";
|
|
915
919
|
}, {
|
|
916
|
-
readonly name: "
|
|
917
|
-
readonly type: "
|
|
920
|
+
readonly name: "";
|
|
921
|
+
readonly type: "uint256";
|
|
922
|
+
}];
|
|
923
|
+
readonly stateMutability: "nonpayable";
|
|
924
|
+
readonly type: "function";
|
|
925
|
+
}, {
|
|
926
|
+
readonly inputs: readonly [{
|
|
927
|
+
readonly name: "_legoId";
|
|
928
|
+
readonly type: "uint256";
|
|
918
929
|
}, {
|
|
919
|
-
readonly name: "
|
|
930
|
+
readonly name: "_borrowAsset";
|
|
920
931
|
readonly type: "address";
|
|
921
932
|
}, {
|
|
922
|
-
readonly name: "
|
|
923
|
-
readonly type: "
|
|
933
|
+
readonly name: "_amount";
|
|
934
|
+
readonly type: "uint256";
|
|
924
935
|
}];
|
|
925
|
-
readonly name: "
|
|
936
|
+
readonly name: "borrow";
|
|
926
937
|
readonly outputs: readonly [{
|
|
927
938
|
readonly name: "";
|
|
928
939
|
readonly type: "uint256";
|
|
929
940
|
}, {
|
|
930
941
|
readonly name: "";
|
|
931
942
|
readonly type: "uint256";
|
|
943
|
+
}];
|
|
944
|
+
readonly stateMutability: "nonpayable";
|
|
945
|
+
readonly type: "function";
|
|
946
|
+
}, {
|
|
947
|
+
readonly inputs: readonly [{
|
|
948
|
+
readonly name: "_legoId";
|
|
949
|
+
readonly type: "uint256";
|
|
932
950
|
}, {
|
|
933
|
-
readonly name: "";
|
|
951
|
+
readonly name: "_borrowAsset";
|
|
952
|
+
readonly type: "address";
|
|
953
|
+
}, {
|
|
954
|
+
readonly name: "_amount";
|
|
934
955
|
readonly type: "uint256";
|
|
935
956
|
}, {
|
|
957
|
+
readonly name: "_extraData";
|
|
958
|
+
readonly type: "bytes32";
|
|
959
|
+
}];
|
|
960
|
+
readonly name: "borrow";
|
|
961
|
+
readonly outputs: readonly [{
|
|
936
962
|
readonly name: "";
|
|
937
963
|
readonly type: "uint256";
|
|
938
964
|
}, {
|
|
@@ -943,41 +969,92 @@ export declare const abi: readonly [{
|
|
|
943
969
|
readonly type: "function";
|
|
944
970
|
}, {
|
|
945
971
|
readonly inputs: readonly [{
|
|
946
|
-
readonly name: "_userWallet";
|
|
947
|
-
readonly type: "address";
|
|
948
|
-
}, {
|
|
949
972
|
readonly name: "_legoId";
|
|
950
973
|
readonly type: "uint256";
|
|
951
974
|
}, {
|
|
952
|
-
readonly name: "
|
|
975
|
+
readonly name: "_paymentAsset";
|
|
953
976
|
readonly type: "address";
|
|
977
|
+
}];
|
|
978
|
+
readonly name: "repayDebt";
|
|
979
|
+
readonly outputs: readonly [{
|
|
980
|
+
readonly name: "";
|
|
981
|
+
readonly type: "uint256";
|
|
954
982
|
}, {
|
|
955
|
-
readonly name: "
|
|
983
|
+
readonly name: "";
|
|
984
|
+
readonly type: "uint256";
|
|
985
|
+
}];
|
|
986
|
+
readonly stateMutability: "nonpayable";
|
|
987
|
+
readonly type: "function";
|
|
988
|
+
}, {
|
|
989
|
+
readonly inputs: readonly [{
|
|
990
|
+
readonly name: "_legoId";
|
|
956
991
|
readonly type: "uint256";
|
|
957
992
|
}, {
|
|
958
|
-
readonly name: "
|
|
993
|
+
readonly name: "_paymentAsset";
|
|
959
994
|
readonly type: "address";
|
|
960
995
|
}, {
|
|
961
|
-
readonly name: "
|
|
962
|
-
readonly type: "
|
|
996
|
+
readonly name: "_paymentAmount";
|
|
997
|
+
readonly type: "uint256";
|
|
998
|
+
}];
|
|
999
|
+
readonly name: "repayDebt";
|
|
1000
|
+
readonly outputs: readonly [{
|
|
1001
|
+
readonly name: "";
|
|
1002
|
+
readonly type: "uint256";
|
|
963
1003
|
}, {
|
|
964
|
-
readonly name: "
|
|
1004
|
+
readonly name: "";
|
|
1005
|
+
readonly type: "uint256";
|
|
1006
|
+
}];
|
|
1007
|
+
readonly stateMutability: "nonpayable";
|
|
1008
|
+
readonly type: "function";
|
|
1009
|
+
}, {
|
|
1010
|
+
readonly inputs: readonly [{
|
|
1011
|
+
readonly name: "_legoId";
|
|
1012
|
+
readonly type: "uint256";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly name: "_paymentAsset";
|
|
965
1015
|
readonly type: "address";
|
|
966
1016
|
}, {
|
|
967
|
-
readonly name: "
|
|
1017
|
+
readonly name: "_paymentAmount";
|
|
968
1018
|
readonly type: "uint256";
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly name: "_extraData";
|
|
1021
|
+
readonly type: "bytes32";
|
|
969
1022
|
}];
|
|
970
|
-
readonly name: "
|
|
1023
|
+
readonly name: "repayDebt";
|
|
971
1024
|
readonly outputs: readonly [{
|
|
972
1025
|
readonly name: "";
|
|
973
1026
|
readonly type: "uint256";
|
|
974
1027
|
}, {
|
|
975
1028
|
readonly name: "";
|
|
976
1029
|
readonly type: "uint256";
|
|
1030
|
+
}];
|
|
1031
|
+
readonly stateMutability: "nonpayable";
|
|
1032
|
+
readonly type: "function";
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly inputs: readonly [{
|
|
1035
|
+
readonly name: "_legoId";
|
|
1036
|
+
readonly type: "uint256";
|
|
1037
|
+
}];
|
|
1038
|
+
readonly name: "claimIncentives";
|
|
1039
|
+
readonly outputs: readonly [{
|
|
1040
|
+
readonly name: "";
|
|
1041
|
+
readonly type: "uint256";
|
|
977
1042
|
}, {
|
|
978
1043
|
readonly name: "";
|
|
979
1044
|
readonly type: "uint256";
|
|
1045
|
+
}];
|
|
1046
|
+
readonly stateMutability: "nonpayable";
|
|
1047
|
+
readonly type: "function";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly inputs: readonly [{
|
|
1050
|
+
readonly name: "_legoId";
|
|
1051
|
+
readonly type: "uint256";
|
|
980
1052
|
}, {
|
|
1053
|
+
readonly name: "_rewardToken";
|
|
1054
|
+
readonly type: "address";
|
|
1055
|
+
}];
|
|
1056
|
+
readonly name: "claimIncentives";
|
|
1057
|
+
readonly outputs: readonly [{
|
|
981
1058
|
readonly name: "";
|
|
982
1059
|
readonly type: "uint256";
|
|
983
1060
|
}, {
|
|
@@ -988,64 +1065,106 @@ export declare const abi: readonly [{
|
|
|
988
1065
|
readonly type: "function";
|
|
989
1066
|
}, {
|
|
990
1067
|
readonly inputs: readonly [{
|
|
991
|
-
readonly name: "_userWallet";
|
|
992
|
-
readonly type: "address";
|
|
993
|
-
}, {
|
|
994
1068
|
readonly name: "_legoId";
|
|
995
1069
|
readonly type: "uint256";
|
|
996
1070
|
}, {
|
|
997
|
-
readonly name: "
|
|
1071
|
+
readonly name: "_rewardToken";
|
|
998
1072
|
readonly type: "address";
|
|
999
1073
|
}, {
|
|
1000
|
-
readonly name: "
|
|
1074
|
+
readonly name: "_rewardAmount";
|
|
1075
|
+
readonly type: "uint256";
|
|
1076
|
+
}];
|
|
1077
|
+
readonly name: "claimIncentives";
|
|
1078
|
+
readonly outputs: readonly [{
|
|
1079
|
+
readonly name: "";
|
|
1001
1080
|
readonly type: "uint256";
|
|
1002
1081
|
}, {
|
|
1003
|
-
readonly name: "
|
|
1004
|
-
readonly type: "
|
|
1082
|
+
readonly name: "";
|
|
1083
|
+
readonly type: "uint256";
|
|
1084
|
+
}];
|
|
1085
|
+
readonly stateMutability: "nonpayable";
|
|
1086
|
+
readonly type: "function";
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly inputs: readonly [{
|
|
1089
|
+
readonly name: "_legoId";
|
|
1090
|
+
readonly type: "uint256";
|
|
1005
1091
|
}, {
|
|
1006
|
-
readonly name: "
|
|
1092
|
+
readonly name: "_rewardToken";
|
|
1007
1093
|
readonly type: "address";
|
|
1008
1094
|
}, {
|
|
1009
|
-
readonly name: "
|
|
1010
|
-
readonly type: "
|
|
1095
|
+
readonly name: "_rewardAmount";
|
|
1096
|
+
readonly type: "uint256";
|
|
1011
1097
|
}, {
|
|
1012
|
-
readonly name: "
|
|
1098
|
+
readonly name: "_proofs";
|
|
1099
|
+
readonly type: "bytes32[]";
|
|
1100
|
+
}];
|
|
1101
|
+
readonly name: "claimIncentives";
|
|
1102
|
+
readonly outputs: readonly [{
|
|
1103
|
+
readonly name: "";
|
|
1013
1104
|
readonly type: "uint256";
|
|
1014
1105
|
}, {
|
|
1015
|
-
readonly name: "
|
|
1106
|
+
readonly name: "";
|
|
1016
1107
|
readonly type: "uint256";
|
|
1017
1108
|
}];
|
|
1018
|
-
readonly
|
|
1109
|
+
readonly stateMutability: "nonpayable";
|
|
1110
|
+
readonly type: "function";
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly inputs: readonly [];
|
|
1113
|
+
readonly name: "convertWethToEth";
|
|
1019
1114
|
readonly outputs: readonly [{
|
|
1020
1115
|
readonly name: "";
|
|
1021
1116
|
readonly type: "uint256";
|
|
1022
1117
|
}, {
|
|
1023
1118
|
readonly name: "";
|
|
1024
1119
|
readonly type: "uint256";
|
|
1025
|
-
}
|
|
1120
|
+
}];
|
|
1121
|
+
readonly stateMutability: "nonpayable";
|
|
1122
|
+
readonly type: "function";
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly inputs: readonly [{
|
|
1125
|
+
readonly name: "_amount";
|
|
1126
|
+
readonly type: "uint256";
|
|
1127
|
+
}];
|
|
1128
|
+
readonly name: "convertWethToEth";
|
|
1129
|
+
readonly outputs: readonly [{
|
|
1026
1130
|
readonly name: "";
|
|
1027
1131
|
readonly type: "uint256";
|
|
1028
1132
|
}, {
|
|
1029
1133
|
readonly name: "";
|
|
1030
1134
|
readonly type: "uint256";
|
|
1135
|
+
}];
|
|
1136
|
+
readonly stateMutability: "nonpayable";
|
|
1137
|
+
readonly type: "function";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly inputs: readonly [];
|
|
1140
|
+
readonly name: "convertEthToWeth";
|
|
1141
|
+
readonly outputs: readonly [{
|
|
1142
|
+
readonly name: "";
|
|
1143
|
+
readonly type: "uint256";
|
|
1031
1144
|
}, {
|
|
1032
1145
|
readonly name: "";
|
|
1033
1146
|
readonly type: "uint256";
|
|
1034
1147
|
}];
|
|
1035
|
-
readonly stateMutability: "
|
|
1148
|
+
readonly stateMutability: "payable";
|
|
1036
1149
|
readonly type: "function";
|
|
1037
1150
|
}, {
|
|
1038
1151
|
readonly inputs: readonly [{
|
|
1039
|
-
readonly name: "
|
|
1040
|
-
readonly type: "
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1152
|
+
readonly name: "_amount";
|
|
1153
|
+
readonly type: "uint256";
|
|
1154
|
+
}];
|
|
1155
|
+
readonly name: "convertEthToWeth";
|
|
1156
|
+
readonly outputs: readonly [{
|
|
1157
|
+
readonly name: "";
|
|
1043
1158
|
readonly type: "uint256";
|
|
1044
1159
|
}, {
|
|
1045
|
-
readonly name: "
|
|
1046
|
-
readonly type: "
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1160
|
+
readonly name: "";
|
|
1161
|
+
readonly type: "uint256";
|
|
1162
|
+
}];
|
|
1163
|
+
readonly stateMutability: "payable";
|
|
1164
|
+
readonly type: "function";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly inputs: readonly [{
|
|
1167
|
+
readonly name: "_legoId";
|
|
1049
1168
|
readonly type: "uint256";
|
|
1050
1169
|
}, {
|
|
1051
1170
|
readonly name: "_pool";
|
|
@@ -1056,15 +1175,6 @@ export declare const abi: readonly [{
|
|
|
1056
1175
|
}, {
|
|
1057
1176
|
readonly name: "_tokenB";
|
|
1058
1177
|
readonly type: "address";
|
|
1059
|
-
}, {
|
|
1060
|
-
readonly name: "_amountA";
|
|
1061
|
-
readonly type: "uint256";
|
|
1062
|
-
}, {
|
|
1063
|
-
readonly name: "_amountB";
|
|
1064
|
-
readonly type: "uint256";
|
|
1065
|
-
}, {
|
|
1066
|
-
readonly name: "_tickLower";
|
|
1067
|
-
readonly type: "int24";
|
|
1068
1178
|
}];
|
|
1069
1179
|
readonly name: "addLiquidity";
|
|
1070
1180
|
readonly outputs: readonly [{
|
|
@@ -1079,25 +1189,13 @@ export declare const abi: readonly [{
|
|
|
1079
1189
|
}, {
|
|
1080
1190
|
readonly name: "";
|
|
1081
1191
|
readonly type: "uint256";
|
|
1082
|
-
}, {
|
|
1083
|
-
readonly name: "";
|
|
1084
|
-
readonly type: "uint256";
|
|
1085
1192
|
}];
|
|
1086
1193
|
readonly stateMutability: "nonpayable";
|
|
1087
1194
|
readonly type: "function";
|
|
1088
1195
|
}, {
|
|
1089
1196
|
readonly inputs: readonly [{
|
|
1090
|
-
readonly name: "_userWallet";
|
|
1091
|
-
readonly type: "address";
|
|
1092
|
-
}, {
|
|
1093
1197
|
readonly name: "_legoId";
|
|
1094
1198
|
readonly type: "uint256";
|
|
1095
|
-
}, {
|
|
1096
|
-
readonly name: "_nftAddr";
|
|
1097
|
-
readonly type: "address";
|
|
1098
|
-
}, {
|
|
1099
|
-
readonly name: "_nftTokenId";
|
|
1100
|
-
readonly type: "uint256";
|
|
1101
1199
|
}, {
|
|
1102
1200
|
readonly name: "_pool";
|
|
1103
1201
|
readonly type: "address";
|
|
@@ -1110,15 +1208,6 @@ export declare const abi: readonly [{
|
|
|
1110
1208
|
}, {
|
|
1111
1209
|
readonly name: "_amountA";
|
|
1112
1210
|
readonly type: "uint256";
|
|
1113
|
-
}, {
|
|
1114
|
-
readonly name: "_amountB";
|
|
1115
|
-
readonly type: "uint256";
|
|
1116
|
-
}, {
|
|
1117
|
-
readonly name: "_tickLower";
|
|
1118
|
-
readonly type: "int24";
|
|
1119
|
-
}, {
|
|
1120
|
-
readonly name: "_tickUpper";
|
|
1121
|
-
readonly type: "int24";
|
|
1122
1211
|
}];
|
|
1123
1212
|
readonly name: "addLiquidity";
|
|
1124
1213
|
readonly outputs: readonly [{
|
|
@@ -1133,25 +1222,13 @@ export declare const abi: readonly [{
|
|
|
1133
1222
|
}, {
|
|
1134
1223
|
readonly name: "";
|
|
1135
1224
|
readonly type: "uint256";
|
|
1136
|
-
}, {
|
|
1137
|
-
readonly name: "";
|
|
1138
|
-
readonly type: "uint256";
|
|
1139
1225
|
}];
|
|
1140
1226
|
readonly stateMutability: "nonpayable";
|
|
1141
1227
|
readonly type: "function";
|
|
1142
1228
|
}, {
|
|
1143
1229
|
readonly inputs: readonly [{
|
|
1144
|
-
readonly name: "_userWallet";
|
|
1145
|
-
readonly type: "address";
|
|
1146
|
-
}, {
|
|
1147
1230
|
readonly name: "_legoId";
|
|
1148
1231
|
readonly type: "uint256";
|
|
1149
|
-
}, {
|
|
1150
|
-
readonly name: "_nftAddr";
|
|
1151
|
-
readonly type: "address";
|
|
1152
|
-
}, {
|
|
1153
|
-
readonly name: "_nftTokenId";
|
|
1154
|
-
readonly type: "uint256";
|
|
1155
1232
|
}, {
|
|
1156
1233
|
readonly name: "_pool";
|
|
1157
1234
|
readonly type: "address";
|
|
@@ -1167,15 +1244,6 @@ export declare const abi: readonly [{
|
|
|
1167
1244
|
}, {
|
|
1168
1245
|
readonly name: "_amountB";
|
|
1169
1246
|
readonly type: "uint256";
|
|
1170
|
-
}, {
|
|
1171
|
-
readonly name: "_tickLower";
|
|
1172
|
-
readonly type: "int24";
|
|
1173
|
-
}, {
|
|
1174
|
-
readonly name: "_tickUpper";
|
|
1175
|
-
readonly type: "int24";
|
|
1176
|
-
}, {
|
|
1177
|
-
readonly name: "_minAmountA";
|
|
1178
|
-
readonly type: "uint256";
|
|
1179
1247
|
}];
|
|
1180
1248
|
readonly name: "addLiquidity";
|
|
1181
1249
|
readonly outputs: readonly [{
|
|
@@ -1190,24 +1258,51 @@ export declare const abi: readonly [{
|
|
|
1190
1258
|
}, {
|
|
1191
1259
|
readonly name: "";
|
|
1192
1260
|
readonly type: "uint256";
|
|
1193
|
-
}, {
|
|
1194
|
-
readonly name: "";
|
|
1195
|
-
readonly type: "uint256";
|
|
1196
1261
|
}];
|
|
1197
1262
|
readonly stateMutability: "nonpayable";
|
|
1198
1263
|
readonly type: "function";
|
|
1199
1264
|
}, {
|
|
1200
1265
|
readonly inputs: readonly [{
|
|
1201
|
-
readonly name: "_userWallet";
|
|
1202
|
-
readonly type: "address";
|
|
1203
|
-
}, {
|
|
1204
1266
|
readonly name: "_legoId";
|
|
1205
1267
|
readonly type: "uint256";
|
|
1206
1268
|
}, {
|
|
1207
|
-
readonly name: "
|
|
1269
|
+
readonly name: "_pool";
|
|
1208
1270
|
readonly type: "address";
|
|
1209
1271
|
}, {
|
|
1210
|
-
readonly name: "
|
|
1272
|
+
readonly name: "_tokenA";
|
|
1273
|
+
readonly type: "address";
|
|
1274
|
+
}, {
|
|
1275
|
+
readonly name: "_tokenB";
|
|
1276
|
+
readonly type: "address";
|
|
1277
|
+
}, {
|
|
1278
|
+
readonly name: "_amountA";
|
|
1279
|
+
readonly type: "uint256";
|
|
1280
|
+
}, {
|
|
1281
|
+
readonly name: "_amountB";
|
|
1282
|
+
readonly type: "uint256";
|
|
1283
|
+
}, {
|
|
1284
|
+
readonly name: "_minAmountA";
|
|
1285
|
+
readonly type: "uint256";
|
|
1286
|
+
}];
|
|
1287
|
+
readonly name: "addLiquidity";
|
|
1288
|
+
readonly outputs: readonly [{
|
|
1289
|
+
readonly name: "";
|
|
1290
|
+
readonly type: "uint256";
|
|
1291
|
+
}, {
|
|
1292
|
+
readonly name: "";
|
|
1293
|
+
readonly type: "uint256";
|
|
1294
|
+
}, {
|
|
1295
|
+
readonly name: "";
|
|
1296
|
+
readonly type: "uint256";
|
|
1297
|
+
}, {
|
|
1298
|
+
readonly name: "";
|
|
1299
|
+
readonly type: "uint256";
|
|
1300
|
+
}];
|
|
1301
|
+
readonly stateMutability: "nonpayable";
|
|
1302
|
+
readonly type: "function";
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly inputs: readonly [{
|
|
1305
|
+
readonly name: "_legoId";
|
|
1211
1306
|
readonly type: "uint256";
|
|
1212
1307
|
}, {
|
|
1213
1308
|
readonly name: "_pool";
|
|
@@ -1224,12 +1319,6 @@ export declare const abi: readonly [{
|
|
|
1224
1319
|
}, {
|
|
1225
1320
|
readonly name: "_amountB";
|
|
1226
1321
|
readonly type: "uint256";
|
|
1227
|
-
}, {
|
|
1228
|
-
readonly name: "_tickLower";
|
|
1229
|
-
readonly type: "int24";
|
|
1230
|
-
}, {
|
|
1231
|
-
readonly name: "_tickUpper";
|
|
1232
|
-
readonly type: "int24";
|
|
1233
1322
|
}, {
|
|
1234
1323
|
readonly name: "_minAmountA";
|
|
1235
1324
|
readonly type: "uint256";
|
|
@@ -1250,25 +1339,13 @@ export declare const abi: readonly [{
|
|
|
1250
1339
|
}, {
|
|
1251
1340
|
readonly name: "";
|
|
1252
1341
|
readonly type: "uint256";
|
|
1253
|
-
}, {
|
|
1254
|
-
readonly name: "";
|
|
1255
|
-
readonly type: "uint256";
|
|
1256
1342
|
}];
|
|
1257
1343
|
readonly stateMutability: "nonpayable";
|
|
1258
1344
|
readonly type: "function";
|
|
1259
1345
|
}, {
|
|
1260
1346
|
readonly inputs: readonly [{
|
|
1261
|
-
readonly name: "_userWallet";
|
|
1262
|
-
readonly type: "address";
|
|
1263
|
-
}, {
|
|
1264
1347
|
readonly name: "_legoId";
|
|
1265
1348
|
readonly type: "uint256";
|
|
1266
|
-
}, {
|
|
1267
|
-
readonly name: "_nftAddr";
|
|
1268
|
-
readonly type: "address";
|
|
1269
|
-
}, {
|
|
1270
|
-
readonly name: "_nftTokenId";
|
|
1271
|
-
readonly type: "uint256";
|
|
1272
1349
|
}, {
|
|
1273
1350
|
readonly name: "_pool";
|
|
1274
1351
|
readonly type: "address";
|
|
@@ -1284,12 +1361,6 @@ export declare const abi: readonly [{
|
|
|
1284
1361
|
}, {
|
|
1285
1362
|
readonly name: "_amountB";
|
|
1286
1363
|
readonly type: "uint256";
|
|
1287
|
-
}, {
|
|
1288
|
-
readonly name: "_tickLower";
|
|
1289
|
-
readonly type: "int24";
|
|
1290
|
-
}, {
|
|
1291
|
-
readonly name: "_tickUpper";
|
|
1292
|
-
readonly type: "int24";
|
|
1293
1364
|
}, {
|
|
1294
1365
|
readonly name: "_minAmountA";
|
|
1295
1366
|
readonly type: "uint256";
|
|
@@ -1313,25 +1384,13 @@ export declare const abi: readonly [{
|
|
|
1313
1384
|
}, {
|
|
1314
1385
|
readonly name: "";
|
|
1315
1386
|
readonly type: "uint256";
|
|
1316
|
-
}, {
|
|
1317
|
-
readonly name: "";
|
|
1318
|
-
readonly type: "uint256";
|
|
1319
1387
|
}];
|
|
1320
1388
|
readonly stateMutability: "nonpayable";
|
|
1321
1389
|
readonly type: "function";
|
|
1322
1390
|
}, {
|
|
1323
1391
|
readonly inputs: readonly [{
|
|
1324
|
-
readonly name: "_userWallet";
|
|
1325
|
-
readonly type: "address";
|
|
1326
|
-
}, {
|
|
1327
1392
|
readonly name: "_legoId";
|
|
1328
1393
|
readonly type: "uint256";
|
|
1329
|
-
}, {
|
|
1330
|
-
readonly name: "_nftAddr";
|
|
1331
|
-
readonly type: "address";
|
|
1332
|
-
}, {
|
|
1333
|
-
readonly name: "_nftTokenId";
|
|
1334
|
-
readonly type: "uint256";
|
|
1335
1394
|
}, {
|
|
1336
1395
|
readonly name: "_pool";
|
|
1337
1396
|
readonly type: "address";
|
|
@@ -1347,12 +1406,6 @@ export declare const abi: readonly [{
|
|
|
1347
1406
|
}, {
|
|
1348
1407
|
readonly name: "_amountB";
|
|
1349
1408
|
readonly type: "uint256";
|
|
1350
|
-
}, {
|
|
1351
|
-
readonly name: "_tickLower";
|
|
1352
|
-
readonly type: "int24";
|
|
1353
|
-
}, {
|
|
1354
|
-
readonly name: "_tickUpper";
|
|
1355
|
-
readonly type: "int24";
|
|
1356
1409
|
}, {
|
|
1357
1410
|
readonly name: "_minAmountA";
|
|
1358
1411
|
readonly type: "uint256";
|
|
@@ -1363,18 +1416,8 @@ export declare const abi: readonly [{
|
|
|
1363
1416
|
readonly name: "_minLpAmount";
|
|
1364
1417
|
readonly type: "uint256";
|
|
1365
1418
|
}, {
|
|
1366
|
-
readonly
|
|
1367
|
-
|
|
1368
|
-
readonly type: "bytes";
|
|
1369
|
-
}, {
|
|
1370
|
-
readonly name: "signer";
|
|
1371
|
-
readonly type: "address";
|
|
1372
|
-
}, {
|
|
1373
|
-
readonly name: "expiration";
|
|
1374
|
-
readonly type: "uint256";
|
|
1375
|
-
}];
|
|
1376
|
-
readonly name: "_sig";
|
|
1377
|
-
readonly type: "tuple";
|
|
1419
|
+
readonly name: "_extraData";
|
|
1420
|
+
readonly type: "bytes32";
|
|
1378
1421
|
}];
|
|
1379
1422
|
readonly name: "addLiquidity";
|
|
1380
1423
|
readonly outputs: readonly [{
|
|
@@ -1389,25 +1432,13 @@ export declare const abi: readonly [{
|
|
|
1389
1432
|
}, {
|
|
1390
1433
|
readonly name: "";
|
|
1391
1434
|
readonly type: "uint256";
|
|
1392
|
-
}, {
|
|
1393
|
-
readonly name: "";
|
|
1394
|
-
readonly type: "uint256";
|
|
1395
1435
|
}];
|
|
1396
1436
|
readonly stateMutability: "nonpayable";
|
|
1397
1437
|
readonly type: "function";
|
|
1398
1438
|
}, {
|
|
1399
1439
|
readonly inputs: readonly [{
|
|
1400
|
-
readonly name: "_userWallet";
|
|
1401
|
-
readonly type: "address";
|
|
1402
|
-
}, {
|
|
1403
1440
|
readonly name: "_legoId";
|
|
1404
1441
|
readonly type: "uint256";
|
|
1405
|
-
}, {
|
|
1406
|
-
readonly name: "_nftAddr";
|
|
1407
|
-
readonly type: "address";
|
|
1408
|
-
}, {
|
|
1409
|
-
readonly name: "_nftTokenId";
|
|
1410
|
-
readonly type: "uint256";
|
|
1411
1442
|
}, {
|
|
1412
1443
|
readonly name: "_pool";
|
|
1413
1444
|
readonly type: "address";
|
|
@@ -1417,6 +1448,9 @@ export declare const abi: readonly [{
|
|
|
1417
1448
|
}, {
|
|
1418
1449
|
readonly name: "_tokenB";
|
|
1419
1450
|
readonly type: "address";
|
|
1451
|
+
}, {
|
|
1452
|
+
readonly name: "_lpToken";
|
|
1453
|
+
readonly type: "address";
|
|
1420
1454
|
}];
|
|
1421
1455
|
readonly name: "removeLiquidity";
|
|
1422
1456
|
readonly outputs: readonly [{
|
|
@@ -1430,23 +1464,14 @@ export declare const abi: readonly [{
|
|
|
1430
1464
|
readonly type: "uint256";
|
|
1431
1465
|
}, {
|
|
1432
1466
|
readonly name: "";
|
|
1433
|
-
readonly type: "
|
|
1467
|
+
readonly type: "uint256";
|
|
1434
1468
|
}];
|
|
1435
1469
|
readonly stateMutability: "nonpayable";
|
|
1436
1470
|
readonly type: "function";
|
|
1437
1471
|
}, {
|
|
1438
1472
|
readonly inputs: readonly [{
|
|
1439
|
-
readonly name: "_userWallet";
|
|
1440
|
-
readonly type: "address";
|
|
1441
|
-
}, {
|
|
1442
1473
|
readonly name: "_legoId";
|
|
1443
1474
|
readonly type: "uint256";
|
|
1444
|
-
}, {
|
|
1445
|
-
readonly name: "_nftAddr";
|
|
1446
|
-
readonly type: "address";
|
|
1447
|
-
}, {
|
|
1448
|
-
readonly name: "_nftTokenId";
|
|
1449
|
-
readonly type: "uint256";
|
|
1450
1475
|
}, {
|
|
1451
1476
|
readonly name: "_pool";
|
|
1452
1477
|
readonly type: "address";
|
|
@@ -1457,7 +1482,10 @@ export declare const abi: readonly [{
|
|
|
1457
1482
|
readonly name: "_tokenB";
|
|
1458
1483
|
readonly type: "address";
|
|
1459
1484
|
}, {
|
|
1460
|
-
readonly name: "
|
|
1485
|
+
readonly name: "_lpToken";
|
|
1486
|
+
readonly type: "address";
|
|
1487
|
+
}, {
|
|
1488
|
+
readonly name: "_lpAmount";
|
|
1461
1489
|
readonly type: "uint256";
|
|
1462
1490
|
}];
|
|
1463
1491
|
readonly name: "removeLiquidity";
|
|
@@ -1472,23 +1500,14 @@ export declare const abi: readonly [{
|
|
|
1472
1500
|
readonly type: "uint256";
|
|
1473
1501
|
}, {
|
|
1474
1502
|
readonly name: "";
|
|
1475
|
-
readonly type: "
|
|
1503
|
+
readonly type: "uint256";
|
|
1476
1504
|
}];
|
|
1477
1505
|
readonly stateMutability: "nonpayable";
|
|
1478
1506
|
readonly type: "function";
|
|
1479
1507
|
}, {
|
|
1480
1508
|
readonly inputs: readonly [{
|
|
1481
|
-
readonly name: "_userWallet";
|
|
1482
|
-
readonly type: "address";
|
|
1483
|
-
}, {
|
|
1484
1509
|
readonly name: "_legoId";
|
|
1485
1510
|
readonly type: "uint256";
|
|
1486
|
-
}, {
|
|
1487
|
-
readonly name: "_nftAddr";
|
|
1488
|
-
readonly type: "address";
|
|
1489
|
-
}, {
|
|
1490
|
-
readonly name: "_nftTokenId";
|
|
1491
|
-
readonly type: "uint256";
|
|
1492
1511
|
}, {
|
|
1493
1512
|
readonly name: "_pool";
|
|
1494
1513
|
readonly type: "address";
|
|
@@ -1499,7 +1518,10 @@ export declare const abi: readonly [{
|
|
|
1499
1518
|
readonly name: "_tokenB";
|
|
1500
1519
|
readonly type: "address";
|
|
1501
1520
|
}, {
|
|
1502
|
-
readonly name: "
|
|
1521
|
+
readonly name: "_lpToken";
|
|
1522
|
+
readonly type: "address";
|
|
1523
|
+
}, {
|
|
1524
|
+
readonly name: "_lpAmount";
|
|
1503
1525
|
readonly type: "uint256";
|
|
1504
1526
|
}, {
|
|
1505
1527
|
readonly name: "_minAmountA";
|
|
@@ -1517,23 +1539,14 @@ export declare const abi: readonly [{
|
|
|
1517
1539
|
readonly type: "uint256";
|
|
1518
1540
|
}, {
|
|
1519
1541
|
readonly name: "";
|
|
1520
|
-
readonly type: "
|
|
1542
|
+
readonly type: "uint256";
|
|
1521
1543
|
}];
|
|
1522
1544
|
readonly stateMutability: "nonpayable";
|
|
1523
1545
|
readonly type: "function";
|
|
1524
1546
|
}, {
|
|
1525
1547
|
readonly inputs: readonly [{
|
|
1526
|
-
readonly name: "_userWallet";
|
|
1527
|
-
readonly type: "address";
|
|
1528
|
-
}, {
|
|
1529
1548
|
readonly name: "_legoId";
|
|
1530
1549
|
readonly type: "uint256";
|
|
1531
|
-
}, {
|
|
1532
|
-
readonly name: "_nftAddr";
|
|
1533
|
-
readonly type: "address";
|
|
1534
|
-
}, {
|
|
1535
|
-
readonly name: "_nftTokenId";
|
|
1536
|
-
readonly type: "uint256";
|
|
1537
1550
|
}, {
|
|
1538
1551
|
readonly name: "_pool";
|
|
1539
1552
|
readonly type: "address";
|
|
@@ -1544,7 +1557,10 @@ export declare const abi: readonly [{
|
|
|
1544
1557
|
readonly name: "_tokenB";
|
|
1545
1558
|
readonly type: "address";
|
|
1546
1559
|
}, {
|
|
1547
|
-
readonly name: "
|
|
1560
|
+
readonly name: "_lpToken";
|
|
1561
|
+
readonly type: "address";
|
|
1562
|
+
}, {
|
|
1563
|
+
readonly name: "_lpAmount";
|
|
1548
1564
|
readonly type: "uint256";
|
|
1549
1565
|
}, {
|
|
1550
1566
|
readonly name: "_minAmountA";
|
|
@@ -1565,23 +1581,14 @@ export declare const abi: readonly [{
|
|
|
1565
1581
|
readonly type: "uint256";
|
|
1566
1582
|
}, {
|
|
1567
1583
|
readonly name: "";
|
|
1568
|
-
readonly type: "
|
|
1584
|
+
readonly type: "uint256";
|
|
1569
1585
|
}];
|
|
1570
1586
|
readonly stateMutability: "nonpayable";
|
|
1571
1587
|
readonly type: "function";
|
|
1572
1588
|
}, {
|
|
1573
1589
|
readonly inputs: readonly [{
|
|
1574
|
-
readonly name: "_userWallet";
|
|
1575
|
-
readonly type: "address";
|
|
1576
|
-
}, {
|
|
1577
1590
|
readonly name: "_legoId";
|
|
1578
1591
|
readonly type: "uint256";
|
|
1579
|
-
}, {
|
|
1580
|
-
readonly name: "_nftAddr";
|
|
1581
|
-
readonly type: "address";
|
|
1582
|
-
}, {
|
|
1583
|
-
readonly name: "_nftTokenId";
|
|
1584
|
-
readonly type: "uint256";
|
|
1585
1592
|
}, {
|
|
1586
1593
|
readonly name: "_pool";
|
|
1587
1594
|
readonly type: "address";
|
|
@@ -1592,7 +1599,10 @@ export declare const abi: readonly [{
|
|
|
1592
1599
|
readonly name: "_tokenB";
|
|
1593
1600
|
readonly type: "address";
|
|
1594
1601
|
}, {
|
|
1595
|
-
readonly name: "
|
|
1602
|
+
readonly name: "_lpToken";
|
|
1603
|
+
readonly type: "address";
|
|
1604
|
+
}, {
|
|
1605
|
+
readonly name: "_lpAmount";
|
|
1596
1606
|
readonly type: "uint256";
|
|
1597
1607
|
}, {
|
|
1598
1608
|
readonly name: "_minAmountA";
|
|
@@ -1601,18 +1611,8 @@ export declare const abi: readonly [{
|
|
|
1601
1611
|
readonly name: "_minAmountB";
|
|
1602
1612
|
readonly type: "uint256";
|
|
1603
1613
|
}, {
|
|
1604
|
-
readonly
|
|
1605
|
-
|
|
1606
|
-
readonly type: "bytes";
|
|
1607
|
-
}, {
|
|
1608
|
-
readonly name: "signer";
|
|
1609
|
-
readonly type: "address";
|
|
1610
|
-
}, {
|
|
1611
|
-
readonly name: "expiration";
|
|
1612
|
-
readonly type: "uint256";
|
|
1613
|
-
}];
|
|
1614
|
-
readonly name: "_sig";
|
|
1615
|
-
readonly type: "tuple";
|
|
1614
|
+
readonly name: "_extraData";
|
|
1615
|
+
readonly type: "bytes32";
|
|
1616
1616
|
}];
|
|
1617
1617
|
readonly name: "removeLiquidity";
|
|
1618
1618
|
readonly outputs: readonly [{
|
|
@@ -1626,65 +1626,41 @@ export declare const abi: readonly [{
|
|
|
1626
1626
|
readonly type: "uint256";
|
|
1627
1627
|
}, {
|
|
1628
1628
|
readonly name: "";
|
|
1629
|
-
readonly type: "
|
|
1629
|
+
readonly type: "uint256";
|
|
1630
1630
|
}];
|
|
1631
1631
|
readonly stateMutability: "nonpayable";
|
|
1632
1632
|
readonly type: "function";
|
|
1633
1633
|
}, {
|
|
1634
1634
|
readonly inputs: readonly [{
|
|
1635
|
-
readonly name: "
|
|
1636
|
-
readonly type: "
|
|
1635
|
+
readonly name: "_legoId";
|
|
1636
|
+
readonly type: "uint256";
|
|
1637
1637
|
}, {
|
|
1638
|
-
readonly name: "
|
|
1638
|
+
readonly name: "_nftAddr";
|
|
1639
1639
|
readonly type: "address";
|
|
1640
|
-
}];
|
|
1641
|
-
readonly name: "transferFunds";
|
|
1642
|
-
readonly outputs: readonly [{
|
|
1643
|
-
readonly name: "";
|
|
1644
|
-
readonly type: "uint256";
|
|
1645
1640
|
}, {
|
|
1646
|
-
readonly name: "";
|
|
1641
|
+
readonly name: "_nftTokenId";
|
|
1647
1642
|
readonly type: "uint256";
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
readonly type: "function";
|
|
1651
|
-
}, {
|
|
1652
|
-
readonly inputs: readonly [{
|
|
1653
|
-
readonly name: "_userWallet";
|
|
1643
|
+
}, {
|
|
1644
|
+
readonly name: "_pool";
|
|
1654
1645
|
readonly type: "address";
|
|
1655
1646
|
}, {
|
|
1656
|
-
readonly name: "
|
|
1647
|
+
readonly name: "_tokenA";
|
|
1657
1648
|
readonly type: "address";
|
|
1658
1649
|
}, {
|
|
1659
|
-
readonly name: "
|
|
1660
|
-
readonly type: "
|
|
1650
|
+
readonly name: "_tokenB";
|
|
1651
|
+
readonly type: "address";
|
|
1661
1652
|
}];
|
|
1662
|
-
readonly name: "
|
|
1653
|
+
readonly name: "addLiquidityConcentrated";
|
|
1663
1654
|
readonly outputs: readonly [{
|
|
1664
1655
|
readonly name: "";
|
|
1665
1656
|
readonly type: "uint256";
|
|
1666
1657
|
}, {
|
|
1667
1658
|
readonly name: "";
|
|
1668
1659
|
readonly type: "uint256";
|
|
1669
|
-
}];
|
|
1670
|
-
readonly stateMutability: "nonpayable";
|
|
1671
|
-
readonly type: "function";
|
|
1672
|
-
}, {
|
|
1673
|
-
readonly inputs: readonly [{
|
|
1674
|
-
readonly name: "_userWallet";
|
|
1675
|
-
readonly type: "address";
|
|
1676
1660
|
}, {
|
|
1677
|
-
readonly name: "
|
|
1678
|
-
readonly type: "address";
|
|
1679
|
-
}, {
|
|
1680
|
-
readonly name: "_amount";
|
|
1661
|
+
readonly name: "";
|
|
1681
1662
|
readonly type: "uint256";
|
|
1682
1663
|
}, {
|
|
1683
|
-
readonly name: "_asset";
|
|
1684
|
-
readonly type: "address";
|
|
1685
|
-
}];
|
|
1686
|
-
readonly name: "transferFunds";
|
|
1687
|
-
readonly outputs: readonly [{
|
|
1688
1664
|
readonly name: "";
|
|
1689
1665
|
readonly type: "uint256";
|
|
1690
1666
|
}, {
|
|
@@ -1695,53 +1671,40 @@ export declare const abi: readonly [{
|
|
|
1695
1671
|
readonly type: "function";
|
|
1696
1672
|
}, {
|
|
1697
1673
|
readonly inputs: readonly [{
|
|
1698
|
-
readonly name: "
|
|
1699
|
-
readonly type: "
|
|
1674
|
+
readonly name: "_legoId";
|
|
1675
|
+
readonly type: "uint256";
|
|
1700
1676
|
}, {
|
|
1701
|
-
readonly name: "
|
|
1677
|
+
readonly name: "_nftAddr";
|
|
1702
1678
|
readonly type: "address";
|
|
1703
1679
|
}, {
|
|
1704
|
-
readonly name: "
|
|
1680
|
+
readonly name: "_nftTokenId";
|
|
1705
1681
|
readonly type: "uint256";
|
|
1706
1682
|
}, {
|
|
1707
|
-
readonly name: "
|
|
1683
|
+
readonly name: "_pool";
|
|
1708
1684
|
readonly type: "address";
|
|
1709
1685
|
}, {
|
|
1710
|
-
readonly
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
readonly type: "uint256";
|
|
1719
|
-
}];
|
|
1720
|
-
readonly name: "_sig";
|
|
1721
|
-
readonly type: "tuple";
|
|
1686
|
+
readonly name: "_tokenA";
|
|
1687
|
+
readonly type: "address";
|
|
1688
|
+
}, {
|
|
1689
|
+
readonly name: "_tokenB";
|
|
1690
|
+
readonly type: "address";
|
|
1691
|
+
}, {
|
|
1692
|
+
readonly name: "_amountA";
|
|
1693
|
+
readonly type: "uint256";
|
|
1722
1694
|
}];
|
|
1723
|
-
readonly name: "
|
|
1695
|
+
readonly name: "addLiquidityConcentrated";
|
|
1724
1696
|
readonly outputs: readonly [{
|
|
1725
1697
|
readonly name: "";
|
|
1726
1698
|
readonly type: "uint256";
|
|
1727
1699
|
}, {
|
|
1728
1700
|
readonly name: "";
|
|
1729
1701
|
readonly type: "uint256";
|
|
1730
|
-
}
|
|
1731
|
-
readonly stateMutability: "nonpayable";
|
|
1732
|
-
readonly type: "function";
|
|
1733
|
-
}, {
|
|
1734
|
-
readonly inputs: readonly [{
|
|
1735
|
-
readonly name: "_userWallet";
|
|
1736
|
-
readonly type: "address";
|
|
1737
|
-
}];
|
|
1738
|
-
readonly name: "convertEthToWeth";
|
|
1739
|
-
readonly outputs: readonly [{
|
|
1702
|
+
}, {
|
|
1740
1703
|
readonly name: "";
|
|
1741
1704
|
readonly type: "uint256";
|
|
1742
1705
|
}, {
|
|
1743
1706
|
readonly name: "";
|
|
1744
|
-
readonly type: "
|
|
1707
|
+
readonly type: "uint256";
|
|
1745
1708
|
}, {
|
|
1746
1709
|
readonly name: "";
|
|
1747
1710
|
readonly type: "uint256";
|
|
@@ -1750,19 +1713,43 @@ export declare const abi: readonly [{
|
|
|
1750
1713
|
readonly type: "function";
|
|
1751
1714
|
}, {
|
|
1752
1715
|
readonly inputs: readonly [{
|
|
1753
|
-
readonly name: "
|
|
1716
|
+
readonly name: "_legoId";
|
|
1717
|
+
readonly type: "uint256";
|
|
1718
|
+
}, {
|
|
1719
|
+
readonly name: "_nftAddr";
|
|
1754
1720
|
readonly type: "address";
|
|
1755
1721
|
}, {
|
|
1756
|
-
readonly name: "
|
|
1722
|
+
readonly name: "_nftTokenId";
|
|
1723
|
+
readonly type: "uint256";
|
|
1724
|
+
}, {
|
|
1725
|
+
readonly name: "_pool";
|
|
1726
|
+
readonly type: "address";
|
|
1727
|
+
}, {
|
|
1728
|
+
readonly name: "_tokenA";
|
|
1729
|
+
readonly type: "address";
|
|
1730
|
+
}, {
|
|
1731
|
+
readonly name: "_tokenB";
|
|
1732
|
+
readonly type: "address";
|
|
1733
|
+
}, {
|
|
1734
|
+
readonly name: "_amountA";
|
|
1735
|
+
readonly type: "uint256";
|
|
1736
|
+
}, {
|
|
1737
|
+
readonly name: "_amountB";
|
|
1757
1738
|
readonly type: "uint256";
|
|
1758
1739
|
}];
|
|
1759
|
-
readonly name: "
|
|
1740
|
+
readonly name: "addLiquidityConcentrated";
|
|
1760
1741
|
readonly outputs: readonly [{
|
|
1761
1742
|
readonly name: "";
|
|
1762
1743
|
readonly type: "uint256";
|
|
1763
1744
|
}, {
|
|
1764
1745
|
readonly name: "";
|
|
1765
|
-
readonly type: "
|
|
1746
|
+
readonly type: "uint256";
|
|
1747
|
+
}, {
|
|
1748
|
+
readonly name: "";
|
|
1749
|
+
readonly type: "uint256";
|
|
1750
|
+
}, {
|
|
1751
|
+
readonly name: "";
|
|
1752
|
+
readonly type: "uint256";
|
|
1766
1753
|
}, {
|
|
1767
1754
|
readonly name: "";
|
|
1768
1755
|
readonly type: "uint256";
|
|
@@ -1771,22 +1758,46 @@ export declare const abi: readonly [{
|
|
|
1771
1758
|
readonly type: "function";
|
|
1772
1759
|
}, {
|
|
1773
1760
|
readonly inputs: readonly [{
|
|
1774
|
-
readonly name: "
|
|
1761
|
+
readonly name: "_legoId";
|
|
1762
|
+
readonly type: "uint256";
|
|
1763
|
+
}, {
|
|
1764
|
+
readonly name: "_nftAddr";
|
|
1775
1765
|
readonly type: "address";
|
|
1776
1766
|
}, {
|
|
1777
|
-
readonly name: "
|
|
1767
|
+
readonly name: "_nftTokenId";
|
|
1778
1768
|
readonly type: "uint256";
|
|
1779
1769
|
}, {
|
|
1780
|
-
readonly name: "
|
|
1770
|
+
readonly name: "_pool";
|
|
1771
|
+
readonly type: "address";
|
|
1772
|
+
}, {
|
|
1773
|
+
readonly name: "_tokenA";
|
|
1774
|
+
readonly type: "address";
|
|
1775
|
+
}, {
|
|
1776
|
+
readonly name: "_tokenB";
|
|
1777
|
+
readonly type: "address";
|
|
1778
|
+
}, {
|
|
1779
|
+
readonly name: "_amountA";
|
|
1780
|
+
readonly type: "uint256";
|
|
1781
|
+
}, {
|
|
1782
|
+
readonly name: "_amountB";
|
|
1781
1783
|
readonly type: "uint256";
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly name: "_tickLower";
|
|
1786
|
+
readonly type: "int24";
|
|
1782
1787
|
}];
|
|
1783
|
-
readonly name: "
|
|
1788
|
+
readonly name: "addLiquidityConcentrated";
|
|
1784
1789
|
readonly outputs: readonly [{
|
|
1785
1790
|
readonly name: "";
|
|
1786
1791
|
readonly type: "uint256";
|
|
1787
1792
|
}, {
|
|
1788
1793
|
readonly name: "";
|
|
1789
|
-
readonly type: "
|
|
1794
|
+
readonly type: "uint256";
|
|
1795
|
+
}, {
|
|
1796
|
+
readonly name: "";
|
|
1797
|
+
readonly type: "uint256";
|
|
1798
|
+
}, {
|
|
1799
|
+
readonly name: "";
|
|
1800
|
+
readonly type: "uint256";
|
|
1790
1801
|
}, {
|
|
1791
1802
|
readonly name: "";
|
|
1792
1803
|
readonly type: "uint256";
|
|
@@ -1795,25 +1806,49 @@ export declare const abi: readonly [{
|
|
|
1795
1806
|
readonly type: "function";
|
|
1796
1807
|
}, {
|
|
1797
1808
|
readonly inputs: readonly [{
|
|
1798
|
-
readonly name: "
|
|
1809
|
+
readonly name: "_legoId";
|
|
1810
|
+
readonly type: "uint256";
|
|
1811
|
+
}, {
|
|
1812
|
+
readonly name: "_nftAddr";
|
|
1799
1813
|
readonly type: "address";
|
|
1800
1814
|
}, {
|
|
1801
|
-
readonly name: "
|
|
1815
|
+
readonly name: "_nftTokenId";
|
|
1802
1816
|
readonly type: "uint256";
|
|
1803
1817
|
}, {
|
|
1804
|
-
readonly name: "
|
|
1805
|
-
readonly type: "
|
|
1818
|
+
readonly name: "_pool";
|
|
1819
|
+
readonly type: "address";
|
|
1806
1820
|
}, {
|
|
1807
|
-
readonly name: "
|
|
1821
|
+
readonly name: "_tokenA";
|
|
1808
1822
|
readonly type: "address";
|
|
1823
|
+
}, {
|
|
1824
|
+
readonly name: "_tokenB";
|
|
1825
|
+
readonly type: "address";
|
|
1826
|
+
}, {
|
|
1827
|
+
readonly name: "_amountA";
|
|
1828
|
+
readonly type: "uint256";
|
|
1829
|
+
}, {
|
|
1830
|
+
readonly name: "_amountB";
|
|
1831
|
+
readonly type: "uint256";
|
|
1832
|
+
}, {
|
|
1833
|
+
readonly name: "_tickLower";
|
|
1834
|
+
readonly type: "int24";
|
|
1835
|
+
}, {
|
|
1836
|
+
readonly name: "_tickUpper";
|
|
1837
|
+
readonly type: "int24";
|
|
1809
1838
|
}];
|
|
1810
|
-
readonly name: "
|
|
1839
|
+
readonly name: "addLiquidityConcentrated";
|
|
1811
1840
|
readonly outputs: readonly [{
|
|
1812
1841
|
readonly name: "";
|
|
1813
1842
|
readonly type: "uint256";
|
|
1814
1843
|
}, {
|
|
1815
1844
|
readonly name: "";
|
|
1816
|
-
readonly type: "
|
|
1845
|
+
readonly type: "uint256";
|
|
1846
|
+
}, {
|
|
1847
|
+
readonly name: "";
|
|
1848
|
+
readonly type: "uint256";
|
|
1849
|
+
}, {
|
|
1850
|
+
readonly name: "";
|
|
1851
|
+
readonly type: "uint256";
|
|
1817
1852
|
}, {
|
|
1818
1853
|
readonly name: "";
|
|
1819
1854
|
readonly type: "uint256";
|
|
@@ -1822,38 +1857,52 @@ export declare const abi: readonly [{
|
|
|
1822
1857
|
readonly type: "function";
|
|
1823
1858
|
}, {
|
|
1824
1859
|
readonly inputs: readonly [{
|
|
1825
|
-
readonly name: "
|
|
1860
|
+
readonly name: "_legoId";
|
|
1861
|
+
readonly type: "uint256";
|
|
1862
|
+
}, {
|
|
1863
|
+
readonly name: "_nftAddr";
|
|
1826
1864
|
readonly type: "address";
|
|
1827
1865
|
}, {
|
|
1828
|
-
readonly name: "
|
|
1866
|
+
readonly name: "_nftTokenId";
|
|
1829
1867
|
readonly type: "uint256";
|
|
1830
1868
|
}, {
|
|
1831
|
-
readonly name: "
|
|
1832
|
-
readonly type: "
|
|
1869
|
+
readonly name: "_pool";
|
|
1870
|
+
readonly type: "address";
|
|
1833
1871
|
}, {
|
|
1834
|
-
readonly name: "
|
|
1872
|
+
readonly name: "_tokenA";
|
|
1835
1873
|
readonly type: "address";
|
|
1836
1874
|
}, {
|
|
1837
|
-
readonly
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
readonly
|
|
1848
|
-
|
|
1875
|
+
readonly name: "_tokenB";
|
|
1876
|
+
readonly type: "address";
|
|
1877
|
+
}, {
|
|
1878
|
+
readonly name: "_amountA";
|
|
1879
|
+
readonly type: "uint256";
|
|
1880
|
+
}, {
|
|
1881
|
+
readonly name: "_amountB";
|
|
1882
|
+
readonly type: "uint256";
|
|
1883
|
+
}, {
|
|
1884
|
+
readonly name: "_tickLower";
|
|
1885
|
+
readonly type: "int24";
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly name: "_tickUpper";
|
|
1888
|
+
readonly type: "int24";
|
|
1889
|
+
}, {
|
|
1890
|
+
readonly name: "_minAmountA";
|
|
1891
|
+
readonly type: "uint256";
|
|
1849
1892
|
}];
|
|
1850
|
-
readonly name: "
|
|
1893
|
+
readonly name: "addLiquidityConcentrated";
|
|
1851
1894
|
readonly outputs: readonly [{
|
|
1852
1895
|
readonly name: "";
|
|
1853
1896
|
readonly type: "uint256";
|
|
1854
1897
|
}, {
|
|
1855
1898
|
readonly name: "";
|
|
1856
|
-
readonly type: "
|
|
1899
|
+
readonly type: "uint256";
|
|
1900
|
+
}, {
|
|
1901
|
+
readonly name: "";
|
|
1902
|
+
readonly type: "uint256";
|
|
1903
|
+
}, {
|
|
1904
|
+
readonly name: "";
|
|
1905
|
+
readonly type: "uint256";
|
|
1857
1906
|
}, {
|
|
1858
1907
|
readonly name: "";
|
|
1859
1908
|
readonly type: "uint256";
|
|
@@ -1862,125 +1911,346 @@ export declare const abi: readonly [{
|
|
|
1862
1911
|
readonly type: "function";
|
|
1863
1912
|
}, {
|
|
1864
1913
|
readonly inputs: readonly [{
|
|
1865
|
-
readonly name: "
|
|
1914
|
+
readonly name: "_legoId";
|
|
1915
|
+
readonly type: "uint256";
|
|
1916
|
+
}, {
|
|
1917
|
+
readonly name: "_nftAddr";
|
|
1866
1918
|
readonly type: "address";
|
|
1919
|
+
}, {
|
|
1920
|
+
readonly name: "_nftTokenId";
|
|
1921
|
+
readonly type: "uint256";
|
|
1922
|
+
}, {
|
|
1923
|
+
readonly name: "_pool";
|
|
1924
|
+
readonly type: "address";
|
|
1925
|
+
}, {
|
|
1926
|
+
readonly name: "_tokenA";
|
|
1927
|
+
readonly type: "address";
|
|
1928
|
+
}, {
|
|
1929
|
+
readonly name: "_tokenB";
|
|
1930
|
+
readonly type: "address";
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly name: "_amountA";
|
|
1933
|
+
readonly type: "uint256";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly name: "_amountB";
|
|
1936
|
+
readonly type: "uint256";
|
|
1937
|
+
}, {
|
|
1938
|
+
readonly name: "_tickLower";
|
|
1939
|
+
readonly type: "int24";
|
|
1940
|
+
}, {
|
|
1941
|
+
readonly name: "_tickUpper";
|
|
1942
|
+
readonly type: "int24";
|
|
1943
|
+
}, {
|
|
1944
|
+
readonly name: "_minAmountA";
|
|
1945
|
+
readonly type: "uint256";
|
|
1946
|
+
}, {
|
|
1947
|
+
readonly name: "_minAmountB";
|
|
1948
|
+
readonly type: "uint256";
|
|
1867
1949
|
}];
|
|
1868
|
-
readonly name: "
|
|
1950
|
+
readonly name: "addLiquidityConcentrated";
|
|
1869
1951
|
readonly outputs: readonly [{
|
|
1870
1952
|
readonly name: "";
|
|
1871
1953
|
readonly type: "uint256";
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly name: "";
|
|
1956
|
+
readonly type: "uint256";
|
|
1957
|
+
}, {
|
|
1958
|
+
readonly name: "";
|
|
1959
|
+
readonly type: "uint256";
|
|
1960
|
+
}, {
|
|
1961
|
+
readonly name: "";
|
|
1962
|
+
readonly type: "uint256";
|
|
1963
|
+
}, {
|
|
1964
|
+
readonly name: "";
|
|
1965
|
+
readonly type: "uint256";
|
|
1872
1966
|
}];
|
|
1873
1967
|
readonly stateMutability: "nonpayable";
|
|
1874
1968
|
readonly type: "function";
|
|
1875
1969
|
}, {
|
|
1876
1970
|
readonly inputs: readonly [{
|
|
1877
|
-
readonly name: "
|
|
1971
|
+
readonly name: "_legoId";
|
|
1972
|
+
readonly type: "uint256";
|
|
1973
|
+
}, {
|
|
1974
|
+
readonly name: "_nftAddr";
|
|
1878
1975
|
readonly type: "address";
|
|
1879
1976
|
}, {
|
|
1880
|
-
readonly name: "
|
|
1977
|
+
readonly name: "_nftTokenId";
|
|
1978
|
+
readonly type: "uint256";
|
|
1979
|
+
}, {
|
|
1980
|
+
readonly name: "_pool";
|
|
1981
|
+
readonly type: "address";
|
|
1982
|
+
}, {
|
|
1983
|
+
readonly name: "_tokenA";
|
|
1984
|
+
readonly type: "address";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly name: "_tokenB";
|
|
1987
|
+
readonly type: "address";
|
|
1988
|
+
}, {
|
|
1989
|
+
readonly name: "_amountA";
|
|
1990
|
+
readonly type: "uint256";
|
|
1991
|
+
}, {
|
|
1992
|
+
readonly name: "_amountB";
|
|
1881
1993
|
readonly type: "uint256";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly name: "_tickLower";
|
|
1996
|
+
readonly type: "int24";
|
|
1997
|
+
}, {
|
|
1998
|
+
readonly name: "_tickUpper";
|
|
1999
|
+
readonly type: "int24";
|
|
2000
|
+
}, {
|
|
2001
|
+
readonly name: "_minAmountA";
|
|
2002
|
+
readonly type: "uint256";
|
|
2003
|
+
}, {
|
|
2004
|
+
readonly name: "_minAmountB";
|
|
2005
|
+
readonly type: "uint256";
|
|
2006
|
+
}, {
|
|
2007
|
+
readonly name: "_extraData";
|
|
2008
|
+
readonly type: "bytes32";
|
|
1882
2009
|
}];
|
|
1883
|
-
readonly name: "
|
|
2010
|
+
readonly name: "addLiquidityConcentrated";
|
|
1884
2011
|
readonly outputs: readonly [{
|
|
1885
2012
|
readonly name: "";
|
|
1886
2013
|
readonly type: "uint256";
|
|
2014
|
+
}, {
|
|
2015
|
+
readonly name: "";
|
|
2016
|
+
readonly type: "uint256";
|
|
2017
|
+
}, {
|
|
2018
|
+
readonly name: "";
|
|
2019
|
+
readonly type: "uint256";
|
|
2020
|
+
}, {
|
|
2021
|
+
readonly name: "";
|
|
2022
|
+
readonly type: "uint256";
|
|
2023
|
+
}, {
|
|
2024
|
+
readonly name: "";
|
|
2025
|
+
readonly type: "uint256";
|
|
1887
2026
|
}];
|
|
1888
2027
|
readonly stateMutability: "nonpayable";
|
|
1889
2028
|
readonly type: "function";
|
|
1890
2029
|
}, {
|
|
1891
2030
|
readonly inputs: readonly [{
|
|
1892
|
-
readonly name: "
|
|
2031
|
+
readonly name: "_legoId";
|
|
2032
|
+
readonly type: "uint256";
|
|
2033
|
+
}, {
|
|
2034
|
+
readonly name: "_nftAddr";
|
|
1893
2035
|
readonly type: "address";
|
|
1894
2036
|
}, {
|
|
1895
|
-
readonly name: "
|
|
2037
|
+
readonly name: "_nftTokenId";
|
|
1896
2038
|
readonly type: "uint256";
|
|
1897
2039
|
}, {
|
|
1898
|
-
readonly name: "
|
|
2040
|
+
readonly name: "_pool";
|
|
2041
|
+
readonly type: "address";
|
|
2042
|
+
}, {
|
|
2043
|
+
readonly name: "_tokenA";
|
|
2044
|
+
readonly type: "address";
|
|
2045
|
+
}, {
|
|
2046
|
+
readonly name: "_tokenB";
|
|
1899
2047
|
readonly type: "address";
|
|
1900
2048
|
}];
|
|
1901
|
-
readonly name: "
|
|
2049
|
+
readonly name: "removeLiquidityConcentrated";
|
|
1902
2050
|
readonly outputs: readonly [{
|
|
1903
2051
|
readonly name: "";
|
|
1904
2052
|
readonly type: "uint256";
|
|
2053
|
+
}, {
|
|
2054
|
+
readonly name: "";
|
|
2055
|
+
readonly type: "uint256";
|
|
2056
|
+
}, {
|
|
2057
|
+
readonly name: "";
|
|
2058
|
+
readonly type: "uint256";
|
|
2059
|
+
}, {
|
|
2060
|
+
readonly name: "";
|
|
2061
|
+
readonly type: "uint256";
|
|
1905
2062
|
}];
|
|
1906
2063
|
readonly stateMutability: "nonpayable";
|
|
1907
2064
|
readonly type: "function";
|
|
1908
2065
|
}, {
|
|
1909
2066
|
readonly inputs: readonly [{
|
|
1910
|
-
readonly name: "
|
|
2067
|
+
readonly name: "_legoId";
|
|
2068
|
+
readonly type: "uint256";
|
|
2069
|
+
}, {
|
|
2070
|
+
readonly name: "_nftAddr";
|
|
1911
2071
|
readonly type: "address";
|
|
1912
2072
|
}, {
|
|
1913
|
-
readonly name: "
|
|
2073
|
+
readonly name: "_nftTokenId";
|
|
1914
2074
|
readonly type: "uint256";
|
|
1915
2075
|
}, {
|
|
1916
|
-
readonly name: "
|
|
2076
|
+
readonly name: "_pool";
|
|
2077
|
+
readonly type: "address";
|
|
2078
|
+
}, {
|
|
2079
|
+
readonly name: "_tokenA";
|
|
1917
2080
|
readonly type: "address";
|
|
1918
2081
|
}, {
|
|
1919
|
-
readonly name: "
|
|
2082
|
+
readonly name: "_tokenB";
|
|
2083
|
+
readonly type: "address";
|
|
2084
|
+
}, {
|
|
2085
|
+
readonly name: "_liqToRemove";
|
|
1920
2086
|
readonly type: "uint256";
|
|
1921
2087
|
}];
|
|
1922
|
-
readonly name: "
|
|
2088
|
+
readonly name: "removeLiquidityConcentrated";
|
|
1923
2089
|
readonly outputs: readonly [{
|
|
1924
2090
|
readonly name: "";
|
|
1925
2091
|
readonly type: "uint256";
|
|
2092
|
+
}, {
|
|
2093
|
+
readonly name: "";
|
|
2094
|
+
readonly type: "uint256";
|
|
2095
|
+
}, {
|
|
2096
|
+
readonly name: "";
|
|
2097
|
+
readonly type: "uint256";
|
|
2098
|
+
}, {
|
|
2099
|
+
readonly name: "";
|
|
2100
|
+
readonly type: "uint256";
|
|
1926
2101
|
}];
|
|
1927
2102
|
readonly stateMutability: "nonpayable";
|
|
1928
2103
|
readonly type: "function";
|
|
1929
2104
|
}, {
|
|
1930
2105
|
readonly inputs: readonly [{
|
|
1931
|
-
readonly name: "
|
|
2106
|
+
readonly name: "_legoId";
|
|
2107
|
+
readonly type: "uint256";
|
|
2108
|
+
}, {
|
|
2109
|
+
readonly name: "_nftAddr";
|
|
1932
2110
|
readonly type: "address";
|
|
1933
2111
|
}, {
|
|
1934
|
-
readonly name: "
|
|
2112
|
+
readonly name: "_nftTokenId";
|
|
1935
2113
|
readonly type: "uint256";
|
|
1936
2114
|
}, {
|
|
1937
|
-
readonly name: "
|
|
2115
|
+
readonly name: "_pool";
|
|
2116
|
+
readonly type: "address";
|
|
2117
|
+
}, {
|
|
2118
|
+
readonly name: "_tokenA";
|
|
2119
|
+
readonly type: "address";
|
|
2120
|
+
}, {
|
|
2121
|
+
readonly name: "_tokenB";
|
|
2122
|
+
readonly type: "address";
|
|
2123
|
+
}, {
|
|
2124
|
+
readonly name: "_liqToRemove";
|
|
2125
|
+
readonly type: "uint256";
|
|
2126
|
+
}, {
|
|
2127
|
+
readonly name: "_minAmountA";
|
|
2128
|
+
readonly type: "uint256";
|
|
2129
|
+
}];
|
|
2130
|
+
readonly name: "removeLiquidityConcentrated";
|
|
2131
|
+
readonly outputs: readonly [{
|
|
2132
|
+
readonly name: "";
|
|
2133
|
+
readonly type: "uint256";
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly name: "";
|
|
2136
|
+
readonly type: "uint256";
|
|
2137
|
+
}, {
|
|
2138
|
+
readonly name: "";
|
|
2139
|
+
readonly type: "uint256";
|
|
2140
|
+
}, {
|
|
2141
|
+
readonly name: "";
|
|
2142
|
+
readonly type: "uint256";
|
|
2143
|
+
}];
|
|
2144
|
+
readonly stateMutability: "nonpayable";
|
|
2145
|
+
readonly type: "function";
|
|
2146
|
+
}, {
|
|
2147
|
+
readonly inputs: readonly [{
|
|
2148
|
+
readonly name: "_legoId";
|
|
2149
|
+
readonly type: "uint256";
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly name: "_nftAddr";
|
|
1938
2152
|
readonly type: "address";
|
|
1939
2153
|
}, {
|
|
1940
|
-
readonly name: "
|
|
2154
|
+
readonly name: "_nftTokenId";
|
|
1941
2155
|
readonly type: "uint256";
|
|
1942
2156
|
}, {
|
|
1943
|
-
readonly name: "
|
|
2157
|
+
readonly name: "_pool";
|
|
2158
|
+
readonly type: "address";
|
|
2159
|
+
}, {
|
|
2160
|
+
readonly name: "_tokenA";
|
|
2161
|
+
readonly type: "address";
|
|
2162
|
+
}, {
|
|
2163
|
+
readonly name: "_tokenB";
|
|
1944
2164
|
readonly type: "address";
|
|
2165
|
+
}, {
|
|
2166
|
+
readonly name: "_liqToRemove";
|
|
2167
|
+
readonly type: "uint256";
|
|
2168
|
+
}, {
|
|
2169
|
+
readonly name: "_minAmountA";
|
|
2170
|
+
readonly type: "uint256";
|
|
2171
|
+
}, {
|
|
2172
|
+
readonly name: "_minAmountB";
|
|
2173
|
+
readonly type: "uint256";
|
|
1945
2174
|
}];
|
|
1946
|
-
readonly name: "
|
|
2175
|
+
readonly name: "removeLiquidityConcentrated";
|
|
1947
2176
|
readonly outputs: readonly [{
|
|
1948
2177
|
readonly name: "";
|
|
1949
2178
|
readonly type: "uint256";
|
|
2179
|
+
}, {
|
|
2180
|
+
readonly name: "";
|
|
2181
|
+
readonly type: "uint256";
|
|
2182
|
+
}, {
|
|
2183
|
+
readonly name: "";
|
|
2184
|
+
readonly type: "uint256";
|
|
2185
|
+
}, {
|
|
2186
|
+
readonly name: "";
|
|
2187
|
+
readonly type: "uint256";
|
|
1950
2188
|
}];
|
|
1951
2189
|
readonly stateMutability: "nonpayable";
|
|
1952
2190
|
readonly type: "function";
|
|
1953
2191
|
}, {
|
|
1954
2192
|
readonly inputs: readonly [{
|
|
1955
|
-
readonly name: "
|
|
2193
|
+
readonly name: "_legoId";
|
|
2194
|
+
readonly type: "uint256";
|
|
2195
|
+
}, {
|
|
2196
|
+
readonly name: "_nftAddr";
|
|
1956
2197
|
readonly type: "address";
|
|
1957
2198
|
}, {
|
|
1958
|
-
readonly name: "
|
|
2199
|
+
readonly name: "_nftTokenId";
|
|
1959
2200
|
readonly type: "uint256";
|
|
1960
2201
|
}, {
|
|
1961
|
-
readonly name: "
|
|
2202
|
+
readonly name: "_pool";
|
|
1962
2203
|
readonly type: "address";
|
|
1963
2204
|
}, {
|
|
1964
|
-
readonly name: "
|
|
2205
|
+
readonly name: "_tokenA";
|
|
2206
|
+
readonly type: "address";
|
|
2207
|
+
}, {
|
|
2208
|
+
readonly name: "_tokenB";
|
|
2209
|
+
readonly type: "address";
|
|
2210
|
+
}, {
|
|
2211
|
+
readonly name: "_liqToRemove";
|
|
2212
|
+
readonly type: "uint256";
|
|
2213
|
+
}, {
|
|
2214
|
+
readonly name: "_minAmountA";
|
|
2215
|
+
readonly type: "uint256";
|
|
2216
|
+
}, {
|
|
2217
|
+
readonly name: "_minAmountB";
|
|
2218
|
+
readonly type: "uint256";
|
|
2219
|
+
}, {
|
|
2220
|
+
readonly name: "_extraData";
|
|
2221
|
+
readonly type: "bytes32";
|
|
2222
|
+
}];
|
|
2223
|
+
readonly name: "removeLiquidityConcentrated";
|
|
2224
|
+
readonly outputs: readonly [{
|
|
2225
|
+
readonly name: "";
|
|
2226
|
+
readonly type: "uint256";
|
|
2227
|
+
}, {
|
|
2228
|
+
readonly name: "";
|
|
2229
|
+
readonly type: "uint256";
|
|
2230
|
+
}, {
|
|
2231
|
+
readonly name: "";
|
|
1965
2232
|
readonly type: "uint256";
|
|
1966
2233
|
}, {
|
|
1967
|
-
readonly name: "
|
|
2234
|
+
readonly name: "";
|
|
2235
|
+
readonly type: "uint256";
|
|
2236
|
+
}];
|
|
2237
|
+
readonly stateMutability: "nonpayable";
|
|
2238
|
+
readonly type: "function";
|
|
2239
|
+
}, {
|
|
2240
|
+
readonly inputs: readonly [{
|
|
2241
|
+
readonly name: "_legoId";
|
|
2242
|
+
readonly type: "uint256";
|
|
2243
|
+
}, {
|
|
2244
|
+
readonly name: "_asset";
|
|
1968
2245
|
readonly type: "address";
|
|
1969
2246
|
}, {
|
|
1970
|
-
readonly
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
readonly type: "address";
|
|
1976
|
-
}, {
|
|
1977
|
-
readonly name: "expiration";
|
|
1978
|
-
readonly type: "uint256";
|
|
1979
|
-
}];
|
|
1980
|
-
readonly name: "_sig";
|
|
1981
|
-
readonly type: "tuple";
|
|
2247
|
+
readonly name: "_shouldCheckYield";
|
|
2248
|
+
readonly type: "bool";
|
|
2249
|
+
}, {
|
|
2250
|
+
readonly name: "_prevTotalUsdValue";
|
|
2251
|
+
readonly type: "uint256";
|
|
1982
2252
|
}];
|
|
1983
|
-
readonly name: "
|
|
2253
|
+
readonly name: "updateAssetData";
|
|
1984
2254
|
readonly outputs: readonly [{
|
|
1985
2255
|
readonly name: "";
|
|
1986
2256
|
readonly type: "uint256";
|
|
@@ -1989,320 +2259,125 @@ export declare const abi: readonly [{
|
|
|
1989
2259
|
readonly type: "function";
|
|
1990
2260
|
}, {
|
|
1991
2261
|
readonly inputs: readonly [{
|
|
1992
|
-
readonly name: "
|
|
2262
|
+
readonly name: "_legoId";
|
|
2263
|
+
readonly type: "uint256";
|
|
2264
|
+
}, {
|
|
2265
|
+
readonly name: "_asset";
|
|
1993
2266
|
readonly type: "address";
|
|
2267
|
+
}, {
|
|
2268
|
+
readonly name: "_shouldCheckYield";
|
|
2269
|
+
readonly type: "bool";
|
|
2270
|
+
}, {
|
|
2271
|
+
readonly name: "_prevTotalUsdValue";
|
|
2272
|
+
readonly type: "uint256";
|
|
1994
2273
|
}, {
|
|
1995
2274
|
readonly components: readonly [{
|
|
1996
|
-
readonly name: "
|
|
1997
|
-
readonly type: "bool";
|
|
1998
|
-
}, {
|
|
1999
|
-
readonly name: "action";
|
|
2000
|
-
readonly type: "uint256";
|
|
2001
|
-
}, {
|
|
2002
|
-
readonly name: "legoId";
|
|
2003
|
-
readonly type: "uint256";
|
|
2004
|
-
}, {
|
|
2005
|
-
readonly name: "asset";
|
|
2006
|
-
readonly type: "address";
|
|
2007
|
-
}, {
|
|
2008
|
-
readonly name: "vault";
|
|
2009
|
-
readonly type: "address";
|
|
2010
|
-
}, {
|
|
2011
|
-
readonly name: "amount";
|
|
2012
|
-
readonly type: "uint256";
|
|
2013
|
-
}, {
|
|
2014
|
-
readonly name: "altLegoId";
|
|
2015
|
-
readonly type: "uint256";
|
|
2016
|
-
}, {
|
|
2017
|
-
readonly name: "altAsset";
|
|
2275
|
+
readonly name: "ledger";
|
|
2018
2276
|
readonly type: "address";
|
|
2019
2277
|
}, {
|
|
2020
|
-
readonly name: "
|
|
2278
|
+
readonly name: "missionControl";
|
|
2021
2279
|
readonly type: "address";
|
|
2022
2280
|
}, {
|
|
2023
|
-
readonly name: "
|
|
2024
|
-
readonly type: "uint256";
|
|
2025
|
-
}, {
|
|
2026
|
-
readonly name: "minAmountOut";
|
|
2027
|
-
readonly type: "uint256";
|
|
2028
|
-
}, {
|
|
2029
|
-
readonly name: "pool";
|
|
2281
|
+
readonly name: "legoBook";
|
|
2030
2282
|
readonly type: "address";
|
|
2031
2283
|
}, {
|
|
2032
|
-
readonly name: "
|
|
2033
|
-
readonly type: "bytes32";
|
|
2034
|
-
}, {
|
|
2035
|
-
readonly name: "nftAddr";
|
|
2284
|
+
readonly name: "hatchery";
|
|
2036
2285
|
readonly type: "address";
|
|
2037
2286
|
}, {
|
|
2038
|
-
readonly name: "
|
|
2039
|
-
readonly type: "uint256";
|
|
2040
|
-
}, {
|
|
2041
|
-
readonly name: "tickLower";
|
|
2042
|
-
readonly type: "int24";
|
|
2043
|
-
}, {
|
|
2044
|
-
readonly name: "tickUpper";
|
|
2045
|
-
readonly type: "int24";
|
|
2046
|
-
}, {
|
|
2047
|
-
readonly name: "minAmountA";
|
|
2048
|
-
readonly type: "uint256";
|
|
2049
|
-
}, {
|
|
2050
|
-
readonly name: "minAmountB";
|
|
2051
|
-
readonly type: "uint256";
|
|
2052
|
-
}, {
|
|
2053
|
-
readonly name: "minLpAmount";
|
|
2054
|
-
readonly type: "uint256";
|
|
2055
|
-
}, {
|
|
2056
|
-
readonly name: "liqToRemove";
|
|
2057
|
-
readonly type: "uint256";
|
|
2058
|
-
}, {
|
|
2059
|
-
readonly name: "recipient";
|
|
2287
|
+
readonly name: "lootDistributor";
|
|
2060
2288
|
readonly type: "address";
|
|
2061
2289
|
}, {
|
|
2062
|
-
readonly name: "
|
|
2063
|
-
readonly type: "bool";
|
|
2064
|
-
}];
|
|
2065
|
-
readonly name: "_instructions";
|
|
2066
|
-
readonly type: "tuple[]";
|
|
2067
|
-
}];
|
|
2068
|
-
readonly name: "performBatchActions";
|
|
2069
|
-
readonly outputs: readonly [{
|
|
2070
|
-
readonly name: "";
|
|
2071
|
-
readonly type: "bool";
|
|
2072
|
-
}];
|
|
2073
|
-
readonly stateMutability: "nonpayable";
|
|
2074
|
-
readonly type: "function";
|
|
2075
|
-
}, {
|
|
2076
|
-
readonly inputs: readonly [{
|
|
2077
|
-
readonly name: "_userWallet";
|
|
2078
|
-
readonly type: "address";
|
|
2079
|
-
}, {
|
|
2080
|
-
readonly components: readonly [{
|
|
2081
|
-
readonly name: "usePrevAmountOut";
|
|
2082
|
-
readonly type: "bool";
|
|
2083
|
-
}, {
|
|
2084
|
-
readonly name: "action";
|
|
2085
|
-
readonly type: "uint256";
|
|
2086
|
-
}, {
|
|
2087
|
-
readonly name: "legoId";
|
|
2088
|
-
readonly type: "uint256";
|
|
2089
|
-
}, {
|
|
2090
|
-
readonly name: "asset";
|
|
2290
|
+
readonly name: "appraiser";
|
|
2091
2291
|
readonly type: "address";
|
|
2092
2292
|
}, {
|
|
2093
|
-
readonly name: "
|
|
2293
|
+
readonly name: "billing";
|
|
2094
2294
|
readonly type: "address";
|
|
2095
2295
|
}, {
|
|
2096
|
-
readonly name: "
|
|
2097
|
-
readonly type: "uint256";
|
|
2098
|
-
}, {
|
|
2099
|
-
readonly name: "altLegoId";
|
|
2100
|
-
readonly type: "uint256";
|
|
2101
|
-
}, {
|
|
2102
|
-
readonly name: "altAsset";
|
|
2296
|
+
readonly name: "vaultRegistry";
|
|
2103
2297
|
readonly type: "address";
|
|
2104
2298
|
}, {
|
|
2105
|
-
readonly name: "
|
|
2299
|
+
readonly name: "wallet";
|
|
2106
2300
|
readonly type: "address";
|
|
2107
2301
|
}, {
|
|
2108
|
-
readonly name: "
|
|
2109
|
-
readonly type: "uint256";
|
|
2110
|
-
}, {
|
|
2111
|
-
readonly name: "minAmountOut";
|
|
2112
|
-
readonly type: "uint256";
|
|
2113
|
-
}, {
|
|
2114
|
-
readonly name: "pool";
|
|
2302
|
+
readonly name: "walletConfig";
|
|
2115
2303
|
readonly type: "address";
|
|
2116
2304
|
}, {
|
|
2117
|
-
readonly name: "
|
|
2118
|
-
readonly type: "bytes32";
|
|
2119
|
-
}, {
|
|
2120
|
-
readonly name: "nftAddr";
|
|
2305
|
+
readonly name: "walletOwner";
|
|
2121
2306
|
readonly type: "address";
|
|
2122
2307
|
}, {
|
|
2123
|
-
readonly name: "
|
|
2124
|
-
readonly type: "
|
|
2125
|
-
}, {
|
|
2126
|
-
readonly name: "tickLower";
|
|
2127
|
-
readonly type: "int24";
|
|
2128
|
-
}, {
|
|
2129
|
-
readonly name: "tickUpper";
|
|
2130
|
-
readonly type: "int24";
|
|
2131
|
-
}, {
|
|
2132
|
-
readonly name: "minAmountA";
|
|
2133
|
-
readonly type: "uint256";
|
|
2134
|
-
}, {
|
|
2135
|
-
readonly name: "minAmountB";
|
|
2136
|
-
readonly type: "uint256";
|
|
2308
|
+
readonly name: "inEjectMode";
|
|
2309
|
+
readonly type: "bool";
|
|
2137
2310
|
}, {
|
|
2138
|
-
readonly name: "
|
|
2139
|
-
readonly type: "
|
|
2311
|
+
readonly name: "isFrozen";
|
|
2312
|
+
readonly type: "bool";
|
|
2140
2313
|
}, {
|
|
2141
|
-
readonly name: "
|
|
2314
|
+
readonly name: "lastTotalUsdValue";
|
|
2142
2315
|
readonly type: "uint256";
|
|
2143
|
-
}, {
|
|
2144
|
-
readonly name: "recipient";
|
|
2145
|
-
readonly type: "address";
|
|
2146
|
-
}, {
|
|
2147
|
-
readonly name: "isWethToEthConversion";
|
|
2148
|
-
readonly type: "bool";
|
|
2149
|
-
}];
|
|
2150
|
-
readonly name: "_instructions";
|
|
2151
|
-
readonly type: "tuple[]";
|
|
2152
|
-
}, {
|
|
2153
|
-
readonly components: readonly [{
|
|
2154
|
-
readonly name: "signature";
|
|
2155
|
-
readonly type: "bytes";
|
|
2156
2316
|
}, {
|
|
2157
2317
|
readonly name: "signer";
|
|
2158
2318
|
readonly type: "address";
|
|
2159
2319
|
}, {
|
|
2160
|
-
readonly name: "
|
|
2161
|
-
readonly type: "uint256";
|
|
2162
|
-
}];
|
|
2163
|
-
readonly name: "_sig";
|
|
2164
|
-
readonly type: "tuple";
|
|
2165
|
-
}];
|
|
2166
|
-
readonly name: "performBatchActions";
|
|
2167
|
-
readonly outputs: readonly [{
|
|
2168
|
-
readonly name: "";
|
|
2169
|
-
readonly type: "bool";
|
|
2170
|
-
}];
|
|
2171
|
-
readonly stateMutability: "nonpayable";
|
|
2172
|
-
readonly type: "function";
|
|
2173
|
-
}, {
|
|
2174
|
-
readonly inputs: readonly [{
|
|
2175
|
-
readonly name: "_userWallet";
|
|
2176
|
-
readonly type: "address";
|
|
2177
|
-
}, {
|
|
2178
|
-
readonly components: readonly [{
|
|
2179
|
-
readonly name: "usePrevAmountOut";
|
|
2320
|
+
readonly name: "isManager";
|
|
2180
2321
|
readonly type: "bool";
|
|
2181
|
-
}, {
|
|
2182
|
-
readonly name: "action";
|
|
2183
|
-
readonly type: "uint256";
|
|
2184
2322
|
}, {
|
|
2185
2323
|
readonly name: "legoId";
|
|
2186
2324
|
readonly type: "uint256";
|
|
2187
2325
|
}, {
|
|
2188
|
-
readonly name: "
|
|
2189
|
-
readonly type: "address";
|
|
2190
|
-
}, {
|
|
2191
|
-
readonly name: "vault";
|
|
2192
|
-
readonly type: "address";
|
|
2193
|
-
}, {
|
|
2194
|
-
readonly name: "amount";
|
|
2195
|
-
readonly type: "uint256";
|
|
2196
|
-
}, {
|
|
2197
|
-
readonly name: "altLegoId";
|
|
2198
|
-
readonly type: "uint256";
|
|
2199
|
-
}, {
|
|
2200
|
-
readonly name: "altAsset";
|
|
2201
|
-
readonly type: "address";
|
|
2202
|
-
}, {
|
|
2203
|
-
readonly name: "altVault";
|
|
2204
|
-
readonly type: "address";
|
|
2205
|
-
}, {
|
|
2206
|
-
readonly name: "altAmount";
|
|
2207
|
-
readonly type: "uint256";
|
|
2208
|
-
}, {
|
|
2209
|
-
readonly name: "minAmountOut";
|
|
2210
|
-
readonly type: "uint256";
|
|
2211
|
-
}, {
|
|
2212
|
-
readonly name: "pool";
|
|
2326
|
+
readonly name: "legoAddr";
|
|
2213
2327
|
readonly type: "address";
|
|
2214
2328
|
}, {
|
|
2215
|
-
readonly name: "
|
|
2216
|
-
readonly type: "bytes32";
|
|
2217
|
-
}, {
|
|
2218
|
-
readonly name: "nftAddr";
|
|
2329
|
+
readonly name: "eth";
|
|
2219
2330
|
readonly type: "address";
|
|
2220
2331
|
}, {
|
|
2221
|
-
readonly name: "
|
|
2222
|
-
readonly type: "uint256";
|
|
2223
|
-
}, {
|
|
2224
|
-
readonly name: "tickLower";
|
|
2225
|
-
readonly type: "int24";
|
|
2226
|
-
}, {
|
|
2227
|
-
readonly name: "tickUpper";
|
|
2228
|
-
readonly type: "int24";
|
|
2229
|
-
}, {
|
|
2230
|
-
readonly name: "minAmountA";
|
|
2231
|
-
readonly type: "uint256";
|
|
2232
|
-
}, {
|
|
2233
|
-
readonly name: "minAmountB";
|
|
2234
|
-
readonly type: "uint256";
|
|
2235
|
-
}, {
|
|
2236
|
-
readonly name: "minLpAmount";
|
|
2237
|
-
readonly type: "uint256";
|
|
2238
|
-
}, {
|
|
2239
|
-
readonly name: "liqToRemove";
|
|
2240
|
-
readonly type: "uint256";
|
|
2241
|
-
}, {
|
|
2242
|
-
readonly name: "recipient";
|
|
2332
|
+
readonly name: "weth";
|
|
2243
2333
|
readonly type: "address";
|
|
2244
|
-
}, {
|
|
2245
|
-
readonly name: "isWethToEthConversion";
|
|
2246
|
-
readonly type: "bool";
|
|
2247
2334
|
}];
|
|
2248
|
-
readonly name: "
|
|
2249
|
-
readonly type: "tuple
|
|
2250
|
-
}, {
|
|
2251
|
-
readonly name: "_expiration";
|
|
2252
|
-
readonly type: "uint256";
|
|
2253
|
-
}];
|
|
2254
|
-
readonly name: "getBatchActionHash";
|
|
2255
|
-
readonly outputs: readonly [{
|
|
2256
|
-
readonly name: "";
|
|
2257
|
-
readonly type: "bytes32";
|
|
2335
|
+
readonly name: "_ad";
|
|
2336
|
+
readonly type: "tuple";
|
|
2258
2337
|
}];
|
|
2259
|
-
readonly
|
|
2260
|
-
readonly type: "function";
|
|
2261
|
-
}, {
|
|
2262
|
-
readonly inputs: readonly [];
|
|
2263
|
-
readonly name: "DOMAIN_SEPARATOR";
|
|
2338
|
+
readonly name: "updateAssetData";
|
|
2264
2339
|
readonly outputs: readonly [{
|
|
2265
2340
|
readonly name: "";
|
|
2266
|
-
readonly type: "
|
|
2341
|
+
readonly type: "uint256";
|
|
2267
2342
|
}];
|
|
2268
|
-
readonly stateMutability: "
|
|
2343
|
+
readonly stateMutability: "nonpayable";
|
|
2269
2344
|
readonly type: "function";
|
|
2270
2345
|
}, {
|
|
2271
2346
|
readonly inputs: readonly [{
|
|
2272
|
-
readonly name: "
|
|
2347
|
+
readonly name: "_asset";
|
|
2273
2348
|
readonly type: "address";
|
|
2274
2349
|
}];
|
|
2275
|
-
readonly name: "
|
|
2276
|
-
readonly outputs: readonly [
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
}
|
|
2280
|
-
readonly inputs: readonly [];
|
|
2281
|
-
readonly name: "confirmOwnershipChange";
|
|
2282
|
-
readonly outputs: readonly [];
|
|
2283
|
-
readonly stateMutability: "nonpayable";
|
|
2284
|
-
readonly type: "function";
|
|
2285
|
-
}, {
|
|
2286
|
-
readonly inputs: readonly [];
|
|
2287
|
-
readonly name: "cancelOwnershipChange";
|
|
2288
|
-
readonly outputs: readonly [];
|
|
2350
|
+
readonly name: "deregisterAsset";
|
|
2351
|
+
readonly outputs: readonly [{
|
|
2352
|
+
readonly name: "";
|
|
2353
|
+
readonly type: "bool";
|
|
2354
|
+
}];
|
|
2289
2355
|
readonly stateMutability: "nonpayable";
|
|
2290
2356
|
readonly type: "function";
|
|
2291
2357
|
}, {
|
|
2292
2358
|
readonly inputs: readonly [{
|
|
2293
|
-
readonly name: "
|
|
2359
|
+
readonly name: "_collection";
|
|
2360
|
+
readonly type: "address";
|
|
2361
|
+
}, {
|
|
2362
|
+
readonly name: "_nftTokenId";
|
|
2294
2363
|
readonly type: "uint256";
|
|
2364
|
+
}, {
|
|
2365
|
+
readonly name: "_recipient";
|
|
2366
|
+
readonly type: "address";
|
|
2295
2367
|
}];
|
|
2296
|
-
readonly name: "
|
|
2368
|
+
readonly name: "recoverNft";
|
|
2297
2369
|
readonly outputs: readonly [];
|
|
2298
2370
|
readonly stateMutability: "nonpayable";
|
|
2299
2371
|
readonly type: "function";
|
|
2300
2372
|
}, {
|
|
2301
2373
|
readonly inputs: readonly [{
|
|
2302
|
-
readonly name: "
|
|
2374
|
+
readonly name: "_legoAddr";
|
|
2303
2375
|
readonly type: "address";
|
|
2376
|
+
}, {
|
|
2377
|
+
readonly name: "_action";
|
|
2378
|
+
readonly type: "uint256";
|
|
2304
2379
|
}];
|
|
2305
|
-
readonly name: "
|
|
2380
|
+
readonly name: "setLegoAccessForAction";
|
|
2306
2381
|
readonly outputs: readonly [{
|
|
2307
2382
|
readonly name: "";
|
|
2308
2383
|
readonly type: "bool";
|
|
@@ -2311,28 +2386,44 @@ export declare const abi: readonly [{
|
|
|
2311
2386
|
readonly type: "function";
|
|
2312
2387
|
}, {
|
|
2313
2388
|
readonly inputs: readonly [];
|
|
2314
|
-
readonly name: "
|
|
2389
|
+
readonly name: "walletConfig";
|
|
2315
2390
|
readonly outputs: readonly [{
|
|
2316
2391
|
readonly name: "";
|
|
2317
|
-
readonly type: "
|
|
2392
|
+
readonly type: "address";
|
|
2318
2393
|
}];
|
|
2319
2394
|
readonly stateMutability: "view";
|
|
2320
2395
|
readonly type: "function";
|
|
2321
2396
|
}, {
|
|
2322
2397
|
readonly inputs: readonly [{
|
|
2323
2398
|
readonly name: "arg0";
|
|
2324
|
-
readonly type: "
|
|
2399
|
+
readonly type: "address";
|
|
2325
2400
|
}];
|
|
2326
|
-
readonly name: "
|
|
2401
|
+
readonly name: "assetData";
|
|
2327
2402
|
readonly outputs: readonly [{
|
|
2403
|
+
readonly components: readonly [{
|
|
2404
|
+
readonly name: "assetBalance";
|
|
2405
|
+
readonly type: "uint256";
|
|
2406
|
+
}, {
|
|
2407
|
+
readonly name: "usdValue";
|
|
2408
|
+
readonly type: "uint256";
|
|
2409
|
+
}, {
|
|
2410
|
+
readonly name: "isYieldAsset";
|
|
2411
|
+
readonly type: "bool";
|
|
2412
|
+
}, {
|
|
2413
|
+
readonly name: "lastPricePerShare";
|
|
2414
|
+
readonly type: "uint256";
|
|
2415
|
+
}];
|
|
2328
2416
|
readonly name: "";
|
|
2329
|
-
readonly type: "
|
|
2417
|
+
readonly type: "tuple";
|
|
2330
2418
|
}];
|
|
2331
2419
|
readonly stateMutability: "view";
|
|
2332
2420
|
readonly type: "function";
|
|
2333
2421
|
}, {
|
|
2334
|
-
readonly inputs: readonly [
|
|
2335
|
-
|
|
2422
|
+
readonly inputs: readonly [{
|
|
2423
|
+
readonly name: "arg0";
|
|
2424
|
+
readonly type: "uint256";
|
|
2425
|
+
}];
|
|
2426
|
+
readonly name: "assets";
|
|
2336
2427
|
readonly outputs: readonly [{
|
|
2337
2428
|
readonly name: "";
|
|
2338
2429
|
readonly type: "address";
|
|
@@ -2340,27 +2431,20 @@ export declare const abi: readonly [{
|
|
|
2340
2431
|
readonly stateMutability: "view";
|
|
2341
2432
|
readonly type: "function";
|
|
2342
2433
|
}, {
|
|
2343
|
-
readonly inputs: readonly [
|
|
2344
|
-
|
|
2434
|
+
readonly inputs: readonly [{
|
|
2435
|
+
readonly name: "arg0";
|
|
2436
|
+
readonly type: "address";
|
|
2437
|
+
}];
|
|
2438
|
+
readonly name: "indexOfAsset";
|
|
2345
2439
|
readonly outputs: readonly [{
|
|
2346
|
-
readonly components: readonly [{
|
|
2347
|
-
readonly name: "newOwner";
|
|
2348
|
-
readonly type: "address";
|
|
2349
|
-
}, {
|
|
2350
|
-
readonly name: "initiatedBlock";
|
|
2351
|
-
readonly type: "uint256";
|
|
2352
|
-
}, {
|
|
2353
|
-
readonly name: "confirmBlock";
|
|
2354
|
-
readonly type: "uint256";
|
|
2355
|
-
}];
|
|
2356
2440
|
readonly name: "";
|
|
2357
|
-
readonly type: "
|
|
2441
|
+
readonly type: "uint256";
|
|
2358
2442
|
}];
|
|
2359
2443
|
readonly stateMutability: "view";
|
|
2360
2444
|
readonly type: "function";
|
|
2361
2445
|
}, {
|
|
2362
2446
|
readonly inputs: readonly [];
|
|
2363
|
-
readonly name: "
|
|
2447
|
+
readonly name: "numAssets";
|
|
2364
2448
|
readonly outputs: readonly [{
|
|
2365
2449
|
readonly name: "";
|
|
2366
2450
|
readonly type: "uint256";
|
|
@@ -2369,29 +2453,32 @@ export declare const abi: readonly [{
|
|
|
2369
2453
|
readonly type: "function";
|
|
2370
2454
|
}, {
|
|
2371
2455
|
readonly inputs: readonly [];
|
|
2372
|
-
readonly name: "
|
|
2456
|
+
readonly name: "WETH";
|
|
2373
2457
|
readonly outputs: readonly [{
|
|
2374
2458
|
readonly name: "";
|
|
2375
|
-
readonly type: "
|
|
2459
|
+
readonly type: "address";
|
|
2376
2460
|
}];
|
|
2377
2461
|
readonly stateMutability: "view";
|
|
2378
2462
|
readonly type: "function";
|
|
2379
2463
|
}, {
|
|
2380
2464
|
readonly inputs: readonly [];
|
|
2381
|
-
readonly name: "
|
|
2465
|
+
readonly name: "ETH";
|
|
2382
2466
|
readonly outputs: readonly [{
|
|
2383
2467
|
readonly name: "";
|
|
2384
|
-
readonly type: "
|
|
2468
|
+
readonly type: "address";
|
|
2385
2469
|
}];
|
|
2386
2470
|
readonly stateMutability: "view";
|
|
2387
2471
|
readonly type: "function";
|
|
2388
2472
|
}, {
|
|
2389
2473
|
readonly inputs: readonly [{
|
|
2390
|
-
readonly name: "
|
|
2391
|
-
readonly type: "
|
|
2474
|
+
readonly name: "_wethAddr";
|
|
2475
|
+
readonly type: "address";
|
|
2392
2476
|
}, {
|
|
2393
|
-
readonly name: "
|
|
2394
|
-
readonly type: "
|
|
2477
|
+
readonly name: "_ethAddr";
|
|
2478
|
+
readonly type: "address";
|
|
2479
|
+
}, {
|
|
2480
|
+
readonly name: "_walletConfig";
|
|
2481
|
+
readonly type: "address";
|
|
2395
2482
|
}];
|
|
2396
2483
|
readonly outputs: readonly [];
|
|
2397
2484
|
readonly stateMutability: "nonpayable";
|
|
@@ -2400,166 +2487,80 @@ export declare const abi: readonly [{
|
|
|
2400
2487
|
export declare const deployAddress: Address | undefined;
|
|
2401
2488
|
export type Contract = {
|
|
2402
2489
|
calls: {
|
|
2490
|
+
onERC721Received: (operator: `0x${string}`, owner: `0x${string}`, tokenId: bigint, data: `0x${string}`) => Promise<`0x${string}`>;
|
|
2403
2491
|
apiVersion: () => Promise<string>;
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
}[], expiration: bigint) => Promise<`0x${string}`>;
|
|
2411
|
-
getBatchActionHash: (userWallet: `0x${string}`, instructions: {
|
|
2412
|
-
usePrevAmountOut: boolean;
|
|
2413
|
-
action: bigint;
|
|
2414
|
-
legoId: bigint;
|
|
2415
|
-
asset: `0x${string}`;
|
|
2416
|
-
vault: `0x${string}`;
|
|
2417
|
-
amount: bigint;
|
|
2418
|
-
altLegoId: bigint;
|
|
2419
|
-
altAsset: `0x${string}`;
|
|
2420
|
-
altVault: `0x${string}`;
|
|
2421
|
-
altAmount: bigint;
|
|
2422
|
-
minAmountOut: bigint;
|
|
2423
|
-
pool: `0x${string}`;
|
|
2424
|
-
proof: `0x${string}`;
|
|
2425
|
-
nftAddr: `0x${string}`;
|
|
2426
|
-
nftTokenId: bigint;
|
|
2427
|
-
tickLower: unknown;
|
|
2428
|
-
tickUpper: unknown;
|
|
2429
|
-
minAmountA: bigint;
|
|
2430
|
-
minAmountB: bigint;
|
|
2431
|
-
minLpAmount: bigint;
|
|
2432
|
-
liqToRemove: bigint;
|
|
2433
|
-
recipient: `0x${string}`;
|
|
2434
|
-
isWethToEthConversion: boolean;
|
|
2435
|
-
}[], expiration: bigint) => Promise<`0x${string}`>;
|
|
2436
|
-
DOMAIN_SEPARATOR: () => Promise<`0x${string}`>;
|
|
2437
|
-
initialized: () => Promise<boolean>;
|
|
2438
|
-
usedSignatures: (arg0: `0x${string}`) => Promise<boolean>;
|
|
2439
|
-
owner: () => Promise<`0x${string}`>;
|
|
2440
|
-
pendingOwner: () => Promise<{
|
|
2441
|
-
newOwner: `0x${string}`;
|
|
2442
|
-
initiatedBlock: bigint;
|
|
2443
|
-
confirmBlock: bigint;
|
|
2492
|
+
walletConfig: () => Promise<`0x${string}`>;
|
|
2493
|
+
assetData: (arg0: `0x${string}`) => Promise<{
|
|
2494
|
+
assetBalance: bigint;
|
|
2495
|
+
usdValue: bigint;
|
|
2496
|
+
isYieldAsset: boolean;
|
|
2497
|
+
lastPricePerShare: bigint;
|
|
2444
2498
|
}>;
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2499
|
+
assets: (arg0: bigint) => Promise<`0x${string}`>;
|
|
2500
|
+
indexOfAsset: (arg0: `0x${string}`) => Promise<bigint>;
|
|
2501
|
+
numAssets: () => Promise<bigint>;
|
|
2502
|
+
WETH: () => Promise<`0x${string}`>;
|
|
2503
|
+
ETH: () => Promise<`0x${string}`>;
|
|
2448
2504
|
};
|
|
2449
2505
|
mutations: {
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
}) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2456
|
-
withdrawTokens: (userWallet: `0x${string}`, legoId: bigint, asset: `0x${string}`, vaultToken: `0x${string}`, vaultTokenAmount?: bigint, sig?: {
|
|
2457
|
-
signature: `0x${string}`;
|
|
2458
|
-
signer: `0x${string}`;
|
|
2459
|
-
expiration: bigint;
|
|
2460
|
-
}) => Promise<[bigint, bigint, bigint]>;
|
|
2461
|
-
rebalance: (userWallet: `0x${string}`, fromLegoId: bigint, fromAsset: `0x${string}`, fromVaultToken: `0x${string}`, toLegoId: bigint, toVault: `0x${string}`, fromVaultTokenAmount?: bigint, sig?: {
|
|
2462
|
-
signature: `0x${string}`;
|
|
2463
|
-
signer: `0x${string}`;
|
|
2464
|
-
expiration: bigint;
|
|
2465
|
-
}) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2466
|
-
swapTokens: (userWallet: `0x${string}`, swapInstructions: {
|
|
2506
|
+
transferFunds: (recipient: `0x${string}`, asset?: `0x${string}`, amount?: bigint, isCheque?: boolean, isSpecialTx?: boolean) => Promise<[bigint, bigint]>;
|
|
2507
|
+
depositForYield: (legoId: bigint, asset: `0x${string}`, vaultAddr?: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2508
|
+
withdrawFromYield: (legoId: bigint, vaultToken: `0x${string}`, amount?: bigint, extraData?: `0x${string}`, isSpecialTx?: boolean) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2509
|
+
rebalanceYieldPosition: (fromLegoId: bigint, fromVaultToken: `0x${string}`, toLegoId: bigint, toVaultAddr?: `0x${string}`, fromVaultAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2510
|
+
swapTokens: (instructions: {
|
|
2467
2511
|
legoId: bigint;
|
|
2468
2512
|
amountIn: bigint;
|
|
2469
2513
|
minAmountOut: bigint;
|
|
2470
2514
|
tokenPath: `0x${string}`[];
|
|
2471
2515
|
poolPath: `0x${string}`[];
|
|
2472
|
-
}[],
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
}) => Promise<[bigint, bigint
|
|
2477
|
-
borrow: (
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2516
|
+
}[]) => Promise<[`0x${string}`, bigint, `0x${string}`, bigint, bigint]>;
|
|
2517
|
+
mintOrRedeemAsset: (legoId: bigint, tokenIn: `0x${string}`, tokenOut: `0x${string}`, amountIn?: bigint, minAmountOut?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, boolean, bigint]>;
|
|
2518
|
+
confirmMintOrRedeemAsset: (legoId: bigint, tokenIn: `0x${string}`, tokenOut: `0x${string}`, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
2519
|
+
addCollateral: (legoId: bigint, asset: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
2520
|
+
removeCollateral: (legoId: bigint, asset: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
2521
|
+
borrow: (legoId: bigint, borrowAsset: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
2522
|
+
repayDebt: (legoId: bigint, paymentAsset: `0x${string}`, paymentAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
2523
|
+
claimIncentives: (legoId: bigint, rewardToken?: `0x${string}`, rewardAmount?: bigint, proofs?: `0x${string}`[]) => Promise<[bigint, bigint]>;
|
|
2524
|
+
convertWethToEth: (amount?: bigint) => Promise<[bigint, bigint]>;
|
|
2525
|
+
convertEthToWeth: (amount?: bigint) => Promise<[bigint, bigint]>;
|
|
2526
|
+
addLiquidity: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA?: bigint, amountB?: bigint, minAmountA?: bigint, minAmountB?: bigint, minLpAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
2527
|
+
removeLiquidity: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, lpToken: `0x${string}`, lpAmount?: bigint, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
2528
|
+
addLiquidityConcentrated: (legoId: bigint, nftAddr: `0x${string}`, nftTokenId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA?: bigint, amountB?: bigint, tickLower?: unknown, tickUpper?: unknown, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint, bigint]>;
|
|
2529
|
+
removeLiquidityConcentrated: (legoId: bigint, nftAddr: `0x${string}`, nftTokenId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, liqToRemove?: bigint, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
2530
|
+
updateAssetData: (legoId: bigint, asset: `0x${string}`, shouldCheckYield: boolean, prevTotalUsdValue: bigint, ad?: {
|
|
2531
|
+
ledger: `0x${string}`;
|
|
2532
|
+
missionControl: `0x${string}`;
|
|
2533
|
+
legoBook: `0x${string}`;
|
|
2534
|
+
hatchery: `0x${string}`;
|
|
2535
|
+
lootDistributor: `0x${string}`;
|
|
2536
|
+
appraiser: `0x${string}`;
|
|
2537
|
+
billing: `0x${string}`;
|
|
2538
|
+
vaultRegistry: `0x${string}`;
|
|
2539
|
+
wallet: `0x${string}`;
|
|
2540
|
+
walletConfig: `0x${string}`;
|
|
2541
|
+
walletOwner: `0x${string}`;
|
|
2542
|
+
inEjectMode: boolean;
|
|
2543
|
+
isFrozen: boolean;
|
|
2544
|
+
lastTotalUsdValue: bigint;
|
|
2484
2545
|
signer: `0x${string}`;
|
|
2485
|
-
|
|
2486
|
-
}) => Promise<[`0x${string}`, bigint, bigint, bigint]>;
|
|
2487
|
-
claimRewards: (userWallet: `0x${string}`, legoId: bigint, market?: `0x${string}`, rewardToken?: `0x${string}`, rewardAmount?: bigint, proof?: `0x${string}`, sig?: {
|
|
2488
|
-
signature: `0x${string}`;
|
|
2489
|
-
signer: `0x${string}`;
|
|
2490
|
-
expiration: bigint;
|
|
2491
|
-
}) => Promise<void>;
|
|
2492
|
-
addLiquidity: (userWallet: `0x${string}`, legoId: bigint, nftAddr: `0x${string}`, nftTokenId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA?: bigint, amountB?: bigint, tickLower?: unknown, tickUpper?: unknown, minAmountA?: bigint, minAmountB?: bigint, minLpAmount?: bigint, sig?: {
|
|
2493
|
-
signature: `0x${string}`;
|
|
2494
|
-
signer: `0x${string}`;
|
|
2495
|
-
expiration: bigint;
|
|
2496
|
-
}) => Promise<[bigint, bigint, bigint, bigint, bigint]>;
|
|
2497
|
-
removeLiquidity: (userWallet: `0x${string}`, legoId: bigint, nftAddr: `0x${string}`, nftTokenId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, liqToRemove?: bigint, minAmountA?: bigint, minAmountB?: bigint, sig?: {
|
|
2498
|
-
signature: `0x${string}`;
|
|
2499
|
-
signer: `0x${string}`;
|
|
2500
|
-
expiration: bigint;
|
|
2501
|
-
}) => Promise<[bigint, bigint, bigint, boolean]>;
|
|
2502
|
-
transferFunds: (userWallet: `0x${string}`, recipient: `0x${string}`, amount?: bigint, asset?: `0x${string}`, sig?: {
|
|
2503
|
-
signature: `0x${string}`;
|
|
2504
|
-
signer: `0x${string}`;
|
|
2505
|
-
expiration: bigint;
|
|
2506
|
-
}) => Promise<[bigint, bigint]>;
|
|
2507
|
-
convertEthToWeth: (userWallet: `0x${string}`, amount?: bigint, depositLegoId?: bigint, depositVault?: `0x${string}`, sig?: {
|
|
2508
|
-
signature: `0x${string}`;
|
|
2509
|
-
signer: `0x${string}`;
|
|
2510
|
-
expiration: bigint;
|
|
2511
|
-
}) => Promise<[bigint, `0x${string}`, bigint]>;
|
|
2512
|
-
convertWethToEth: (userWallet: `0x${string}`, amount?: bigint, recipient?: `0x${string}`, withdrawLegoId?: bigint, withdrawVaultToken?: `0x${string}`, sig?: {
|
|
2513
|
-
signature: `0x${string}`;
|
|
2514
|
-
signer: `0x${string}`;
|
|
2515
|
-
expiration: bigint;
|
|
2516
|
-
}) => Promise<bigint>;
|
|
2517
|
-
performBatchActions: (userWallet: `0x${string}`, instructions: {
|
|
2518
|
-
usePrevAmountOut: boolean;
|
|
2519
|
-
action: bigint;
|
|
2546
|
+
isManager: boolean;
|
|
2520
2547
|
legoId: bigint;
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
minAmountOut: bigint;
|
|
2529
|
-
pool: `0x${string}`;
|
|
2530
|
-
proof: `0x${string}`;
|
|
2531
|
-
nftAddr: `0x${string}`;
|
|
2532
|
-
nftTokenId: bigint;
|
|
2533
|
-
tickLower: unknown;
|
|
2534
|
-
tickUpper: unknown;
|
|
2535
|
-
minAmountA: bigint;
|
|
2536
|
-
minAmountB: bigint;
|
|
2537
|
-
minLpAmount: bigint;
|
|
2538
|
-
liqToRemove: bigint;
|
|
2539
|
-
recipient: `0x${string}`;
|
|
2540
|
-
isWethToEthConversion: boolean;
|
|
2541
|
-
}[], sig?: {
|
|
2542
|
-
signature: `0x${string}`;
|
|
2543
|
-
signer: `0x${string}`;
|
|
2544
|
-
expiration: bigint;
|
|
2545
|
-
}) => Promise<boolean>;
|
|
2546
|
-
changeOwnership: (newOwner: `0x${string}`) => Promise<void>;
|
|
2547
|
-
confirmOwnershipChange: () => Promise<void>;
|
|
2548
|
-
cancelOwnershipChange: () => Promise<void>;
|
|
2549
|
-
setOwnershipChangeDelay: (numBlocks: bigint) => Promise<void>;
|
|
2550
|
-
recoverFunds: (asset: `0x${string}`) => Promise<boolean>;
|
|
2548
|
+
legoAddr: `0x${string}`;
|
|
2549
|
+
eth: `0x${string}`;
|
|
2550
|
+
weth: `0x${string}`;
|
|
2551
|
+
}) => Promise<bigint>;
|
|
2552
|
+
deregisterAsset: (asset: `0x${string}`) => Promise<boolean>;
|
|
2553
|
+
recoverNft: (collection: `0x${string}`, nftTokenId: bigint, recipient: `0x${string}`) => Promise<void>;
|
|
2554
|
+
setLegoAccessForAction: (legoAddr: `0x${string}`, action: bigint) => Promise<boolean>;
|
|
2551
2555
|
};
|
|
2552
2556
|
events: {
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
AgentOwnershipChangeCancelled: (cancelledOwner: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
2556
|
-
AgentOwnershipChangeDelaySet: (delayBlocks: bigint) => Promise<void>;
|
|
2557
|
-
AgentFundsRecovered: (asset: `0x${string}`, recipient: `0x${string}`, balance: bigint) => Promise<void>;
|
|
2557
|
+
WalletAction: (op: number, asset1: `0x${string}`, asset2: `0x${string}`, amount1: bigint, amount2: bigint, usdValue: bigint, legoId: bigint, signer: `0x${string}`) => Promise<void>;
|
|
2558
|
+
WalletActionExt: (op: number, asset1: `0x${string}`, asset2: `0x${string}`, tokenId: bigint, amount1: bigint, amount2: bigint, usdValue: bigint, extra: bigint) => Promise<void>;
|
|
2558
2559
|
};
|
|
2559
2560
|
};
|
|
2560
2561
|
export type Calls = keyof Contract['calls'];
|
|
2561
2562
|
export type Request<M extends Calls> = {
|
|
2562
|
-
contractName: '
|
|
2563
|
+
contractName: 'UserWalletV1';
|
|
2563
2564
|
method: M;
|
|
2564
2565
|
args: ExtractArgs<Contract['calls'][M]>;
|
|
2565
2566
|
address: Address | undefined;
|
|
@@ -2585,7 +2586,7 @@ export declare const call: CallType;
|
|
|
2585
2586
|
export type Mutations = keyof Contract['mutations'];
|
|
2586
2587
|
export declare const mutation: {
|
|
2587
2588
|
[K in Mutations]: {
|
|
2588
|
-
contractName: '
|
|
2589
|
+
contractName: 'UserWalletV1';
|
|
2589
2590
|
deployAddress: Address | undefined;
|
|
2590
2591
|
getAbi: () => typeof abi;
|
|
2591
2592
|
functionName: K;
|
|
@@ -2595,37 +2596,38 @@ export declare const mutation: {
|
|
|
2595
2596
|
export type SDK = {
|
|
2596
2597
|
deployAddress: Address | undefined;
|
|
2597
2598
|
abi: typeof abi;
|
|
2599
|
+
onERC721Received: (...args: ExtractArgs<Contract['calls']['onERC721Received']>) => Promise<CallReturn<'onERC721Received'>>;
|
|
2598
2600
|
apiVersion: (...args: ExtractArgs<Contract['calls']['apiVersion']>) => Promise<CallReturn<'apiVersion'>>;
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
depositTokens: (...args: ExtractArgs<Contract['mutations']['depositTokens']>) => Promise<Address>;
|
|
2611
|
-
withdrawTokens: (...args: ExtractArgs<Contract['mutations']['withdrawTokens']>) => Promise<Address>;
|
|
2612
|
-
rebalance: (...args: ExtractArgs<Contract['mutations']['rebalance']>) => Promise<Address>;
|
|
2601
|
+
walletConfig: (...args: ExtractArgs<Contract['calls']['walletConfig']>) => Promise<CallReturn<'walletConfig'>>;
|
|
2602
|
+
assetData: (...args: ExtractArgs<Contract['calls']['assetData']>) => Promise<CallReturn<'assetData'>>;
|
|
2603
|
+
assets: (...args: ExtractArgs<Contract['calls']['assets']>) => Promise<CallReturn<'assets'>>;
|
|
2604
|
+
indexOfAsset: (...args: ExtractArgs<Contract['calls']['indexOfAsset']>) => Promise<CallReturn<'indexOfAsset'>>;
|
|
2605
|
+
numAssets: (...args: ExtractArgs<Contract['calls']['numAssets']>) => Promise<CallReturn<'numAssets'>>;
|
|
2606
|
+
WETH: (...args: ExtractArgs<Contract['calls']['WETH']>) => Promise<CallReturn<'WETH'>>;
|
|
2607
|
+
ETH: (...args: ExtractArgs<Contract['calls']['ETH']>) => Promise<CallReturn<'ETH'>>;
|
|
2608
|
+
transferFunds: (...args: ExtractArgs<Contract['mutations']['transferFunds']>) => Promise<Address>;
|
|
2609
|
+
depositForYield: (...args: ExtractArgs<Contract['mutations']['depositForYield']>) => Promise<Address>;
|
|
2610
|
+
withdrawFromYield: (...args: ExtractArgs<Contract['mutations']['withdrawFromYield']>) => Promise<Address>;
|
|
2611
|
+
rebalanceYieldPosition: (...args: ExtractArgs<Contract['mutations']['rebalanceYieldPosition']>) => Promise<Address>;
|
|
2613
2612
|
swapTokens: (...args: ExtractArgs<Contract['mutations']['swapTokens']>) => Promise<Address>;
|
|
2613
|
+
mintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['mintOrRedeemAsset']>) => Promise<Address>;
|
|
2614
|
+
confirmMintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['confirmMintOrRedeemAsset']>) => Promise<Address>;
|
|
2615
|
+
addCollateral: (...args: ExtractArgs<Contract['mutations']['addCollateral']>) => Promise<Address>;
|
|
2616
|
+
removeCollateral: (...args: ExtractArgs<Contract['mutations']['removeCollateral']>) => Promise<Address>;
|
|
2614
2617
|
borrow: (...args: ExtractArgs<Contract['mutations']['borrow']>) => Promise<Address>;
|
|
2615
2618
|
repayDebt: (...args: ExtractArgs<Contract['mutations']['repayDebt']>) => Promise<Address>;
|
|
2616
|
-
|
|
2619
|
+
claimIncentives: (...args: ExtractArgs<Contract['mutations']['claimIncentives']>) => Promise<Address>;
|
|
2620
|
+
convertWethToEth: (...args: ExtractArgs<Contract['mutations']['convertWethToEth']>) => Promise<Address>;
|
|
2621
|
+
convertEthToWeth: (...args: ExtractArgs<Contract['mutations']['convertEthToWeth']>) => Promise<Address>;
|
|
2617
2622
|
addLiquidity: (...args: ExtractArgs<Contract['mutations']['addLiquidity']>) => Promise<Address>;
|
|
2618
2623
|
removeLiquidity: (...args: ExtractArgs<Contract['mutations']['removeLiquidity']>) => Promise<Address>;
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
cancelOwnershipChange: (...args: ExtractArgs<Contract['mutations']['cancelOwnershipChange']>) => Promise<Address>;
|
|
2626
|
-
setOwnershipChangeDelay: (...args: ExtractArgs<Contract['mutations']['setOwnershipChangeDelay']>) => Promise<Address>;
|
|
2627
|
-
recoverFunds: (...args: ExtractArgs<Contract['mutations']['recoverFunds']>) => Promise<Address>;
|
|
2624
|
+
addLiquidityConcentrated: (...args: ExtractArgs<Contract['mutations']['addLiquidityConcentrated']>) => Promise<Address>;
|
|
2625
|
+
removeLiquidityConcentrated: (...args: ExtractArgs<Contract['mutations']['removeLiquidityConcentrated']>) => Promise<Address>;
|
|
2626
|
+
updateAssetData: (...args: ExtractArgs<Contract['mutations']['updateAssetData']>) => Promise<Address>;
|
|
2627
|
+
deregisterAsset: (...args: ExtractArgs<Contract['mutations']['deregisterAsset']>) => Promise<Address>;
|
|
2628
|
+
recoverNft: (...args: ExtractArgs<Contract['mutations']['recoverNft']>) => Promise<Address>;
|
|
2629
|
+
setLegoAccessForAction: (...args: ExtractArgs<Contract['mutations']['setLegoAccessForAction']>) => Promise<Address>;
|
|
2628
2630
|
};
|
|
2629
2631
|
export declare function toSdk(deployAddress: Address, publicClient?: PublicClient, walletClient?: WalletClient): SDK;
|
|
2630
2632
|
export {};
|
|
2631
|
-
//# sourceMappingURL=
|
|
2633
|
+
//# sourceMappingURL=UserWalletV1.d.ts.map
|