defi-kit 1.8.7 → 1.8.9
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/{chunk-TD4NP53W.mjs → chunk-RUVQPKOX.mjs} +194 -61
- package/dist/{chunk-TD4NP53W.mjs.map → chunk-RUVQPKOX.mjs.map} +1 -1
- package/dist/eth.d.mts +2 -2
- package/dist/eth.d.ts +2 -2
- package/dist/eth.js +193 -60
- package/dist/eth.js.map +1 -1
- package/dist/eth.mjs +1 -1
- package/dist/gno.d.mts +2 -2
- package/dist/gno.d.ts +2 -2
- package/dist/gno.js +193 -60
- package/dist/gno.js.map +1 -1
- package/dist/gno.mjs +1 -1
- package/dist/{schema-gU7LY-MG.d.mts → schema-ekTWdqwh.d.mts} +4 -4
- package/dist/{schema-gU7LY-MG.d.ts → schema-ekTWdqwh.d.ts} +4 -4
- package/package.json +1 -1
|
@@ -99,7 +99,7 @@ var info_default = [
|
|
|
99
99
|
borrowingEnabled: false,
|
|
100
100
|
stableBorrowRateEnabled: false,
|
|
101
101
|
isActive: true,
|
|
102
|
-
isFrozen:
|
|
102
|
+
isFrozen: true,
|
|
103
103
|
aTokenAddress: "0xFFC97d72E13E01096502Cb8Eb52dEe56f74DAD7B",
|
|
104
104
|
stableDebtTokenAddress: "0x079D6a3E844BcECf5720478A718Edb6575362C5f",
|
|
105
105
|
variableDebtTokenAddress: "0xF7DBA49d571745D9d7fcb56225B05BEA803EBf3C"
|
|
@@ -231,7 +231,7 @@ var info_default = [
|
|
|
231
231
|
borrowingEnabled: true,
|
|
232
232
|
stableBorrowRateEnabled: false,
|
|
233
233
|
isActive: true,
|
|
234
|
-
isFrozen:
|
|
234
|
+
isFrozen: true,
|
|
235
235
|
aTokenAddress: "0x6C5024Cd4F8A59110119C56f8933403A539555EB",
|
|
236
236
|
stableDebtTokenAddress: "0x30B0f7324feDF89d8eff397275F8983397eFe4af",
|
|
237
237
|
variableDebtTokenAddress: "0xdC6a3Ab17299D9C2A412B0e0a4C1f55446AE0817"
|
|
@@ -279,7 +279,7 @@ var info_default = [
|
|
|
279
279
|
borrowingEnabled: true,
|
|
280
280
|
stableBorrowRateEnabled: false,
|
|
281
281
|
isActive: true,
|
|
282
|
-
isFrozen:
|
|
282
|
+
isFrozen: true,
|
|
283
283
|
aTokenAddress: "0xD37EE7e4f452C6638c96536e68090De8cBcdb583",
|
|
284
284
|
stableDebtTokenAddress: "0xf8aC64ec6Ff8E0028b37EB89772d21865321bCe0",
|
|
285
285
|
variableDebtTokenAddress: "0x279AF5b99540c1A3A7E3CDd326e19659401eF99e"
|
|
@@ -351,7 +351,7 @@ var info_default = [
|
|
|
351
351
|
borrowingEnabled: true,
|
|
352
352
|
stableBorrowRateEnabled: false,
|
|
353
353
|
isActive: true,
|
|
354
|
-
isFrozen:
|
|
354
|
+
isFrozen: true,
|
|
355
355
|
aTokenAddress: "0x2e8F4bdbE3d47d7d7DE490437AeA9915D930F1A3",
|
|
356
356
|
stableDebtTokenAddress: "0x2387119bc85A74e0BBcbe190d80676CB16F10D4F",
|
|
357
357
|
variableDebtTokenAddress: "0xFDb93B3b10936cf81FA59A02A7523B6e2149b2B7"
|
|
@@ -375,7 +375,7 @@ var info_default = [
|
|
|
375
375
|
borrowingEnabled: true,
|
|
376
376
|
stableBorrowRateEnabled: false,
|
|
377
377
|
isActive: true,
|
|
378
|
-
isFrozen:
|
|
378
|
+
isFrozen: true,
|
|
379
379
|
aTokenAddress: "0xd4937682df3C8aEF4FE912A96A74121C0829E664",
|
|
380
380
|
stableDebtTokenAddress: "0x3916e3B6c84b161df1b2733dFfc9569a1dA710c2",
|
|
381
381
|
variableDebtTokenAddress: "0xfE8F19B17fFeF0fDbfe2671F248903055AFAA8Ca"
|
|
@@ -459,7 +459,7 @@ var info_default = [
|
|
|
459
459
|
borrowingEnabled: true,
|
|
460
460
|
stableBorrowRateEnabled: false,
|
|
461
461
|
isActive: true,
|
|
462
|
-
isFrozen:
|
|
462
|
+
isFrozen: true,
|
|
463
463
|
aTokenAddress: "0xce1871f791548600cb59efbefFC9c38719142079",
|
|
464
464
|
stableDebtTokenAddress: "0x39f010127274b2dBdB770B45e1de54d974974526",
|
|
465
465
|
variableDebtTokenAddress: "0x411066489AB40442d6Fc215aD7c64224120D33F2"
|
|
@@ -6546,6 +6546,9 @@ var spWETH_default = [{ inputs: [{ internalType: "contract IPool", name: "pool",
|
|
|
6546
6546
|
// eth-sdk/abis/mainnet/spark/sDAI.json
|
|
6547
6547
|
var sDAI_default = [{ inputs: [{ internalType: "address", name: "_daiJoin", type: "address" }, { internalType: "address", name: "_pot", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }], name: "Approval", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" }], name: "Deposit", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }], name: "Transfer", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" }], name: "Withdraw", type: "event" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PERMIT_TYPEHASH", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "asset", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], name: "convertToAssets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], name: "convertToShares", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "dai", outputs: [{ internalType: "contract DaiLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "daiJoin", outputs: [{ internalType: "contract DaiJoinLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" }], name: "decreaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "deploymentChainId", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }], name: "deposit", outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" }], name: "increaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "maxDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "pure", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "maxMint", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "pure", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "maxRedeem", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "maxWithdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }], name: "mint", outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "nonces", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" }], name: "permit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" }], name: "permit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pot", outputs: [{ internalType: "contract PotLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], name: "previewDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], name: "previewMint", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], name: "previewRedeem", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], name: "previewWithdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "address", name: "owner", type: "address" }], name: "redeem", outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalAssets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vat", outputs: [{ internalType: "contract VatLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "version", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "address", name: "owner", type: "address" }], name: "withdraw", outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], stateMutability: "nonpayable", type: "function" }];
|
|
6548
6548
|
|
|
6549
|
+
// eth-sdk/abis/mainnet/spark/RewardsController.json
|
|
6550
|
+
var RewardsController_default = [{ inputs: [{ internalType: "address", name: "emissionManager", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "asset", type: "address" }, { indexed: true, internalType: "address", name: "reward", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "assetIndex", type: "uint256" }, { indexed: false, internalType: "uint256", name: "userIndex", type: "uint256" }, { indexed: false, internalType: "uint256", name: "rewardsAccrued", type: "uint256" }], name: "Accrued", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "asset", type: "address" }, { indexed: true, internalType: "address", name: "reward", type: "address" }, { indexed: false, internalType: "uint256", name: "oldEmission", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newEmission", type: "uint256" }, { indexed: false, internalType: "uint256", name: "oldDistributionEnd", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newDistributionEnd", type: "uint256" }, { indexed: false, internalType: "uint256", name: "assetIndex", type: "uint256" }], name: "AssetConfigUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "claimer", type: "address" }], name: "ClaimerSet", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reward", type: "address" }, { indexed: true, internalType: "address", name: "rewardOracle", type: "address" }], name: "RewardOracleUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "reward", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "address", name: "claimer", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "RewardsClaimed", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reward", type: "address" }, { indexed: true, internalType: "address", name: "transferStrategy", type: "address" }], name: "TransferStrategyInstalled", type: "event" }, { inputs: [], name: "EMISSION_MANAGER", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "REVISION", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }, { internalType: "address", name: "to", type: "address" }], name: "claimAllRewards", outputs: [{ internalType: "address[]", name: "rewardsList", type: "address[]" }, { internalType: "uint256[]", name: "claimedAmounts", type: "uint256[]" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }, { internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "to", type: "address" }], name: "claimAllRewardsOnBehalf", outputs: [{ internalType: "address[]", name: "rewardsList", type: "address[]" }, { internalType: "uint256[]", name: "claimedAmounts", type: "uint256[]" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }], name: "claimAllRewardsToSelf", outputs: [{ internalType: "address[]", name: "rewardsList", type: "address[]" }, { internalType: "uint256[]", name: "claimedAmounts", type: "uint256[]" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "reward", type: "address" }], name: "claimRewards", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "reward", type: "address" }], name: "claimRewardsOnBehalf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "reward", type: "address" }], name: "claimRewardsToSelf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ components: [{ internalType: "uint88", name: "emissionPerSecond", type: "uint88" }, { internalType: "uint256", name: "totalSupply", type: "uint256" }, { internalType: "uint32", name: "distributionEnd", type: "uint32" }, { internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "reward", type: "address" }, { internalType: "contract ITransferStrategyBase", name: "transferStrategy", type: "address" }, { internalType: "contract IEACAggregatorProxy", name: "rewardOracle", type: "address" }], internalType: "struct RewardsDataTypes.RewardsConfigInput[]", name: "config", type: "tuple[]" }], name: "configureAssets", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }, { internalType: "address", name: "user", type: "address" }], name: "getAllUserRewards", outputs: [{ internalType: "address[]", name: "rewardsList", type: "address[]" }, { internalType: "uint256[]", name: "unclaimedAmounts", type: "uint256[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getAssetDecimals", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "reward", type: "address" }], name: "getAssetIndex", outputs: [{ internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "getClaimer", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "reward", type: "address" }], name: "getDistributionEnd", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getEmissionManager", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "reward", type: "address" }], name: "getRewardOracle", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getRewardsByAsset", outputs: [{ internalType: "address[]", name: "", type: "address[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "reward", type: "address" }], name: "getRewardsData", outputs: [{ internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getRewardsList", outputs: [{ internalType: "address[]", name: "", type: "address[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "reward", type: "address" }], name: "getTransferStrategy", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "reward", type: "address" }], name: "getUserAccruedRewards", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "reward", type: "address" }], name: "getUserAssetIndex", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }, { internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "reward", type: "address" }], name: "getUserRewards", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "totalSupply", type: "uint256" }, { internalType: "uint256", name: "userBalance", type: "uint256" }], name: "handleAction", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "caller", type: "address" }], name: "setClaimer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "reward", type: "address" }, { internalType: "uint32", name: "newDistributionEnd", type: "uint32" }], name: "setDistributionEnd", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address[]", name: "rewards", type: "address[]" }, { internalType: "uint88[]", name: "newEmissionsPerSecond", type: "uint88[]" }], name: "setEmissionPerSecond", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "reward", type: "address" }, { internalType: "contract IEACAggregatorProxy", name: "rewardOracle", type: "address" }], name: "setRewardOracle", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "reward", type: "address" }, { internalType: "contract ITransferStrategyBase", name: "transferStrategy", type: "address" }], name: "setTransferStrategy", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
6551
|
+
|
|
6549
6552
|
// eth-sdk/abis/mainnet/stader/staking_pool_manager.json
|
|
6550
6553
|
var staking_pool_manager_default = [{ inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "CallerNotManager", type: "error" }, { inputs: [], name: "CallerNotStaderContract", type: "error" }, { inputs: [], name: "CooldownNotComplete", type: "error" }, { inputs: [], name: "InsufficientBalance", type: "error" }, { inputs: [], name: "InvalidDepositAmount", type: "error" }, { inputs: [], name: "PoolIdDoesNotExit", type: "error" }, { inputs: [], name: "TransferFailed", type: "error" }, { inputs: [], name: "UnsupportedOperation", type: "error" }, { inputs: [], name: "UnsupportedOperationInSafeMode", type: "error" }, { inputs: [], name: "ZeroAddress", type: "error" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "AuctionedEthReceived", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" }, { indexed: false, internalType: "string", name: "referralId", type: "string" }], name: "DepositReferral", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "assets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" }], name: "Deposited", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint256", name: "poolId", type: "uint256" }, { indexed: false, internalType: "address", name: "poolAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "validatorCount", type: "uint256" }], name: "ETHTransferredToPool", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "ExecutionLayerRewardsReceived", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint8", name: "version", type: "uint8" }], name: "Initialized", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Paused", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint8", name: "poolId", type: "uint8" }], name: "ReceivedExcessEthFromPool", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "previousAdminRole", type: "bytes32" }, { indexed: true, internalType: "bytes32", name: "newAdminRole", type: "bytes32" }], name: "RoleAdminChanged", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleGranted", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" }, { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "sender", type: "address" }], name: "RoleRevoked", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "TransferredETHToUserWithdrawManager", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "excessETHDepositCoolDown", type: "uint256" }], name: "UpdatedExcessETHDepositCoolDown", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "staderConfig", type: "address" }], name: "UpdatedStaderConfig", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "WithdrawVaultUserShareReceived", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_shares", type: "uint256" }], name: "convertToAssets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_assets", type: "uint256" }], name: "convertToShares", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_receiver", type: "address" }, { internalType: "string", name: "_referralId", type: "string" }], name: "deposit", outputs: [{ internalType: "uint256", name: "_shares", type: "uint256" }], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "_receiver", type: "address" }], name: "deposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "payable", type: "function" }, { inputs: [], name: "depositETHOverTargetWeight", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "excessETHDepositCoolDown", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getExchangeRate", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }], name: "getRoleAdmin", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "grantRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "hasRole", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_admin", type: "address" }, { internalType: "address", name: "_staderConfig", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "isVaultHealthy", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "lastExcessETHDepositBlock", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "maxDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "minDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_assets", type: "uint256" }], name: "previewDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_shares", type: "uint256" }], name: "previewWithdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "receiveEthFromAuction", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "uint8", name: "_poolId", type: "uint8" }], name: "receiveExcessEthFromPool", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "receiveExecutionLayerRewards", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "receiveWithdrawVaultUserShare", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" }], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "staderConfig", outputs: [{ internalType: "contract IStaderConfig", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }], name: "supportsInterface", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalAssets", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_amount", type: "uint256" }], name: "transferETHToUserWithdrawManager", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "_excessETHDepositCoolDown", type: "uint256" }], name: "updateExcessETHDepositCoolDown", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_staderConfig", type: "address" }], name: "updateStaderConfig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint8", name: "_poolId", type: "uint8" }], name: "validatorBatchDeposit", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" }];
|
|
6551
6554
|
|
|
@@ -7686,7 +7689,8 @@ function getMainnetSdk(defaultSignerOrProvider) {
|
|
|
7686
7689
|
"variableDebtWETH": getContract("0x2e7576042566f8D6990e07A1B61Ad1efd86Ae70d", variableDebtWETH_default3, defaultSignerOrProvider),
|
|
7687
7690
|
"stableDebtWETH": getContract("0x3c6b93D38ffA15ea995D1BC950d5D0Fa6b22bD05", stableDebtWETH_default3, defaultSignerOrProvider),
|
|
7688
7691
|
"spWETH": getContract("0x59cD1C87501baa753d0B5B5Ab5D8416A45cD71DB", spWETH_default, defaultSignerOrProvider),
|
|
7689
|
-
"sDAI": getContract("0x83F20F44975D03b1b09e64809B757c47f942BEeA", sDAI_default, defaultSignerOrProvider)
|
|
7692
|
+
"sDAI": getContract("0x83F20F44975D03b1b09e64809B757c47f942BEeA", sDAI_default, defaultSignerOrProvider),
|
|
7693
|
+
"RewardsController": getContract("0x4370D3b6C9588E02ce9D22e684387859c7Ff5b34", RewardsController_default, defaultSignerOrProvider)
|
|
7690
7694
|
},
|
|
7691
7695
|
"stader": {
|
|
7692
7696
|
"staking_pool_manager": getContract("0xcf5EA1b38380f6aF39068375516Daf40Ed70D299", staking_pool_manager_default, defaultSignerOrProvider),
|
|
@@ -8017,7 +8021,8 @@ var contracts = {
|
|
|
8017
8021
|
variableDebtWETH: "0x2e7576042566f8D6990e07A1B61Ad1efd86Ae70d",
|
|
8018
8022
|
stableDebtWETH: "0x3c6b93D38ffA15ea995D1BC950d5D0Fa6b22bD05",
|
|
8019
8023
|
spWETH: "0x59cD1C87501baa753d0B5B5Ab5D8416A45cD71DB",
|
|
8020
|
-
sDAI: "0x83F20F44975D03b1b09e64809B757c47f942BEeA"
|
|
8024
|
+
sDAI: "0x83F20F44975D03b1b09e64809B757c47f942BEeA",
|
|
8025
|
+
RewardsController: "0x4370D3b6C9588E02ce9D22e684387859c7Ff5b34"
|
|
8021
8026
|
},
|
|
8022
8027
|
stader: {
|
|
8023
8028
|
staking_pool_manager: "0xcf5EA1b38380f6aF39068375516Daf40Ed70D299",
|
|
@@ -12821,6 +12826,25 @@ var ethPools_default2 = [
|
|
|
12821
12826
|
}
|
|
12822
12827
|
]
|
|
12823
12828
|
},
|
|
12829
|
+
{
|
|
12830
|
+
bpt: "0x80bE0c303D8Ad2A280878b50a39B1ee8E54DBD22",
|
|
12831
|
+
id: "0x80be0c303d8ad2a280878b50a39b1ee8e54dbd2200020000000000000000000f",
|
|
12832
|
+
name: "B-50LPT-50WETH",
|
|
12833
|
+
type: "Weighted",
|
|
12834
|
+
gauge: null,
|
|
12835
|
+
tokens: [
|
|
12836
|
+
{
|
|
12837
|
+
address: "0x58b6A8A3302369DAEc383334672404Ee733aB239",
|
|
12838
|
+
symbol: "LPT",
|
|
12839
|
+
id: "0x"
|
|
12840
|
+
},
|
|
12841
|
+
{
|
|
12842
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
12843
|
+
symbol: "WETH",
|
|
12844
|
+
id: "0x"
|
|
12845
|
+
}
|
|
12846
|
+
]
|
|
12847
|
+
},
|
|
12824
12848
|
{
|
|
12825
12849
|
bpt: "0x8167A1117691f39e05e9131cfA88F0e3A620E967",
|
|
12826
12850
|
id: "0x8167a1117691f39e05e9131cfa88f0e3a620e96700020000000000000000038c",
|
|
@@ -13349,6 +13373,25 @@ var ethPools_default2 = [
|
|
|
13349
13373
|
}
|
|
13350
13374
|
]
|
|
13351
13375
|
},
|
|
13376
|
+
{
|
|
13377
|
+
bpt: "0x9CC64EE4CB672Bc04C54B00a37E1Ed75b2Cc19Dd",
|
|
13378
|
+
id: "0x9cc64ee4cb672bc04c54b00a37e1ed75b2cc19dd0002000000000000000004c1",
|
|
13379
|
+
name: "80Silo-20WETH",
|
|
13380
|
+
type: "Weighted",
|
|
13381
|
+
gauge: "0x6661136537dfDCA26EEA05c8500502d7D5796E5E",
|
|
13382
|
+
tokens: [
|
|
13383
|
+
{
|
|
13384
|
+
address: "0x6f80310CA7F2C654691D1383149Fa1A57d8AB1f8",
|
|
13385
|
+
symbol: "Silo",
|
|
13386
|
+
id: "0x"
|
|
13387
|
+
},
|
|
13388
|
+
{
|
|
13389
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
13390
|
+
symbol: "WETH",
|
|
13391
|
+
id: "0x"
|
|
13392
|
+
}
|
|
13393
|
+
]
|
|
13394
|
+
},
|
|
13352
13395
|
{
|
|
13353
13396
|
bpt: "0x9e030b67a8384cbba09D5927533Aa98010C87d91",
|
|
13354
13397
|
id: "0x9e030b67a8384cbba09d5927533aa98010c87d9100020000000000000000008f",
|
|
@@ -13744,6 +13787,25 @@ var ethPools_default2 = [
|
|
|
13744
13787
|
}
|
|
13745
13788
|
]
|
|
13746
13789
|
},
|
|
13790
|
+
{
|
|
13791
|
+
bpt: "0xB91159aa527D4769CB9FAf3e4ADB760c7E8C8Ea7",
|
|
13792
|
+
id: "0xb91159aa527d4769cb9faf3e4adb760c7e8c8ea700000000000000000000067c",
|
|
13793
|
+
name: "ETHx/wstETH",
|
|
13794
|
+
type: "ComposableStable",
|
|
13795
|
+
gauge: "0xAC08fde28aa2D123B61a5dB3074cAF72760FfeEB",
|
|
13796
|
+
tokens: [
|
|
13797
|
+
{
|
|
13798
|
+
address: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
13799
|
+
symbol: "wstETH",
|
|
13800
|
+
id: "0x"
|
|
13801
|
+
},
|
|
13802
|
+
{
|
|
13803
|
+
address: "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b",
|
|
13804
|
+
symbol: "ETHx",
|
|
13805
|
+
id: "0x"
|
|
13806
|
+
}
|
|
13807
|
+
]
|
|
13808
|
+
},
|
|
13747
13809
|
{
|
|
13748
13810
|
bpt: "0xb986Fd52697f16bE888bFAD2c5bF12cd67Ce834B",
|
|
13749
13811
|
id: "0xb986fd52697f16be888bfad2c5bf12cd67ce834b000200000000000000000634",
|
|
@@ -15254,6 +15316,25 @@ var gnoPools_default2 = [
|
|
|
15254
15316
|
}
|
|
15255
15317
|
]
|
|
15256
15318
|
},
|
|
15319
|
+
{
|
|
15320
|
+
bpt: "0xa9B2234773cc6A4F3A34A770C52c931CbA5C24B2",
|
|
15321
|
+
id: "0xa9b2234773cc6a4f3a34a770c52c931cba5c24b2000200000000000000000087",
|
|
15322
|
+
name: "50SAFE-50GNO",
|
|
15323
|
+
type: "Weighted",
|
|
15324
|
+
gauge: null,
|
|
15325
|
+
tokens: [
|
|
15326
|
+
{
|
|
15327
|
+
address: "0x4d18815D14fe5c3304e87B3FA18318baa5c23820",
|
|
15328
|
+
symbol: "SAFE",
|
|
15329
|
+
id: "0x"
|
|
15330
|
+
},
|
|
15331
|
+
{
|
|
15332
|
+
address: "0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb",
|
|
15333
|
+
symbol: "GNO",
|
|
15334
|
+
id: "0x"
|
|
15335
|
+
}
|
|
15336
|
+
]
|
|
15337
|
+
},
|
|
15257
15338
|
{
|
|
15258
15339
|
bpt: "0xB8bB1ce9C6E5401D66fE2126dB6E7387E1E24fFE",
|
|
15259
15340
|
id: "0xb8bb1ce9c6e5401d66fe2126db6e7387e1e24ffe00020000000000000000003d",
|
|
@@ -19350,6 +19431,11 @@ var depositToken3 = (token) => {
|
|
|
19350
19431
|
),
|
|
19351
19432
|
allow.mainnet.spark.sparkLendingPoolV3.setUserUseReserveAsCollateral(
|
|
19352
19433
|
token.token
|
|
19434
|
+
),
|
|
19435
|
+
allow.mainnet.spark.RewardsController.claimRewards(
|
|
19436
|
+
void 0,
|
|
19437
|
+
void 0,
|
|
19438
|
+
c13.avatar
|
|
19353
19439
|
)
|
|
19354
19440
|
];
|
|
19355
19441
|
};
|
|
@@ -19371,6 +19457,11 @@ var depositEther3 = () => [
|
|
|
19371
19457
|
),
|
|
19372
19458
|
allow.mainnet.spark.sparkLendingPoolV3.setUserUseReserveAsCollateral(
|
|
19373
19459
|
contracts.mainnet.weth
|
|
19460
|
+
),
|
|
19461
|
+
allow.mainnet.spark.RewardsController.claimRewards(
|
|
19462
|
+
void 0,
|
|
19463
|
+
void 0,
|
|
19464
|
+
c13.avatar
|
|
19374
19465
|
)
|
|
19375
19466
|
];
|
|
19376
19467
|
var borrowToken3 = (token) => {
|
|
@@ -19632,6 +19723,10 @@ var ethInfo_default = [
|
|
|
19632
19723
|
address: "0x0d438F3b5175Bebc262bF23753C1E53d03432bDE",
|
|
19633
19724
|
symbol: "wNXM"
|
|
19634
19725
|
},
|
|
19726
|
+
{
|
|
19727
|
+
address: "0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39",
|
|
19728
|
+
symbol: "HEX"
|
|
19729
|
+
},
|
|
19635
19730
|
{
|
|
19636
19731
|
address: "0x0B498ff89709d3838a063f1dFA463091F9801c2b",
|
|
19637
19732
|
symbol: "BTC2x-FLI"
|
|
@@ -19684,6 +19779,10 @@ var ethInfo_default = [
|
|
|
19684
19779
|
address: "0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B",
|
|
19685
19780
|
symbol: "CVX"
|
|
19686
19781
|
},
|
|
19782
|
+
{
|
|
19783
|
+
address: "0x50D1c9771902476076eCFc8B2A83Ad6b9355a4c9",
|
|
19784
|
+
symbol: "FTX Token"
|
|
19785
|
+
},
|
|
19687
19786
|
{
|
|
19688
19787
|
address: "0x4E15361FD6b4BB609Fa63C81A2be19d873717870",
|
|
19689
19788
|
symbol: "FTM"
|
|
@@ -19692,10 +19791,6 @@ var ethInfo_default = [
|
|
|
19692
19791
|
address: "0x6f40d4A6237C257fff2dB00FA0510DeEECd303eb",
|
|
19693
19792
|
symbol: "INST"
|
|
19694
19793
|
},
|
|
19695
|
-
{
|
|
19696
|
-
address: "0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39",
|
|
19697
|
-
symbol: "HEX"
|
|
19698
|
-
},
|
|
19699
19794
|
{
|
|
19700
19795
|
address: "0x81f8f0bb1cB2A06649E51913A151F0E7Ef6FA321",
|
|
19701
19796
|
symbol: "VITA"
|
|
@@ -19772,6 +19867,10 @@ var ethInfo_default = [
|
|
|
19772
19867
|
address: "0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F",
|
|
19773
19868
|
symbol: "SNX"
|
|
19774
19869
|
},
|
|
19870
|
+
{
|
|
19871
|
+
address: "0x799ebfABE77a6E34311eeEe9825190B9ECe32824",
|
|
19872
|
+
symbol: "BTRST"
|
|
19873
|
+
},
|
|
19775
19874
|
{
|
|
19776
19875
|
address: "0x0f2D719407FdBeFF09D87557AbB7232601FD9F29",
|
|
19777
19876
|
symbol: "SYN"
|
|
@@ -19808,6 +19907,10 @@ var ethInfo_default = [
|
|
|
19808
19907
|
address: "0x7A58c0Be72BE218B41C608b7Fe7C5bB630736C71",
|
|
19809
19908
|
symbol: "PEOPLE"
|
|
19810
19909
|
},
|
|
19910
|
+
{
|
|
19911
|
+
address: "0x3E5D9D8a63CC8a88748f229999CF59487e90721e",
|
|
19912
|
+
symbol: "XMT"
|
|
19913
|
+
},
|
|
19811
19914
|
{
|
|
19812
19915
|
address: "0x8355DBE8B0e275ABAd27eB843F3eaF3FC855e525",
|
|
19813
19916
|
symbol: "WOOL"
|
|
@@ -19828,10 +19931,6 @@ var ethInfo_default = [
|
|
|
19828
19931
|
address: "0x0ab87046fBb341D058F17CBC4c1133F25a20a52f",
|
|
19829
19932
|
symbol: "gOHM"
|
|
19830
19933
|
},
|
|
19831
|
-
{
|
|
19832
|
-
address: "0x01BA67AAC7f75f647D94220Cc98FB30FCc5105Bf",
|
|
19833
|
-
symbol: "LYRA"
|
|
19834
|
-
},
|
|
19835
19934
|
{
|
|
19836
19935
|
address: "0xC0d4Ceb216B3BA9C3701B291766fDCbA977ceC3A",
|
|
19837
19936
|
symbol: "BTRFLY"
|
|
@@ -19920,6 +20019,10 @@ var ethInfo_default = [
|
|
|
19920
20019
|
address: "0x72B886d09C117654aB7dA13A14d603001dE0B777",
|
|
19921
20020
|
symbol: "XDEFI"
|
|
19922
20021
|
},
|
|
20022
|
+
{
|
|
20023
|
+
address: "0x7dE91B204C1C737bcEe6F000AAA6569Cf7061cb7",
|
|
20024
|
+
symbol: "XRT"
|
|
20025
|
+
},
|
|
19923
20026
|
{
|
|
19924
20027
|
address: "0x4e4a47cAC6A28A62dcC20990ed2cdA9BC659469F",
|
|
19925
20028
|
symbol: "SHIT"
|
|
@@ -19948,6 +20051,10 @@ var ethInfo_default = [
|
|
|
19948
20051
|
address: "0x430EF9263E76DAE63c84292C3409D61c598E9682",
|
|
19949
20052
|
symbol: "PYR"
|
|
19950
20053
|
},
|
|
20054
|
+
{
|
|
20055
|
+
address: "0x5aFE3855358E112B5647B952709E6165e1c1eEEe",
|
|
20056
|
+
symbol: "SAFE"
|
|
20057
|
+
},
|
|
19951
20058
|
{
|
|
19952
20059
|
address: "0x06450dEe7FD2Fb8E39061434BAbCFC05599a6Fb8",
|
|
19953
20060
|
symbol: "XEN"
|
|
@@ -19960,6 +20067,10 @@ var ethInfo_default = [
|
|
|
19960
20067
|
address: "0xCa14007Eff0dB1f8135f4C25B34De49AB0d42766",
|
|
19961
20068
|
symbol: "STRK"
|
|
19962
20069
|
},
|
|
20070
|
+
{
|
|
20071
|
+
address: "0xe9B076B476D8865cDF79D1Cf7DF420EE397a7f75",
|
|
20072
|
+
symbol: "FUND"
|
|
20073
|
+
},
|
|
19963
20074
|
{
|
|
19964
20075
|
address: "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F",
|
|
19965
20076
|
symbol: "ACX"
|
|
@@ -19968,6 +20079,10 @@ var ethInfo_default = [
|
|
|
19968
20079
|
address: "0xaea46A60368A7bD060eec7DF8CBa43b7EF41Ad85",
|
|
19969
20080
|
symbol: "FET"
|
|
19970
20081
|
},
|
|
20082
|
+
{
|
|
20083
|
+
address: "0x88800092fF476844f74dC2FC427974BBee2794Ae",
|
|
20084
|
+
symbol: "WALLET"
|
|
20085
|
+
},
|
|
19971
20086
|
{
|
|
19972
20087
|
address: "0x738865301A9b7Dd80Dc3666dD48cF034ec42bdDa",
|
|
19973
20088
|
symbol: "AGRS"
|
|
@@ -19984,6 +20099,10 @@ var ethInfo_default = [
|
|
|
19984
20099
|
address: "0x5283D291DBCF85356A21bA090E6db59121208b44",
|
|
19985
20100
|
symbol: "BLUR"
|
|
19986
20101
|
},
|
|
20102
|
+
{
|
|
20103
|
+
address: "0x3446Dd70B2D52A6Bf4a5a192D9b0A161295aB7F9",
|
|
20104
|
+
symbol: "SUDO"
|
|
20105
|
+
},
|
|
19987
20106
|
{
|
|
19988
20107
|
address: "0x644192291cc835A93d6330b24EA5f5FEdD0eEF9e",
|
|
19989
20108
|
symbol: "NXRA"
|
|
@@ -20132,6 +20251,10 @@ var ethInfo_default = [
|
|
|
20132
20251
|
address: "0x20561172f791f915323241E885b4f7D5187c36E1",
|
|
20133
20252
|
symbol: "CAL"
|
|
20134
20253
|
},
|
|
20254
|
+
{
|
|
20255
|
+
address: "0x06F3C323f0238c72BF35011071f2b5B7F43A054c",
|
|
20256
|
+
symbol: "MASQ"
|
|
20257
|
+
},
|
|
20135
20258
|
{
|
|
20136
20259
|
address: "0x470c8950C0c3aA4B09654bC73b004615119A44b5",
|
|
20137
20260
|
symbol: "KIZUNA"
|
|
@@ -20204,10 +20327,6 @@ var ethInfo_default = [
|
|
|
20204
20327
|
address: "0x9Ce84F6A69986a83d92C324df10bC8E64771030f",
|
|
20205
20328
|
symbol: "CHEX"
|
|
20206
20329
|
},
|
|
20207
|
-
{
|
|
20208
|
-
address: "0x9E976F211daea0D652912AB99b0Dc21a7fD728e4",
|
|
20209
|
-
symbol: "MAP"
|
|
20210
|
-
},
|
|
20211
20330
|
{
|
|
20212
20331
|
address: "0x02f92800F57BCD74066F5709F1Daa1A4302Df875",
|
|
20213
20332
|
symbol: "PEAS"
|
|
@@ -20228,10 +20347,6 @@ var ethInfo_default = [
|
|
|
20228
20347
|
address: "0x9e20461bc2c4c980f62f1B279D71734207a6A356",
|
|
20229
20348
|
symbol: "OMNI"
|
|
20230
20349
|
},
|
|
20231
|
-
{
|
|
20232
|
-
address: "0x44ff8620b8cA30902395A7bD3F2407e1A091BF73",
|
|
20233
|
-
symbol: "VIRTUAL"
|
|
20234
|
-
},
|
|
20235
20350
|
{
|
|
20236
20351
|
address: "0xEe7527841A932d2912224E20a405e1a1FF747084",
|
|
20237
20352
|
symbol: "SHX"
|
|
@@ -20252,6 +20367,10 @@ var ethInfo_default = [
|
|
|
20252
20367
|
address: "0x8CCD897ca6160ED76755383B201C1948394328c7",
|
|
20253
20368
|
symbol: "wBAI"
|
|
20254
20369
|
},
|
|
20370
|
+
{
|
|
20371
|
+
address: "0x8457CA5040ad67fdebbCC8EdCE889A335Bc0fbFB",
|
|
20372
|
+
symbol: "ALT"
|
|
20373
|
+
},
|
|
20255
20374
|
{
|
|
20256
20375
|
address: "0xb9f599ce614Feb2e1BBe58F180F370D05b39344E",
|
|
20257
20376
|
symbol: "PORK"
|
|
@@ -20300,6 +20419,10 @@ var ethInfo_default = [
|
|
|
20300
20419
|
address: "0xaeB3607eC434454ceB308f5Cd540875efb54309A",
|
|
20301
20420
|
symbol: "STRDY"
|
|
20302
20421
|
},
|
|
20422
|
+
{
|
|
20423
|
+
address: "0xba0Dda8762C24dA9487f5FA026a9B64b695A07Ea",
|
|
20424
|
+
symbol: "OX"
|
|
20425
|
+
},
|
|
20303
20426
|
{
|
|
20304
20427
|
address: "0x5cc5E64AB764A0f1E97F23984E20fD4528356a6a",
|
|
20305
20428
|
symbol: "XRGB"
|
|
@@ -20340,10 +20463,6 @@ var ethInfo_default = [
|
|
|
20340
20463
|
address: "0x5fAa989Af96Af85384b8a938c2EdE4A7378D9875",
|
|
20341
20464
|
symbol: "GAL"
|
|
20342
20465
|
},
|
|
20343
|
-
{
|
|
20344
|
-
address: "0xc28eb2250d1AE32c7E74CFb6d6b86afC9BEb6509",
|
|
20345
|
-
symbol: "OPN"
|
|
20346
|
-
},
|
|
20347
20466
|
{
|
|
20348
20467
|
address: "0x00000000e88649DD6AaB90088Ca25D772D4607d0",
|
|
20349
20468
|
symbol: "UDW"
|
|
@@ -20356,6 +20475,10 @@ var ethInfo_default = [
|
|
|
20356
20475
|
address: "0x60e254E35Dd712394b3AbA7A1D19114732e143dD",
|
|
20357
20476
|
symbol: "RIVUS"
|
|
20358
20477
|
},
|
|
20478
|
+
{
|
|
20479
|
+
address: "0xAcd2c239012D17BEB128B0944D49015104113650",
|
|
20480
|
+
symbol: "KARRAT"
|
|
20481
|
+
},
|
|
20359
20482
|
{
|
|
20360
20483
|
address: "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
|
|
20361
20484
|
symbol: "UNI"
|
|
@@ -20416,6 +20539,10 @@ var ethInfo_default = [
|
|
|
20416
20539
|
address: "0xaaAEBE6Fe48E54f431b0C390CfaF0b017d09D42d",
|
|
20417
20540
|
symbol: "CEL"
|
|
20418
20541
|
},
|
|
20542
|
+
{
|
|
20543
|
+
address: "0xc7283b66Eb1EB5FB86327f08e1B5816b0720212B",
|
|
20544
|
+
symbol: "TRIBE"
|
|
20545
|
+
},
|
|
20419
20546
|
{
|
|
20420
20547
|
address: "0xB62132e35a6c13ee1EE0f84dC5d40bad8d815206",
|
|
20421
20548
|
symbol: "NEXO"
|
|
@@ -20444,6 +20571,14 @@ var ethInfo_default = [
|
|
|
20444
20571
|
address: "0xE41d2489571d322189246DaFA5ebDe1F4699F498",
|
|
20445
20572
|
symbol: "ZRX"
|
|
20446
20573
|
},
|
|
20574
|
+
{
|
|
20575
|
+
address: "0x8207c1FfC5B6804F6024322CcF34F29c3541Ae26",
|
|
20576
|
+
symbol: "OGN"
|
|
20577
|
+
},
|
|
20578
|
+
{
|
|
20579
|
+
address: "0x4691937a7508860F876c9c0a2a617E7d9E945D4B",
|
|
20580
|
+
symbol: "WOO"
|
|
20581
|
+
},
|
|
20447
20582
|
{
|
|
20448
20583
|
address: "0x940a2dB1B7008B6C776d4faaCa729d6d4A4AA551",
|
|
20449
20584
|
symbol: "DUSK"
|
|
@@ -20496,10 +20631,6 @@ var ethInfo_default = [
|
|
|
20496
20631
|
address: "0xcb86c6A22CB56B6cf40CaFEDb06BA0DF188a416E",
|
|
20497
20632
|
symbol: "SURE"
|
|
20498
20633
|
},
|
|
20499
|
-
{
|
|
20500
|
-
address: "0x08c32b0726C5684024ea6e141C50aDe9690bBdcc",
|
|
20501
|
-
symbol: "STOS"
|
|
20502
|
-
},
|
|
20503
20634
|
{
|
|
20504
20635
|
address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
|
|
20505
20636
|
symbol: "sETH2"
|
|
@@ -20584,6 +20715,10 @@ var ethInfo_default = [
|
|
|
20584
20715
|
address: "0x04C17b9D3b29A78F7Bd062a57CF44FC633e71f85",
|
|
20585
20716
|
symbol: "IMPT"
|
|
20586
20717
|
},
|
|
20718
|
+
{
|
|
20719
|
+
address: "0x30D20208d987713f46DFD34EF128Bb16C404D10f",
|
|
20720
|
+
symbol: "SD"
|
|
20721
|
+
},
|
|
20587
20722
|
{
|
|
20588
20723
|
address: "0x9343e24716659A3551eB10Aff9472A2dcAD5Db2d",
|
|
20589
20724
|
symbol: "STFX"
|
|
@@ -20669,8 +20804,8 @@ var ethInfo_default = [
|
|
|
20669
20804
|
symbol: "INS"
|
|
20670
20805
|
},
|
|
20671
20806
|
{
|
|
20672
|
-
address: "
|
|
20673
|
-
symbol: "
|
|
20807
|
+
address: "0x1614F18Fc94f47967A3Fbe5FfcD46d4e7Da3D787",
|
|
20808
|
+
symbol: "PAID"
|
|
20674
20809
|
},
|
|
20675
20810
|
{
|
|
20676
20811
|
address: "0xf091867EC603A6628eD83D274E835539D82e9cc8",
|
|
@@ -20700,10 +20835,6 @@ var ethInfo_default = [
|
|
|
20700
20835
|
address: "0x069d89974f4edaBde69450f9cF5CF7D8Cbd2568D",
|
|
20701
20836
|
symbol: "BVM"
|
|
20702
20837
|
},
|
|
20703
|
-
{
|
|
20704
|
-
address: "0xB60acD2057067DC9ed8c083f5aa227a244044fD6",
|
|
20705
|
-
symbol: "stTAO"
|
|
20706
|
-
},
|
|
20707
20838
|
{
|
|
20708
20839
|
address: "0x255f1B39172f65dC6406b8bEE8b08155C45Fe1b6",
|
|
20709
20840
|
symbol: "HARAMBE"
|
|
@@ -20720,6 +20851,10 @@ var ethInfo_default = [
|
|
|
20720
20851
|
address: "0x1495bc9e44Af1F8BCB62278D2bEC4540cF0C05ea",
|
|
20721
20852
|
symbol: "DEAI"
|
|
20722
20853
|
},
|
|
20854
|
+
{
|
|
20855
|
+
address: "0x31429d1856aD1377A8A0079410B297e1a9e214c2",
|
|
20856
|
+
symbol: "ANGLE"
|
|
20857
|
+
},
|
|
20723
20858
|
{
|
|
20724
20859
|
address: "0x57e114B691Db790C35207b2e685D4A43181e6061",
|
|
20725
20860
|
symbol: "ENA"
|
|
@@ -20736,6 +20871,10 @@ var ethInfo_default = [
|
|
|
20736
20871
|
address: "0x2541A36BE4cD39286ED61a3E6AFC2307602489d6",
|
|
20737
20872
|
symbol: "DOGE20"
|
|
20738
20873
|
},
|
|
20874
|
+
{
|
|
20875
|
+
address: "0xF6cCFD6EF2850E84B73AdEaCE9A075526C5910D4",
|
|
20876
|
+
symbol: "RUNIX"
|
|
20877
|
+
},
|
|
20739
20878
|
{
|
|
20740
20879
|
address: "0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919",
|
|
20741
20880
|
symbol: "RAI"
|
|
@@ -20804,10 +20943,6 @@ var ethInfo_default = [
|
|
|
20804
20943
|
address: "0xE72B141DF173b999AE7c1aDcbF60Cc9833Ce56a8",
|
|
20805
20944
|
symbol: "ETH+"
|
|
20806
20945
|
},
|
|
20807
|
-
{
|
|
20808
|
-
address: "0x6ef3D766Dfe02Dc4bF04aAe9122EB9A0Ded25615",
|
|
20809
|
-
symbol: "primeETH"
|
|
20810
|
-
},
|
|
20811
20946
|
{
|
|
20812
20947
|
address: "0xd5F7838F5C461fefF7FE49ea5ebaF7728bB0ADfa",
|
|
20813
20948
|
symbol: "mETH"
|
|
@@ -20828,10 +20963,6 @@ var ethInfo_default = [
|
|
|
20828
20963
|
address: "0xB58E61C3098d85632Df34EecfB899A1Ed80921cB",
|
|
20829
20964
|
symbol: "ZCHF"
|
|
20830
20965
|
},
|
|
20831
|
-
{
|
|
20832
|
-
address: "0x419D0d8BdD9aF5e606Ae2232ed285Aff190E711b",
|
|
20833
|
-
symbol: "FUN"
|
|
20834
|
-
},
|
|
20835
20966
|
{
|
|
20836
20967
|
address: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
20837
20968
|
symbol: "wstETH"
|
|
@@ -20910,8 +21041,6 @@ var eth14 = {
|
|
|
20910
21041
|
if (targets && targets.length === 0)
|
|
20911
21042
|
throw new Error("`targets` must not be empty");
|
|
20912
21043
|
const mintFees = (fees == null ? void 0 : fees.map((fee) => FeeMapping[fee])) || void 0;
|
|
20913
|
-
console.log("mintFees: ", mintFees);
|
|
20914
|
-
console.log("tokens: ", tokens);
|
|
20915
21044
|
const nftIds = targets && targets.map((target) => {
|
|
20916
21045
|
try {
|
|
20917
21046
|
return BigNumber4.from(target);
|
|
@@ -20919,7 +21048,7 @@ var eth14 = {
|
|
|
20919
21048
|
throw new NotFoundError(`Invalid NFT ID: ${target}`);
|
|
20920
21049
|
}
|
|
20921
21050
|
});
|
|
20922
|
-
const tokensForTargets = nftIds && await queryTokens(nftIds);
|
|
21051
|
+
const tokensForTargets = nftIds && await queryTokens(nftIds) || [];
|
|
20923
21052
|
const mintTokenAddresses = (tokens == null ? void 0 : tokens.map((addressOrSymbol) => findToken7(ethInfo_default, addressOrSymbol))) || [];
|
|
20924
21053
|
const permissions = [
|
|
20925
21054
|
...allowErc20Approve(tokensForTargets || [], [
|
|
@@ -20928,17 +21057,6 @@ var eth14 = {
|
|
|
20928
21057
|
...allowErc20Approve(mintTokenAddresses, [
|
|
20929
21058
|
contracts.mainnet.uniswap_v3.positions_nft
|
|
20930
21059
|
]),
|
|
20931
|
-
allow.mainnet.uniswap_v3.positions_nft.mint(
|
|
20932
|
-
{
|
|
20933
|
-
recipient: c15.avatar,
|
|
20934
|
-
token0: oneOf(mintTokenAddresses),
|
|
20935
|
-
token1: oneOf(mintTokenAddresses),
|
|
20936
|
-
fee: mintFees ? oneOf(mintFees) : void 0
|
|
20937
|
-
},
|
|
20938
|
-
{
|
|
20939
|
-
send: true
|
|
20940
|
-
}
|
|
20941
|
-
),
|
|
20942
21060
|
allow.mainnet.uniswap_v3.positions_nft.increaseLiquidity(
|
|
20943
21061
|
{
|
|
20944
21062
|
tokenId: nftIds ? oneOf(nftIds) : c15.avatarIsOwnerOfErc721
|
|
@@ -20957,6 +21075,21 @@ var eth14 = {
|
|
|
20957
21075
|
recipient: c15.avatar
|
|
20958
21076
|
})
|
|
20959
21077
|
];
|
|
21078
|
+
if (mintTokenAddresses && mintTokenAddresses.length > 0) {
|
|
21079
|
+
permissions.push(
|
|
21080
|
+
allow.mainnet.uniswap_v3.positions_nft.mint(
|
|
21081
|
+
{
|
|
21082
|
+
recipient: c15.avatar,
|
|
21083
|
+
token0: oneOf(mintTokenAddresses),
|
|
21084
|
+
token1: oneOf(mintTokenAddresses),
|
|
21085
|
+
fee: mintFees && mintFees.length > 0 ? oneOf(mintFees) : void 0
|
|
21086
|
+
},
|
|
21087
|
+
{
|
|
21088
|
+
send: true
|
|
21089
|
+
}
|
|
21090
|
+
)
|
|
21091
|
+
);
|
|
21092
|
+
}
|
|
20960
21093
|
if (mintTokenAddresses.includes(contracts.mainnet.weth) || (tokensForTargets == null ? void 0 : tokensForTargets.includes(contracts.mainnet.weth))) {
|
|
20961
21094
|
permissions.push(
|
|
20962
21095
|
allow.mainnet.uniswap_v3.positions_nft.refundETH(),
|
|
@@ -21511,4 +21644,4 @@ export {
|
|
|
21511
21644
|
createApply,
|
|
21512
21645
|
createExportToSafeTransactionBuilder
|
|
21513
21646
|
};
|
|
21514
|
-
//# sourceMappingURL=chunk-
|
|
21647
|
+
//# sourceMappingURL=chunk-RUVQPKOX.mjs.map
|