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