defi-kit 1.14.4 → 1.15.0

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/arb1.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as Target, A as Annotation, C as ContractInput } from './schema-6_744S0p.mjs';
2
- export { c as allow, d as schema } from './schema-6_744S0p.mjs';
1
+ import { T as Target, A as Annotation, C as ContractInput } from './schema-qrbFa8qg.mjs';
2
+ export { c as allow, d as schema } from './schema-qrbFa8qg.mjs';
3
3
  import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
4
4
  import 'zod';
5
5
 
package/dist/arb1.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as Target, A as Annotation, C as ContractInput } from './schema-6_744S0p.js';
2
- export { c as allow, d as schema } from './schema-6_744S0p.js';
1
+ import { T as Target, A as Annotation, C as ContractInput } from './schema-qrbFa8qg.js';
2
+ export { c as allow, d as schema } from './schema-qrbFa8qg.js';
3
3
  import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
4
4
  import 'zod';
5
5
 
package/dist/arb1.js CHANGED
@@ -8333,6 +8333,15 @@ var sDAI_default = [{ inputs: [{ internalType: "address", name: "_daiJoin", type
8333
8333
  // eth-sdk/abis/mainnet/spark/RewardsController.json
8334
8334
  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" }];
8335
8335
 
8336
+ // eth-sdk/abis/mainnet/spark/MigrationActions.json
8337
+ var MigrationActions_default = [{ inputs: [{ internalType: "address", name: "_sdai", type: "address" }, { internalType: "address", name: "_susds", type: "address" }, { internalType: "address", name: "_daiJoin", type: "address" }, { internalType: "address", name: "_usdsJoin", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "dai", outputs: [{ internalType: "contract IERC20", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "daiJoin", outputs: [{ internalType: "contract JoinLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "assetsIn", type: "uint256" }], name: "downgradeUSDSToDAI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "assetsIn", type: "uint256" }], name: "migrateDAIToSUSDS", outputs: [{ internalType: "uint256", name: "sharesOut", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "assetsIn", type: "uint256" }], name: "migrateDAIToUSDS", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "assetsIn", type: "uint256" }], name: "migrateSDAIAssetsToSUSDS", outputs: [{ internalType: "uint256", name: "sharesOut", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "assetsIn", type: "uint256" }], name: "migrateSDAIAssetsToUSDS", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "sharesIn", type: "uint256" }], name: "migrateSDAISharesToSUSDS", outputs: [{ internalType: "uint256", name: "sharesOut", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "sharesIn", type: "uint256" }], name: "migrateSDAISharesToUSDS", outputs: [{ internalType: "uint256", name: "assetsOut", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "sdai", outputs: [{ internalType: "contract IERC4626", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "susds", outputs: [{ internalType: "contract IERC4626", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "usds", outputs: [{ internalType: "contract IERC20", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "usdsJoin", outputs: [{ internalType: "contract JoinLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "vat", outputs: [{ internalType: "contract VatLike", name: "", type: "address" }], stateMutability: "view", type: "function" }];
8338
+
8339
+ // eth-sdk/abis/mainnet/spark/USDS.json
8340
+ var USDS_default = [{ inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [{ internalType: "address", name: "target", type: "address" }], name: "AddressEmptyCode", type: "error" }, { inputs: [{ internalType: "address", name: "implementation", type: "address" }], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [{ internalType: "bytes32", name: "slot", type: "bytes32" }], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { 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: "usr", type: "address" }], name: "Deny", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint64", name: "version", type: "uint64" }], name: "Initialized", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "usr", type: "address" }], name: "Rely", 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: "implementation", type: "address" }], name: "Upgraded", 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: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [{ internalType: "string", name: "", type: "string" }], 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: [{ internalType: "address", name: "", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "decimals", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "usr", type: "address" }], name: "deny", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getImplementation", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "mint", outputs: [], 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: "proxiableUUID", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "usr", type: "address" }], name: "rely", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], 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: [{ internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" }], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "version", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "wards", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }];
8341
+
8342
+ // eth-sdk/abis/mainnet/spark/sUSDS.json
8343
+ var sUSDS_default = [{ inputs: [{ internalType: "address", name: "usdsJoin_", type: "address" }, { internalType: "address", name: "vow_", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { inputs: [{ internalType: "address", name: "target", type: "address" }], name: "AddressEmptyCode", type: "error" }, { inputs: [{ internalType: "address", name: "implementation", type: "address" }], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [{ internalType: "bytes32", name: "slot", type: "bytes32" }], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { 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: "usr", type: "address" }], name: "Deny", 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: false, internalType: "uint256", name: "chi", type: "uint256" }, { indexed: false, internalType: "uint256", name: "diff", type: "uint256" }], name: "Drip", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "bytes32", name: "what", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "data", type: "uint256" }], name: "File", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint64", name: "version", type: "uint64" }], name: "Initialized", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint16", name: "referral", type: "uint16" }, { 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: "Referral", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "usr", type: "address" }], name: "Rely", 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: "implementation", type: "address" }], name: "Upgraded", 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: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [{ internalType: "string", name: "", type: "string" }], 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: [], name: "chi", outputs: [{ internalType: "uint192", name: "", type: "uint192" }], 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: "decimals", outputs: [{ internalType: "uint8", name: "", type: "uint8" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "usr", type: "address" }], name: "deny", outputs: [], stateMutability: "nonpayable", 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: "uint256", name: "assets", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint16", name: "referral", type: "uint16" }], name: "deposit", outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "drip", outputs: [{ internalType: "uint256", name: "nChi", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "what", type: "bytes32" }, { internalType: "uint256", name: "data", type: "uint256" }], name: "file", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getImplementation", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], 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" }, { internalType: "uint16", name: "referral", type: "uint16" }], name: "mint", outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }], stateMutability: "nonpayable", 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: [{ 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: [], name: "proxiableUUID", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], 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: [{ internalType: "address", name: "usr", type: "address" }], name: "rely", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "rho", outputs: [{ internalType: "uint64", name: "", type: "uint64" }], stateMutability: "view", type: "function" }, { inputs: [], name: "ssr", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", 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: [{ internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" }], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "usds", outputs: [{ internalType: "contract UsdsLike", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "usdsJoin", outputs: [{ internalType: "contract UsdsJoinLike", name: "", type: "address" }], stateMutability: "view", 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: [], name: "vow", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "wards", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], 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" }];
8344
+
8336
8345
  // eth-sdk/abis/mainnet/stader/staking_pool_manager.json
8337
8346
  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" }];
8338
8347
 
@@ -9479,7 +9488,10 @@ function getMainnetSdk(defaultSignerOrProvider) {
9479
9488
  "stableDebtWETH": getContract("0x3c6b93D38ffA15ea995D1BC950d5D0Fa6b22bD05", stableDebtWETH_default3, defaultSignerOrProvider),
9480
9489
  "spWETH": getContract("0x59cD1C87501baa753d0B5B5Ab5D8416A45cD71DB", spWETH_default, defaultSignerOrProvider),
9481
9490
  "sDAI": getContract("0x83F20F44975D03b1b09e64809B757c47f942BEeA", sDAI_default, defaultSignerOrProvider),
9482
- "RewardsController": getContract("0x4370D3b6C9588E02ce9D22e684387859c7Ff5b34", RewardsController_default, defaultSignerOrProvider)
9491
+ "RewardsController": getContract("0x4370D3b6C9588E02ce9D22e684387859c7Ff5b34", RewardsController_default, defaultSignerOrProvider),
9492
+ "MigrationActions": getContract("0xf86141a5657Cf52AEB3E30eBccA5Ad3a8f714B89", MigrationActions_default, defaultSignerOrProvider),
9493
+ "USDS": getContract("0xdC035D45d973E3EC169d2276DDab16f1e407384F", USDS_default, defaultSignerOrProvider),
9494
+ "sUSDS": getContract("0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD", sUSDS_default, defaultSignerOrProvider)
9483
9495
  },
9484
9496
  "stader": {
9485
9497
  "staking_pool_manager": getContract("0xcf5EA1b38380f6aF39068375516Daf40Ed70D299", staking_pool_manager_default, defaultSignerOrProvider),
@@ -9889,7 +9901,10 @@ var contracts = {
9889
9901
  stableDebtWETH: "0x3c6b93D38ffA15ea995D1BC950d5D0Fa6b22bD05",
9890
9902
  spWETH: "0x59cD1C87501baa753d0B5B5Ab5D8416A45cD71DB",
9891
9903
  sDAI: "0x83F20F44975D03b1b09e64809B757c47f942BEeA",
9892
- RewardsController: "0x4370D3b6C9588E02ce9D22e684387859c7Ff5b34"
9904
+ RewardsController: "0x4370D3b6C9588E02ce9D22e684387859c7Ff5b34",
9905
+ MigrationActions: "0xf86141a5657Cf52AEB3E30eBccA5Ad3a8f714B89",
9906
+ USDS: "0xdC035D45d973E3EC169d2276DDab16f1e407384F",
9907
+ sUSDS: "0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD"
9893
9908
  },
9894
9909
  stader: {
9895
9910
  staking_pool_manager: "0xcf5EA1b38380f6aF39068375516Daf40Ed70D299",
@@ -23073,6 +23088,28 @@ var depositDsr = (chain) => {
23073
23088
  throw new Error(`Unsupported chain: ${chain}`);
23074
23089
  }
23075
23090
  };
23091
+ var depositUSDS = () => {
23092
+ return [
23093
+ ...allowErc20Approve(
23094
+ [contracts.mainnet.dai],
23095
+ [contracts.mainnet.spark.MigrationActions]
23096
+ ),
23097
+ allow.mainnet.spark.MigrationActions.migrateDAIToUSDS(import_zodiac_roles_sdk13.c.avatar),
23098
+ allow.mainnet.spark.MigrationActions.migrateDAIToSUSDS(import_zodiac_roles_sdk13.c.avatar),
23099
+ ...allowErc20Approve(
23100
+ [contracts.mainnet.spark.USDS],
23101
+ [contracts.mainnet.spark.MigrationActions]
23102
+ ),
23103
+ allow.mainnet.spark.MigrationActions.downgradeUSDSToDAI(import_zodiac_roles_sdk13.c.avatar),
23104
+ ...allowErc20Approve(
23105
+ [contracts.mainnet.spark.USDS],
23106
+ [contracts.mainnet.spark.sUSDS]
23107
+ ),
23108
+ allow.mainnet.spark.sUSDS["deposit(uint256,address)"](void 0, import_zodiac_roles_sdk13.c.avatar),
23109
+ allow.mainnet.spark.sUSDS.withdraw(void 0, import_zodiac_roles_sdk13.c.avatar, import_zodiac_roles_sdk13.c.avatar),
23110
+ allow.mainnet.spark.sUSDS.redeem(void 0, import_zodiac_roles_sdk13.c.avatar, import_zodiac_roles_sdk13.c.avatar)
23111
+ ];
23112
+ };
23076
23113
  var depositToken3 = (chain, token) => {
23077
23114
  const { sparkLendingPoolV3, RewardsController } = _getAllAddresses2(chain);
23078
23115
  return [
@@ -23254,7 +23291,7 @@ var eth12 = {
23254
23291
  targets
23255
23292
  }) => {
23256
23293
  return targets.flatMap(
23257
- (target) => target === "DSR_sDAI" ? depositDsr("eth" /* eth */) : target === "ETH" ? depositEther3("eth" /* eth */) : depositToken3("eth" /* eth */, findToken6(ethInfo_default2, target))
23294
+ (target) => target === "DSR_sDAI" ? depositDsr("eth" /* eth */) : target === "SKY_USDS" ? depositUSDS() : target === "ETH" ? depositEther3("eth" /* eth */) : depositToken3("eth" /* eth */, findToken6(ethInfo_default2, target))
23258
23295
  );
23259
23296
  },
23260
23297
  borrow: async ({
@@ -24995,6 +25032,7 @@ var import_zod13 = require("zod");
24995
25032
  var zEthTokenDeposit = import_zod13.z.enum([
24996
25033
  ...ethInfo_default2.map((token) => token.symbol),
24997
25034
  "DSR_sDAI",
25035
+ "SKY_USDS",
24998
25036
  "ETH",
24999
25037
  ...ethInfo_default2.map((token) => token.token)
25000
25038
  ]);