@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,19 +4,15 @@ type Address = `0x${string}`;
|
|
|
4
4
|
export declare const abi: readonly [{
|
|
5
5
|
readonly anonymous: false;
|
|
6
6
|
readonly inputs: readonly [{
|
|
7
|
-
readonly indexed:
|
|
8
|
-
readonly name: "
|
|
9
|
-
readonly type: "
|
|
10
|
-
}, {
|
|
11
|
-
readonly indexed: true;
|
|
12
|
-
readonly name: "recipient";
|
|
13
|
-
readonly type: "address";
|
|
7
|
+
readonly indexed: false;
|
|
8
|
+
readonly name: "oldNonce";
|
|
9
|
+
readonly type: "uint256";
|
|
14
10
|
}, {
|
|
15
11
|
readonly indexed: false;
|
|
16
|
-
readonly name: "
|
|
12
|
+
readonly name: "newNonce";
|
|
17
13
|
readonly type: "uint256";
|
|
18
14
|
}];
|
|
19
|
-
readonly name: "
|
|
15
|
+
readonly name: "NonceIncremented";
|
|
20
16
|
readonly type: "event";
|
|
21
17
|
}, {
|
|
22
18
|
readonly anonymous: false;
|
|
@@ -81,20 +77,11 @@ export declare const abi: readonly [{
|
|
|
81
77
|
readonly anonymous: false;
|
|
82
78
|
readonly inputs: readonly [{
|
|
83
79
|
readonly indexed: false;
|
|
84
|
-
readonly name: "
|
|
80
|
+
readonly name: "numBlocks";
|
|
85
81
|
readonly type: "uint256";
|
|
86
82
|
}];
|
|
87
|
-
readonly name: "
|
|
83
|
+
readonly name: "OwnershipTimeLockSet";
|
|
88
84
|
readonly type: "event";
|
|
89
|
-
}, {
|
|
90
|
-
readonly inputs: readonly [];
|
|
91
|
-
readonly name: "hasPendingOwnerChange";
|
|
92
|
-
readonly outputs: readonly [{
|
|
93
|
-
readonly name: "";
|
|
94
|
-
readonly type: "bool";
|
|
95
|
-
}];
|
|
96
|
-
readonly stateMutability: "view";
|
|
97
|
-
readonly type: "function";
|
|
98
85
|
}, {
|
|
99
86
|
readonly inputs: readonly [{
|
|
100
87
|
readonly name: "_newOwner";
|
|
@@ -116,12 +103,21 @@ export declare const abi: readonly [{
|
|
|
116
103
|
readonly outputs: readonly [];
|
|
117
104
|
readonly stateMutability: "nonpayable";
|
|
118
105
|
readonly type: "function";
|
|
106
|
+
}, {
|
|
107
|
+
readonly inputs: readonly [];
|
|
108
|
+
readonly name: "hasPendingOwnerChange";
|
|
109
|
+
readonly outputs: readonly [{
|
|
110
|
+
readonly name: "";
|
|
111
|
+
readonly type: "bool";
|
|
112
|
+
}];
|
|
113
|
+
readonly stateMutability: "view";
|
|
114
|
+
readonly type: "function";
|
|
119
115
|
}, {
|
|
120
116
|
readonly inputs: readonly [{
|
|
121
117
|
readonly name: "_numBlocks";
|
|
122
118
|
readonly type: "uint256";
|
|
123
119
|
}];
|
|
124
|
-
readonly name: "
|
|
120
|
+
readonly name: "setOwnershipTimeLock";
|
|
125
121
|
readonly outputs: readonly [];
|
|
126
122
|
readonly stateMutability: "nonpayable";
|
|
127
123
|
readonly type: "function";
|
|
@@ -134,6 +130,15 @@ export declare const abi: readonly [{
|
|
|
134
130
|
}];
|
|
135
131
|
readonly stateMutability: "view";
|
|
136
132
|
readonly type: "function";
|
|
133
|
+
}, {
|
|
134
|
+
readonly inputs: readonly [];
|
|
135
|
+
readonly name: "ownershipTimeLock";
|
|
136
|
+
readonly outputs: readonly [{
|
|
137
|
+
readonly name: "";
|
|
138
|
+
readonly type: "uint256";
|
|
139
|
+
}];
|
|
140
|
+
readonly stateMutability: "view";
|
|
141
|
+
readonly type: "function";
|
|
137
142
|
}, {
|
|
138
143
|
readonly inputs: readonly [];
|
|
139
144
|
readonly name: "pendingOwner";
|
|
@@ -155,7 +160,7 @@ export declare const abi: readonly [{
|
|
|
155
160
|
readonly type: "function";
|
|
156
161
|
}, {
|
|
157
162
|
readonly inputs: readonly [];
|
|
158
|
-
readonly name: "
|
|
163
|
+
readonly name: "MIN_OWNERSHIP_TIMELOCK";
|
|
159
164
|
readonly outputs: readonly [{
|
|
160
165
|
readonly name: "";
|
|
161
166
|
readonly type: "uint256";
|
|
@@ -164,7 +169,7 @@ export declare const abi: readonly [{
|
|
|
164
169
|
readonly type: "function";
|
|
165
170
|
}, {
|
|
166
171
|
readonly inputs: readonly [];
|
|
167
|
-
readonly name: "
|
|
172
|
+
readonly name: "MAX_OWNERSHIP_TIMELOCK";
|
|
168
173
|
readonly outputs: readonly [{
|
|
169
174
|
readonly name: "";
|
|
170
175
|
readonly type: "uint256";
|
|
@@ -172,54 +177,127 @@ export declare const abi: readonly [{
|
|
|
172
177
|
readonly stateMutability: "view";
|
|
173
178
|
readonly type: "function";
|
|
174
179
|
}, {
|
|
175
|
-
readonly inputs: readonly [
|
|
176
|
-
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly name: "_userWallet";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}, {
|
|
184
|
+
readonly name: "_recipient";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}];
|
|
187
|
+
readonly name: "transferFunds";
|
|
177
188
|
readonly outputs: readonly [{
|
|
178
189
|
readonly name: "";
|
|
179
190
|
readonly type: "uint256";
|
|
191
|
+
}, {
|
|
192
|
+
readonly name: "";
|
|
193
|
+
readonly type: "uint256";
|
|
180
194
|
}];
|
|
181
|
-
readonly stateMutability: "
|
|
195
|
+
readonly stateMutability: "nonpayable";
|
|
182
196
|
readonly type: "function";
|
|
183
197
|
}, {
|
|
184
|
-
readonly inputs: readonly [
|
|
185
|
-
|
|
198
|
+
readonly inputs: readonly [{
|
|
199
|
+
readonly name: "_userWallet";
|
|
200
|
+
readonly type: "address";
|
|
201
|
+
}, {
|
|
202
|
+
readonly name: "_recipient";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
}, {
|
|
205
|
+
readonly name: "_asset";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
}];
|
|
208
|
+
readonly name: "transferFunds";
|
|
186
209
|
readonly outputs: readonly [{
|
|
187
210
|
readonly name: "";
|
|
188
|
-
readonly type: "
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
}, {
|
|
213
|
+
readonly name: "";
|
|
214
|
+
readonly type: "uint256";
|
|
189
215
|
}];
|
|
190
|
-
readonly stateMutability: "
|
|
216
|
+
readonly stateMutability: "nonpayable";
|
|
191
217
|
readonly type: "function";
|
|
192
218
|
}, {
|
|
193
|
-
readonly inputs: readonly [
|
|
194
|
-
|
|
219
|
+
readonly inputs: readonly [{
|
|
220
|
+
readonly name: "_userWallet";
|
|
221
|
+
readonly type: "address";
|
|
222
|
+
}, {
|
|
223
|
+
readonly name: "_recipient";
|
|
224
|
+
readonly type: "address";
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "_asset";
|
|
227
|
+
readonly type: "address";
|
|
228
|
+
}, {
|
|
229
|
+
readonly name: "_amount";
|
|
230
|
+
readonly type: "uint256";
|
|
231
|
+
}];
|
|
232
|
+
readonly name: "transferFunds";
|
|
195
233
|
readonly outputs: readonly [{
|
|
196
234
|
readonly name: "";
|
|
197
|
-
readonly type: "
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}, {
|
|
237
|
+
readonly name: "";
|
|
238
|
+
readonly type: "uint256";
|
|
198
239
|
}];
|
|
199
|
-
readonly stateMutability: "
|
|
240
|
+
readonly stateMutability: "nonpayable";
|
|
200
241
|
readonly type: "function";
|
|
201
242
|
}, {
|
|
202
243
|
readonly inputs: readonly [{
|
|
203
244
|
readonly name: "_userWallet";
|
|
204
245
|
readonly type: "address";
|
|
205
246
|
}, {
|
|
206
|
-
readonly name: "
|
|
207
|
-
readonly type: "
|
|
247
|
+
readonly name: "_recipient";
|
|
248
|
+
readonly type: "address";
|
|
208
249
|
}, {
|
|
209
250
|
readonly name: "_asset";
|
|
210
251
|
readonly type: "address";
|
|
211
252
|
}, {
|
|
212
|
-
readonly name: "
|
|
213
|
-
readonly type: "
|
|
253
|
+
readonly name: "_amount";
|
|
254
|
+
readonly type: "uint256";
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "_isCheque";
|
|
257
|
+
readonly type: "bool";
|
|
214
258
|
}];
|
|
215
|
-
readonly name: "
|
|
259
|
+
readonly name: "transferFunds";
|
|
216
260
|
readonly outputs: readonly [{
|
|
217
261
|
readonly name: "";
|
|
218
262
|
readonly type: "uint256";
|
|
219
263
|
}, {
|
|
220
264
|
readonly name: "";
|
|
265
|
+
readonly type: "uint256";
|
|
266
|
+
}];
|
|
267
|
+
readonly stateMutability: "nonpayable";
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
}, {
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly name: "_userWallet";
|
|
272
|
+
readonly type: "address";
|
|
273
|
+
}, {
|
|
274
|
+
readonly name: "_recipient";
|
|
275
|
+
readonly type: "address";
|
|
276
|
+
}, {
|
|
277
|
+
readonly name: "_asset";
|
|
221
278
|
readonly type: "address";
|
|
222
279
|
}, {
|
|
280
|
+
readonly name: "_amount";
|
|
281
|
+
readonly type: "uint256";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "_isCheque";
|
|
284
|
+
readonly type: "bool";
|
|
285
|
+
}, {
|
|
286
|
+
readonly components: readonly [{
|
|
287
|
+
readonly name: "signature";
|
|
288
|
+
readonly type: "bytes";
|
|
289
|
+
}, {
|
|
290
|
+
readonly name: "nonce";
|
|
291
|
+
readonly type: "uint256";
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "expiration";
|
|
294
|
+
readonly type: "uint256";
|
|
295
|
+
}];
|
|
296
|
+
readonly name: "_sig";
|
|
297
|
+
readonly type: "tuple";
|
|
298
|
+
}];
|
|
299
|
+
readonly name: "transferFunds";
|
|
300
|
+
readonly outputs: readonly [{
|
|
223
301
|
readonly name: "";
|
|
224
302
|
readonly type: "uint256";
|
|
225
303
|
}, {
|
|
@@ -238,14 +316,8 @@ export declare const abi: readonly [{
|
|
|
238
316
|
}, {
|
|
239
317
|
readonly name: "_asset";
|
|
240
318
|
readonly type: "address";
|
|
241
|
-
}, {
|
|
242
|
-
readonly name: "_vault";
|
|
243
|
-
readonly type: "address";
|
|
244
|
-
}, {
|
|
245
|
-
readonly name: "_amount";
|
|
246
|
-
readonly type: "uint256";
|
|
247
319
|
}];
|
|
248
|
-
readonly name: "
|
|
320
|
+
readonly name: "depositForYield";
|
|
249
321
|
readonly outputs: readonly [{
|
|
250
322
|
readonly name: "";
|
|
251
323
|
readonly type: "uint256";
|
|
@@ -272,26 +344,10 @@ export declare const abi: readonly [{
|
|
|
272
344
|
readonly name: "_asset";
|
|
273
345
|
readonly type: "address";
|
|
274
346
|
}, {
|
|
275
|
-
readonly name: "
|
|
347
|
+
readonly name: "_vaultAddr";
|
|
276
348
|
readonly type: "address";
|
|
277
|
-
}, {
|
|
278
|
-
readonly name: "_amount";
|
|
279
|
-
readonly type: "uint256";
|
|
280
|
-
}, {
|
|
281
|
-
readonly components: readonly [{
|
|
282
|
-
readonly name: "signature";
|
|
283
|
-
readonly type: "bytes";
|
|
284
|
-
}, {
|
|
285
|
-
readonly name: "signer";
|
|
286
|
-
readonly type: "address";
|
|
287
|
-
}, {
|
|
288
|
-
readonly name: "expiration";
|
|
289
|
-
readonly type: "uint256";
|
|
290
|
-
}];
|
|
291
|
-
readonly name: "_sig";
|
|
292
|
-
readonly type: "tuple";
|
|
293
349
|
}];
|
|
294
|
-
readonly name: "
|
|
350
|
+
readonly name: "depositForYield";
|
|
295
351
|
readonly outputs: readonly [{
|
|
296
352
|
readonly name: "";
|
|
297
353
|
readonly type: "uint256";
|
|
@@ -318,13 +374,19 @@ export declare const abi: readonly [{
|
|
|
318
374
|
readonly name: "_asset";
|
|
319
375
|
readonly type: "address";
|
|
320
376
|
}, {
|
|
321
|
-
readonly name: "
|
|
377
|
+
readonly name: "_vaultAddr";
|
|
322
378
|
readonly type: "address";
|
|
379
|
+
}, {
|
|
380
|
+
readonly name: "_amount";
|
|
381
|
+
readonly type: "uint256";
|
|
323
382
|
}];
|
|
324
|
-
readonly name: "
|
|
383
|
+
readonly name: "depositForYield";
|
|
325
384
|
readonly outputs: readonly [{
|
|
326
385
|
readonly name: "";
|
|
327
386
|
readonly type: "uint256";
|
|
387
|
+
}, {
|
|
388
|
+
readonly name: "";
|
|
389
|
+
readonly type: "address";
|
|
328
390
|
}, {
|
|
329
391
|
readonly name: "";
|
|
330
392
|
readonly type: "uint256";
|
|
@@ -345,16 +407,22 @@ export declare const abi: readonly [{
|
|
|
345
407
|
readonly name: "_asset";
|
|
346
408
|
readonly type: "address";
|
|
347
409
|
}, {
|
|
348
|
-
readonly name: "
|
|
410
|
+
readonly name: "_vaultAddr";
|
|
349
411
|
readonly type: "address";
|
|
350
412
|
}, {
|
|
351
|
-
readonly name: "
|
|
413
|
+
readonly name: "_amount";
|
|
352
414
|
readonly type: "uint256";
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "_extraData";
|
|
417
|
+
readonly type: "bytes32";
|
|
353
418
|
}];
|
|
354
|
-
readonly name: "
|
|
419
|
+
readonly name: "depositForYield";
|
|
355
420
|
readonly outputs: readonly [{
|
|
356
421
|
readonly name: "";
|
|
357
422
|
readonly type: "uint256";
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "";
|
|
425
|
+
readonly type: "address";
|
|
358
426
|
}, {
|
|
359
427
|
readonly name: "";
|
|
360
428
|
readonly type: "uint256";
|
|
@@ -375,18 +443,21 @@ export declare const abi: readonly [{
|
|
|
375
443
|
readonly name: "_asset";
|
|
376
444
|
readonly type: "address";
|
|
377
445
|
}, {
|
|
378
|
-
readonly name: "
|
|
446
|
+
readonly name: "_vaultAddr";
|
|
379
447
|
readonly type: "address";
|
|
380
448
|
}, {
|
|
381
|
-
readonly name: "
|
|
449
|
+
readonly name: "_amount";
|
|
382
450
|
readonly type: "uint256";
|
|
451
|
+
}, {
|
|
452
|
+
readonly name: "_extraData";
|
|
453
|
+
readonly type: "bytes32";
|
|
383
454
|
}, {
|
|
384
455
|
readonly components: readonly [{
|
|
385
456
|
readonly name: "signature";
|
|
386
457
|
readonly type: "bytes";
|
|
387
458
|
}, {
|
|
388
|
-
readonly name: "
|
|
389
|
-
readonly type: "
|
|
459
|
+
readonly name: "nonce";
|
|
460
|
+
readonly type: "uint256";
|
|
390
461
|
}, {
|
|
391
462
|
readonly name: "expiration";
|
|
392
463
|
readonly type: "uint256";
|
|
@@ -394,10 +465,13 @@ export declare const abi: readonly [{
|
|
|
394
465
|
readonly name: "_sig";
|
|
395
466
|
readonly type: "tuple";
|
|
396
467
|
}];
|
|
397
|
-
readonly name: "
|
|
468
|
+
readonly name: "depositForYield";
|
|
398
469
|
readonly outputs: readonly [{
|
|
399
470
|
readonly name: "";
|
|
400
471
|
readonly type: "uint256";
|
|
472
|
+
}, {
|
|
473
|
+
readonly name: "";
|
|
474
|
+
readonly type: "address";
|
|
401
475
|
}, {
|
|
402
476
|
readonly name: "";
|
|
403
477
|
readonly type: "uint256";
|
|
@@ -412,22 +486,43 @@ export declare const abi: readonly [{
|
|
|
412
486
|
readonly name: "_userWallet";
|
|
413
487
|
readonly type: "address";
|
|
414
488
|
}, {
|
|
415
|
-
readonly name: "
|
|
489
|
+
readonly name: "_legoId";
|
|
416
490
|
readonly type: "uint256";
|
|
417
491
|
}, {
|
|
418
|
-
readonly name: "
|
|
492
|
+
readonly name: "_vaultToken";
|
|
419
493
|
readonly type: "address";
|
|
494
|
+
}];
|
|
495
|
+
readonly name: "withdrawFromYield";
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly name: "";
|
|
498
|
+
readonly type: "uint256";
|
|
420
499
|
}, {
|
|
421
|
-
readonly name: "
|
|
500
|
+
readonly name: "";
|
|
422
501
|
readonly type: "address";
|
|
423
502
|
}, {
|
|
424
|
-
readonly name: "
|
|
503
|
+
readonly name: "";
|
|
504
|
+
readonly type: "uint256";
|
|
505
|
+
}, {
|
|
506
|
+
readonly name: "";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
}];
|
|
509
|
+
readonly stateMutability: "nonpayable";
|
|
510
|
+
readonly type: "function";
|
|
511
|
+
}, {
|
|
512
|
+
readonly inputs: readonly [{
|
|
513
|
+
readonly name: "_userWallet";
|
|
514
|
+
readonly type: "address";
|
|
515
|
+
}, {
|
|
516
|
+
readonly name: "_legoId";
|
|
425
517
|
readonly type: "uint256";
|
|
426
518
|
}, {
|
|
427
|
-
readonly name: "
|
|
519
|
+
readonly name: "_vaultToken";
|
|
428
520
|
readonly type: "address";
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "_amount";
|
|
523
|
+
readonly type: "uint256";
|
|
429
524
|
}];
|
|
430
|
-
readonly name: "
|
|
525
|
+
readonly name: "withdrawFromYield";
|
|
431
526
|
readonly outputs: readonly [{
|
|
432
527
|
readonly name: "";
|
|
433
528
|
readonly type: "uint256";
|
|
@@ -448,25 +543,19 @@ export declare const abi: readonly [{
|
|
|
448
543
|
readonly name: "_userWallet";
|
|
449
544
|
readonly type: "address";
|
|
450
545
|
}, {
|
|
451
|
-
readonly name: "
|
|
546
|
+
readonly name: "_legoId";
|
|
452
547
|
readonly type: "uint256";
|
|
453
548
|
}, {
|
|
454
|
-
readonly name: "
|
|
455
|
-
readonly type: "address";
|
|
456
|
-
}, {
|
|
457
|
-
readonly name: "_fromVaultToken";
|
|
549
|
+
readonly name: "_vaultToken";
|
|
458
550
|
readonly type: "address";
|
|
459
551
|
}, {
|
|
460
|
-
readonly name: "
|
|
552
|
+
readonly name: "_amount";
|
|
461
553
|
readonly type: "uint256";
|
|
462
554
|
}, {
|
|
463
|
-
readonly name: "
|
|
464
|
-
readonly type: "
|
|
465
|
-
}, {
|
|
466
|
-
readonly name: "_fromVaultTokenAmount";
|
|
467
|
-
readonly type: "uint256";
|
|
555
|
+
readonly name: "_extraData";
|
|
556
|
+
readonly type: "bytes32";
|
|
468
557
|
}];
|
|
469
|
-
readonly name: "
|
|
558
|
+
readonly name: "withdrawFromYield";
|
|
470
559
|
readonly outputs: readonly [{
|
|
471
560
|
readonly name: "";
|
|
472
561
|
readonly type: "uint256";
|
|
@@ -487,30 +576,24 @@ export declare const abi: readonly [{
|
|
|
487
576
|
readonly name: "_userWallet";
|
|
488
577
|
readonly type: "address";
|
|
489
578
|
}, {
|
|
490
|
-
readonly name: "
|
|
579
|
+
readonly name: "_legoId";
|
|
491
580
|
readonly type: "uint256";
|
|
492
581
|
}, {
|
|
493
|
-
readonly name: "
|
|
494
|
-
readonly type: "address";
|
|
495
|
-
}, {
|
|
496
|
-
readonly name: "_fromVaultToken";
|
|
582
|
+
readonly name: "_vaultToken";
|
|
497
583
|
readonly type: "address";
|
|
498
584
|
}, {
|
|
499
|
-
readonly name: "
|
|
585
|
+
readonly name: "_amount";
|
|
500
586
|
readonly type: "uint256";
|
|
501
587
|
}, {
|
|
502
|
-
readonly name: "
|
|
503
|
-
readonly type: "
|
|
504
|
-
}, {
|
|
505
|
-
readonly name: "_fromVaultTokenAmount";
|
|
506
|
-
readonly type: "uint256";
|
|
588
|
+
readonly name: "_extraData";
|
|
589
|
+
readonly type: "bytes32";
|
|
507
590
|
}, {
|
|
508
591
|
readonly components: readonly [{
|
|
509
592
|
readonly name: "signature";
|
|
510
593
|
readonly type: "bytes";
|
|
511
594
|
}, {
|
|
512
|
-
readonly name: "
|
|
513
|
-
readonly type: "
|
|
595
|
+
readonly name: "nonce";
|
|
596
|
+
readonly type: "uint256";
|
|
514
597
|
}, {
|
|
515
598
|
readonly name: "expiration";
|
|
516
599
|
readonly type: "uint256";
|
|
@@ -518,7 +601,7 @@ export declare const abi: readonly [{
|
|
|
518
601
|
readonly name: "_sig";
|
|
519
602
|
readonly type: "tuple";
|
|
520
603
|
}];
|
|
521
|
-
readonly name: "
|
|
604
|
+
readonly name: "withdrawFromYield";
|
|
522
605
|
readonly outputs: readonly [{
|
|
523
606
|
readonly name: "";
|
|
524
607
|
readonly type: "uint256";
|
|
@@ -539,29 +622,22 @@ export declare const abi: readonly [{
|
|
|
539
622
|
readonly name: "_userWallet";
|
|
540
623
|
readonly type: "address";
|
|
541
624
|
}, {
|
|
542
|
-
readonly
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
readonly type: "uint256";
|
|
551
|
-
}, {
|
|
552
|
-
readonly name: "tokenPath";
|
|
553
|
-
readonly type: "address[]";
|
|
554
|
-
}, {
|
|
555
|
-
readonly name: "poolPath";
|
|
556
|
-
readonly type: "address[]";
|
|
557
|
-
}];
|
|
558
|
-
readonly name: "_swapInstructions";
|
|
559
|
-
readonly type: "tuple[]";
|
|
625
|
+
readonly name: "_fromLegoId";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
}, {
|
|
628
|
+
readonly name: "_fromVaultToken";
|
|
629
|
+
readonly type: "address";
|
|
630
|
+
}, {
|
|
631
|
+
readonly name: "_toLegoId";
|
|
632
|
+
readonly type: "uint256";
|
|
560
633
|
}];
|
|
561
|
-
readonly name: "
|
|
634
|
+
readonly name: "rebalanceYieldPosition";
|
|
562
635
|
readonly outputs: readonly [{
|
|
563
636
|
readonly name: "";
|
|
564
637
|
readonly type: "uint256";
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "";
|
|
640
|
+
readonly type: "address";
|
|
565
641
|
}, {
|
|
566
642
|
readonly name: "";
|
|
567
643
|
readonly type: "uint256";
|
|
@@ -576,42 +652,25 @@ export declare const abi: readonly [{
|
|
|
576
652
|
readonly name: "_userWallet";
|
|
577
653
|
readonly type: "address";
|
|
578
654
|
}, {
|
|
579
|
-
readonly
|
|
580
|
-
|
|
581
|
-
readonly type: "uint256";
|
|
582
|
-
}, {
|
|
583
|
-
readonly name: "amountIn";
|
|
584
|
-
readonly type: "uint256";
|
|
585
|
-
}, {
|
|
586
|
-
readonly name: "minAmountOut";
|
|
587
|
-
readonly type: "uint256";
|
|
588
|
-
}, {
|
|
589
|
-
readonly name: "tokenPath";
|
|
590
|
-
readonly type: "address[]";
|
|
591
|
-
}, {
|
|
592
|
-
readonly name: "poolPath";
|
|
593
|
-
readonly type: "address[]";
|
|
594
|
-
}];
|
|
595
|
-
readonly name: "_swapInstructions";
|
|
596
|
-
readonly type: "tuple[]";
|
|
655
|
+
readonly name: "_fromLegoId";
|
|
656
|
+
readonly type: "uint256";
|
|
597
657
|
}, {
|
|
598
|
-
readonly
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
readonly type: "uint256";
|
|
607
|
-
}];
|
|
608
|
-
readonly name: "_sig";
|
|
609
|
-
readonly type: "tuple";
|
|
658
|
+
readonly name: "_fromVaultToken";
|
|
659
|
+
readonly type: "address";
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "_toLegoId";
|
|
662
|
+
readonly type: "uint256";
|
|
663
|
+
}, {
|
|
664
|
+
readonly name: "_toVaultAddr";
|
|
665
|
+
readonly type: "address";
|
|
610
666
|
}];
|
|
611
|
-
readonly name: "
|
|
667
|
+
readonly name: "rebalanceYieldPosition";
|
|
612
668
|
readonly outputs: readonly [{
|
|
613
669
|
readonly name: "";
|
|
614
670
|
readonly type: "uint256";
|
|
671
|
+
}, {
|
|
672
|
+
readonly name: "";
|
|
673
|
+
readonly type: "address";
|
|
615
674
|
}, {
|
|
616
675
|
readonly name: "";
|
|
617
676
|
readonly type: "uint256";
|
|
@@ -626,45 +685,26 @@ export declare const abi: readonly [{
|
|
|
626
685
|
readonly name: "_userWallet";
|
|
627
686
|
readonly type: "address";
|
|
628
687
|
}, {
|
|
629
|
-
readonly
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
readonly type: "uint256";
|
|
635
|
-
}, {
|
|
636
|
-
readonly name: "minAmountOut";
|
|
637
|
-
readonly type: "uint256";
|
|
638
|
-
}, {
|
|
639
|
-
readonly name: "tokenPath";
|
|
640
|
-
readonly type: "address[]";
|
|
641
|
-
}, {
|
|
642
|
-
readonly name: "poolPath";
|
|
643
|
-
readonly type: "address[]";
|
|
644
|
-
}];
|
|
645
|
-
readonly name: "_swapInstructions";
|
|
646
|
-
readonly type: "tuple[]";
|
|
688
|
+
readonly name: "_fromLegoId";
|
|
689
|
+
readonly type: "uint256";
|
|
690
|
+
}, {
|
|
691
|
+
readonly name: "_fromVaultToken";
|
|
692
|
+
readonly type: "address";
|
|
647
693
|
}, {
|
|
648
|
-
readonly name: "
|
|
694
|
+
readonly name: "_toLegoId";
|
|
649
695
|
readonly type: "uint256";
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
readonly outputs: readonly [{
|
|
653
|
-
readonly name: "";
|
|
654
|
-
readonly type: "bytes32";
|
|
655
|
-
}];
|
|
656
|
-
readonly stateMutability: "view";
|
|
657
|
-
readonly type: "function";
|
|
658
|
-
}, {
|
|
659
|
-
readonly inputs: readonly [{
|
|
660
|
-
readonly name: "_userWallet";
|
|
696
|
+
}, {
|
|
697
|
+
readonly name: "_toVaultAddr";
|
|
661
698
|
readonly type: "address";
|
|
662
699
|
}, {
|
|
663
|
-
readonly name: "
|
|
700
|
+
readonly name: "_fromVaultAmount";
|
|
664
701
|
readonly type: "uint256";
|
|
665
702
|
}];
|
|
666
|
-
readonly name: "
|
|
703
|
+
readonly name: "rebalanceYieldPosition";
|
|
667
704
|
readonly outputs: readonly [{
|
|
705
|
+
readonly name: "";
|
|
706
|
+
readonly type: "uint256";
|
|
707
|
+
}, {
|
|
668
708
|
readonly name: "";
|
|
669
709
|
readonly type: "address";
|
|
670
710
|
}, {
|
|
@@ -681,14 +721,29 @@ export declare const abi: readonly [{
|
|
|
681
721
|
readonly name: "_userWallet";
|
|
682
722
|
readonly type: "address";
|
|
683
723
|
}, {
|
|
684
|
-
readonly name: "
|
|
724
|
+
readonly name: "_fromLegoId";
|
|
685
725
|
readonly type: "uint256";
|
|
686
726
|
}, {
|
|
687
|
-
readonly name: "
|
|
727
|
+
readonly name: "_fromVaultToken";
|
|
728
|
+
readonly type: "address";
|
|
729
|
+
}, {
|
|
730
|
+
readonly name: "_toLegoId";
|
|
731
|
+
readonly type: "uint256";
|
|
732
|
+
}, {
|
|
733
|
+
readonly name: "_toVaultAddr";
|
|
688
734
|
readonly type: "address";
|
|
735
|
+
}, {
|
|
736
|
+
readonly name: "_fromVaultAmount";
|
|
737
|
+
readonly type: "uint256";
|
|
738
|
+
}, {
|
|
739
|
+
readonly name: "_extraData";
|
|
740
|
+
readonly type: "bytes32";
|
|
689
741
|
}];
|
|
690
|
-
readonly name: "
|
|
742
|
+
readonly name: "rebalanceYieldPosition";
|
|
691
743
|
readonly outputs: readonly [{
|
|
744
|
+
readonly name: "";
|
|
745
|
+
readonly type: "uint256";
|
|
746
|
+
}, {
|
|
692
747
|
readonly name: "";
|
|
693
748
|
readonly type: "address";
|
|
694
749
|
}, {
|
|
@@ -705,17 +760,42 @@ export declare const abi: readonly [{
|
|
|
705
760
|
readonly name: "_userWallet";
|
|
706
761
|
readonly type: "address";
|
|
707
762
|
}, {
|
|
708
|
-
readonly name: "
|
|
763
|
+
readonly name: "_fromLegoId";
|
|
709
764
|
readonly type: "uint256";
|
|
710
765
|
}, {
|
|
711
|
-
readonly name: "
|
|
766
|
+
readonly name: "_fromVaultToken";
|
|
712
767
|
readonly type: "address";
|
|
713
768
|
}, {
|
|
714
|
-
readonly name: "
|
|
769
|
+
readonly name: "_toLegoId";
|
|
715
770
|
readonly type: "uint256";
|
|
771
|
+
}, {
|
|
772
|
+
readonly name: "_toVaultAddr";
|
|
773
|
+
readonly type: "address";
|
|
774
|
+
}, {
|
|
775
|
+
readonly name: "_fromVaultAmount";
|
|
776
|
+
readonly type: "uint256";
|
|
777
|
+
}, {
|
|
778
|
+
readonly name: "_extraData";
|
|
779
|
+
readonly type: "bytes32";
|
|
780
|
+
}, {
|
|
781
|
+
readonly components: readonly [{
|
|
782
|
+
readonly name: "signature";
|
|
783
|
+
readonly type: "bytes";
|
|
784
|
+
}, {
|
|
785
|
+
readonly name: "nonce";
|
|
786
|
+
readonly type: "uint256";
|
|
787
|
+
}, {
|
|
788
|
+
readonly name: "expiration";
|
|
789
|
+
readonly type: "uint256";
|
|
790
|
+
}];
|
|
791
|
+
readonly name: "_sig";
|
|
792
|
+
readonly type: "tuple";
|
|
716
793
|
}];
|
|
717
|
-
readonly name: "
|
|
794
|
+
readonly name: "rebalanceYieldPosition";
|
|
718
795
|
readonly outputs: readonly [{
|
|
796
|
+
readonly name: "";
|
|
797
|
+
readonly type: "uint256";
|
|
798
|
+
}, {
|
|
719
799
|
readonly name: "";
|
|
720
800
|
readonly type: "address";
|
|
721
801
|
}, {
|
|
@@ -732,21 +812,74 @@ export declare const abi: readonly [{
|
|
|
732
812
|
readonly name: "_userWallet";
|
|
733
813
|
readonly type: "address";
|
|
734
814
|
}, {
|
|
735
|
-
readonly
|
|
815
|
+
readonly components: readonly [{
|
|
816
|
+
readonly name: "legoId";
|
|
817
|
+
readonly type: "uint256";
|
|
818
|
+
}, {
|
|
819
|
+
readonly name: "amountIn";
|
|
820
|
+
readonly type: "uint256";
|
|
821
|
+
}, {
|
|
822
|
+
readonly name: "minAmountOut";
|
|
823
|
+
readonly type: "uint256";
|
|
824
|
+
}, {
|
|
825
|
+
readonly name: "tokenPath";
|
|
826
|
+
readonly type: "address[]";
|
|
827
|
+
}, {
|
|
828
|
+
readonly name: "poolPath";
|
|
829
|
+
readonly type: "address[]";
|
|
830
|
+
}];
|
|
831
|
+
readonly name: "_swapInstructions";
|
|
832
|
+
readonly type: "tuple[]";
|
|
833
|
+
}];
|
|
834
|
+
readonly name: "swapTokens";
|
|
835
|
+
readonly outputs: readonly [{
|
|
836
|
+
readonly name: "";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
}, {
|
|
839
|
+
readonly name: "";
|
|
736
840
|
readonly type: "uint256";
|
|
737
841
|
}, {
|
|
738
|
-
readonly name: "
|
|
842
|
+
readonly name: "";
|
|
739
843
|
readonly type: "address";
|
|
740
844
|
}, {
|
|
741
|
-
readonly name: "
|
|
845
|
+
readonly name: "";
|
|
742
846
|
readonly type: "uint256";
|
|
847
|
+
}, {
|
|
848
|
+
readonly name: "";
|
|
849
|
+
readonly type: "uint256";
|
|
850
|
+
}];
|
|
851
|
+
readonly stateMutability: "nonpayable";
|
|
852
|
+
readonly type: "function";
|
|
853
|
+
}, {
|
|
854
|
+
readonly inputs: readonly [{
|
|
855
|
+
readonly name: "_userWallet";
|
|
856
|
+
readonly type: "address";
|
|
857
|
+
}, {
|
|
858
|
+
readonly components: readonly [{
|
|
859
|
+
readonly name: "legoId";
|
|
860
|
+
readonly type: "uint256";
|
|
861
|
+
}, {
|
|
862
|
+
readonly name: "amountIn";
|
|
863
|
+
readonly type: "uint256";
|
|
864
|
+
}, {
|
|
865
|
+
readonly name: "minAmountOut";
|
|
866
|
+
readonly type: "uint256";
|
|
867
|
+
}, {
|
|
868
|
+
readonly name: "tokenPath";
|
|
869
|
+
readonly type: "address[]";
|
|
870
|
+
}, {
|
|
871
|
+
readonly name: "poolPath";
|
|
872
|
+
readonly type: "address[]";
|
|
873
|
+
}];
|
|
874
|
+
readonly name: "_swapInstructions";
|
|
875
|
+
readonly type: "tuple[]";
|
|
743
876
|
}, {
|
|
744
877
|
readonly components: readonly [{
|
|
745
878
|
readonly name: "signature";
|
|
746
879
|
readonly type: "bytes";
|
|
747
880
|
}, {
|
|
748
|
-
readonly name: "
|
|
749
|
-
readonly type: "
|
|
881
|
+
readonly name: "nonce";
|
|
882
|
+
readonly type: "uint256";
|
|
750
883
|
}, {
|
|
751
884
|
readonly name: "expiration";
|
|
752
885
|
readonly type: "uint256";
|
|
@@ -754,13 +887,19 @@ export declare const abi: readonly [{
|
|
|
754
887
|
readonly name: "_sig";
|
|
755
888
|
readonly type: "tuple";
|
|
756
889
|
}];
|
|
757
|
-
readonly name: "
|
|
890
|
+
readonly name: "swapTokens";
|
|
758
891
|
readonly outputs: readonly [{
|
|
759
892
|
readonly name: "";
|
|
760
893
|
readonly type: "address";
|
|
761
894
|
}, {
|
|
762
895
|
readonly name: "";
|
|
763
896
|
readonly type: "uint256";
|
|
897
|
+
}, {
|
|
898
|
+
readonly name: "";
|
|
899
|
+
readonly type: "address";
|
|
900
|
+
}, {
|
|
901
|
+
readonly name: "";
|
|
902
|
+
readonly type: "uint256";
|
|
764
903
|
}, {
|
|
765
904
|
readonly name: "";
|
|
766
905
|
readonly type: "uint256";
|
|
@@ -775,19 +914,22 @@ export declare const abi: readonly [{
|
|
|
775
914
|
readonly name: "_legoId";
|
|
776
915
|
readonly type: "uint256";
|
|
777
916
|
}, {
|
|
778
|
-
readonly name: "
|
|
917
|
+
readonly name: "_tokenIn";
|
|
918
|
+
readonly type: "address";
|
|
919
|
+
}, {
|
|
920
|
+
readonly name: "_tokenOut";
|
|
779
921
|
readonly type: "address";
|
|
780
922
|
}];
|
|
781
|
-
readonly name: "
|
|
923
|
+
readonly name: "mintOrRedeemAsset";
|
|
782
924
|
readonly outputs: readonly [{
|
|
783
925
|
readonly name: "";
|
|
784
|
-
readonly type: "
|
|
926
|
+
readonly type: "uint256";
|
|
785
927
|
}, {
|
|
786
928
|
readonly name: "";
|
|
787
929
|
readonly type: "uint256";
|
|
788
930
|
}, {
|
|
789
931
|
readonly name: "";
|
|
790
|
-
readonly type: "
|
|
932
|
+
readonly type: "bool";
|
|
791
933
|
}, {
|
|
792
934
|
readonly name: "";
|
|
793
935
|
readonly type: "uint256";
|
|
@@ -802,22 +944,25 @@ export declare const abi: readonly [{
|
|
|
802
944
|
readonly name: "_legoId";
|
|
803
945
|
readonly type: "uint256";
|
|
804
946
|
}, {
|
|
805
|
-
readonly name: "
|
|
947
|
+
readonly name: "_tokenIn";
|
|
806
948
|
readonly type: "address";
|
|
807
949
|
}, {
|
|
808
|
-
readonly name: "
|
|
950
|
+
readonly name: "_tokenOut";
|
|
951
|
+
readonly type: "address";
|
|
952
|
+
}, {
|
|
953
|
+
readonly name: "_amountIn";
|
|
809
954
|
readonly type: "uint256";
|
|
810
955
|
}];
|
|
811
|
-
readonly name: "
|
|
956
|
+
readonly name: "mintOrRedeemAsset";
|
|
812
957
|
readonly outputs: readonly [{
|
|
813
958
|
readonly name: "";
|
|
814
|
-
readonly type: "
|
|
959
|
+
readonly type: "uint256";
|
|
815
960
|
}, {
|
|
816
961
|
readonly name: "";
|
|
817
962
|
readonly type: "uint256";
|
|
818
963
|
}, {
|
|
819
964
|
readonly name: "";
|
|
820
|
-
readonly type: "
|
|
965
|
+
readonly type: "bool";
|
|
821
966
|
}, {
|
|
822
967
|
readonly name: "";
|
|
823
968
|
readonly type: "uint256";
|
|
@@ -832,30 +977,20 @@ export declare const abi: readonly [{
|
|
|
832
977
|
readonly name: "_legoId";
|
|
833
978
|
readonly type: "uint256";
|
|
834
979
|
}, {
|
|
835
|
-
readonly name: "
|
|
980
|
+
readonly name: "_tokenIn";
|
|
836
981
|
readonly type: "address";
|
|
837
982
|
}, {
|
|
838
|
-
readonly name: "
|
|
983
|
+
readonly name: "_tokenOut";
|
|
984
|
+
readonly type: "address";
|
|
985
|
+
}, {
|
|
986
|
+
readonly name: "_amountIn";
|
|
839
987
|
readonly type: "uint256";
|
|
840
988
|
}, {
|
|
841
|
-
readonly
|
|
842
|
-
|
|
843
|
-
readonly type: "bytes";
|
|
844
|
-
}, {
|
|
845
|
-
readonly name: "signer";
|
|
846
|
-
readonly type: "address";
|
|
847
|
-
}, {
|
|
848
|
-
readonly name: "expiration";
|
|
849
|
-
readonly type: "uint256";
|
|
850
|
-
}];
|
|
851
|
-
readonly name: "_sig";
|
|
852
|
-
readonly type: "tuple";
|
|
989
|
+
readonly name: "_minAmountOut";
|
|
990
|
+
readonly type: "uint256";
|
|
853
991
|
}];
|
|
854
|
-
readonly name: "
|
|
992
|
+
readonly name: "mintOrRedeemAsset";
|
|
855
993
|
readonly outputs: readonly [{
|
|
856
|
-
readonly name: "";
|
|
857
|
-
readonly type: "address";
|
|
858
|
-
}, {
|
|
859
994
|
readonly name: "";
|
|
860
995
|
readonly type: "uint256";
|
|
861
996
|
}, {
|
|
@@ -863,20 +998,11 @@ export declare const abi: readonly [{
|
|
|
863
998
|
readonly type: "uint256";
|
|
864
999
|
}, {
|
|
865
1000
|
readonly name: "";
|
|
866
|
-
readonly type: "
|
|
867
|
-
}];
|
|
868
|
-
readonly stateMutability: "nonpayable";
|
|
869
|
-
readonly type: "function";
|
|
870
|
-
}, {
|
|
871
|
-
readonly inputs: readonly [{
|
|
872
|
-
readonly name: "_userWallet";
|
|
873
|
-
readonly type: "address";
|
|
1001
|
+
readonly type: "bool";
|
|
874
1002
|
}, {
|
|
875
|
-
readonly name: "
|
|
1003
|
+
readonly name: "";
|
|
876
1004
|
readonly type: "uint256";
|
|
877
1005
|
}];
|
|
878
|
-
readonly name: "claimRewards";
|
|
879
|
-
readonly outputs: readonly [];
|
|
880
1006
|
readonly stateMutability: "nonpayable";
|
|
881
1007
|
readonly type: "function";
|
|
882
1008
|
}, {
|
|
@@ -887,29 +1013,992 @@ export declare const abi: readonly [{
|
|
|
887
1013
|
readonly name: "_legoId";
|
|
888
1014
|
readonly type: "uint256";
|
|
889
1015
|
}, {
|
|
890
|
-
readonly name: "
|
|
1016
|
+
readonly name: "_tokenIn";
|
|
891
1017
|
readonly type: "address";
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
readonly outputs: readonly [];
|
|
895
|
-
readonly stateMutability: "nonpayable";
|
|
896
|
-
readonly type: "function";
|
|
897
|
-
}, {
|
|
898
|
-
readonly inputs: readonly [{
|
|
899
|
-
readonly name: "_userWallet";
|
|
1018
|
+
}, {
|
|
1019
|
+
readonly name: "_tokenOut";
|
|
900
1020
|
readonly type: "address";
|
|
901
1021
|
}, {
|
|
902
|
-
readonly name: "
|
|
1022
|
+
readonly name: "_amountIn";
|
|
903
1023
|
readonly type: "uint256";
|
|
904
1024
|
}, {
|
|
905
|
-
readonly name: "
|
|
906
|
-
readonly type: "
|
|
1025
|
+
readonly name: "_minAmountOut";
|
|
1026
|
+
readonly type: "uint256";
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly name: "_extraData";
|
|
1029
|
+
readonly type: "bytes32";
|
|
1030
|
+
}];
|
|
1031
|
+
readonly name: "mintOrRedeemAsset";
|
|
1032
|
+
readonly outputs: readonly [{
|
|
1033
|
+
readonly name: "";
|
|
1034
|
+
readonly type: "uint256";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly name: "";
|
|
1037
|
+
readonly type: "uint256";
|
|
1038
|
+
}, {
|
|
1039
|
+
readonly name: "";
|
|
1040
|
+
readonly type: "bool";
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly name: "";
|
|
1043
|
+
readonly type: "uint256";
|
|
1044
|
+
}];
|
|
1045
|
+
readonly stateMutability: "nonpayable";
|
|
1046
|
+
readonly type: "function";
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly inputs: readonly [{
|
|
1049
|
+
readonly name: "_userWallet";
|
|
1050
|
+
readonly type: "address";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly name: "_legoId";
|
|
1053
|
+
readonly type: "uint256";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly name: "_tokenIn";
|
|
1056
|
+
readonly type: "address";
|
|
1057
|
+
}, {
|
|
1058
|
+
readonly name: "_tokenOut";
|
|
1059
|
+
readonly type: "address";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly name: "_amountIn";
|
|
1062
|
+
readonly type: "uint256";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly name: "_minAmountOut";
|
|
1065
|
+
readonly type: "uint256";
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly name: "_extraData";
|
|
1068
|
+
readonly type: "bytes32";
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly components: readonly [{
|
|
1071
|
+
readonly name: "signature";
|
|
1072
|
+
readonly type: "bytes";
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly name: "nonce";
|
|
1075
|
+
readonly type: "uint256";
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly name: "expiration";
|
|
1078
|
+
readonly type: "uint256";
|
|
1079
|
+
}];
|
|
1080
|
+
readonly name: "_sig";
|
|
1081
|
+
readonly type: "tuple";
|
|
1082
|
+
}];
|
|
1083
|
+
readonly name: "mintOrRedeemAsset";
|
|
1084
|
+
readonly outputs: readonly [{
|
|
1085
|
+
readonly name: "";
|
|
1086
|
+
readonly type: "uint256";
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly name: "";
|
|
1089
|
+
readonly type: "uint256";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly name: "";
|
|
1092
|
+
readonly type: "bool";
|
|
1093
|
+
}, {
|
|
1094
|
+
readonly name: "";
|
|
1095
|
+
readonly type: "uint256";
|
|
1096
|
+
}];
|
|
1097
|
+
readonly stateMutability: "nonpayable";
|
|
1098
|
+
readonly type: "function";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly inputs: readonly [{
|
|
1101
|
+
readonly name: "_userWallet";
|
|
1102
|
+
readonly type: "address";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly name: "_legoId";
|
|
1105
|
+
readonly type: "uint256";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly name: "_tokenIn";
|
|
1108
|
+
readonly type: "address";
|
|
1109
|
+
}, {
|
|
1110
|
+
readonly name: "_tokenOut";
|
|
1111
|
+
readonly type: "address";
|
|
1112
|
+
}];
|
|
1113
|
+
readonly name: "confirmMintOrRedeemAsset";
|
|
1114
|
+
readonly outputs: readonly [{
|
|
1115
|
+
readonly name: "";
|
|
1116
|
+
readonly type: "uint256";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly name: "";
|
|
1119
|
+
readonly type: "uint256";
|
|
1120
|
+
}];
|
|
1121
|
+
readonly stateMutability: "nonpayable";
|
|
1122
|
+
readonly type: "function";
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly inputs: readonly [{
|
|
1125
|
+
readonly name: "_userWallet";
|
|
1126
|
+
readonly type: "address";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly name: "_legoId";
|
|
1129
|
+
readonly type: "uint256";
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly name: "_tokenIn";
|
|
1132
|
+
readonly type: "address";
|
|
1133
|
+
}, {
|
|
1134
|
+
readonly name: "_tokenOut";
|
|
1135
|
+
readonly type: "address";
|
|
1136
|
+
}, {
|
|
1137
|
+
readonly name: "_extraData";
|
|
1138
|
+
readonly type: "bytes32";
|
|
1139
|
+
}];
|
|
1140
|
+
readonly name: "confirmMintOrRedeemAsset";
|
|
1141
|
+
readonly outputs: readonly [{
|
|
1142
|
+
readonly name: "";
|
|
1143
|
+
readonly type: "uint256";
|
|
1144
|
+
}, {
|
|
1145
|
+
readonly name: "";
|
|
1146
|
+
readonly type: "uint256";
|
|
1147
|
+
}];
|
|
1148
|
+
readonly stateMutability: "nonpayable";
|
|
1149
|
+
readonly type: "function";
|
|
1150
|
+
}, {
|
|
1151
|
+
readonly inputs: readonly [{
|
|
1152
|
+
readonly name: "_userWallet";
|
|
1153
|
+
readonly type: "address";
|
|
1154
|
+
}, {
|
|
1155
|
+
readonly name: "_legoId";
|
|
1156
|
+
readonly type: "uint256";
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly name: "_tokenIn";
|
|
1159
|
+
readonly type: "address";
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly name: "_tokenOut";
|
|
1162
|
+
readonly type: "address";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly name: "_extraData";
|
|
1165
|
+
readonly type: "bytes32";
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly components: readonly [{
|
|
1168
|
+
readonly name: "signature";
|
|
1169
|
+
readonly type: "bytes";
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly name: "nonce";
|
|
1172
|
+
readonly type: "uint256";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly name: "expiration";
|
|
1175
|
+
readonly type: "uint256";
|
|
1176
|
+
}];
|
|
1177
|
+
readonly name: "_sig";
|
|
1178
|
+
readonly type: "tuple";
|
|
1179
|
+
}];
|
|
1180
|
+
readonly name: "confirmMintOrRedeemAsset";
|
|
1181
|
+
readonly outputs: readonly [{
|
|
1182
|
+
readonly name: "";
|
|
1183
|
+
readonly type: "uint256";
|
|
1184
|
+
}, {
|
|
1185
|
+
readonly name: "";
|
|
1186
|
+
readonly type: "uint256";
|
|
1187
|
+
}];
|
|
1188
|
+
readonly stateMutability: "nonpayable";
|
|
1189
|
+
readonly type: "function";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly inputs: readonly [{
|
|
1192
|
+
readonly name: "_userWallet";
|
|
1193
|
+
readonly type: "address";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly name: "_legoId";
|
|
1196
|
+
readonly type: "uint256";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly name: "_asset";
|
|
1199
|
+
readonly type: "address";
|
|
1200
|
+
}];
|
|
1201
|
+
readonly name: "addCollateral";
|
|
1202
|
+
readonly outputs: readonly [{
|
|
1203
|
+
readonly name: "";
|
|
1204
|
+
readonly type: "uint256";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly name: "";
|
|
1207
|
+
readonly type: "uint256";
|
|
1208
|
+
}];
|
|
1209
|
+
readonly stateMutability: "nonpayable";
|
|
1210
|
+
readonly type: "function";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly inputs: readonly [{
|
|
1213
|
+
readonly name: "_userWallet";
|
|
1214
|
+
readonly type: "address";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly name: "_legoId";
|
|
1217
|
+
readonly type: "uint256";
|
|
1218
|
+
}, {
|
|
1219
|
+
readonly name: "_asset";
|
|
1220
|
+
readonly type: "address";
|
|
1221
|
+
}, {
|
|
1222
|
+
readonly name: "_amount";
|
|
1223
|
+
readonly type: "uint256";
|
|
1224
|
+
}];
|
|
1225
|
+
readonly name: "addCollateral";
|
|
1226
|
+
readonly outputs: readonly [{
|
|
1227
|
+
readonly name: "";
|
|
1228
|
+
readonly type: "uint256";
|
|
1229
|
+
}, {
|
|
1230
|
+
readonly name: "";
|
|
1231
|
+
readonly type: "uint256";
|
|
1232
|
+
}];
|
|
1233
|
+
readonly stateMutability: "nonpayable";
|
|
1234
|
+
readonly type: "function";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly inputs: readonly [{
|
|
1237
|
+
readonly name: "_userWallet";
|
|
1238
|
+
readonly type: "address";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly name: "_legoId";
|
|
1241
|
+
readonly type: "uint256";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly name: "_asset";
|
|
1244
|
+
readonly type: "address";
|
|
1245
|
+
}, {
|
|
1246
|
+
readonly name: "_amount";
|
|
1247
|
+
readonly type: "uint256";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly name: "_extraData";
|
|
1250
|
+
readonly type: "bytes32";
|
|
1251
|
+
}];
|
|
1252
|
+
readonly name: "addCollateral";
|
|
1253
|
+
readonly outputs: readonly [{
|
|
1254
|
+
readonly name: "";
|
|
1255
|
+
readonly type: "uint256";
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly name: "";
|
|
1258
|
+
readonly type: "uint256";
|
|
1259
|
+
}];
|
|
1260
|
+
readonly stateMutability: "nonpayable";
|
|
1261
|
+
readonly type: "function";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly inputs: readonly [{
|
|
1264
|
+
readonly name: "_userWallet";
|
|
1265
|
+
readonly type: "address";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly name: "_legoId";
|
|
1268
|
+
readonly type: "uint256";
|
|
1269
|
+
}, {
|
|
1270
|
+
readonly name: "_asset";
|
|
1271
|
+
readonly type: "address";
|
|
1272
|
+
}, {
|
|
1273
|
+
readonly name: "_amount";
|
|
1274
|
+
readonly type: "uint256";
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly name: "_extraData";
|
|
1277
|
+
readonly type: "bytes32";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly components: readonly [{
|
|
1280
|
+
readonly name: "signature";
|
|
1281
|
+
readonly type: "bytes";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly name: "nonce";
|
|
1284
|
+
readonly type: "uint256";
|
|
1285
|
+
}, {
|
|
1286
|
+
readonly name: "expiration";
|
|
1287
|
+
readonly type: "uint256";
|
|
1288
|
+
}];
|
|
1289
|
+
readonly name: "_sig";
|
|
1290
|
+
readonly type: "tuple";
|
|
1291
|
+
}];
|
|
1292
|
+
readonly name: "addCollateral";
|
|
1293
|
+
readonly outputs: readonly [{
|
|
1294
|
+
readonly name: "";
|
|
1295
|
+
readonly type: "uint256";
|
|
1296
|
+
}, {
|
|
1297
|
+
readonly name: "";
|
|
1298
|
+
readonly type: "uint256";
|
|
1299
|
+
}];
|
|
1300
|
+
readonly stateMutability: "nonpayable";
|
|
1301
|
+
readonly type: "function";
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly inputs: readonly [{
|
|
1304
|
+
readonly name: "_userWallet";
|
|
1305
|
+
readonly type: "address";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly name: "_legoId";
|
|
1308
|
+
readonly type: "uint256";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly name: "_asset";
|
|
1311
|
+
readonly type: "address";
|
|
1312
|
+
}];
|
|
1313
|
+
readonly name: "removeCollateral";
|
|
1314
|
+
readonly outputs: readonly [{
|
|
1315
|
+
readonly name: "";
|
|
1316
|
+
readonly type: "uint256";
|
|
1317
|
+
}, {
|
|
1318
|
+
readonly name: "";
|
|
1319
|
+
readonly type: "uint256";
|
|
1320
|
+
}];
|
|
1321
|
+
readonly stateMutability: "nonpayable";
|
|
1322
|
+
readonly type: "function";
|
|
1323
|
+
}, {
|
|
1324
|
+
readonly inputs: readonly [{
|
|
1325
|
+
readonly name: "_userWallet";
|
|
1326
|
+
readonly type: "address";
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly name: "_legoId";
|
|
1329
|
+
readonly type: "uint256";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly name: "_asset";
|
|
1332
|
+
readonly type: "address";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly name: "_amount";
|
|
1335
|
+
readonly type: "uint256";
|
|
1336
|
+
}];
|
|
1337
|
+
readonly name: "removeCollateral";
|
|
1338
|
+
readonly outputs: readonly [{
|
|
1339
|
+
readonly name: "";
|
|
1340
|
+
readonly type: "uint256";
|
|
1341
|
+
}, {
|
|
1342
|
+
readonly name: "";
|
|
1343
|
+
readonly type: "uint256";
|
|
1344
|
+
}];
|
|
1345
|
+
readonly stateMutability: "nonpayable";
|
|
1346
|
+
readonly type: "function";
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly inputs: readonly [{
|
|
1349
|
+
readonly name: "_userWallet";
|
|
1350
|
+
readonly type: "address";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly name: "_legoId";
|
|
1353
|
+
readonly type: "uint256";
|
|
1354
|
+
}, {
|
|
1355
|
+
readonly name: "_asset";
|
|
1356
|
+
readonly type: "address";
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly name: "_amount";
|
|
1359
|
+
readonly type: "uint256";
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly name: "_extraData";
|
|
1362
|
+
readonly type: "bytes32";
|
|
1363
|
+
}];
|
|
1364
|
+
readonly name: "removeCollateral";
|
|
1365
|
+
readonly outputs: readonly [{
|
|
1366
|
+
readonly name: "";
|
|
1367
|
+
readonly type: "uint256";
|
|
1368
|
+
}, {
|
|
1369
|
+
readonly name: "";
|
|
1370
|
+
readonly type: "uint256";
|
|
1371
|
+
}];
|
|
1372
|
+
readonly stateMutability: "nonpayable";
|
|
1373
|
+
readonly type: "function";
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly inputs: readonly [{
|
|
1376
|
+
readonly name: "_userWallet";
|
|
1377
|
+
readonly type: "address";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly name: "_legoId";
|
|
1380
|
+
readonly type: "uint256";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly name: "_asset";
|
|
1383
|
+
readonly type: "address";
|
|
1384
|
+
}, {
|
|
1385
|
+
readonly name: "_amount";
|
|
1386
|
+
readonly type: "uint256";
|
|
1387
|
+
}, {
|
|
1388
|
+
readonly name: "_extraData";
|
|
1389
|
+
readonly type: "bytes32";
|
|
1390
|
+
}, {
|
|
1391
|
+
readonly components: readonly [{
|
|
1392
|
+
readonly name: "signature";
|
|
1393
|
+
readonly type: "bytes";
|
|
1394
|
+
}, {
|
|
1395
|
+
readonly name: "nonce";
|
|
1396
|
+
readonly type: "uint256";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly name: "expiration";
|
|
1399
|
+
readonly type: "uint256";
|
|
1400
|
+
}];
|
|
1401
|
+
readonly name: "_sig";
|
|
1402
|
+
readonly type: "tuple";
|
|
1403
|
+
}];
|
|
1404
|
+
readonly name: "removeCollateral";
|
|
1405
|
+
readonly outputs: readonly [{
|
|
1406
|
+
readonly name: "";
|
|
1407
|
+
readonly type: "uint256";
|
|
1408
|
+
}, {
|
|
1409
|
+
readonly name: "";
|
|
1410
|
+
readonly type: "uint256";
|
|
1411
|
+
}];
|
|
1412
|
+
readonly stateMutability: "nonpayable";
|
|
1413
|
+
readonly type: "function";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly inputs: readonly [{
|
|
1416
|
+
readonly name: "_userWallet";
|
|
1417
|
+
readonly type: "address";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly name: "_legoId";
|
|
1420
|
+
readonly type: "uint256";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly name: "_borrowAsset";
|
|
1423
|
+
readonly type: "address";
|
|
1424
|
+
}];
|
|
1425
|
+
readonly name: "borrow";
|
|
1426
|
+
readonly outputs: readonly [{
|
|
1427
|
+
readonly name: "";
|
|
1428
|
+
readonly type: "uint256";
|
|
1429
|
+
}, {
|
|
1430
|
+
readonly name: "";
|
|
1431
|
+
readonly type: "uint256";
|
|
1432
|
+
}];
|
|
1433
|
+
readonly stateMutability: "nonpayable";
|
|
1434
|
+
readonly type: "function";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly inputs: readonly [{
|
|
1437
|
+
readonly name: "_userWallet";
|
|
1438
|
+
readonly type: "address";
|
|
1439
|
+
}, {
|
|
1440
|
+
readonly name: "_legoId";
|
|
1441
|
+
readonly type: "uint256";
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly name: "_borrowAsset";
|
|
1444
|
+
readonly type: "address";
|
|
1445
|
+
}, {
|
|
1446
|
+
readonly name: "_amount";
|
|
1447
|
+
readonly type: "uint256";
|
|
1448
|
+
}];
|
|
1449
|
+
readonly name: "borrow";
|
|
1450
|
+
readonly outputs: readonly [{
|
|
1451
|
+
readonly name: "";
|
|
1452
|
+
readonly type: "uint256";
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly name: "";
|
|
1455
|
+
readonly type: "uint256";
|
|
1456
|
+
}];
|
|
1457
|
+
readonly stateMutability: "nonpayable";
|
|
1458
|
+
readonly type: "function";
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly inputs: readonly [{
|
|
1461
|
+
readonly name: "_userWallet";
|
|
1462
|
+
readonly type: "address";
|
|
1463
|
+
}, {
|
|
1464
|
+
readonly name: "_legoId";
|
|
1465
|
+
readonly type: "uint256";
|
|
1466
|
+
}, {
|
|
1467
|
+
readonly name: "_borrowAsset";
|
|
1468
|
+
readonly type: "address";
|
|
1469
|
+
}, {
|
|
1470
|
+
readonly name: "_amount";
|
|
1471
|
+
readonly type: "uint256";
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly name: "_extraData";
|
|
1474
|
+
readonly type: "bytes32";
|
|
1475
|
+
}];
|
|
1476
|
+
readonly name: "borrow";
|
|
1477
|
+
readonly outputs: readonly [{
|
|
1478
|
+
readonly name: "";
|
|
1479
|
+
readonly type: "uint256";
|
|
1480
|
+
}, {
|
|
1481
|
+
readonly name: "";
|
|
1482
|
+
readonly type: "uint256";
|
|
1483
|
+
}];
|
|
1484
|
+
readonly stateMutability: "nonpayable";
|
|
1485
|
+
readonly type: "function";
|
|
1486
|
+
}, {
|
|
1487
|
+
readonly inputs: readonly [{
|
|
1488
|
+
readonly name: "_userWallet";
|
|
1489
|
+
readonly type: "address";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly name: "_legoId";
|
|
1492
|
+
readonly type: "uint256";
|
|
1493
|
+
}, {
|
|
1494
|
+
readonly name: "_borrowAsset";
|
|
1495
|
+
readonly type: "address";
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly name: "_amount";
|
|
1498
|
+
readonly type: "uint256";
|
|
1499
|
+
}, {
|
|
1500
|
+
readonly name: "_extraData";
|
|
1501
|
+
readonly type: "bytes32";
|
|
1502
|
+
}, {
|
|
1503
|
+
readonly components: readonly [{
|
|
1504
|
+
readonly name: "signature";
|
|
1505
|
+
readonly type: "bytes";
|
|
1506
|
+
}, {
|
|
1507
|
+
readonly name: "nonce";
|
|
1508
|
+
readonly type: "uint256";
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly name: "expiration";
|
|
1511
|
+
readonly type: "uint256";
|
|
1512
|
+
}];
|
|
1513
|
+
readonly name: "_sig";
|
|
1514
|
+
readonly type: "tuple";
|
|
1515
|
+
}];
|
|
1516
|
+
readonly name: "borrow";
|
|
1517
|
+
readonly outputs: readonly [{
|
|
1518
|
+
readonly name: "";
|
|
1519
|
+
readonly type: "uint256";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly name: "";
|
|
1522
|
+
readonly type: "uint256";
|
|
1523
|
+
}];
|
|
1524
|
+
readonly stateMutability: "nonpayable";
|
|
1525
|
+
readonly type: "function";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly inputs: readonly [{
|
|
1528
|
+
readonly name: "_userWallet";
|
|
1529
|
+
readonly type: "address";
|
|
1530
|
+
}, {
|
|
1531
|
+
readonly name: "_legoId";
|
|
1532
|
+
readonly type: "uint256";
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly name: "_paymentAsset";
|
|
1535
|
+
readonly type: "address";
|
|
1536
|
+
}];
|
|
1537
|
+
readonly name: "repayDebt";
|
|
1538
|
+
readonly outputs: readonly [{
|
|
1539
|
+
readonly name: "";
|
|
1540
|
+
readonly type: "uint256";
|
|
1541
|
+
}, {
|
|
1542
|
+
readonly name: "";
|
|
1543
|
+
readonly type: "uint256";
|
|
1544
|
+
}];
|
|
1545
|
+
readonly stateMutability: "nonpayable";
|
|
1546
|
+
readonly type: "function";
|
|
1547
|
+
}, {
|
|
1548
|
+
readonly inputs: readonly [{
|
|
1549
|
+
readonly name: "_userWallet";
|
|
1550
|
+
readonly type: "address";
|
|
1551
|
+
}, {
|
|
1552
|
+
readonly name: "_legoId";
|
|
1553
|
+
readonly type: "uint256";
|
|
1554
|
+
}, {
|
|
1555
|
+
readonly name: "_paymentAsset";
|
|
1556
|
+
readonly type: "address";
|
|
1557
|
+
}, {
|
|
1558
|
+
readonly name: "_paymentAmount";
|
|
1559
|
+
readonly type: "uint256";
|
|
1560
|
+
}];
|
|
1561
|
+
readonly name: "repayDebt";
|
|
1562
|
+
readonly outputs: readonly [{
|
|
1563
|
+
readonly name: "";
|
|
1564
|
+
readonly type: "uint256";
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly name: "";
|
|
1567
|
+
readonly type: "uint256";
|
|
1568
|
+
}];
|
|
1569
|
+
readonly stateMutability: "nonpayable";
|
|
1570
|
+
readonly type: "function";
|
|
1571
|
+
}, {
|
|
1572
|
+
readonly inputs: readonly [{
|
|
1573
|
+
readonly name: "_userWallet";
|
|
1574
|
+
readonly type: "address";
|
|
1575
|
+
}, {
|
|
1576
|
+
readonly name: "_legoId";
|
|
1577
|
+
readonly type: "uint256";
|
|
1578
|
+
}, {
|
|
1579
|
+
readonly name: "_paymentAsset";
|
|
1580
|
+
readonly type: "address";
|
|
1581
|
+
}, {
|
|
1582
|
+
readonly name: "_paymentAmount";
|
|
1583
|
+
readonly type: "uint256";
|
|
1584
|
+
}, {
|
|
1585
|
+
readonly name: "_extraData";
|
|
1586
|
+
readonly type: "bytes32";
|
|
1587
|
+
}];
|
|
1588
|
+
readonly name: "repayDebt";
|
|
1589
|
+
readonly outputs: readonly [{
|
|
1590
|
+
readonly name: "";
|
|
1591
|
+
readonly type: "uint256";
|
|
1592
|
+
}, {
|
|
1593
|
+
readonly name: "";
|
|
1594
|
+
readonly type: "uint256";
|
|
1595
|
+
}];
|
|
1596
|
+
readonly stateMutability: "nonpayable";
|
|
1597
|
+
readonly type: "function";
|
|
1598
|
+
}, {
|
|
1599
|
+
readonly inputs: readonly [{
|
|
1600
|
+
readonly name: "_userWallet";
|
|
1601
|
+
readonly type: "address";
|
|
1602
|
+
}, {
|
|
1603
|
+
readonly name: "_legoId";
|
|
1604
|
+
readonly type: "uint256";
|
|
1605
|
+
}, {
|
|
1606
|
+
readonly name: "_paymentAsset";
|
|
1607
|
+
readonly type: "address";
|
|
1608
|
+
}, {
|
|
1609
|
+
readonly name: "_paymentAmount";
|
|
1610
|
+
readonly type: "uint256";
|
|
1611
|
+
}, {
|
|
1612
|
+
readonly name: "_extraData";
|
|
1613
|
+
readonly type: "bytes32";
|
|
1614
|
+
}, {
|
|
1615
|
+
readonly components: readonly [{
|
|
1616
|
+
readonly name: "signature";
|
|
1617
|
+
readonly type: "bytes";
|
|
1618
|
+
}, {
|
|
1619
|
+
readonly name: "nonce";
|
|
1620
|
+
readonly type: "uint256";
|
|
1621
|
+
}, {
|
|
1622
|
+
readonly name: "expiration";
|
|
1623
|
+
readonly type: "uint256";
|
|
1624
|
+
}];
|
|
1625
|
+
readonly name: "_sig";
|
|
1626
|
+
readonly type: "tuple";
|
|
1627
|
+
}];
|
|
1628
|
+
readonly name: "repayDebt";
|
|
1629
|
+
readonly outputs: readonly [{
|
|
1630
|
+
readonly name: "";
|
|
1631
|
+
readonly type: "uint256";
|
|
1632
|
+
}, {
|
|
1633
|
+
readonly name: "";
|
|
1634
|
+
readonly type: "uint256";
|
|
1635
|
+
}];
|
|
1636
|
+
readonly stateMutability: "nonpayable";
|
|
1637
|
+
readonly type: "function";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly inputs: readonly [{
|
|
1640
|
+
readonly name: "_userWallet";
|
|
1641
|
+
readonly type: "address";
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly name: "_legoId";
|
|
1644
|
+
readonly type: "uint256";
|
|
1645
|
+
}];
|
|
1646
|
+
readonly name: "claimRewards";
|
|
1647
|
+
readonly outputs: readonly [{
|
|
1648
|
+
readonly name: "";
|
|
1649
|
+
readonly type: "uint256";
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly name: "";
|
|
1652
|
+
readonly type: "uint256";
|
|
1653
|
+
}];
|
|
1654
|
+
readonly stateMutability: "nonpayable";
|
|
1655
|
+
readonly type: "function";
|
|
1656
|
+
}, {
|
|
1657
|
+
readonly inputs: readonly [{
|
|
1658
|
+
readonly name: "_userWallet";
|
|
1659
|
+
readonly type: "address";
|
|
1660
|
+
}, {
|
|
1661
|
+
readonly name: "_legoId";
|
|
1662
|
+
readonly type: "uint256";
|
|
1663
|
+
}, {
|
|
1664
|
+
readonly name: "_rewardToken";
|
|
1665
|
+
readonly type: "address";
|
|
1666
|
+
}];
|
|
1667
|
+
readonly name: "claimRewards";
|
|
1668
|
+
readonly outputs: readonly [{
|
|
1669
|
+
readonly name: "";
|
|
1670
|
+
readonly type: "uint256";
|
|
1671
|
+
}, {
|
|
1672
|
+
readonly name: "";
|
|
1673
|
+
readonly type: "uint256";
|
|
1674
|
+
}];
|
|
1675
|
+
readonly stateMutability: "nonpayable";
|
|
1676
|
+
readonly type: "function";
|
|
1677
|
+
}, {
|
|
1678
|
+
readonly inputs: readonly [{
|
|
1679
|
+
readonly name: "_userWallet";
|
|
1680
|
+
readonly type: "address";
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly name: "_legoId";
|
|
1683
|
+
readonly type: "uint256";
|
|
1684
|
+
}, {
|
|
1685
|
+
readonly name: "_rewardToken";
|
|
1686
|
+
readonly type: "address";
|
|
1687
|
+
}, {
|
|
1688
|
+
readonly name: "_rewardAmount";
|
|
1689
|
+
readonly type: "uint256";
|
|
1690
|
+
}];
|
|
1691
|
+
readonly name: "claimRewards";
|
|
1692
|
+
readonly outputs: readonly [{
|
|
1693
|
+
readonly name: "";
|
|
1694
|
+
readonly type: "uint256";
|
|
1695
|
+
}, {
|
|
1696
|
+
readonly name: "";
|
|
1697
|
+
readonly type: "uint256";
|
|
1698
|
+
}];
|
|
1699
|
+
readonly stateMutability: "nonpayable";
|
|
1700
|
+
readonly type: "function";
|
|
1701
|
+
}, {
|
|
1702
|
+
readonly inputs: readonly [{
|
|
1703
|
+
readonly name: "_userWallet";
|
|
1704
|
+
readonly type: "address";
|
|
1705
|
+
}, {
|
|
1706
|
+
readonly name: "_legoId";
|
|
1707
|
+
readonly type: "uint256";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly name: "_rewardToken";
|
|
1710
|
+
readonly type: "address";
|
|
1711
|
+
}, {
|
|
1712
|
+
readonly name: "_rewardAmount";
|
|
1713
|
+
readonly type: "uint256";
|
|
1714
|
+
}, {
|
|
1715
|
+
readonly name: "_extraData";
|
|
1716
|
+
readonly type: "bytes32";
|
|
1717
|
+
}];
|
|
1718
|
+
readonly name: "claimRewards";
|
|
1719
|
+
readonly outputs: readonly [{
|
|
1720
|
+
readonly name: "";
|
|
1721
|
+
readonly type: "uint256";
|
|
1722
|
+
}, {
|
|
1723
|
+
readonly name: "";
|
|
1724
|
+
readonly type: "uint256";
|
|
1725
|
+
}];
|
|
1726
|
+
readonly stateMutability: "nonpayable";
|
|
1727
|
+
readonly type: "function";
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly inputs: readonly [{
|
|
1730
|
+
readonly name: "_userWallet";
|
|
1731
|
+
readonly type: "address";
|
|
1732
|
+
}, {
|
|
1733
|
+
readonly name: "_legoId";
|
|
1734
|
+
readonly type: "uint256";
|
|
1735
|
+
}, {
|
|
1736
|
+
readonly name: "_rewardToken";
|
|
1737
|
+
readonly type: "address";
|
|
1738
|
+
}, {
|
|
1739
|
+
readonly name: "_rewardAmount";
|
|
1740
|
+
readonly type: "uint256";
|
|
1741
|
+
}, {
|
|
1742
|
+
readonly name: "_extraData";
|
|
1743
|
+
readonly type: "bytes32";
|
|
1744
|
+
}, {
|
|
1745
|
+
readonly components: readonly [{
|
|
1746
|
+
readonly name: "signature";
|
|
1747
|
+
readonly type: "bytes";
|
|
1748
|
+
}, {
|
|
1749
|
+
readonly name: "nonce";
|
|
1750
|
+
readonly type: "uint256";
|
|
1751
|
+
}, {
|
|
1752
|
+
readonly name: "expiration";
|
|
1753
|
+
readonly type: "uint256";
|
|
1754
|
+
}];
|
|
1755
|
+
readonly name: "_sig";
|
|
1756
|
+
readonly type: "tuple";
|
|
1757
|
+
}];
|
|
1758
|
+
readonly name: "claimRewards";
|
|
1759
|
+
readonly outputs: readonly [{
|
|
1760
|
+
readonly name: "";
|
|
1761
|
+
readonly type: "uint256";
|
|
1762
|
+
}, {
|
|
1763
|
+
readonly name: "";
|
|
1764
|
+
readonly type: "uint256";
|
|
1765
|
+
}];
|
|
1766
|
+
readonly stateMutability: "nonpayable";
|
|
1767
|
+
readonly type: "function";
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly inputs: readonly [{
|
|
1770
|
+
readonly name: "_userWallet";
|
|
1771
|
+
readonly type: "address";
|
|
1772
|
+
}];
|
|
1773
|
+
readonly name: "convertWethToEth";
|
|
1774
|
+
readonly outputs: readonly [{
|
|
1775
|
+
readonly name: "";
|
|
1776
|
+
readonly type: "uint256";
|
|
1777
|
+
}, {
|
|
1778
|
+
readonly name: "";
|
|
1779
|
+
readonly type: "uint256";
|
|
1780
|
+
}];
|
|
1781
|
+
readonly stateMutability: "nonpayable";
|
|
1782
|
+
readonly type: "function";
|
|
1783
|
+
}, {
|
|
1784
|
+
readonly inputs: readonly [{
|
|
1785
|
+
readonly name: "_userWallet";
|
|
1786
|
+
readonly type: "address";
|
|
1787
|
+
}, {
|
|
1788
|
+
readonly name: "_amount";
|
|
1789
|
+
readonly type: "uint256";
|
|
1790
|
+
}];
|
|
1791
|
+
readonly name: "convertWethToEth";
|
|
1792
|
+
readonly outputs: readonly [{
|
|
1793
|
+
readonly name: "";
|
|
1794
|
+
readonly type: "uint256";
|
|
1795
|
+
}, {
|
|
1796
|
+
readonly name: "";
|
|
1797
|
+
readonly type: "uint256";
|
|
1798
|
+
}];
|
|
1799
|
+
readonly stateMutability: "nonpayable";
|
|
1800
|
+
readonly type: "function";
|
|
1801
|
+
}, {
|
|
1802
|
+
readonly inputs: readonly [{
|
|
1803
|
+
readonly name: "_userWallet";
|
|
1804
|
+
readonly type: "address";
|
|
1805
|
+
}, {
|
|
1806
|
+
readonly name: "_amount";
|
|
1807
|
+
readonly type: "uint256";
|
|
1808
|
+
}, {
|
|
1809
|
+
readonly components: readonly [{
|
|
1810
|
+
readonly name: "signature";
|
|
1811
|
+
readonly type: "bytes";
|
|
1812
|
+
}, {
|
|
1813
|
+
readonly name: "nonce";
|
|
1814
|
+
readonly type: "uint256";
|
|
1815
|
+
}, {
|
|
1816
|
+
readonly name: "expiration";
|
|
1817
|
+
readonly type: "uint256";
|
|
1818
|
+
}];
|
|
1819
|
+
readonly name: "_sig";
|
|
1820
|
+
readonly type: "tuple";
|
|
1821
|
+
}];
|
|
1822
|
+
readonly name: "convertWethToEth";
|
|
1823
|
+
readonly outputs: readonly [{
|
|
1824
|
+
readonly name: "";
|
|
1825
|
+
readonly type: "uint256";
|
|
1826
|
+
}, {
|
|
1827
|
+
readonly name: "";
|
|
1828
|
+
readonly type: "uint256";
|
|
1829
|
+
}];
|
|
1830
|
+
readonly stateMutability: "nonpayable";
|
|
1831
|
+
readonly type: "function";
|
|
1832
|
+
}, {
|
|
1833
|
+
readonly inputs: readonly [{
|
|
1834
|
+
readonly name: "_userWallet";
|
|
1835
|
+
readonly type: "address";
|
|
1836
|
+
}];
|
|
1837
|
+
readonly name: "convertEthToWeth";
|
|
1838
|
+
readonly outputs: readonly [{
|
|
1839
|
+
readonly name: "";
|
|
1840
|
+
readonly type: "uint256";
|
|
1841
|
+
}, {
|
|
1842
|
+
readonly name: "";
|
|
1843
|
+
readonly type: "uint256";
|
|
1844
|
+
}];
|
|
1845
|
+
readonly stateMutability: "nonpayable";
|
|
1846
|
+
readonly type: "function";
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly inputs: readonly [{
|
|
1849
|
+
readonly name: "_userWallet";
|
|
1850
|
+
readonly type: "address";
|
|
1851
|
+
}, {
|
|
1852
|
+
readonly name: "_amount";
|
|
1853
|
+
readonly type: "uint256";
|
|
1854
|
+
}];
|
|
1855
|
+
readonly name: "convertEthToWeth";
|
|
1856
|
+
readonly outputs: readonly [{
|
|
1857
|
+
readonly name: "";
|
|
1858
|
+
readonly type: "uint256";
|
|
1859
|
+
}, {
|
|
1860
|
+
readonly name: "";
|
|
1861
|
+
readonly type: "uint256";
|
|
1862
|
+
}];
|
|
1863
|
+
readonly stateMutability: "nonpayable";
|
|
1864
|
+
readonly type: "function";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly inputs: readonly [{
|
|
1867
|
+
readonly name: "_userWallet";
|
|
1868
|
+
readonly type: "address";
|
|
1869
|
+
}, {
|
|
1870
|
+
readonly name: "_amount";
|
|
1871
|
+
readonly type: "uint256";
|
|
1872
|
+
}, {
|
|
1873
|
+
readonly components: readonly [{
|
|
1874
|
+
readonly name: "signature";
|
|
1875
|
+
readonly type: "bytes";
|
|
1876
|
+
}, {
|
|
1877
|
+
readonly name: "nonce";
|
|
1878
|
+
readonly type: "uint256";
|
|
1879
|
+
}, {
|
|
1880
|
+
readonly name: "expiration";
|
|
1881
|
+
readonly type: "uint256";
|
|
1882
|
+
}];
|
|
1883
|
+
readonly name: "_sig";
|
|
1884
|
+
readonly type: "tuple";
|
|
1885
|
+
}];
|
|
1886
|
+
readonly name: "convertEthToWeth";
|
|
1887
|
+
readonly outputs: readonly [{
|
|
1888
|
+
readonly name: "";
|
|
1889
|
+
readonly type: "uint256";
|
|
1890
|
+
}, {
|
|
1891
|
+
readonly name: "";
|
|
1892
|
+
readonly type: "uint256";
|
|
1893
|
+
}];
|
|
1894
|
+
readonly stateMutability: "nonpayable";
|
|
1895
|
+
readonly type: "function";
|
|
1896
|
+
}, {
|
|
1897
|
+
readonly inputs: readonly [{
|
|
1898
|
+
readonly name: "_userWallet";
|
|
1899
|
+
readonly type: "address";
|
|
1900
|
+
}, {
|
|
1901
|
+
readonly name: "_legoId";
|
|
1902
|
+
readonly type: "uint256";
|
|
1903
|
+
}, {
|
|
1904
|
+
readonly name: "_pool";
|
|
1905
|
+
readonly type: "address";
|
|
1906
|
+
}, {
|
|
1907
|
+
readonly name: "_tokenA";
|
|
1908
|
+
readonly type: "address";
|
|
1909
|
+
}, {
|
|
1910
|
+
readonly name: "_tokenB";
|
|
1911
|
+
readonly type: "address";
|
|
1912
|
+
}];
|
|
1913
|
+
readonly name: "addLiquidity";
|
|
1914
|
+
readonly outputs: readonly [{
|
|
1915
|
+
readonly name: "";
|
|
1916
|
+
readonly type: "uint256";
|
|
1917
|
+
}, {
|
|
1918
|
+
readonly name: "";
|
|
1919
|
+
readonly type: "uint256";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly name: "";
|
|
1922
|
+
readonly type: "uint256";
|
|
1923
|
+
}, {
|
|
1924
|
+
readonly name: "";
|
|
1925
|
+
readonly type: "uint256";
|
|
1926
|
+
}];
|
|
1927
|
+
readonly stateMutability: "nonpayable";
|
|
1928
|
+
readonly type: "function";
|
|
1929
|
+
}, {
|
|
1930
|
+
readonly inputs: readonly [{
|
|
1931
|
+
readonly name: "_userWallet";
|
|
1932
|
+
readonly type: "address";
|
|
1933
|
+
}, {
|
|
1934
|
+
readonly name: "_legoId";
|
|
1935
|
+
readonly type: "uint256";
|
|
1936
|
+
}, {
|
|
1937
|
+
readonly name: "_pool";
|
|
1938
|
+
readonly type: "address";
|
|
1939
|
+
}, {
|
|
1940
|
+
readonly name: "_tokenA";
|
|
1941
|
+
readonly type: "address";
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly name: "_tokenB";
|
|
1944
|
+
readonly type: "address";
|
|
1945
|
+
}, {
|
|
1946
|
+
readonly name: "_amountA";
|
|
1947
|
+
readonly type: "uint256";
|
|
1948
|
+
}];
|
|
1949
|
+
readonly name: "addLiquidity";
|
|
1950
|
+
readonly outputs: readonly [{
|
|
1951
|
+
readonly name: "";
|
|
1952
|
+
readonly type: "uint256";
|
|
1953
|
+
}, {
|
|
1954
|
+
readonly name: "";
|
|
1955
|
+
readonly type: "uint256";
|
|
1956
|
+
}, {
|
|
1957
|
+
readonly name: "";
|
|
1958
|
+
readonly type: "uint256";
|
|
1959
|
+
}, {
|
|
1960
|
+
readonly name: "";
|
|
1961
|
+
readonly type: "uint256";
|
|
1962
|
+
}];
|
|
1963
|
+
readonly stateMutability: "nonpayable";
|
|
1964
|
+
readonly type: "function";
|
|
1965
|
+
}, {
|
|
1966
|
+
readonly inputs: readonly [{
|
|
1967
|
+
readonly name: "_userWallet";
|
|
1968
|
+
readonly type: "address";
|
|
1969
|
+
}, {
|
|
1970
|
+
readonly name: "_legoId";
|
|
1971
|
+
readonly type: "uint256";
|
|
1972
|
+
}, {
|
|
1973
|
+
readonly name: "_pool";
|
|
1974
|
+
readonly type: "address";
|
|
1975
|
+
}, {
|
|
1976
|
+
readonly name: "_tokenA";
|
|
1977
|
+
readonly type: "address";
|
|
907
1978
|
}, {
|
|
908
|
-
readonly name: "
|
|
1979
|
+
readonly name: "_tokenB";
|
|
909
1980
|
readonly type: "address";
|
|
1981
|
+
}, {
|
|
1982
|
+
readonly name: "_amountA";
|
|
1983
|
+
readonly type: "uint256";
|
|
1984
|
+
}, {
|
|
1985
|
+
readonly name: "_amountB";
|
|
1986
|
+
readonly type: "uint256";
|
|
1987
|
+
}];
|
|
1988
|
+
readonly name: "addLiquidity";
|
|
1989
|
+
readonly outputs: readonly [{
|
|
1990
|
+
readonly name: "";
|
|
1991
|
+
readonly type: "uint256";
|
|
1992
|
+
}, {
|
|
1993
|
+
readonly name: "";
|
|
1994
|
+
readonly type: "uint256";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly name: "";
|
|
1997
|
+
readonly type: "uint256";
|
|
1998
|
+
}, {
|
|
1999
|
+
readonly name: "";
|
|
2000
|
+
readonly type: "uint256";
|
|
910
2001
|
}];
|
|
911
|
-
readonly name: "claimRewards";
|
|
912
|
-
readonly outputs: readonly [];
|
|
913
2002
|
readonly stateMutability: "nonpayable";
|
|
914
2003
|
readonly type: "function";
|
|
915
2004
|
}, {
|
|
@@ -920,17 +2009,38 @@ export declare const abi: readonly [{
|
|
|
920
2009
|
readonly name: "_legoId";
|
|
921
2010
|
readonly type: "uint256";
|
|
922
2011
|
}, {
|
|
923
|
-
readonly name: "
|
|
2012
|
+
readonly name: "_pool";
|
|
924
2013
|
readonly type: "address";
|
|
925
2014
|
}, {
|
|
926
|
-
readonly name: "
|
|
2015
|
+
readonly name: "_tokenA";
|
|
927
2016
|
readonly type: "address";
|
|
928
2017
|
}, {
|
|
929
|
-
readonly name: "
|
|
2018
|
+
readonly name: "_tokenB";
|
|
2019
|
+
readonly type: "address";
|
|
2020
|
+
}, {
|
|
2021
|
+
readonly name: "_amountA";
|
|
2022
|
+
readonly type: "uint256";
|
|
2023
|
+
}, {
|
|
2024
|
+
readonly name: "_amountB";
|
|
2025
|
+
readonly type: "uint256";
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly name: "_minAmountA";
|
|
2028
|
+
readonly type: "uint256";
|
|
2029
|
+
}];
|
|
2030
|
+
readonly name: "addLiquidity";
|
|
2031
|
+
readonly outputs: readonly [{
|
|
2032
|
+
readonly name: "";
|
|
2033
|
+
readonly type: "uint256";
|
|
2034
|
+
}, {
|
|
2035
|
+
readonly name: "";
|
|
2036
|
+
readonly type: "uint256";
|
|
2037
|
+
}, {
|
|
2038
|
+
readonly name: "";
|
|
2039
|
+
readonly type: "uint256";
|
|
2040
|
+
}, {
|
|
2041
|
+
readonly name: "";
|
|
930
2042
|
readonly type: "uint256";
|
|
931
2043
|
}];
|
|
932
|
-
readonly name: "claimRewards";
|
|
933
|
-
readonly outputs: readonly [];
|
|
934
2044
|
readonly stateMutability: "nonpayable";
|
|
935
2045
|
readonly type: "function";
|
|
936
2046
|
}, {
|
|
@@ -941,20 +2051,140 @@ export declare const abi: readonly [{
|
|
|
941
2051
|
readonly name: "_legoId";
|
|
942
2052
|
readonly type: "uint256";
|
|
943
2053
|
}, {
|
|
944
|
-
readonly name: "
|
|
2054
|
+
readonly name: "_pool";
|
|
945
2055
|
readonly type: "address";
|
|
946
2056
|
}, {
|
|
947
|
-
readonly name: "
|
|
2057
|
+
readonly name: "_tokenA";
|
|
948
2058
|
readonly type: "address";
|
|
949
2059
|
}, {
|
|
950
|
-
readonly name: "
|
|
2060
|
+
readonly name: "_tokenB";
|
|
2061
|
+
readonly type: "address";
|
|
2062
|
+
}, {
|
|
2063
|
+
readonly name: "_amountA";
|
|
2064
|
+
readonly type: "uint256";
|
|
2065
|
+
}, {
|
|
2066
|
+
readonly name: "_amountB";
|
|
2067
|
+
readonly type: "uint256";
|
|
2068
|
+
}, {
|
|
2069
|
+
readonly name: "_minAmountA";
|
|
2070
|
+
readonly type: "uint256";
|
|
2071
|
+
}, {
|
|
2072
|
+
readonly name: "_minAmountB";
|
|
2073
|
+
readonly type: "uint256";
|
|
2074
|
+
}];
|
|
2075
|
+
readonly name: "addLiquidity";
|
|
2076
|
+
readonly outputs: readonly [{
|
|
2077
|
+
readonly name: "";
|
|
2078
|
+
readonly type: "uint256";
|
|
2079
|
+
}, {
|
|
2080
|
+
readonly name: "";
|
|
2081
|
+
readonly type: "uint256";
|
|
2082
|
+
}, {
|
|
2083
|
+
readonly name: "";
|
|
2084
|
+
readonly type: "uint256";
|
|
2085
|
+
}, {
|
|
2086
|
+
readonly name: "";
|
|
2087
|
+
readonly type: "uint256";
|
|
2088
|
+
}];
|
|
2089
|
+
readonly stateMutability: "nonpayable";
|
|
2090
|
+
readonly type: "function";
|
|
2091
|
+
}, {
|
|
2092
|
+
readonly inputs: readonly [{
|
|
2093
|
+
readonly name: "_userWallet";
|
|
2094
|
+
readonly type: "address";
|
|
2095
|
+
}, {
|
|
2096
|
+
readonly name: "_legoId";
|
|
2097
|
+
readonly type: "uint256";
|
|
2098
|
+
}, {
|
|
2099
|
+
readonly name: "_pool";
|
|
2100
|
+
readonly type: "address";
|
|
2101
|
+
}, {
|
|
2102
|
+
readonly name: "_tokenA";
|
|
2103
|
+
readonly type: "address";
|
|
2104
|
+
}, {
|
|
2105
|
+
readonly name: "_tokenB";
|
|
2106
|
+
readonly type: "address";
|
|
2107
|
+
}, {
|
|
2108
|
+
readonly name: "_amountA";
|
|
2109
|
+
readonly type: "uint256";
|
|
2110
|
+
}, {
|
|
2111
|
+
readonly name: "_amountB";
|
|
2112
|
+
readonly type: "uint256";
|
|
2113
|
+
}, {
|
|
2114
|
+
readonly name: "_minAmountA";
|
|
2115
|
+
readonly type: "uint256";
|
|
2116
|
+
}, {
|
|
2117
|
+
readonly name: "_minAmountB";
|
|
2118
|
+
readonly type: "uint256";
|
|
2119
|
+
}, {
|
|
2120
|
+
readonly name: "_minLpAmount";
|
|
2121
|
+
readonly type: "uint256";
|
|
2122
|
+
}];
|
|
2123
|
+
readonly name: "addLiquidity";
|
|
2124
|
+
readonly outputs: readonly [{
|
|
2125
|
+
readonly name: "";
|
|
2126
|
+
readonly type: "uint256";
|
|
2127
|
+
}, {
|
|
2128
|
+
readonly name: "";
|
|
2129
|
+
readonly type: "uint256";
|
|
2130
|
+
}, {
|
|
2131
|
+
readonly name: "";
|
|
2132
|
+
readonly type: "uint256";
|
|
2133
|
+
}, {
|
|
2134
|
+
readonly name: "";
|
|
2135
|
+
readonly type: "uint256";
|
|
2136
|
+
}];
|
|
2137
|
+
readonly stateMutability: "nonpayable";
|
|
2138
|
+
readonly type: "function";
|
|
2139
|
+
}, {
|
|
2140
|
+
readonly inputs: readonly [{
|
|
2141
|
+
readonly name: "_userWallet";
|
|
2142
|
+
readonly type: "address";
|
|
2143
|
+
}, {
|
|
2144
|
+
readonly name: "_legoId";
|
|
2145
|
+
readonly type: "uint256";
|
|
2146
|
+
}, {
|
|
2147
|
+
readonly name: "_pool";
|
|
2148
|
+
readonly type: "address";
|
|
2149
|
+
}, {
|
|
2150
|
+
readonly name: "_tokenA";
|
|
2151
|
+
readonly type: "address";
|
|
2152
|
+
}, {
|
|
2153
|
+
readonly name: "_tokenB";
|
|
2154
|
+
readonly type: "address";
|
|
2155
|
+
}, {
|
|
2156
|
+
readonly name: "_amountA";
|
|
2157
|
+
readonly type: "uint256";
|
|
2158
|
+
}, {
|
|
2159
|
+
readonly name: "_amountB";
|
|
951
2160
|
readonly type: "uint256";
|
|
952
2161
|
}, {
|
|
953
|
-
readonly name: "
|
|
2162
|
+
readonly name: "_minAmountA";
|
|
2163
|
+
readonly type: "uint256";
|
|
2164
|
+
}, {
|
|
2165
|
+
readonly name: "_minAmountB";
|
|
2166
|
+
readonly type: "uint256";
|
|
2167
|
+
}, {
|
|
2168
|
+
readonly name: "_minLpAmount";
|
|
2169
|
+
readonly type: "uint256";
|
|
2170
|
+
}, {
|
|
2171
|
+
readonly name: "_extraData";
|
|
954
2172
|
readonly type: "bytes32";
|
|
955
2173
|
}];
|
|
956
|
-
readonly name: "
|
|
957
|
-
readonly outputs: readonly [
|
|
2174
|
+
readonly name: "addLiquidity";
|
|
2175
|
+
readonly outputs: readonly [{
|
|
2176
|
+
readonly name: "";
|
|
2177
|
+
readonly type: "uint256";
|
|
2178
|
+
}, {
|
|
2179
|
+
readonly name: "";
|
|
2180
|
+
readonly type: "uint256";
|
|
2181
|
+
}, {
|
|
2182
|
+
readonly name: "";
|
|
2183
|
+
readonly type: "uint256";
|
|
2184
|
+
}, {
|
|
2185
|
+
readonly name: "";
|
|
2186
|
+
readonly type: "uint256";
|
|
2187
|
+
}];
|
|
958
2188
|
readonly stateMutability: "nonpayable";
|
|
959
2189
|
readonly type: "function";
|
|
960
2190
|
}, {
|
|
@@ -965,24 +2195,39 @@ export declare const abi: readonly [{
|
|
|
965
2195
|
readonly name: "_legoId";
|
|
966
2196
|
readonly type: "uint256";
|
|
967
2197
|
}, {
|
|
968
|
-
readonly name: "
|
|
2198
|
+
readonly name: "_pool";
|
|
969
2199
|
readonly type: "address";
|
|
970
2200
|
}, {
|
|
971
|
-
readonly name: "
|
|
2201
|
+
readonly name: "_tokenA";
|
|
972
2202
|
readonly type: "address";
|
|
973
2203
|
}, {
|
|
974
|
-
readonly name: "
|
|
2204
|
+
readonly name: "_tokenB";
|
|
2205
|
+
readonly type: "address";
|
|
2206
|
+
}, {
|
|
2207
|
+
readonly name: "_amountA";
|
|
2208
|
+
readonly type: "uint256";
|
|
2209
|
+
}, {
|
|
2210
|
+
readonly name: "_amountB";
|
|
2211
|
+
readonly type: "uint256";
|
|
2212
|
+
}, {
|
|
2213
|
+
readonly name: "_minAmountA";
|
|
2214
|
+
readonly type: "uint256";
|
|
2215
|
+
}, {
|
|
2216
|
+
readonly name: "_minAmountB";
|
|
2217
|
+
readonly type: "uint256";
|
|
2218
|
+
}, {
|
|
2219
|
+
readonly name: "_minLpAmount";
|
|
975
2220
|
readonly type: "uint256";
|
|
976
2221
|
}, {
|
|
977
|
-
readonly name: "
|
|
2222
|
+
readonly name: "_extraData";
|
|
978
2223
|
readonly type: "bytes32";
|
|
979
2224
|
}, {
|
|
980
2225
|
readonly components: readonly [{
|
|
981
2226
|
readonly name: "signature";
|
|
982
2227
|
readonly type: "bytes";
|
|
983
2228
|
}, {
|
|
984
|
-
readonly name: "
|
|
985
|
-
readonly type: "
|
|
2229
|
+
readonly name: "nonce";
|
|
2230
|
+
readonly type: "uint256";
|
|
986
2231
|
}, {
|
|
987
2232
|
readonly name: "expiration";
|
|
988
2233
|
readonly type: "uint256";
|
|
@@ -990,8 +2235,56 @@ export declare const abi: readonly [{
|
|
|
990
2235
|
readonly name: "_sig";
|
|
991
2236
|
readonly type: "tuple";
|
|
992
2237
|
}];
|
|
993
|
-
readonly name: "
|
|
994
|
-
readonly outputs: readonly [
|
|
2238
|
+
readonly name: "addLiquidity";
|
|
2239
|
+
readonly outputs: readonly [{
|
|
2240
|
+
readonly name: "";
|
|
2241
|
+
readonly type: "uint256";
|
|
2242
|
+
}, {
|
|
2243
|
+
readonly name: "";
|
|
2244
|
+
readonly type: "uint256";
|
|
2245
|
+
}, {
|
|
2246
|
+
readonly name: "";
|
|
2247
|
+
readonly type: "uint256";
|
|
2248
|
+
}, {
|
|
2249
|
+
readonly name: "";
|
|
2250
|
+
readonly type: "uint256";
|
|
2251
|
+
}];
|
|
2252
|
+
readonly stateMutability: "nonpayable";
|
|
2253
|
+
readonly type: "function";
|
|
2254
|
+
}, {
|
|
2255
|
+
readonly inputs: readonly [{
|
|
2256
|
+
readonly name: "_userWallet";
|
|
2257
|
+
readonly type: "address";
|
|
2258
|
+
}, {
|
|
2259
|
+
readonly name: "_legoId";
|
|
2260
|
+
readonly type: "uint256";
|
|
2261
|
+
}, {
|
|
2262
|
+
readonly name: "_pool";
|
|
2263
|
+
readonly type: "address";
|
|
2264
|
+
}, {
|
|
2265
|
+
readonly name: "_tokenA";
|
|
2266
|
+
readonly type: "address";
|
|
2267
|
+
}, {
|
|
2268
|
+
readonly name: "_tokenB";
|
|
2269
|
+
readonly type: "address";
|
|
2270
|
+
}, {
|
|
2271
|
+
readonly name: "_lpToken";
|
|
2272
|
+
readonly type: "address";
|
|
2273
|
+
}];
|
|
2274
|
+
readonly name: "removeLiquidity";
|
|
2275
|
+
readonly outputs: readonly [{
|
|
2276
|
+
readonly name: "";
|
|
2277
|
+
readonly type: "uint256";
|
|
2278
|
+
}, {
|
|
2279
|
+
readonly name: "";
|
|
2280
|
+
readonly type: "uint256";
|
|
2281
|
+
}, {
|
|
2282
|
+
readonly name: "";
|
|
2283
|
+
readonly type: "uint256";
|
|
2284
|
+
}, {
|
|
2285
|
+
readonly name: "";
|
|
2286
|
+
readonly type: "uint256";
|
|
2287
|
+
}];
|
|
995
2288
|
readonly stateMutability: "nonpayable";
|
|
996
2289
|
readonly type: "function";
|
|
997
2290
|
}, {
|
|
@@ -1001,12 +2294,6 @@ export declare const abi: readonly [{
|
|
|
1001
2294
|
}, {
|
|
1002
2295
|
readonly name: "_legoId";
|
|
1003
2296
|
readonly type: "uint256";
|
|
1004
|
-
}, {
|
|
1005
|
-
readonly name: "_nftAddr";
|
|
1006
|
-
readonly type: "address";
|
|
1007
|
-
}, {
|
|
1008
|
-
readonly name: "_nftTokenId";
|
|
1009
|
-
readonly type: "uint256";
|
|
1010
2297
|
}, {
|
|
1011
2298
|
readonly name: "_pool";
|
|
1012
2299
|
readonly type: "address";
|
|
@@ -1016,8 +2303,14 @@ export declare const abi: readonly [{
|
|
|
1016
2303
|
}, {
|
|
1017
2304
|
readonly name: "_tokenB";
|
|
1018
2305
|
readonly type: "address";
|
|
2306
|
+
}, {
|
|
2307
|
+
readonly name: "_lpToken";
|
|
2308
|
+
readonly type: "address";
|
|
2309
|
+
}, {
|
|
2310
|
+
readonly name: "_lpAmount";
|
|
2311
|
+
readonly type: "uint256";
|
|
1019
2312
|
}];
|
|
1020
|
-
readonly name: "
|
|
2313
|
+
readonly name: "removeLiquidity";
|
|
1021
2314
|
readonly outputs: readonly [{
|
|
1022
2315
|
readonly name: "";
|
|
1023
2316
|
readonly type: "uint256";
|
|
@@ -1030,9 +2323,6 @@ export declare const abi: readonly [{
|
|
|
1030
2323
|
}, {
|
|
1031
2324
|
readonly name: "";
|
|
1032
2325
|
readonly type: "uint256";
|
|
1033
|
-
}, {
|
|
1034
|
-
readonly name: "";
|
|
1035
|
-
readonly type: "uint256";
|
|
1036
2326
|
}];
|
|
1037
2327
|
readonly stateMutability: "nonpayable";
|
|
1038
2328
|
readonly type: "function";
|
|
@@ -1043,12 +2333,6 @@ export declare const abi: readonly [{
|
|
|
1043
2333
|
}, {
|
|
1044
2334
|
readonly name: "_legoId";
|
|
1045
2335
|
readonly type: "uint256";
|
|
1046
|
-
}, {
|
|
1047
|
-
readonly name: "_nftAddr";
|
|
1048
|
-
readonly type: "address";
|
|
1049
|
-
}, {
|
|
1050
|
-
readonly name: "_nftTokenId";
|
|
1051
|
-
readonly type: "uint256";
|
|
1052
2336
|
}, {
|
|
1053
2337
|
readonly name: "_pool";
|
|
1054
2338
|
readonly type: "address";
|
|
@@ -1059,10 +2343,16 @@ export declare const abi: readonly [{
|
|
|
1059
2343
|
readonly name: "_tokenB";
|
|
1060
2344
|
readonly type: "address";
|
|
1061
2345
|
}, {
|
|
1062
|
-
readonly name: "
|
|
2346
|
+
readonly name: "_lpToken";
|
|
2347
|
+
readonly type: "address";
|
|
2348
|
+
}, {
|
|
2349
|
+
readonly name: "_lpAmount";
|
|
2350
|
+
readonly type: "uint256";
|
|
2351
|
+
}, {
|
|
2352
|
+
readonly name: "_minAmountA";
|
|
1063
2353
|
readonly type: "uint256";
|
|
1064
2354
|
}];
|
|
1065
|
-
readonly name: "
|
|
2355
|
+
readonly name: "removeLiquidity";
|
|
1066
2356
|
readonly outputs: readonly [{
|
|
1067
2357
|
readonly name: "";
|
|
1068
2358
|
readonly type: "uint256";
|
|
@@ -1075,9 +2365,6 @@ export declare const abi: readonly [{
|
|
|
1075
2365
|
}, {
|
|
1076
2366
|
readonly name: "";
|
|
1077
2367
|
readonly type: "uint256";
|
|
1078
|
-
}, {
|
|
1079
|
-
readonly name: "";
|
|
1080
|
-
readonly type: "uint256";
|
|
1081
2368
|
}];
|
|
1082
2369
|
readonly stateMutability: "nonpayable";
|
|
1083
2370
|
readonly type: "function";
|
|
@@ -1088,12 +2375,6 @@ export declare const abi: readonly [{
|
|
|
1088
2375
|
}, {
|
|
1089
2376
|
readonly name: "_legoId";
|
|
1090
2377
|
readonly type: "uint256";
|
|
1091
|
-
}, {
|
|
1092
|
-
readonly name: "_nftAddr";
|
|
1093
|
-
readonly type: "address";
|
|
1094
|
-
}, {
|
|
1095
|
-
readonly name: "_nftTokenId";
|
|
1096
|
-
readonly type: "uint256";
|
|
1097
2378
|
}, {
|
|
1098
2379
|
readonly name: "_pool";
|
|
1099
2380
|
readonly type: "address";
|
|
@@ -1104,13 +2385,19 @@ export declare const abi: readonly [{
|
|
|
1104
2385
|
readonly name: "_tokenB";
|
|
1105
2386
|
readonly type: "address";
|
|
1106
2387
|
}, {
|
|
1107
|
-
readonly name: "
|
|
2388
|
+
readonly name: "_lpToken";
|
|
2389
|
+
readonly type: "address";
|
|
2390
|
+
}, {
|
|
2391
|
+
readonly name: "_lpAmount";
|
|
1108
2392
|
readonly type: "uint256";
|
|
1109
2393
|
}, {
|
|
1110
|
-
readonly name: "
|
|
2394
|
+
readonly name: "_minAmountA";
|
|
2395
|
+
readonly type: "uint256";
|
|
2396
|
+
}, {
|
|
2397
|
+
readonly name: "_minAmountB";
|
|
1111
2398
|
readonly type: "uint256";
|
|
1112
2399
|
}];
|
|
1113
|
-
readonly name: "
|
|
2400
|
+
readonly name: "removeLiquidity";
|
|
1114
2401
|
readonly outputs: readonly [{
|
|
1115
2402
|
readonly name: "";
|
|
1116
2403
|
readonly type: "uint256";
|
|
@@ -1123,9 +2410,6 @@ export declare const abi: readonly [{
|
|
|
1123
2410
|
}, {
|
|
1124
2411
|
readonly name: "";
|
|
1125
2412
|
readonly type: "uint256";
|
|
1126
|
-
}, {
|
|
1127
|
-
readonly name: "";
|
|
1128
|
-
readonly type: "uint256";
|
|
1129
2413
|
}];
|
|
1130
2414
|
readonly stateMutability: "nonpayable";
|
|
1131
2415
|
readonly type: "function";
|
|
@@ -1136,12 +2420,6 @@ export declare const abi: readonly [{
|
|
|
1136
2420
|
}, {
|
|
1137
2421
|
readonly name: "_legoId";
|
|
1138
2422
|
readonly type: "uint256";
|
|
1139
|
-
}, {
|
|
1140
|
-
readonly name: "_nftAddr";
|
|
1141
|
-
readonly type: "address";
|
|
1142
|
-
}, {
|
|
1143
|
-
readonly name: "_nftTokenId";
|
|
1144
|
-
readonly type: "uint256";
|
|
1145
2423
|
}, {
|
|
1146
2424
|
readonly name: "_pool";
|
|
1147
2425
|
readonly type: "address";
|
|
@@ -1152,20 +2430,23 @@ export declare const abi: readonly [{
|
|
|
1152
2430
|
readonly name: "_tokenB";
|
|
1153
2431
|
readonly type: "address";
|
|
1154
2432
|
}, {
|
|
1155
|
-
readonly name: "
|
|
2433
|
+
readonly name: "_lpToken";
|
|
2434
|
+
readonly type: "address";
|
|
2435
|
+
}, {
|
|
2436
|
+
readonly name: "_lpAmount";
|
|
1156
2437
|
readonly type: "uint256";
|
|
1157
2438
|
}, {
|
|
1158
|
-
readonly name: "
|
|
2439
|
+
readonly name: "_minAmountA";
|
|
1159
2440
|
readonly type: "uint256";
|
|
1160
2441
|
}, {
|
|
1161
|
-
readonly name: "
|
|
1162
|
-
readonly type: "int24";
|
|
1163
|
-
}];
|
|
1164
|
-
readonly name: "addLiquidity";
|
|
1165
|
-
readonly outputs: readonly [{
|
|
1166
|
-
readonly name: "";
|
|
2442
|
+
readonly name: "_minAmountB";
|
|
1167
2443
|
readonly type: "uint256";
|
|
1168
2444
|
}, {
|
|
2445
|
+
readonly name: "_extraData";
|
|
2446
|
+
readonly type: "bytes32";
|
|
2447
|
+
}];
|
|
2448
|
+
readonly name: "removeLiquidity";
|
|
2449
|
+
readonly outputs: readonly [{
|
|
1169
2450
|
readonly name: "";
|
|
1170
2451
|
readonly type: "uint256";
|
|
1171
2452
|
}, {
|
|
@@ -1187,12 +2468,6 @@ export declare const abi: readonly [{
|
|
|
1187
2468
|
}, {
|
|
1188
2469
|
readonly name: "_legoId";
|
|
1189
2470
|
readonly type: "uint256";
|
|
1190
|
-
}, {
|
|
1191
|
-
readonly name: "_nftAddr";
|
|
1192
|
-
readonly type: "address";
|
|
1193
|
-
}, {
|
|
1194
|
-
readonly name: "_nftTokenId";
|
|
1195
|
-
readonly type: "uint256";
|
|
1196
2471
|
}, {
|
|
1197
2472
|
readonly name: "_pool";
|
|
1198
2473
|
readonly type: "address";
|
|
@@ -1203,19 +2478,35 @@ export declare const abi: readonly [{
|
|
|
1203
2478
|
readonly name: "_tokenB";
|
|
1204
2479
|
readonly type: "address";
|
|
1205
2480
|
}, {
|
|
1206
|
-
readonly name: "
|
|
2481
|
+
readonly name: "_lpToken";
|
|
2482
|
+
readonly type: "address";
|
|
2483
|
+
}, {
|
|
2484
|
+
readonly name: "_lpAmount";
|
|
1207
2485
|
readonly type: "uint256";
|
|
1208
2486
|
}, {
|
|
1209
|
-
readonly name: "
|
|
2487
|
+
readonly name: "_minAmountA";
|
|
1210
2488
|
readonly type: "uint256";
|
|
1211
2489
|
}, {
|
|
1212
|
-
readonly name: "
|
|
1213
|
-
readonly type: "
|
|
2490
|
+
readonly name: "_minAmountB";
|
|
2491
|
+
readonly type: "uint256";
|
|
1214
2492
|
}, {
|
|
1215
|
-
readonly name: "
|
|
1216
|
-
readonly type: "
|
|
2493
|
+
readonly name: "_extraData";
|
|
2494
|
+
readonly type: "bytes32";
|
|
2495
|
+
}, {
|
|
2496
|
+
readonly components: readonly [{
|
|
2497
|
+
readonly name: "signature";
|
|
2498
|
+
readonly type: "bytes";
|
|
2499
|
+
}, {
|
|
2500
|
+
readonly name: "nonce";
|
|
2501
|
+
readonly type: "uint256";
|
|
2502
|
+
}, {
|
|
2503
|
+
readonly name: "expiration";
|
|
2504
|
+
readonly type: "uint256";
|
|
2505
|
+
}];
|
|
2506
|
+
readonly name: "_sig";
|
|
2507
|
+
readonly type: "tuple";
|
|
1217
2508
|
}];
|
|
1218
|
-
readonly name: "
|
|
2509
|
+
readonly name: "removeLiquidity";
|
|
1219
2510
|
readonly outputs: readonly [{
|
|
1220
2511
|
readonly name: "";
|
|
1221
2512
|
readonly type: "uint256";
|
|
@@ -1228,9 +2519,6 @@ export declare const abi: readonly [{
|
|
|
1228
2519
|
}, {
|
|
1229
2520
|
readonly name: "";
|
|
1230
2521
|
readonly type: "uint256";
|
|
1231
|
-
}, {
|
|
1232
|
-
readonly name: "";
|
|
1233
|
-
readonly type: "uint256";
|
|
1234
2522
|
}];
|
|
1235
2523
|
readonly stateMutability: "nonpayable";
|
|
1236
2524
|
readonly type: "function";
|
|
@@ -1256,23 +2544,8 @@ export declare const abi: readonly [{
|
|
|
1256
2544
|
}, {
|
|
1257
2545
|
readonly name: "_tokenB";
|
|
1258
2546
|
readonly type: "address";
|
|
1259
|
-
}, {
|
|
1260
|
-
readonly name: "_amountA";
|
|
1261
|
-
readonly type: "uint256";
|
|
1262
|
-
}, {
|
|
1263
|
-
readonly name: "_amountB";
|
|
1264
|
-
readonly type: "uint256";
|
|
1265
|
-
}, {
|
|
1266
|
-
readonly name: "_tickLower";
|
|
1267
|
-
readonly type: "int24";
|
|
1268
|
-
}, {
|
|
1269
|
-
readonly name: "_tickUpper";
|
|
1270
|
-
readonly type: "int24";
|
|
1271
|
-
}, {
|
|
1272
|
-
readonly name: "_minAmountA";
|
|
1273
|
-
readonly type: "uint256";
|
|
1274
2547
|
}];
|
|
1275
|
-
readonly name: "
|
|
2548
|
+
readonly name: "addLiquidityConcentrated";
|
|
1276
2549
|
readonly outputs: readonly [{
|
|
1277
2550
|
readonly name: "";
|
|
1278
2551
|
readonly type: "uint256";
|
|
@@ -1316,23 +2589,8 @@ export declare const abi: readonly [{
|
|
|
1316
2589
|
}, {
|
|
1317
2590
|
readonly name: "_amountA";
|
|
1318
2591
|
readonly type: "uint256";
|
|
1319
|
-
}, {
|
|
1320
|
-
readonly name: "_amountB";
|
|
1321
|
-
readonly type: "uint256";
|
|
1322
|
-
}, {
|
|
1323
|
-
readonly name: "_tickLower";
|
|
1324
|
-
readonly type: "int24";
|
|
1325
|
-
}, {
|
|
1326
|
-
readonly name: "_tickUpper";
|
|
1327
|
-
readonly type: "int24";
|
|
1328
|
-
}, {
|
|
1329
|
-
readonly name: "_minAmountA";
|
|
1330
|
-
readonly type: "uint256";
|
|
1331
|
-
}, {
|
|
1332
|
-
readonly name: "_minAmountB";
|
|
1333
|
-
readonly type: "uint256";
|
|
1334
2592
|
}];
|
|
1335
|
-
readonly name: "
|
|
2593
|
+
readonly name: "addLiquidityConcentrated";
|
|
1336
2594
|
readonly outputs: readonly [{
|
|
1337
2595
|
readonly name: "";
|
|
1338
2596
|
readonly type: "uint256";
|
|
@@ -1379,23 +2637,8 @@ export declare const abi: readonly [{
|
|
|
1379
2637
|
}, {
|
|
1380
2638
|
readonly name: "_amountB";
|
|
1381
2639
|
readonly type: "uint256";
|
|
1382
|
-
}, {
|
|
1383
|
-
readonly name: "_tickLower";
|
|
1384
|
-
readonly type: "int24";
|
|
1385
|
-
}, {
|
|
1386
|
-
readonly name: "_tickUpper";
|
|
1387
|
-
readonly type: "int24";
|
|
1388
|
-
}, {
|
|
1389
|
-
readonly name: "_minAmountA";
|
|
1390
|
-
readonly type: "uint256";
|
|
1391
|
-
}, {
|
|
1392
|
-
readonly name: "_minAmountB";
|
|
1393
|
-
readonly type: "uint256";
|
|
1394
|
-
}, {
|
|
1395
|
-
readonly name: "_minLpAmount";
|
|
1396
|
-
readonly type: "uint256";
|
|
1397
2640
|
}];
|
|
1398
|
-
readonly name: "
|
|
2641
|
+
readonly name: "addLiquidityConcentrated";
|
|
1399
2642
|
readonly outputs: readonly [{
|
|
1400
2643
|
readonly name: "";
|
|
1401
2644
|
readonly type: "uint256";
|
|
@@ -1445,33 +2688,8 @@ export declare const abi: readonly [{
|
|
|
1445
2688
|
}, {
|
|
1446
2689
|
readonly name: "_tickLower";
|
|
1447
2690
|
readonly type: "int24";
|
|
1448
|
-
}, {
|
|
1449
|
-
readonly name: "_tickUpper";
|
|
1450
|
-
readonly type: "int24";
|
|
1451
|
-
}, {
|
|
1452
|
-
readonly name: "_minAmountA";
|
|
1453
|
-
readonly type: "uint256";
|
|
1454
|
-
}, {
|
|
1455
|
-
readonly name: "_minAmountB";
|
|
1456
|
-
readonly type: "uint256";
|
|
1457
|
-
}, {
|
|
1458
|
-
readonly name: "_minLpAmount";
|
|
1459
|
-
readonly type: "uint256";
|
|
1460
|
-
}, {
|
|
1461
|
-
readonly components: readonly [{
|
|
1462
|
-
readonly name: "signature";
|
|
1463
|
-
readonly type: "bytes";
|
|
1464
|
-
}, {
|
|
1465
|
-
readonly name: "signer";
|
|
1466
|
-
readonly type: "address";
|
|
1467
|
-
}, {
|
|
1468
|
-
readonly name: "expiration";
|
|
1469
|
-
readonly type: "uint256";
|
|
1470
|
-
}];
|
|
1471
|
-
readonly name: "_sig";
|
|
1472
|
-
readonly type: "tuple";
|
|
1473
2691
|
}];
|
|
1474
|
-
readonly name: "
|
|
2692
|
+
readonly name: "addLiquidityConcentrated";
|
|
1475
2693
|
readonly outputs: readonly [{
|
|
1476
2694
|
readonly name: "";
|
|
1477
2695
|
readonly type: "uint256";
|
|
@@ -1512,8 +2730,20 @@ export declare const abi: readonly [{
|
|
|
1512
2730
|
}, {
|
|
1513
2731
|
readonly name: "_tokenB";
|
|
1514
2732
|
readonly type: "address";
|
|
2733
|
+
}, {
|
|
2734
|
+
readonly name: "_amountA";
|
|
2735
|
+
readonly type: "uint256";
|
|
2736
|
+
}, {
|
|
2737
|
+
readonly name: "_amountB";
|
|
2738
|
+
readonly type: "uint256";
|
|
2739
|
+
}, {
|
|
2740
|
+
readonly name: "_tickLower";
|
|
2741
|
+
readonly type: "int24";
|
|
2742
|
+
}, {
|
|
2743
|
+
readonly name: "_tickUpper";
|
|
2744
|
+
readonly type: "int24";
|
|
1515
2745
|
}];
|
|
1516
|
-
readonly name: "
|
|
2746
|
+
readonly name: "addLiquidityConcentrated";
|
|
1517
2747
|
readonly outputs: readonly [{
|
|
1518
2748
|
readonly name: "";
|
|
1519
2749
|
readonly type: "uint256";
|
|
@@ -1525,7 +2755,10 @@ export declare const abi: readonly [{
|
|
|
1525
2755
|
readonly type: "uint256";
|
|
1526
2756
|
}, {
|
|
1527
2757
|
readonly name: "";
|
|
1528
|
-
readonly type: "
|
|
2758
|
+
readonly type: "uint256";
|
|
2759
|
+
}, {
|
|
2760
|
+
readonly name: "";
|
|
2761
|
+
readonly type: "uint256";
|
|
1529
2762
|
}];
|
|
1530
2763
|
readonly stateMutability: "nonpayable";
|
|
1531
2764
|
readonly type: "function";
|
|
@@ -1552,10 +2785,22 @@ export declare const abi: readonly [{
|
|
|
1552
2785
|
readonly name: "_tokenB";
|
|
1553
2786
|
readonly type: "address";
|
|
1554
2787
|
}, {
|
|
1555
|
-
readonly name: "
|
|
2788
|
+
readonly name: "_amountA";
|
|
2789
|
+
readonly type: "uint256";
|
|
2790
|
+
}, {
|
|
2791
|
+
readonly name: "_amountB";
|
|
2792
|
+
readonly type: "uint256";
|
|
2793
|
+
}, {
|
|
2794
|
+
readonly name: "_tickLower";
|
|
2795
|
+
readonly type: "int24";
|
|
2796
|
+
}, {
|
|
2797
|
+
readonly name: "_tickUpper";
|
|
2798
|
+
readonly type: "int24";
|
|
2799
|
+
}, {
|
|
2800
|
+
readonly name: "_minAmountA";
|
|
1556
2801
|
readonly type: "uint256";
|
|
1557
2802
|
}];
|
|
1558
|
-
readonly name: "
|
|
2803
|
+
readonly name: "addLiquidityConcentrated";
|
|
1559
2804
|
readonly outputs: readonly [{
|
|
1560
2805
|
readonly name: "";
|
|
1561
2806
|
readonly type: "uint256";
|
|
@@ -1567,7 +2812,10 @@ export declare const abi: readonly [{
|
|
|
1567
2812
|
readonly type: "uint256";
|
|
1568
2813
|
}, {
|
|
1569
2814
|
readonly name: "";
|
|
1570
|
-
readonly type: "
|
|
2815
|
+
readonly type: "uint256";
|
|
2816
|
+
}, {
|
|
2817
|
+
readonly name: "";
|
|
2818
|
+
readonly type: "uint256";
|
|
1571
2819
|
}];
|
|
1572
2820
|
readonly stateMutability: "nonpayable";
|
|
1573
2821
|
readonly type: "function";
|
|
@@ -1594,13 +2842,25 @@ export declare const abi: readonly [{
|
|
|
1594
2842
|
readonly name: "_tokenB";
|
|
1595
2843
|
readonly type: "address";
|
|
1596
2844
|
}, {
|
|
1597
|
-
readonly name: "
|
|
2845
|
+
readonly name: "_amountA";
|
|
2846
|
+
readonly type: "uint256";
|
|
2847
|
+
}, {
|
|
2848
|
+
readonly name: "_amountB";
|
|
1598
2849
|
readonly type: "uint256";
|
|
2850
|
+
}, {
|
|
2851
|
+
readonly name: "_tickLower";
|
|
2852
|
+
readonly type: "int24";
|
|
2853
|
+
}, {
|
|
2854
|
+
readonly name: "_tickUpper";
|
|
2855
|
+
readonly type: "int24";
|
|
1599
2856
|
}, {
|
|
1600
2857
|
readonly name: "_minAmountA";
|
|
1601
2858
|
readonly type: "uint256";
|
|
2859
|
+
}, {
|
|
2860
|
+
readonly name: "_minAmountB";
|
|
2861
|
+
readonly type: "uint256";
|
|
1602
2862
|
}];
|
|
1603
|
-
readonly name: "
|
|
2863
|
+
readonly name: "addLiquidityConcentrated";
|
|
1604
2864
|
readonly outputs: readonly [{
|
|
1605
2865
|
readonly name: "";
|
|
1606
2866
|
readonly type: "uint256";
|
|
@@ -1612,7 +2872,10 @@ export declare const abi: readonly [{
|
|
|
1612
2872
|
readonly type: "uint256";
|
|
1613
2873
|
}, {
|
|
1614
2874
|
readonly name: "";
|
|
1615
|
-
readonly type: "
|
|
2875
|
+
readonly type: "uint256";
|
|
2876
|
+
}, {
|
|
2877
|
+
readonly name: "";
|
|
2878
|
+
readonly type: "uint256";
|
|
1616
2879
|
}];
|
|
1617
2880
|
readonly stateMutability: "nonpayable";
|
|
1618
2881
|
readonly type: "function";
|
|
@@ -1639,16 +2902,28 @@ export declare const abi: readonly [{
|
|
|
1639
2902
|
readonly name: "_tokenB";
|
|
1640
2903
|
readonly type: "address";
|
|
1641
2904
|
}, {
|
|
1642
|
-
readonly name: "
|
|
2905
|
+
readonly name: "_amountA";
|
|
2906
|
+
readonly type: "uint256";
|
|
2907
|
+
}, {
|
|
2908
|
+
readonly name: "_amountB";
|
|
1643
2909
|
readonly type: "uint256";
|
|
2910
|
+
}, {
|
|
2911
|
+
readonly name: "_tickLower";
|
|
2912
|
+
readonly type: "int24";
|
|
2913
|
+
}, {
|
|
2914
|
+
readonly name: "_tickUpper";
|
|
2915
|
+
readonly type: "int24";
|
|
1644
2916
|
}, {
|
|
1645
2917
|
readonly name: "_minAmountA";
|
|
1646
2918
|
readonly type: "uint256";
|
|
1647
2919
|
}, {
|
|
1648
2920
|
readonly name: "_minAmountB";
|
|
1649
2921
|
readonly type: "uint256";
|
|
2922
|
+
}, {
|
|
2923
|
+
readonly name: "_extraData";
|
|
2924
|
+
readonly type: "bytes32";
|
|
1650
2925
|
}];
|
|
1651
|
-
readonly name: "
|
|
2926
|
+
readonly name: "addLiquidityConcentrated";
|
|
1652
2927
|
readonly outputs: readonly [{
|
|
1653
2928
|
readonly name: "";
|
|
1654
2929
|
readonly type: "uint256";
|
|
@@ -1660,7 +2935,10 @@ export declare const abi: readonly [{
|
|
|
1660
2935
|
readonly type: "uint256";
|
|
1661
2936
|
}, {
|
|
1662
2937
|
readonly name: "";
|
|
1663
|
-
readonly type: "
|
|
2938
|
+
readonly type: "uint256";
|
|
2939
|
+
}, {
|
|
2940
|
+
readonly name: "";
|
|
2941
|
+
readonly type: "uint256";
|
|
1664
2942
|
}];
|
|
1665
2943
|
readonly stateMutability: "nonpayable";
|
|
1666
2944
|
readonly type: "function";
|
|
@@ -1687,21 +2965,33 @@ export declare const abi: readonly [{
|
|
|
1687
2965
|
readonly name: "_tokenB";
|
|
1688
2966
|
readonly type: "address";
|
|
1689
2967
|
}, {
|
|
1690
|
-
readonly name: "
|
|
2968
|
+
readonly name: "_amountA";
|
|
2969
|
+
readonly type: "uint256";
|
|
2970
|
+
}, {
|
|
2971
|
+
readonly name: "_amountB";
|
|
1691
2972
|
readonly type: "uint256";
|
|
2973
|
+
}, {
|
|
2974
|
+
readonly name: "_tickLower";
|
|
2975
|
+
readonly type: "int24";
|
|
2976
|
+
}, {
|
|
2977
|
+
readonly name: "_tickUpper";
|
|
2978
|
+
readonly type: "int24";
|
|
1692
2979
|
}, {
|
|
1693
2980
|
readonly name: "_minAmountA";
|
|
1694
2981
|
readonly type: "uint256";
|
|
1695
2982
|
}, {
|
|
1696
2983
|
readonly name: "_minAmountB";
|
|
1697
2984
|
readonly type: "uint256";
|
|
2985
|
+
}, {
|
|
2986
|
+
readonly name: "_extraData";
|
|
2987
|
+
readonly type: "bytes32";
|
|
1698
2988
|
}, {
|
|
1699
2989
|
readonly components: readonly [{
|
|
1700
2990
|
readonly name: "signature";
|
|
1701
2991
|
readonly type: "bytes";
|
|
1702
2992
|
}, {
|
|
1703
|
-
readonly name: "
|
|
1704
|
-
readonly type: "
|
|
2993
|
+
readonly name: "nonce";
|
|
2994
|
+
readonly type: "uint256";
|
|
1705
2995
|
}, {
|
|
1706
2996
|
readonly name: "expiration";
|
|
1707
2997
|
readonly type: "uint256";
|
|
@@ -1709,7 +2999,7 @@ export declare const abi: readonly [{
|
|
|
1709
2999
|
readonly name: "_sig";
|
|
1710
3000
|
readonly type: "tuple";
|
|
1711
3001
|
}];
|
|
1712
|
-
readonly name: "
|
|
3002
|
+
readonly name: "addLiquidityConcentrated";
|
|
1713
3003
|
readonly outputs: readonly [{
|
|
1714
3004
|
readonly name: "";
|
|
1715
3005
|
readonly type: "uint256";
|
|
@@ -1720,21 +3010,6 @@ export declare const abi: readonly [{
|
|
|
1720
3010
|
readonly name: "";
|
|
1721
3011
|
readonly type: "uint256";
|
|
1722
3012
|
}, {
|
|
1723
|
-
readonly name: "";
|
|
1724
|
-
readonly type: "bool";
|
|
1725
|
-
}];
|
|
1726
|
-
readonly stateMutability: "nonpayable";
|
|
1727
|
-
readonly type: "function";
|
|
1728
|
-
}, {
|
|
1729
|
-
readonly inputs: readonly [{
|
|
1730
|
-
readonly name: "_userWallet";
|
|
1731
|
-
readonly type: "address";
|
|
1732
|
-
}, {
|
|
1733
|
-
readonly name: "_recipient";
|
|
1734
|
-
readonly type: "address";
|
|
1735
|
-
}];
|
|
1736
|
-
readonly name: "transferFunds";
|
|
1737
|
-
readonly outputs: readonly [{
|
|
1738
3013
|
readonly name: "";
|
|
1739
3014
|
readonly type: "uint256";
|
|
1740
3015
|
}, {
|
|
@@ -1748,43 +3023,37 @@ export declare const abi: readonly [{
|
|
|
1748
3023
|
readonly name: "_userWallet";
|
|
1749
3024
|
readonly type: "address";
|
|
1750
3025
|
}, {
|
|
1751
|
-
readonly name: "
|
|
3026
|
+
readonly name: "_legoId";
|
|
3027
|
+
readonly type: "uint256";
|
|
3028
|
+
}, {
|
|
3029
|
+
readonly name: "_nftAddr";
|
|
1752
3030
|
readonly type: "address";
|
|
1753
3031
|
}, {
|
|
1754
|
-
readonly name: "
|
|
1755
|
-
readonly type: "uint256";
|
|
1756
|
-
}];
|
|
1757
|
-
readonly name: "transferFunds";
|
|
1758
|
-
readonly outputs: readonly [{
|
|
1759
|
-
readonly name: "";
|
|
3032
|
+
readonly name: "_nftTokenId";
|
|
1760
3033
|
readonly type: "uint256";
|
|
1761
3034
|
}, {
|
|
1762
|
-
readonly name: "";
|
|
1763
|
-
readonly type: "uint256";
|
|
1764
|
-
}];
|
|
1765
|
-
readonly stateMutability: "nonpayable";
|
|
1766
|
-
readonly type: "function";
|
|
1767
|
-
}, {
|
|
1768
|
-
readonly inputs: readonly [{
|
|
1769
|
-
readonly name: "_userWallet";
|
|
3035
|
+
readonly name: "_pool";
|
|
1770
3036
|
readonly type: "address";
|
|
1771
3037
|
}, {
|
|
1772
|
-
readonly name: "
|
|
3038
|
+
readonly name: "_tokenA";
|
|
1773
3039
|
readonly type: "address";
|
|
1774
3040
|
}, {
|
|
1775
|
-
readonly name: "
|
|
1776
|
-
readonly type: "uint256";
|
|
1777
|
-
}, {
|
|
1778
|
-
readonly name: "_asset";
|
|
3041
|
+
readonly name: "_tokenB";
|
|
1779
3042
|
readonly type: "address";
|
|
1780
3043
|
}];
|
|
1781
|
-
readonly name: "
|
|
3044
|
+
readonly name: "removeLiquidityConcentrated";
|
|
1782
3045
|
readonly outputs: readonly [{
|
|
1783
3046
|
readonly name: "";
|
|
1784
3047
|
readonly type: "uint256";
|
|
1785
3048
|
}, {
|
|
1786
3049
|
readonly name: "";
|
|
1787
3050
|
readonly type: "uint256";
|
|
3051
|
+
}, {
|
|
3052
|
+
readonly name: "";
|
|
3053
|
+
readonly type: "uint256";
|
|
3054
|
+
}, {
|
|
3055
|
+
readonly name: "";
|
|
3056
|
+
readonly type: "uint256";
|
|
1788
3057
|
}];
|
|
1789
3058
|
readonly stateMutability: "nonpayable";
|
|
1790
3059
|
readonly type: "function";
|
|
@@ -1793,50 +3062,37 @@ export declare const abi: readonly [{
|
|
|
1793
3062
|
readonly name: "_userWallet";
|
|
1794
3063
|
readonly type: "address";
|
|
1795
3064
|
}, {
|
|
1796
|
-
readonly name: "
|
|
3065
|
+
readonly name: "_legoId";
|
|
3066
|
+
readonly type: "uint256";
|
|
3067
|
+
}, {
|
|
3068
|
+
readonly name: "_nftAddr";
|
|
1797
3069
|
readonly type: "address";
|
|
1798
3070
|
}, {
|
|
1799
|
-
readonly name: "
|
|
3071
|
+
readonly name: "_nftTokenId";
|
|
1800
3072
|
readonly type: "uint256";
|
|
1801
3073
|
}, {
|
|
1802
|
-
readonly name: "
|
|
3074
|
+
readonly name: "_pool";
|
|
1803
3075
|
readonly type: "address";
|
|
1804
3076
|
}, {
|
|
1805
|
-
readonly
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
readonly type: "uint256";
|
|
1814
|
-
}];
|
|
1815
|
-
readonly name: "_sig";
|
|
1816
|
-
readonly type: "tuple";
|
|
3077
|
+
readonly name: "_tokenA";
|
|
3078
|
+
readonly type: "address";
|
|
3079
|
+
}, {
|
|
3080
|
+
readonly name: "_tokenB";
|
|
3081
|
+
readonly type: "address";
|
|
3082
|
+
}, {
|
|
3083
|
+
readonly name: "_liqToRemove";
|
|
3084
|
+
readonly type: "uint256";
|
|
1817
3085
|
}];
|
|
1818
|
-
readonly name: "
|
|
3086
|
+
readonly name: "removeLiquidityConcentrated";
|
|
1819
3087
|
readonly outputs: readonly [{
|
|
1820
3088
|
readonly name: "";
|
|
1821
3089
|
readonly type: "uint256";
|
|
1822
3090
|
}, {
|
|
1823
3091
|
readonly name: "";
|
|
1824
3092
|
readonly type: "uint256";
|
|
1825
|
-
}];
|
|
1826
|
-
readonly stateMutability: "nonpayable";
|
|
1827
|
-
readonly type: "function";
|
|
1828
|
-
}, {
|
|
1829
|
-
readonly inputs: readonly [{
|
|
1830
|
-
readonly name: "_userWallet";
|
|
1831
|
-
readonly type: "address";
|
|
1832
|
-
}];
|
|
1833
|
-
readonly name: "convertEthToWeth";
|
|
1834
|
-
readonly outputs: readonly [{
|
|
1835
|
-
readonly name: "";
|
|
1836
|
-
readonly type: "uint256";
|
|
1837
3093
|
}, {
|
|
1838
3094
|
readonly name: "";
|
|
1839
|
-
readonly type: "
|
|
3095
|
+
readonly type: "uint256";
|
|
1840
3096
|
}, {
|
|
1841
3097
|
readonly name: "";
|
|
1842
3098
|
readonly type: "uint256";
|
|
@@ -1848,40 +3104,40 @@ export declare const abi: readonly [{
|
|
|
1848
3104
|
readonly name: "_userWallet";
|
|
1849
3105
|
readonly type: "address";
|
|
1850
3106
|
}, {
|
|
1851
|
-
readonly name: "
|
|
1852
|
-
readonly type: "uint256";
|
|
1853
|
-
}];
|
|
1854
|
-
readonly name: "convertEthToWeth";
|
|
1855
|
-
readonly outputs: readonly [{
|
|
1856
|
-
readonly name: "";
|
|
3107
|
+
readonly name: "_legoId";
|
|
1857
3108
|
readonly type: "uint256";
|
|
1858
3109
|
}, {
|
|
1859
|
-
readonly name: "";
|
|
3110
|
+
readonly name: "_nftAddr";
|
|
1860
3111
|
readonly type: "address";
|
|
1861
3112
|
}, {
|
|
1862
|
-
readonly name: "";
|
|
3113
|
+
readonly name: "_nftTokenId";
|
|
1863
3114
|
readonly type: "uint256";
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
readonly type: "function";
|
|
1867
|
-
}, {
|
|
1868
|
-
readonly inputs: readonly [{
|
|
1869
|
-
readonly name: "_userWallet";
|
|
3115
|
+
}, {
|
|
3116
|
+
readonly name: "_pool";
|
|
1870
3117
|
readonly type: "address";
|
|
1871
3118
|
}, {
|
|
1872
|
-
readonly name: "
|
|
3119
|
+
readonly name: "_tokenA";
|
|
3120
|
+
readonly type: "address";
|
|
3121
|
+
}, {
|
|
3122
|
+
readonly name: "_tokenB";
|
|
3123
|
+
readonly type: "address";
|
|
3124
|
+
}, {
|
|
3125
|
+
readonly name: "_liqToRemove";
|
|
1873
3126
|
readonly type: "uint256";
|
|
1874
3127
|
}, {
|
|
1875
|
-
readonly name: "
|
|
3128
|
+
readonly name: "_minAmountA";
|
|
1876
3129
|
readonly type: "uint256";
|
|
1877
3130
|
}];
|
|
1878
|
-
readonly name: "
|
|
3131
|
+
readonly name: "removeLiquidityConcentrated";
|
|
1879
3132
|
readonly outputs: readonly [{
|
|
1880
3133
|
readonly name: "";
|
|
1881
3134
|
readonly type: "uint256";
|
|
1882
3135
|
}, {
|
|
1883
3136
|
readonly name: "";
|
|
1884
|
-
readonly type: "
|
|
3137
|
+
readonly type: "uint256";
|
|
3138
|
+
}, {
|
|
3139
|
+
readonly name: "";
|
|
3140
|
+
readonly type: "uint256";
|
|
1885
3141
|
}, {
|
|
1886
3142
|
readonly name: "";
|
|
1887
3143
|
readonly type: "uint256";
|
|
@@ -1893,75 +3149,44 @@ export declare const abi: readonly [{
|
|
|
1893
3149
|
readonly name: "_userWallet";
|
|
1894
3150
|
readonly type: "address";
|
|
1895
3151
|
}, {
|
|
1896
|
-
readonly name: "
|
|
3152
|
+
readonly name: "_legoId";
|
|
1897
3153
|
readonly type: "uint256";
|
|
1898
3154
|
}, {
|
|
1899
|
-
readonly name: "
|
|
3155
|
+
readonly name: "_nftAddr";
|
|
3156
|
+
readonly type: "address";
|
|
3157
|
+
}, {
|
|
3158
|
+
readonly name: "_nftTokenId";
|
|
1900
3159
|
readonly type: "uint256";
|
|
1901
3160
|
}, {
|
|
1902
|
-
readonly name: "
|
|
3161
|
+
readonly name: "_pool";
|
|
1903
3162
|
readonly type: "address";
|
|
1904
|
-
}];
|
|
1905
|
-
readonly name: "convertEthToWeth";
|
|
1906
|
-
readonly outputs: readonly [{
|
|
1907
|
-
readonly name: "";
|
|
1908
|
-
readonly type: "uint256";
|
|
1909
3163
|
}, {
|
|
1910
|
-
readonly name: "";
|
|
3164
|
+
readonly name: "_tokenA";
|
|
1911
3165
|
readonly type: "address";
|
|
1912
3166
|
}, {
|
|
1913
|
-
readonly name: "";
|
|
1914
|
-
readonly type: "uint256";
|
|
1915
|
-
}];
|
|
1916
|
-
readonly stateMutability: "nonpayable";
|
|
1917
|
-
readonly type: "function";
|
|
1918
|
-
}, {
|
|
1919
|
-
readonly inputs: readonly [{
|
|
1920
|
-
readonly name: "_userWallet";
|
|
3167
|
+
readonly name: "_tokenB";
|
|
1921
3168
|
readonly type: "address";
|
|
1922
3169
|
}, {
|
|
1923
|
-
readonly name: "
|
|
3170
|
+
readonly name: "_liqToRemove";
|
|
1924
3171
|
readonly type: "uint256";
|
|
1925
3172
|
}, {
|
|
1926
|
-
readonly name: "
|
|
3173
|
+
readonly name: "_minAmountA";
|
|
1927
3174
|
readonly type: "uint256";
|
|
1928
3175
|
}, {
|
|
1929
|
-
readonly name: "
|
|
1930
|
-
readonly type: "
|
|
1931
|
-
}, {
|
|
1932
|
-
readonly components: readonly [{
|
|
1933
|
-
readonly name: "signature";
|
|
1934
|
-
readonly type: "bytes";
|
|
1935
|
-
}, {
|
|
1936
|
-
readonly name: "signer";
|
|
1937
|
-
readonly type: "address";
|
|
1938
|
-
}, {
|
|
1939
|
-
readonly name: "expiration";
|
|
1940
|
-
readonly type: "uint256";
|
|
1941
|
-
}];
|
|
1942
|
-
readonly name: "_sig";
|
|
1943
|
-
readonly type: "tuple";
|
|
3176
|
+
readonly name: "_minAmountB";
|
|
3177
|
+
readonly type: "uint256";
|
|
1944
3178
|
}];
|
|
1945
|
-
readonly name: "
|
|
3179
|
+
readonly name: "removeLiquidityConcentrated";
|
|
1946
3180
|
readonly outputs: readonly [{
|
|
1947
3181
|
readonly name: "";
|
|
1948
3182
|
readonly type: "uint256";
|
|
1949
3183
|
}, {
|
|
1950
3184
|
readonly name: "";
|
|
1951
|
-
readonly type: "
|
|
3185
|
+
readonly type: "uint256";
|
|
1952
3186
|
}, {
|
|
1953
3187
|
readonly name: "";
|
|
1954
3188
|
readonly type: "uint256";
|
|
1955
|
-
}
|
|
1956
|
-
readonly stateMutability: "nonpayable";
|
|
1957
|
-
readonly type: "function";
|
|
1958
|
-
}, {
|
|
1959
|
-
readonly inputs: readonly [{
|
|
1960
|
-
readonly name: "_userWallet";
|
|
1961
|
-
readonly type: "address";
|
|
1962
|
-
}];
|
|
1963
|
-
readonly name: "convertWethToEth";
|
|
1964
|
-
readonly outputs: readonly [{
|
|
3189
|
+
}, {
|
|
1965
3190
|
readonly name: "";
|
|
1966
3191
|
readonly type: "uint256";
|
|
1967
3192
|
}];
|
|
@@ -1972,52 +3197,49 @@ export declare const abi: readonly [{
|
|
|
1972
3197
|
readonly name: "_userWallet";
|
|
1973
3198
|
readonly type: "address";
|
|
1974
3199
|
}, {
|
|
1975
|
-
readonly name: "
|
|
1976
|
-
readonly type: "uint256";
|
|
1977
|
-
}];
|
|
1978
|
-
readonly name: "convertWethToEth";
|
|
1979
|
-
readonly outputs: readonly [{
|
|
1980
|
-
readonly name: "";
|
|
3200
|
+
readonly name: "_legoId";
|
|
1981
3201
|
readonly type: "uint256";
|
|
1982
|
-
}
|
|
1983
|
-
|
|
1984
|
-
readonly type: "function";
|
|
1985
|
-
}, {
|
|
1986
|
-
readonly inputs: readonly [{
|
|
1987
|
-
readonly name: "_userWallet";
|
|
3202
|
+
}, {
|
|
3203
|
+
readonly name: "_nftAddr";
|
|
1988
3204
|
readonly type: "address";
|
|
1989
3205
|
}, {
|
|
1990
|
-
readonly name: "
|
|
3206
|
+
readonly name: "_nftTokenId";
|
|
1991
3207
|
readonly type: "uint256";
|
|
1992
3208
|
}, {
|
|
1993
|
-
readonly name: "
|
|
3209
|
+
readonly name: "_pool";
|
|
1994
3210
|
readonly type: "address";
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
readonly outputs: readonly [{
|
|
1998
|
-
readonly name: "";
|
|
1999
|
-
readonly type: "uint256";
|
|
2000
|
-
}];
|
|
2001
|
-
readonly stateMutability: "nonpayable";
|
|
2002
|
-
readonly type: "function";
|
|
2003
|
-
}, {
|
|
2004
|
-
readonly inputs: readonly [{
|
|
2005
|
-
readonly name: "_userWallet";
|
|
3211
|
+
}, {
|
|
3212
|
+
readonly name: "_tokenA";
|
|
2006
3213
|
readonly type: "address";
|
|
2007
3214
|
}, {
|
|
2008
|
-
readonly name: "
|
|
3215
|
+
readonly name: "_tokenB";
|
|
3216
|
+
readonly type: "address";
|
|
3217
|
+
}, {
|
|
3218
|
+
readonly name: "_liqToRemove";
|
|
2009
3219
|
readonly type: "uint256";
|
|
2010
3220
|
}, {
|
|
2011
|
-
readonly name: "
|
|
2012
|
-
readonly type: "
|
|
3221
|
+
readonly name: "_minAmountA";
|
|
3222
|
+
readonly type: "uint256";
|
|
2013
3223
|
}, {
|
|
2014
|
-
readonly name: "
|
|
3224
|
+
readonly name: "_minAmountB";
|
|
2015
3225
|
readonly type: "uint256";
|
|
3226
|
+
}, {
|
|
3227
|
+
readonly name: "_extraData";
|
|
3228
|
+
readonly type: "bytes32";
|
|
2016
3229
|
}];
|
|
2017
|
-
readonly name: "
|
|
3230
|
+
readonly name: "removeLiquidityConcentrated";
|
|
2018
3231
|
readonly outputs: readonly [{
|
|
2019
3232
|
readonly name: "";
|
|
2020
3233
|
readonly type: "uint256";
|
|
3234
|
+
}, {
|
|
3235
|
+
readonly name: "";
|
|
3236
|
+
readonly type: "uint256";
|
|
3237
|
+
}, {
|
|
3238
|
+
readonly name: "";
|
|
3239
|
+
readonly type: "uint256";
|
|
3240
|
+
}, {
|
|
3241
|
+
readonly name: "";
|
|
3242
|
+
readonly type: "uint256";
|
|
2021
3243
|
}];
|
|
2022
3244
|
readonly stateMutability: "nonpayable";
|
|
2023
3245
|
readonly type: "function";
|
|
@@ -2026,48 +3248,42 @@ export declare const abi: readonly [{
|
|
|
2026
3248
|
readonly name: "_userWallet";
|
|
2027
3249
|
readonly type: "address";
|
|
2028
3250
|
}, {
|
|
2029
|
-
readonly name: "
|
|
3251
|
+
readonly name: "_legoId";
|
|
2030
3252
|
readonly type: "uint256";
|
|
2031
3253
|
}, {
|
|
2032
|
-
readonly name: "
|
|
3254
|
+
readonly name: "_nftAddr";
|
|
2033
3255
|
readonly type: "address";
|
|
2034
3256
|
}, {
|
|
2035
|
-
readonly name: "
|
|
3257
|
+
readonly name: "_nftTokenId";
|
|
2036
3258
|
readonly type: "uint256";
|
|
2037
3259
|
}, {
|
|
2038
|
-
readonly name: "
|
|
3260
|
+
readonly name: "_pool";
|
|
2039
3261
|
readonly type: "address";
|
|
2040
|
-
}
|
|
2041
|
-
|
|
2042
|
-
readonly outputs: readonly [{
|
|
2043
|
-
readonly name: "";
|
|
2044
|
-
readonly type: "uint256";
|
|
2045
|
-
}];
|
|
2046
|
-
readonly stateMutability: "nonpayable";
|
|
2047
|
-
readonly type: "function";
|
|
2048
|
-
}, {
|
|
2049
|
-
readonly inputs: readonly [{
|
|
2050
|
-
readonly name: "_userWallet";
|
|
3262
|
+
}, {
|
|
3263
|
+
readonly name: "_tokenA";
|
|
2051
3264
|
readonly type: "address";
|
|
2052
3265
|
}, {
|
|
2053
|
-
readonly name: "
|
|
3266
|
+
readonly name: "_tokenB";
|
|
3267
|
+
readonly type: "address";
|
|
3268
|
+
}, {
|
|
3269
|
+
readonly name: "_liqToRemove";
|
|
2054
3270
|
readonly type: "uint256";
|
|
2055
3271
|
}, {
|
|
2056
|
-
readonly name: "
|
|
2057
|
-
readonly type: "
|
|
3272
|
+
readonly name: "_minAmountA";
|
|
3273
|
+
readonly type: "uint256";
|
|
2058
3274
|
}, {
|
|
2059
|
-
readonly name: "
|
|
3275
|
+
readonly name: "_minAmountB";
|
|
2060
3276
|
readonly type: "uint256";
|
|
2061
3277
|
}, {
|
|
2062
|
-
readonly name: "
|
|
2063
|
-
readonly type: "
|
|
3278
|
+
readonly name: "_extraData";
|
|
3279
|
+
readonly type: "bytes32";
|
|
2064
3280
|
}, {
|
|
2065
3281
|
readonly components: readonly [{
|
|
2066
3282
|
readonly name: "signature";
|
|
2067
3283
|
readonly type: "bytes";
|
|
2068
3284
|
}, {
|
|
2069
|
-
readonly name: "
|
|
2070
|
-
readonly type: "
|
|
3285
|
+
readonly name: "nonce";
|
|
3286
|
+
readonly type: "uint256";
|
|
2071
3287
|
}, {
|
|
2072
3288
|
readonly name: "expiration";
|
|
2073
3289
|
readonly type: "uint256";
|
|
@@ -2075,10 +3291,19 @@ export declare const abi: readonly [{
|
|
|
2075
3291
|
readonly name: "_sig";
|
|
2076
3292
|
readonly type: "tuple";
|
|
2077
3293
|
}];
|
|
2078
|
-
readonly name: "
|
|
3294
|
+
readonly name: "removeLiquidityConcentrated";
|
|
2079
3295
|
readonly outputs: readonly [{
|
|
2080
3296
|
readonly name: "";
|
|
2081
3297
|
readonly type: "uint256";
|
|
3298
|
+
}, {
|
|
3299
|
+
readonly name: "";
|
|
3300
|
+
readonly type: "uint256";
|
|
3301
|
+
}, {
|
|
3302
|
+
readonly name: "";
|
|
3303
|
+
readonly type: "uint256";
|
|
3304
|
+
}, {
|
|
3305
|
+
readonly name: "";
|
|
3306
|
+
readonly type: "uint256";
|
|
2082
3307
|
}];
|
|
2083
3308
|
readonly stateMutability: "nonpayable";
|
|
2084
3309
|
readonly type: "function";
|
|
@@ -2092,45 +3317,30 @@ export declare const abi: readonly [{
|
|
|
2092
3317
|
readonly type: "bool";
|
|
2093
3318
|
}, {
|
|
2094
3319
|
readonly name: "action";
|
|
2095
|
-
readonly type: "
|
|
3320
|
+
readonly type: "uint8";
|
|
2096
3321
|
}, {
|
|
2097
3322
|
readonly name: "legoId";
|
|
2098
|
-
readonly type: "
|
|
3323
|
+
readonly type: "uint16";
|
|
2099
3324
|
}, {
|
|
2100
3325
|
readonly name: "asset";
|
|
2101
3326
|
readonly type: "address";
|
|
2102
3327
|
}, {
|
|
2103
|
-
readonly name: "
|
|
3328
|
+
readonly name: "target";
|
|
2104
3329
|
readonly type: "address";
|
|
2105
3330
|
}, {
|
|
2106
3331
|
readonly name: "amount";
|
|
2107
3332
|
readonly type: "uint256";
|
|
2108
3333
|
}, {
|
|
2109
|
-
readonly name: "
|
|
2110
|
-
readonly type: "uint256";
|
|
2111
|
-
}, {
|
|
2112
|
-
readonly name: "altAsset";
|
|
2113
|
-
readonly type: "address";
|
|
2114
|
-
}, {
|
|
2115
|
-
readonly name: "altVault";
|
|
3334
|
+
readonly name: "asset2";
|
|
2116
3335
|
readonly type: "address";
|
|
2117
3336
|
}, {
|
|
2118
|
-
readonly name: "
|
|
3337
|
+
readonly name: "amount2";
|
|
2119
3338
|
readonly type: "uint256";
|
|
2120
3339
|
}, {
|
|
2121
|
-
readonly name: "
|
|
3340
|
+
readonly name: "minOut1";
|
|
2122
3341
|
readonly type: "uint256";
|
|
2123
3342
|
}, {
|
|
2124
|
-
readonly name: "
|
|
2125
|
-
readonly type: "address";
|
|
2126
|
-
}, {
|
|
2127
|
-
readonly name: "proof";
|
|
2128
|
-
readonly type: "bytes32";
|
|
2129
|
-
}, {
|
|
2130
|
-
readonly name: "nftAddr";
|
|
2131
|
-
readonly type: "address";
|
|
2132
|
-
}, {
|
|
2133
|
-
readonly name: "nftTokenId";
|
|
3343
|
+
readonly name: "minOut2";
|
|
2134
3344
|
readonly type: "uint256";
|
|
2135
3345
|
}, {
|
|
2136
3346
|
readonly name: "tickLower";
|
|
@@ -2139,23 +3349,11 @@ export declare const abi: readonly [{
|
|
|
2139
3349
|
readonly name: "tickUpper";
|
|
2140
3350
|
readonly type: "int24";
|
|
2141
3351
|
}, {
|
|
2142
|
-
readonly name: "
|
|
2143
|
-
readonly type: "
|
|
2144
|
-
}, {
|
|
2145
|
-
readonly name: "minAmountB";
|
|
2146
|
-
readonly type: "uint256";
|
|
2147
|
-
}, {
|
|
2148
|
-
readonly name: "minLpAmount";
|
|
2149
|
-
readonly type: "uint256";
|
|
2150
|
-
}, {
|
|
2151
|
-
readonly name: "liqToRemove";
|
|
2152
|
-
readonly type: "uint256";
|
|
2153
|
-
}, {
|
|
2154
|
-
readonly name: "recipient";
|
|
2155
|
-
readonly type: "address";
|
|
3352
|
+
readonly name: "extraData";
|
|
3353
|
+
readonly type: "bytes32";
|
|
2156
3354
|
}, {
|
|
2157
|
-
readonly name: "
|
|
2158
|
-
readonly type: "
|
|
3355
|
+
readonly name: "auxData";
|
|
3356
|
+
readonly type: "bytes32";
|
|
2159
3357
|
}, {
|
|
2160
3358
|
readonly components: readonly [{
|
|
2161
3359
|
readonly name: "legoId";
|
|
@@ -2196,45 +3394,30 @@ export declare const abi: readonly [{
|
|
|
2196
3394
|
readonly type: "bool";
|
|
2197
3395
|
}, {
|
|
2198
3396
|
readonly name: "action";
|
|
2199
|
-
readonly type: "
|
|
3397
|
+
readonly type: "uint8";
|
|
2200
3398
|
}, {
|
|
2201
3399
|
readonly name: "legoId";
|
|
2202
|
-
readonly type: "
|
|
3400
|
+
readonly type: "uint16";
|
|
2203
3401
|
}, {
|
|
2204
3402
|
readonly name: "asset";
|
|
2205
3403
|
readonly type: "address";
|
|
2206
3404
|
}, {
|
|
2207
|
-
readonly name: "
|
|
3405
|
+
readonly name: "target";
|
|
2208
3406
|
readonly type: "address";
|
|
2209
3407
|
}, {
|
|
2210
3408
|
readonly name: "amount";
|
|
2211
3409
|
readonly type: "uint256";
|
|
2212
3410
|
}, {
|
|
2213
|
-
readonly name: "
|
|
2214
|
-
readonly type: "uint256";
|
|
2215
|
-
}, {
|
|
2216
|
-
readonly name: "altAsset";
|
|
3411
|
+
readonly name: "asset2";
|
|
2217
3412
|
readonly type: "address";
|
|
2218
3413
|
}, {
|
|
2219
|
-
readonly name: "
|
|
2220
|
-
readonly type: "address";
|
|
2221
|
-
}, {
|
|
2222
|
-
readonly name: "altAmount";
|
|
3414
|
+
readonly name: "amount2";
|
|
2223
3415
|
readonly type: "uint256";
|
|
2224
3416
|
}, {
|
|
2225
|
-
readonly name: "
|
|
3417
|
+
readonly name: "minOut1";
|
|
2226
3418
|
readonly type: "uint256";
|
|
2227
3419
|
}, {
|
|
2228
|
-
readonly name: "
|
|
2229
|
-
readonly type: "address";
|
|
2230
|
-
}, {
|
|
2231
|
-
readonly name: "proof";
|
|
2232
|
-
readonly type: "bytes32";
|
|
2233
|
-
}, {
|
|
2234
|
-
readonly name: "nftAddr";
|
|
2235
|
-
readonly type: "address";
|
|
2236
|
-
}, {
|
|
2237
|
-
readonly name: "nftTokenId";
|
|
3420
|
+
readonly name: "minOut2";
|
|
2238
3421
|
readonly type: "uint256";
|
|
2239
3422
|
}, {
|
|
2240
3423
|
readonly name: "tickLower";
|
|
@@ -2243,23 +3426,11 @@ export declare const abi: readonly [{
|
|
|
2243
3426
|
readonly name: "tickUpper";
|
|
2244
3427
|
readonly type: "int24";
|
|
2245
3428
|
}, {
|
|
2246
|
-
readonly name: "
|
|
2247
|
-
readonly type: "
|
|
2248
|
-
}, {
|
|
2249
|
-
readonly name: "minAmountB";
|
|
2250
|
-
readonly type: "uint256";
|
|
2251
|
-
}, {
|
|
2252
|
-
readonly name: "minLpAmount";
|
|
2253
|
-
readonly type: "uint256";
|
|
2254
|
-
}, {
|
|
2255
|
-
readonly name: "liqToRemove";
|
|
2256
|
-
readonly type: "uint256";
|
|
2257
|
-
}, {
|
|
2258
|
-
readonly name: "recipient";
|
|
2259
|
-
readonly type: "address";
|
|
3429
|
+
readonly name: "extraData";
|
|
3430
|
+
readonly type: "bytes32";
|
|
2260
3431
|
}, {
|
|
2261
|
-
readonly name: "
|
|
2262
|
-
readonly type: "
|
|
3432
|
+
readonly name: "auxData";
|
|
3433
|
+
readonly type: "bytes32";
|
|
2263
3434
|
}, {
|
|
2264
3435
|
readonly components: readonly [{
|
|
2265
3436
|
readonly name: "legoId";
|
|
@@ -2287,8 +3458,8 @@ export declare const abi: readonly [{
|
|
|
2287
3458
|
readonly name: "signature";
|
|
2288
3459
|
readonly type: "bytes";
|
|
2289
3460
|
}, {
|
|
2290
|
-
readonly name: "
|
|
2291
|
-
readonly type: "
|
|
3461
|
+
readonly name: "nonce";
|
|
3462
|
+
readonly type: "uint256";
|
|
2292
3463
|
}, {
|
|
2293
3464
|
readonly name: "expiration";
|
|
2294
3465
|
readonly type: "uint256";
|
|
@@ -2304,157 +3475,53 @@ export declare const abi: readonly [{
|
|
|
2304
3475
|
readonly stateMutability: "nonpayable";
|
|
2305
3476
|
readonly type: "function";
|
|
2306
3477
|
}, {
|
|
2307
|
-
readonly inputs: readonly [
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
readonly components: readonly [{
|
|
2312
|
-
readonly name: "usePrevAmountOut";
|
|
2313
|
-
readonly type: "bool";
|
|
2314
|
-
}, {
|
|
2315
|
-
readonly name: "action";
|
|
2316
|
-
readonly type: "uint256";
|
|
2317
|
-
}, {
|
|
2318
|
-
readonly name: "legoId";
|
|
2319
|
-
readonly type: "uint256";
|
|
2320
|
-
}, {
|
|
2321
|
-
readonly name: "asset";
|
|
2322
|
-
readonly type: "address";
|
|
2323
|
-
}, {
|
|
2324
|
-
readonly name: "vault";
|
|
2325
|
-
readonly type: "address";
|
|
2326
|
-
}, {
|
|
2327
|
-
readonly name: "amount";
|
|
2328
|
-
readonly type: "uint256";
|
|
2329
|
-
}, {
|
|
2330
|
-
readonly name: "altLegoId";
|
|
2331
|
-
readonly type: "uint256";
|
|
2332
|
-
}, {
|
|
2333
|
-
readonly name: "altAsset";
|
|
2334
|
-
readonly type: "address";
|
|
2335
|
-
}, {
|
|
2336
|
-
readonly name: "altVault";
|
|
2337
|
-
readonly type: "address";
|
|
2338
|
-
}, {
|
|
2339
|
-
readonly name: "altAmount";
|
|
2340
|
-
readonly type: "uint256";
|
|
2341
|
-
}, {
|
|
2342
|
-
readonly name: "minAmountOut";
|
|
2343
|
-
readonly type: "uint256";
|
|
2344
|
-
}, {
|
|
2345
|
-
readonly name: "pool";
|
|
2346
|
-
readonly type: "address";
|
|
2347
|
-
}, {
|
|
2348
|
-
readonly name: "proof";
|
|
2349
|
-
readonly type: "bytes32";
|
|
2350
|
-
}, {
|
|
2351
|
-
readonly name: "nftAddr";
|
|
2352
|
-
readonly type: "address";
|
|
2353
|
-
}, {
|
|
2354
|
-
readonly name: "nftTokenId";
|
|
2355
|
-
readonly type: "uint256";
|
|
2356
|
-
}, {
|
|
2357
|
-
readonly name: "tickLower";
|
|
2358
|
-
readonly type: "int24";
|
|
2359
|
-
}, {
|
|
2360
|
-
readonly name: "tickUpper";
|
|
2361
|
-
readonly type: "int24";
|
|
2362
|
-
}, {
|
|
2363
|
-
readonly name: "minAmountA";
|
|
2364
|
-
readonly type: "uint256";
|
|
2365
|
-
}, {
|
|
2366
|
-
readonly name: "minAmountB";
|
|
2367
|
-
readonly type: "uint256";
|
|
2368
|
-
}, {
|
|
2369
|
-
readonly name: "minLpAmount";
|
|
2370
|
-
readonly type: "uint256";
|
|
2371
|
-
}, {
|
|
2372
|
-
readonly name: "liqToRemove";
|
|
2373
|
-
readonly type: "uint256";
|
|
2374
|
-
}, {
|
|
2375
|
-
readonly name: "recipient";
|
|
2376
|
-
readonly type: "address";
|
|
2377
|
-
}, {
|
|
2378
|
-
readonly name: "isWethToEthConversion";
|
|
2379
|
-
readonly type: "bool";
|
|
2380
|
-
}, {
|
|
2381
|
-
readonly components: readonly [{
|
|
2382
|
-
readonly name: "legoId";
|
|
2383
|
-
readonly type: "uint256";
|
|
2384
|
-
}, {
|
|
2385
|
-
readonly name: "amountIn";
|
|
2386
|
-
readonly type: "uint256";
|
|
2387
|
-
}, {
|
|
2388
|
-
readonly name: "minAmountOut";
|
|
2389
|
-
readonly type: "uint256";
|
|
2390
|
-
}, {
|
|
2391
|
-
readonly name: "tokenPath";
|
|
2392
|
-
readonly type: "address[]";
|
|
2393
|
-
}, {
|
|
2394
|
-
readonly name: "poolPath";
|
|
2395
|
-
readonly type: "address[]";
|
|
2396
|
-
}];
|
|
2397
|
-
readonly name: "swapInstructions";
|
|
2398
|
-
readonly type: "tuple[]";
|
|
2399
|
-
}];
|
|
2400
|
-
readonly name: "_instructions";
|
|
2401
|
-
readonly type: "tuple[]";
|
|
2402
|
-
}, {
|
|
2403
|
-
readonly name: "_expiration";
|
|
2404
|
-
readonly type: "uint256";
|
|
2405
|
-
}];
|
|
2406
|
-
readonly name: "getBatchActionHash";
|
|
2407
|
-
readonly outputs: readonly [{
|
|
2408
|
-
readonly name: "";
|
|
2409
|
-
readonly type: "bytes32";
|
|
2410
|
-
}];
|
|
2411
|
-
readonly stateMutability: "view";
|
|
3478
|
+
readonly inputs: readonly [];
|
|
3479
|
+
readonly name: "incrementNonce";
|
|
3480
|
+
readonly outputs: readonly [];
|
|
3481
|
+
readonly stateMutability: "nonpayable";
|
|
2412
3482
|
readonly type: "function";
|
|
2413
3483
|
}, {
|
|
2414
3484
|
readonly inputs: readonly [];
|
|
2415
|
-
readonly name: "
|
|
3485
|
+
readonly name: "getNonce";
|
|
2416
3486
|
readonly outputs: readonly [{
|
|
2417
3487
|
readonly name: "";
|
|
2418
|
-
readonly type: "
|
|
3488
|
+
readonly type: "uint256";
|
|
2419
3489
|
}];
|
|
2420
3490
|
readonly stateMutability: "view";
|
|
2421
3491
|
readonly type: "function";
|
|
2422
3492
|
}, {
|
|
2423
|
-
readonly inputs: readonly [
|
|
2424
|
-
|
|
2425
|
-
readonly type: "address";
|
|
2426
|
-
}];
|
|
2427
|
-
readonly name: "recoverFunds";
|
|
3493
|
+
readonly inputs: readonly [];
|
|
3494
|
+
readonly name: "groupId";
|
|
2428
3495
|
readonly outputs: readonly [{
|
|
2429
3496
|
readonly name: "";
|
|
2430
|
-
readonly type: "
|
|
3497
|
+
readonly type: "uint256";
|
|
2431
3498
|
}];
|
|
2432
|
-
readonly stateMutability: "
|
|
3499
|
+
readonly stateMutability: "view";
|
|
2433
3500
|
readonly type: "function";
|
|
2434
3501
|
}, {
|
|
2435
|
-
readonly inputs: readonly [
|
|
2436
|
-
|
|
2437
|
-
readonly type: "bytes";
|
|
2438
|
-
}];
|
|
2439
|
-
readonly name: "usedSignatures";
|
|
3502
|
+
readonly inputs: readonly [];
|
|
3503
|
+
readonly name: "currentNonce";
|
|
2440
3504
|
readonly outputs: readonly [{
|
|
2441
3505
|
readonly name: "";
|
|
2442
|
-
readonly type: "
|
|
3506
|
+
readonly type: "uint256";
|
|
2443
3507
|
}];
|
|
2444
3508
|
readonly stateMutability: "view";
|
|
2445
3509
|
readonly type: "function";
|
|
2446
3510
|
}, {
|
|
2447
3511
|
readonly inputs: readonly [{
|
|
2448
|
-
readonly name: "
|
|
3512
|
+
readonly name: "_undyHq";
|
|
2449
3513
|
readonly type: "address";
|
|
2450
3514
|
}, {
|
|
2451
|
-
readonly name: "
|
|
3515
|
+
readonly name: "_owner";
|
|
2452
3516
|
readonly type: "address";
|
|
2453
3517
|
}, {
|
|
2454
|
-
readonly name: "
|
|
3518
|
+
readonly name: "_groupId";
|
|
2455
3519
|
readonly type: "uint256";
|
|
2456
3520
|
}, {
|
|
2457
|
-
readonly name: "
|
|
3521
|
+
readonly name: "_minTimeLock";
|
|
3522
|
+
readonly type: "uint256";
|
|
3523
|
+
}, {
|
|
3524
|
+
readonly name: "_maxTimeLock";
|
|
2458
3525
|
readonly type: "uint256";
|
|
2459
3526
|
}];
|
|
2460
3527
|
readonly outputs: readonly [];
|
|
@@ -2466,76 +3533,41 @@ export type Contract = {
|
|
|
2466
3533
|
calls: {
|
|
2467
3534
|
hasPendingOwnerChange: () => Promise<boolean>;
|
|
2468
3535
|
owner: () => Promise<`0x${string}`>;
|
|
3536
|
+
ownershipTimeLock: () => Promise<bigint>;
|
|
2469
3537
|
pendingOwner: () => Promise<{
|
|
2470
3538
|
newOwner: `0x${string}`;
|
|
2471
3539
|
initiatedBlock: bigint;
|
|
2472
3540
|
confirmBlock: bigint;
|
|
2473
3541
|
}>;
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
getSwapActionHash: (userWallet: `0x${string}`, swapInstructions: {
|
|
2480
|
-
legoId: bigint;
|
|
2481
|
-
amountIn: bigint;
|
|
2482
|
-
minAmountOut: bigint;
|
|
2483
|
-
tokenPath: `0x${string}`[];
|
|
2484
|
-
poolPath: `0x${string}`[];
|
|
2485
|
-
}[], expiration: bigint) => Promise<`0x${string}`>;
|
|
2486
|
-
getBatchActionHash: (userWallet: `0x${string}`, instructions: {
|
|
2487
|
-
usePrevAmountOut: boolean;
|
|
2488
|
-
action: bigint;
|
|
2489
|
-
legoId: bigint;
|
|
2490
|
-
asset: `0x${string}`;
|
|
2491
|
-
vault: `0x${string}`;
|
|
2492
|
-
amount: bigint;
|
|
2493
|
-
altLegoId: bigint;
|
|
2494
|
-
altAsset: `0x${string}`;
|
|
2495
|
-
altVault: `0x${string}`;
|
|
2496
|
-
altAmount: bigint;
|
|
2497
|
-
minAmountOut: bigint;
|
|
2498
|
-
pool: `0x${string}`;
|
|
2499
|
-
proof: `0x${string}`;
|
|
2500
|
-
nftAddr: `0x${string}`;
|
|
2501
|
-
nftTokenId: bigint;
|
|
2502
|
-
tickLower: unknown;
|
|
2503
|
-
tickUpper: unknown;
|
|
2504
|
-
minAmountA: bigint;
|
|
2505
|
-
minAmountB: bigint;
|
|
2506
|
-
minLpAmount: bigint;
|
|
2507
|
-
liqToRemove: bigint;
|
|
2508
|
-
recipient: `0x${string}`;
|
|
2509
|
-
isWethToEthConversion: boolean;
|
|
2510
|
-
swapInstructions: {
|
|
2511
|
-
legoId: bigint;
|
|
2512
|
-
amountIn: bigint;
|
|
2513
|
-
minAmountOut: bigint;
|
|
2514
|
-
tokenPath: `0x${string}`[];
|
|
2515
|
-
poolPath: `0x${string}`[];
|
|
2516
|
-
}[];
|
|
2517
|
-
}[], expiration: bigint) => Promise<`0x${string}`>;
|
|
2518
|
-
DOMAIN_SEPARATOR: () => Promise<`0x${string}`>;
|
|
2519
|
-
usedSignatures: (arg0: `0x${string}`) => Promise<boolean>;
|
|
3542
|
+
MIN_OWNERSHIP_TIMELOCK: () => Promise<bigint>;
|
|
3543
|
+
MAX_OWNERSHIP_TIMELOCK: () => Promise<bigint>;
|
|
3544
|
+
getNonce: () => Promise<bigint>;
|
|
3545
|
+
groupId: () => Promise<bigint>;
|
|
3546
|
+
currentNonce: () => Promise<bigint>;
|
|
2520
3547
|
};
|
|
2521
3548
|
mutations: {
|
|
2522
3549
|
changeOwnership: (newOwner: `0x${string}`) => Promise<void>;
|
|
2523
3550
|
confirmOwnershipChange: () => Promise<void>;
|
|
2524
3551
|
cancelOwnershipChange: () => Promise<void>;
|
|
2525
|
-
|
|
2526
|
-
|
|
3552
|
+
setOwnershipTimeLock: (numBlocks: bigint) => Promise<void>;
|
|
3553
|
+
transferFunds: (userWallet: `0x${string}`, recipient: `0x${string}`, asset?: `0x${string}`, amount?: bigint, isCheque?: boolean, sig?: {
|
|
3554
|
+
signature: `0x${string}`;
|
|
3555
|
+
nonce: bigint;
|
|
3556
|
+
expiration: bigint;
|
|
3557
|
+
}) => Promise<[bigint, bigint]>;
|
|
3558
|
+
depositForYield: (userWallet: `0x${string}`, legoId: bigint, asset: `0x${string}`, vaultAddr?: `0x${string}`, amount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
2527
3559
|
signature: `0x${string}`;
|
|
2528
|
-
|
|
3560
|
+
nonce: bigint;
|
|
2529
3561
|
expiration: bigint;
|
|
2530
3562
|
}) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2531
|
-
|
|
3563
|
+
withdrawFromYield: (userWallet: `0x${string}`, legoId: bigint, vaultToken: `0x${string}`, amount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
2532
3564
|
signature: `0x${string}`;
|
|
2533
|
-
|
|
3565
|
+
nonce: bigint;
|
|
2534
3566
|
expiration: bigint;
|
|
2535
|
-
}) => Promise<[bigint, bigint, bigint]>;
|
|
2536
|
-
|
|
3567
|
+
}) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
3568
|
+
rebalanceYieldPosition: (userWallet: `0x${string}`, fromLegoId: bigint, fromVaultToken: `0x${string}`, toLegoId: bigint, toVaultAddr?: `0x${string}`, fromVaultAmount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
2537
3569
|
signature: `0x${string}`;
|
|
2538
|
-
|
|
3570
|
+
nonce: bigint;
|
|
2539
3571
|
expiration: bigint;
|
|
2540
3572
|
}) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2541
3573
|
swapTokens: (userWallet: `0x${string}`, swapInstructions: {
|
|
@@ -2546,73 +3578,89 @@ export type Contract = {
|
|
|
2546
3578
|
poolPath: `0x${string}`[];
|
|
2547
3579
|
}[], sig?: {
|
|
2548
3580
|
signature: `0x${string}`;
|
|
2549
|
-
|
|
3581
|
+
nonce: bigint;
|
|
2550
3582
|
expiration: bigint;
|
|
2551
|
-
}) => Promise<[bigint, bigint, bigint]>;
|
|
2552
|
-
|
|
3583
|
+
}) => Promise<[`0x${string}`, bigint, `0x${string}`, bigint, bigint]>;
|
|
3584
|
+
mintOrRedeemAsset: (userWallet: `0x${string}`, legoId: bigint, tokenIn: `0x${string}`, tokenOut: `0x${string}`, amountIn?: bigint, minAmountOut?: bigint, extraData?: `0x${string}`, sig?: {
|
|
2553
3585
|
signature: `0x${string}`;
|
|
2554
|
-
|
|
3586
|
+
nonce: bigint;
|
|
2555
3587
|
expiration: bigint;
|
|
2556
|
-
}) => Promise<[
|
|
2557
|
-
|
|
3588
|
+
}) => Promise<[bigint, bigint, boolean, bigint]>;
|
|
3589
|
+
confirmMintOrRedeemAsset: (userWallet: `0x${string}`, legoId: bigint, tokenIn: `0x${string}`, tokenOut: `0x${string}`, extraData?: `0x${string}`, sig?: {
|
|
2558
3590
|
signature: `0x${string}`;
|
|
2559
|
-
|
|
3591
|
+
nonce: bigint;
|
|
2560
3592
|
expiration: bigint;
|
|
2561
|
-
}) => Promise<[
|
|
2562
|
-
|
|
3593
|
+
}) => Promise<[bigint, bigint]>;
|
|
3594
|
+
addCollateral: (userWallet: `0x${string}`, legoId: bigint, asset: `0x${string}`, amount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
2563
3595
|
signature: `0x${string}`;
|
|
2564
|
-
|
|
3596
|
+
nonce: bigint;
|
|
2565
3597
|
expiration: bigint;
|
|
2566
|
-
}) => Promise<
|
|
2567
|
-
|
|
3598
|
+
}) => Promise<[bigint, bigint]>;
|
|
3599
|
+
removeCollateral: (userWallet: `0x${string}`, legoId: bigint, asset: `0x${string}`, amount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
2568
3600
|
signature: `0x${string}`;
|
|
2569
|
-
|
|
3601
|
+
nonce: bigint;
|
|
2570
3602
|
expiration: bigint;
|
|
2571
|
-
}) => Promise<[bigint, bigint
|
|
2572
|
-
|
|
3603
|
+
}) => Promise<[bigint, bigint]>;
|
|
3604
|
+
borrow: (userWallet: `0x${string}`, legoId: bigint, borrowAsset: `0x${string}`, amount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
3605
|
+
signature: `0x${string}`;
|
|
3606
|
+
nonce: bigint;
|
|
3607
|
+
expiration: bigint;
|
|
3608
|
+
}) => Promise<[bigint, bigint]>;
|
|
3609
|
+
repayDebt: (userWallet: `0x${string}`, legoId: bigint, paymentAsset: `0x${string}`, paymentAmount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
3610
|
+
signature: `0x${string}`;
|
|
3611
|
+
nonce: bigint;
|
|
3612
|
+
expiration: bigint;
|
|
3613
|
+
}) => Promise<[bigint, bigint]>;
|
|
3614
|
+
claimRewards: (userWallet: `0x${string}`, legoId: bigint, rewardToken?: `0x${string}`, rewardAmount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
3615
|
+
signature: `0x${string}`;
|
|
3616
|
+
nonce: bigint;
|
|
3617
|
+
expiration: bigint;
|
|
3618
|
+
}) => Promise<[bigint, bigint]>;
|
|
3619
|
+
convertWethToEth: (userWallet: `0x${string}`, amount?: bigint, sig?: {
|
|
2573
3620
|
signature: `0x${string}`;
|
|
2574
|
-
|
|
3621
|
+
nonce: bigint;
|
|
2575
3622
|
expiration: bigint;
|
|
2576
|
-
}) => Promise<[bigint, bigint
|
|
2577
|
-
|
|
3623
|
+
}) => Promise<[bigint, bigint]>;
|
|
3624
|
+
convertEthToWeth: (userWallet: `0x${string}`, amount?: bigint, sig?: {
|
|
2578
3625
|
signature: `0x${string}`;
|
|
2579
|
-
|
|
3626
|
+
nonce: bigint;
|
|
2580
3627
|
expiration: bigint;
|
|
2581
3628
|
}) => Promise<[bigint, bigint]>;
|
|
2582
|
-
|
|
3629
|
+
addLiquidity: (userWallet: `0x${string}`, legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA?: bigint, amountB?: bigint, minAmountA?: bigint, minAmountB?: bigint, minLpAmount?: bigint, extraData?: `0x${string}`, sig?: {
|
|
3630
|
+
signature: `0x${string}`;
|
|
3631
|
+
nonce: bigint;
|
|
3632
|
+
expiration: bigint;
|
|
3633
|
+
}) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
3634
|
+
removeLiquidity: (userWallet: `0x${string}`, legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, lpToken: `0x${string}`, lpAmount?: bigint, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`, sig?: {
|
|
3635
|
+
signature: `0x${string}`;
|
|
3636
|
+
nonce: bigint;
|
|
3637
|
+
expiration: bigint;
|
|
3638
|
+
}) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
3639
|
+
addLiquidityConcentrated: (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, extraData?: `0x${string}`, sig?: {
|
|
2583
3640
|
signature: `0x${string}`;
|
|
2584
|
-
|
|
3641
|
+
nonce: bigint;
|
|
2585
3642
|
expiration: bigint;
|
|
2586
|
-
}) => Promise<[bigint,
|
|
2587
|
-
|
|
3643
|
+
}) => Promise<[bigint, bigint, bigint, bigint, bigint]>;
|
|
3644
|
+
removeLiquidityConcentrated: (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, extraData?: `0x${string}`, sig?: {
|
|
2588
3645
|
signature: `0x${string}`;
|
|
2589
|
-
|
|
3646
|
+
nonce: bigint;
|
|
2590
3647
|
expiration: bigint;
|
|
2591
|
-
}) => Promise<bigint>;
|
|
3648
|
+
}) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
2592
3649
|
performBatchActions: (userWallet: `0x${string}`, instructions: {
|
|
2593
3650
|
usePrevAmountOut: boolean;
|
|
2594
|
-
action:
|
|
2595
|
-
legoId:
|
|
3651
|
+
action: number;
|
|
3652
|
+
legoId: number;
|
|
2596
3653
|
asset: `0x${string}`;
|
|
2597
|
-
|
|
3654
|
+
target: `0x${string}`;
|
|
2598
3655
|
amount: bigint;
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
minAmountOut: bigint;
|
|
2604
|
-
pool: `0x${string}`;
|
|
2605
|
-
proof: `0x${string}`;
|
|
2606
|
-
nftAddr: `0x${string}`;
|
|
2607
|
-
nftTokenId: bigint;
|
|
3656
|
+
asset2: `0x${string}`;
|
|
3657
|
+
amount2: bigint;
|
|
3658
|
+
minOut1: bigint;
|
|
3659
|
+
minOut2: bigint;
|
|
2608
3660
|
tickLower: unknown;
|
|
2609
3661
|
tickUpper: unknown;
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
minLpAmount: bigint;
|
|
2613
|
-
liqToRemove: bigint;
|
|
2614
|
-
recipient: `0x${string}`;
|
|
2615
|
-
isWethToEthConversion: boolean;
|
|
3662
|
+
extraData: `0x${string}`;
|
|
3663
|
+
auxData: `0x${string}`;
|
|
2616
3664
|
swapInstructions: {
|
|
2617
3665
|
legoId: bigint;
|
|
2618
3666
|
amountIn: bigint;
|
|
@@ -2622,22 +3670,22 @@ export type Contract = {
|
|
|
2622
3670
|
}[];
|
|
2623
3671
|
}[], sig?: {
|
|
2624
3672
|
signature: `0x${string}`;
|
|
2625
|
-
|
|
3673
|
+
nonce: bigint;
|
|
2626
3674
|
expiration: bigint;
|
|
2627
3675
|
}) => Promise<boolean>;
|
|
2628
|
-
|
|
3676
|
+
incrementNonce: () => Promise<void>;
|
|
2629
3677
|
};
|
|
2630
3678
|
events: {
|
|
2631
|
-
|
|
3679
|
+
NonceIncremented: (oldNonce: bigint, newNonce: bigint) => Promise<void>;
|
|
2632
3680
|
OwnershipChangeInitiated: (prevOwner: `0x${string}`, newOwner: `0x${string}`, confirmBlock: bigint) => Promise<void>;
|
|
2633
3681
|
OwnershipChangeConfirmed: (prevOwner: `0x${string}`, newOwner: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
2634
3682
|
OwnershipChangeCancelled: (cancelledOwner: `0x${string}`, cancelledBy: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
2635
|
-
|
|
3683
|
+
OwnershipTimeLockSet: (numBlocks: bigint) => Promise<void>;
|
|
2636
3684
|
};
|
|
2637
3685
|
};
|
|
2638
3686
|
export type Calls = keyof Contract['calls'];
|
|
2639
3687
|
export type Request<M extends Calls> = {
|
|
2640
|
-
contractName: '
|
|
3688
|
+
contractName: 'AgentWrapperV1';
|
|
2641
3689
|
method: M;
|
|
2642
3690
|
args: ExtractArgs<Contract['calls'][M]>;
|
|
2643
3691
|
address: Address | undefined;
|
|
@@ -2663,7 +3711,7 @@ export declare const call: CallType;
|
|
|
2663
3711
|
export type Mutations = keyof Contract['mutations'];
|
|
2664
3712
|
export declare const mutation: {
|
|
2665
3713
|
[K in Mutations]: {
|
|
2666
|
-
contractName: '
|
|
3714
|
+
contractName: 'AgentWrapperV1';
|
|
2667
3715
|
deployAddress: Address | undefined;
|
|
2668
3716
|
getAbi: () => typeof abi;
|
|
2669
3717
|
functionName: K;
|
|
@@ -2675,35 +3723,38 @@ export type SDK = {
|
|
|
2675
3723
|
abi: typeof abi;
|
|
2676
3724
|
hasPendingOwnerChange: (...args: ExtractArgs<Contract['calls']['hasPendingOwnerChange']>) => Promise<CallReturn<'hasPendingOwnerChange'>>;
|
|
2677
3725
|
owner: (...args: ExtractArgs<Contract['calls']['owner']>) => Promise<CallReturn<'owner'>>;
|
|
3726
|
+
ownershipTimeLock: (...args: ExtractArgs<Contract['calls']['ownershipTimeLock']>) => Promise<CallReturn<'ownershipTimeLock'>>;
|
|
2678
3727
|
pendingOwner: (...args: ExtractArgs<Contract['calls']['pendingOwner']>) => Promise<CallReturn<'pendingOwner'>>;
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
getSwapActionHash: (...args: ExtractArgs<Contract['calls']['getSwapActionHash']>) => Promise<CallReturn<'getSwapActionHash'>>;
|
|
2685
|
-
getBatchActionHash: (...args: ExtractArgs<Contract['calls']['getBatchActionHash']>) => Promise<CallReturn<'getBatchActionHash'>>;
|
|
2686
|
-
DOMAIN_SEPARATOR: (...args: ExtractArgs<Contract['calls']['DOMAIN_SEPARATOR']>) => Promise<CallReturn<'DOMAIN_SEPARATOR'>>;
|
|
2687
|
-
usedSignatures: (...args: ExtractArgs<Contract['calls']['usedSignatures']>) => Promise<CallReturn<'usedSignatures'>>;
|
|
3728
|
+
MIN_OWNERSHIP_TIMELOCK: (...args: ExtractArgs<Contract['calls']['MIN_OWNERSHIP_TIMELOCK']>) => Promise<CallReturn<'MIN_OWNERSHIP_TIMELOCK'>>;
|
|
3729
|
+
MAX_OWNERSHIP_TIMELOCK: (...args: ExtractArgs<Contract['calls']['MAX_OWNERSHIP_TIMELOCK']>) => Promise<CallReturn<'MAX_OWNERSHIP_TIMELOCK'>>;
|
|
3730
|
+
getNonce: (...args: ExtractArgs<Contract['calls']['getNonce']>) => Promise<CallReturn<'getNonce'>>;
|
|
3731
|
+
groupId: (...args: ExtractArgs<Contract['calls']['groupId']>) => Promise<CallReturn<'groupId'>>;
|
|
3732
|
+
currentNonce: (...args: ExtractArgs<Contract['calls']['currentNonce']>) => Promise<CallReturn<'currentNonce'>>;
|
|
2688
3733
|
changeOwnership: (...args: ExtractArgs<Contract['mutations']['changeOwnership']>) => Promise<Address>;
|
|
2689
3734
|
confirmOwnershipChange: (...args: ExtractArgs<Contract['mutations']['confirmOwnershipChange']>) => Promise<Address>;
|
|
2690
3735
|
cancelOwnershipChange: (...args: ExtractArgs<Contract['mutations']['cancelOwnershipChange']>) => Promise<Address>;
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
3736
|
+
setOwnershipTimeLock: (...args: ExtractArgs<Contract['mutations']['setOwnershipTimeLock']>) => Promise<Address>;
|
|
3737
|
+
transferFunds: (...args: ExtractArgs<Contract['mutations']['transferFunds']>) => Promise<Address>;
|
|
3738
|
+
depositForYield: (...args: ExtractArgs<Contract['mutations']['depositForYield']>) => Promise<Address>;
|
|
3739
|
+
withdrawFromYield: (...args: ExtractArgs<Contract['mutations']['withdrawFromYield']>) => Promise<Address>;
|
|
3740
|
+
rebalanceYieldPosition: (...args: ExtractArgs<Contract['mutations']['rebalanceYieldPosition']>) => Promise<Address>;
|
|
2695
3741
|
swapTokens: (...args: ExtractArgs<Contract['mutations']['swapTokens']>) => Promise<Address>;
|
|
3742
|
+
mintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['mintOrRedeemAsset']>) => Promise<Address>;
|
|
3743
|
+
confirmMintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['confirmMintOrRedeemAsset']>) => Promise<Address>;
|
|
3744
|
+
addCollateral: (...args: ExtractArgs<Contract['mutations']['addCollateral']>) => Promise<Address>;
|
|
3745
|
+
removeCollateral: (...args: ExtractArgs<Contract['mutations']['removeCollateral']>) => Promise<Address>;
|
|
2696
3746
|
borrow: (...args: ExtractArgs<Contract['mutations']['borrow']>) => Promise<Address>;
|
|
2697
3747
|
repayDebt: (...args: ExtractArgs<Contract['mutations']['repayDebt']>) => Promise<Address>;
|
|
2698
3748
|
claimRewards: (...args: ExtractArgs<Contract['mutations']['claimRewards']>) => Promise<Address>;
|
|
3749
|
+
convertWethToEth: (...args: ExtractArgs<Contract['mutations']['convertWethToEth']>) => Promise<Address>;
|
|
3750
|
+
convertEthToWeth: (...args: ExtractArgs<Contract['mutations']['convertEthToWeth']>) => Promise<Address>;
|
|
2699
3751
|
addLiquidity: (...args: ExtractArgs<Contract['mutations']['addLiquidity']>) => Promise<Address>;
|
|
2700
3752
|
removeLiquidity: (...args: ExtractArgs<Contract['mutations']['removeLiquidity']>) => Promise<Address>;
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
convertWethToEth: (...args: ExtractArgs<Contract['mutations']['convertWethToEth']>) => Promise<Address>;
|
|
3753
|
+
addLiquidityConcentrated: (...args: ExtractArgs<Contract['mutations']['addLiquidityConcentrated']>) => Promise<Address>;
|
|
3754
|
+
removeLiquidityConcentrated: (...args: ExtractArgs<Contract['mutations']['removeLiquidityConcentrated']>) => Promise<Address>;
|
|
2704
3755
|
performBatchActions: (...args: ExtractArgs<Contract['mutations']['performBatchActions']>) => Promise<Address>;
|
|
2705
|
-
|
|
3756
|
+
incrementNonce: (...args: ExtractArgs<Contract['mutations']['incrementNonce']>) => Promise<Address>;
|
|
2706
3757
|
};
|
|
2707
|
-
export declare function toSdk(
|
|
3758
|
+
export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient): SDK;
|
|
2708
3759
|
export {};
|
|
2709
|
-
//# sourceMappingURL=
|
|
3760
|
+
//# sourceMappingURL=AgentWrapperV1.d.ts.map
|