defi-kit 1.6.0 → 1.7.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/{chunk-VVP2N2TM.mjs → chunk-T4VB6UYY.mjs} +317 -63
- package/dist/chunk-T4VB6UYY.mjs.map +1 -0
- package/dist/eth.d.mts +2 -2
- package/dist/eth.d.ts +2 -2
- package/dist/eth.js +324 -70
- 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 +305 -52
- package/dist/gno.js.map +1 -1
- package/dist/gno.mjs +1 -1
- package/dist/schema-7IhSaaCf.d.mts +398 -0
- package/dist/schema-7IhSaaCf.d.ts +398 -0
- package/package.json +2 -2
- package/dist/chunk-VVP2N2TM.mjs.map +0 -1
- package/dist/schema-boYzMp4U.d.mts +0 -379
- package/dist/schema-boYzMp4U.d.ts +0 -379
|
@@ -6555,6 +6555,18 @@ var user_withdraw_manager_default = [{ inputs: [], stateMutability: "nonpayable"
|
|
|
6555
6555
|
// eth-sdk/abis/mainnet/stader/ETHx.json
|
|
6556
6556
|
var ETHx_default = [{ inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "CallerNotManager", type: "error" }, { inputs: [], name: "ZeroAddress", 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: 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: "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: 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: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "_staderConfig", type: "address" }], name: "UpdatedStaderConfig", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "burnFrom", outputs: [], stateMutability: "nonpayable", 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: [{ 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: "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: "_admin", type: "address" }, { internalType: "address", name: "_staderConfig", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], 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: "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: "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: "amount", 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: "amount", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_staderConfig", type: "address" }], name: "updateStaderConfig", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
6557
6557
|
|
|
6558
|
+
// eth-sdk/abis/mainnet/stakewise_v2/merkle_distributor.json
|
|
6559
|
+
var merkle_distributor_default = [{ anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "uint256", name: "index", type: "uint256" }, { indexed: false, internalType: "address[]", name: "tokens", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "amounts", type: "uint256[]" }], name: "Claimed", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "bytes32", name: "merkleRoot", type: "bytes32" }, { indexed: false, internalType: "string", name: "merkleProofs", type: "string" }], name: "MerkleRootUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "origin", type: "address" }, { indexed: true, internalType: "address", name: "token", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "string", name: "rewardsLink", type: "string" }], name: "OneTimeDistributionAdded", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "account", type: "address" }], name: "Paused", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "token", type: "address" }, { indexed: true, internalType: "address", name: "beneficiary", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "startBlock", type: "uint256" }, { indexed: false, internalType: "uint256", name: "endBlock", type: "uint256" }], name: "PeriodicDistributionAdded", 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: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "addAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "addPauser", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "index", type: "uint256" }, { internalType: "address", name: "account", type: "address" }, { internalType: "address[]", name: "tokens", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes32[]", name: "merkleProof", type: "bytes32[]" }], name: "claim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes32", name: "_merkleRoot", type: "bytes32" }, { internalType: "uint256", name: "_wordIndex", type: "uint256" }], name: "claimedBitMap", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "origin", type: "address" }, { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "string", name: "rewardsLink", type: "string" }], name: "distributeOneTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "token", type: "address" }, { internalType: "address", name: "beneficiary", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "durationInBlocks", type: "uint256" }], name: "distributePeriodically", outputs: [], stateMutability: "nonpayable", 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: "uint256", name: "index", type: "uint256" }], name: "getRoleMember", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }], name: "getRoleMemberCount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], 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: "_account", type: "address" }], name: "isAdmin", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "index", type: "uint256" }], name: "isClaimed", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "isPauser", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "lastUpdateBlockNumber", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "merkleRoot", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "oracles", outputs: [{ internalType: "contract IOracles", name: "", type: "address" }], 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: "address", name: "_account", type: "address" }], name: "removeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "removePauser", outputs: [], stateMutability: "nonpayable", 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: "rewardEthToken", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" }, { internalType: "string", name: "newMerkleProofs", type: "string" }], name: "setMerkleRoot", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_oracles", type: "address" }], name: "upgrade", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
6560
|
+
|
|
6561
|
+
// eth-sdk/abis/mainnet/stakewise_v2/seth2.json
|
|
6562
|
+
var seth2_default = [{ 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: false, internalType: "address", name: "account", type: "address" }], name: "Paused", 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: 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: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "addAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "addPauser", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", 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: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" }], name: "decreaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "distributorPrincipal", 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: "uint256", name: "index", type: "uint256" }], name: "getRoleMember", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }], name: "getRoleMemberCount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], 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: "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: "_account", type: "address" }], name: "isAdmin", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "isPauser", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "nonces", 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: "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: "address", name: "_account", type: "address" }], name: "removeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "removePauser", outputs: [], stateMutability: "nonpayable", 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: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }, { internalType: "bool", name: "isDisabled", type: "bool" }], name: "toggleRewards", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "totalDeposits", 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: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
6563
|
+
|
|
6564
|
+
// eth-sdk/abis/mainnet/stakewise_v2/reth2.json
|
|
6565
|
+
var reth2_default = [{ inputs: [{ internalType: "address", name: "_vault", type: "address" }, { internalType: "address", name: "_pool", 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: false, internalType: "address", name: "account", type: "address" }], name: "Paused", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "address", name: "recipient", type: "address" }], name: "ProtocolFeeRecipientUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "protocolFee", type: "uint256" }], name: "ProtocolFeeUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "bool", name: "isDisabled", type: "bool" }], name: "RewardsToggled", type: "event" }, { anonymous: false, inputs: [{ indexed: false, internalType: "uint256", name: "periodRewards", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalRewards", type: "uint256" }, { indexed: false, internalType: "uint256", name: "rewardPerToken", type: "uint256" }, { indexed: false, internalType: "uint256", name: "distributorReward", type: "uint256" }, { indexed: false, internalType: "uint256", name: "protocolReward", type: "uint256" }], name: "RewardsUpdated", 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: 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: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "addAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "addPauser", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "checkpoints", outputs: [{ internalType: "uint128", name: "reward", type: "uint128" }, { internalType: "uint128", name: "rewardPerToken", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "claim", outputs: [], stateMutability: "nonpayable", 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: [{ 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: "uint256", name: "index", type: "uint256" }], name: "getRoleMember", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }], name: "getRoleMemberCount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], 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: "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: "_account", type: "address" }], name: "isAdmin", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "isPauser", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "lastUpdateBlockNumber", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "merkleDistributor", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "principal", type: "uint256" }, { internalType: "uint256", name: "reward", type: "uint256" }], name: "migrate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "nonces", 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: "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: "protocolFee", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "protocolFeeRecipient", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "removeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "removePauser", outputs: [], stateMutability: "nonpayable", 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: "rewardPerToken", outputs: [{ internalType: "uint128", name: "", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "rewardsDisabled", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "_protocolFee", type: "uint256" }], name: "setProtocolFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "recipient", type: "address" }], name: "setProtocolFeeRecipient", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }, { internalType: "bool", name: "isDisabled", type: "bool" }], name: "setRewardsDisabled", outputs: [], 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: "totalPenalty", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalRewards", outputs: [{ internalType: "uint128", name: "", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }], name: "updateRewardCheckpoint", outputs: [{ internalType: "bool", name: "accRewardsDisabled", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account1", type: "address" }, { internalType: "address", name: "account2", type: "address" }], name: "updateRewardCheckpoints", outputs: [{ internalType: "bool", name: "rewardsDisabled1", type: "bool" }, { internalType: "bool", name: "rewardsDisabled2", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "int256", name: "rewardsDelta", type: "int256" }], name: "updateTotalRewards", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vault", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }];
|
|
6566
|
+
|
|
6567
|
+
// eth-sdk/abis/mainnet/stakewise_v2/swise.json
|
|
6568
|
+
var swise_default = [{ 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: false, internalType: "address", name: "account", type: "address" }], name: "Paused", 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: 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: false, internalType: "address", name: "account", type: "address" }], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "addAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "addPauser", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "account", type: "address" }], name: "balanceOf", 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: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" }], name: "decreaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", 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: "uint256", name: "index", type: "uint256" }], name: "getRoleMember", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }], name: "getRoleMemberCount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], 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: "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: "_admin", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "isAdmin", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "isPauser", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "nonces", 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: "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: "address", name: "_account", type: "address" }], name: "removeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "_account", type: "address" }], name: "removePauser", outputs: [], stateMutability: "nonpayable", 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: "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: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
6569
|
+
|
|
6558
6570
|
// eth-sdk/abis/mainnet/uniswap_v3/positions_nft.json
|
|
6559
6571
|
var positions_nft_default = [{ inputs: [{ internalType: "address", name: "_factory", type: "address" }, { internalType: "address", name: "_WETH9", type: "address" }, { internalType: "address", name: "_tokenDescriptor_", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }], name: "Approval", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" }], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount0", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount1", type: "uint256" }], name: "Collect", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "uint128", name: "liquidity", type: "uint128" }, { indexed: false, internalType: "uint256", name: "amount0", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount1", type: "uint256" }], name: "DecreaseLiquidity", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "uint128", name: "liquidity", type: "uint128" }, { indexed: false, internalType: "uint256", name: "amount0", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount1", type: "uint256" }], name: "IncreaseLiquidity", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }], name: "Transfer", 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: "WETH9", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "baseURI", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "pure", type: "function" }, { inputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }], name: "burn", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ components: [{ internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint128", name: "amount0Max", type: "uint128" }, { internalType: "uint128", name: "amount1Max", type: "uint128" }], internalType: "struct INonfungiblePositionManager.CollectParams", name: "params", type: "tuple" }], name: "collect", outputs: [{ internalType: "uint256", name: "amount0", type: "uint256" }, { internalType: "uint256", name: "amount1", type: "uint256" }], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "token0", type: "address" }, { internalType: "address", name: "token1", type: "address" }, { internalType: "uint24", name: "fee", type: "uint24" }, { internalType: "uint160", name: "sqrtPriceX96", type: "uint160" }], name: "createAndInitializePoolIfNecessary", outputs: [{ internalType: "address", name: "pool", type: "address" }], stateMutability: "payable", type: "function" }, { inputs: [{ components: [{ internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint128", name: "liquidity", type: "uint128" }, { internalType: "uint256", name: "amount0Min", type: "uint256" }, { internalType: "uint256", name: "amount1Min", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }], internalType: "struct INonfungiblePositionManager.DecreaseLiquidityParams", name: "params", type: "tuple" }], name: "decreaseLiquidity", outputs: [{ internalType: "uint256", name: "amount0", type: "uint256" }, { internalType: "uint256", name: "amount1", type: "uint256" }], stateMutability: "payable", type: "function" }, { inputs: [], name: "factory", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }], name: "getApproved", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ components: [{ internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount0Desired", type: "uint256" }, { internalType: "uint256", name: "amount1Desired", type: "uint256" }, { internalType: "uint256", name: "amount0Min", type: "uint256" }, { internalType: "uint256", name: "amount1Min", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }], internalType: "struct INonfungiblePositionManager.IncreaseLiquidityParams", name: "params", type: "tuple" }], name: "increaseLiquidity", outputs: [{ internalType: "uint128", name: "liquidity", type: "uint128" }, { internalType: "uint256", name: "amount0", type: "uint256" }, { internalType: "uint256", name: "amount1", type: "uint256" }], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" }], name: "isApprovedForAll", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ components: [{ internalType: "address", name: "token0", type: "address" }, { internalType: "address", name: "token1", type: "address" }, { internalType: "uint24", name: "fee", type: "uint24" }, { internalType: "int24", name: "tickLower", type: "int24" }, { internalType: "int24", name: "tickUpper", type: "int24" }, { internalType: "uint256", name: "amount0Desired", type: "uint256" }, { internalType: "uint256", name: "amount1Desired", type: "uint256" }, { internalType: "uint256", name: "amount0Min", type: "uint256" }, { internalType: "uint256", name: "amount1Min", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }], internalType: "struct INonfungiblePositionManager.MintParams", name: "params", type: "tuple" }], name: "mint", outputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint128", name: "liquidity", type: "uint128" }, { internalType: "uint256", name: "amount0", type: "uint256" }, { internalType: "uint256", name: "amount1", type: "uint256" }], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "bytes[]", name: "data", type: "bytes[]" }], name: "multicall", outputs: [{ internalType: "bytes[]", name: "results", type: "bytes[]" }], stateMutability: "payable", type: "function" }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }], name: "ownerOf", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "tokenId", 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: "payable", type: "function" }, { inputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }], name: "positions", outputs: [{ internalType: "uint96", name: "nonce", type: "uint96" }, { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "token0", type: "address" }, { internalType: "address", name: "token1", type: "address" }, { internalType: "uint24", name: "fee", type: "uint24" }, { internalType: "int24", name: "tickLower", type: "int24" }, { internalType: "int24", name: "tickUpper", type: "int24" }, { internalType: "uint128", name: "liquidity", type: "uint128" }, { internalType: "uint256", name: "feeGrowthInside0LastX128", type: "uint256" }, { internalType: "uint256", name: "feeGrowthInside1LastX128", type: "uint256" }, { internalType: "uint128", name: "tokensOwed0", type: "uint128" }, { internalType: "uint128", name: "tokensOwed1", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [], name: "refundETH", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" }], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "token", 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: "selfPermit", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiry", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" }], name: "selfPermitAllowed", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiry", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" }], name: "selfPermitAllowedIfNecessary", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "token", 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: "selfPermitIfNecessary", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" }], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }], name: "supportsInterface", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amountMinimum", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }], name: "sweepToken", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "index", type: "uint256" }], name: "tokenByIndex", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" }], name: "tokenOfOwnerByIndex", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "tokenId", type: "uint256" }], name: "tokenURI", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amount0Owed", type: "uint256" }, { internalType: "uint256", name: "amount1Owed", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }], name: "uniswapV3MintCallback", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amountMinimum", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }], name: "unwrapWETH9", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" }];
|
|
6560
6572
|
|
|
@@ -7681,6 +7693,12 @@ function getMainnetSdk(defaultSignerOrProvider) {
|
|
|
7681
7693
|
"user_withdraw_manager": getContract("0x9F0491B32DBce587c50c4C43AB303b06478193A7", user_withdraw_manager_default, defaultSignerOrProvider),
|
|
7682
7694
|
"ETHx": getContract("0xA35b1B31Ce002FBF2058D22F30f95D405200A15b", ETHx_default, defaultSignerOrProvider)
|
|
7683
7695
|
},
|
|
7696
|
+
"stakewise_v2": {
|
|
7697
|
+
"merkle_distributor": getContract("0xA3F21010e8b9a3930996C8849Df38f9Ca3647c20", merkle_distributor_default, defaultSignerOrProvider),
|
|
7698
|
+
"seth2": getContract("0xFe2e637202056d30016725477c5da089Ab0A043A", seth2_default, defaultSignerOrProvider),
|
|
7699
|
+
"reth2": getContract("0x20BC832ca081b91433ff6c17f85701B6e92486c5", reth2_default, defaultSignerOrProvider),
|
|
7700
|
+
"swise": getContract("0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2", swise_default, defaultSignerOrProvider)
|
|
7701
|
+
},
|
|
7684
7702
|
"uniswap_v3": {
|
|
7685
7703
|
"positions_nft": getContract("0xC36442b4a4522E871399CD717aBDD847Ab11FE88", positions_nft_default, defaultSignerOrProvider),
|
|
7686
7704
|
"factory": getContract("0x1F98431c8aD98523631AE4a59f267346ea31F984", factory_default, defaultSignerOrProvider),
|
|
@@ -8005,6 +8023,12 @@ var contracts = {
|
|
|
8005
8023
|
user_withdraw_manager: "0x9F0491B32DBce587c50c4C43AB303b06478193A7",
|
|
8006
8024
|
ETHx: "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b"
|
|
8007
8025
|
},
|
|
8026
|
+
stakewise_v2: {
|
|
8027
|
+
merkle_distributor: "0xA3F21010e8b9a3930996C8849Df38f9Ca3647c20",
|
|
8028
|
+
seth2: "0xFe2e637202056d30016725477c5da089Ab0A043A",
|
|
8029
|
+
reth2: "0x20BC832ca081b91433ff6c17f85701B6e92486c5",
|
|
8030
|
+
swise: "0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2"
|
|
8031
|
+
},
|
|
8008
8032
|
uniswap_v3: {
|
|
8009
8033
|
positions_nft: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88",
|
|
8010
8034
|
factory: "0x1F98431c8aD98523631AE4a59f267346ea31F984",
|
|
@@ -8187,9 +8211,9 @@ var delegate = (token, delegatee) => {
|
|
|
8187
8211
|
|
|
8188
8212
|
// src/protocols/aave/v2/index.ts
|
|
8189
8213
|
var findToken = (symbolOrAddress) => {
|
|
8190
|
-
const
|
|
8214
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
8191
8215
|
const token = info_default.find(
|
|
8192
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
8216
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
|
|
8193
8217
|
);
|
|
8194
8218
|
if (!token) {
|
|
8195
8219
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -8686,9 +8710,9 @@ var borrowEther2 = () => {
|
|
|
8686
8710
|
|
|
8687
8711
|
// src/protocols/aave/v3/index.ts
|
|
8688
8712
|
var findToken2 = (symbolOrAddress) => {
|
|
8689
|
-
const
|
|
8713
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
8690
8714
|
const token = info_default2.find(
|
|
8691
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
8715
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
|
|
8692
8716
|
);
|
|
8693
8717
|
if (!token) {
|
|
8694
8718
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -11020,6 +11044,25 @@ var ethPools_default2 = [
|
|
|
11020
11044
|
}
|
|
11021
11045
|
]
|
|
11022
11046
|
},
|
|
11047
|
+
{
|
|
11048
|
+
bpt: "0x0F9FdC4D883f6D85b68CE1B8b96AA706A3538e5B",
|
|
11049
|
+
id: "0x0f9fdc4d883f6d85b68ce1b8b96aa706a3538e5b000200000000000000000675",
|
|
11050
|
+
name: "80gVEC-20vETH",
|
|
11051
|
+
type: "Weighted",
|
|
11052
|
+
gauge: null,
|
|
11053
|
+
tokens: [
|
|
11054
|
+
{
|
|
11055
|
+
address: "0x38D64ce1Bdf1A9f24E0Ec469C9cAde61236fB4a0",
|
|
11056
|
+
symbol: "vETH",
|
|
11057
|
+
id: "0x"
|
|
11058
|
+
},
|
|
11059
|
+
{
|
|
11060
|
+
address: "0xb2D007293a421471586D6BC3FBfEB1990fdFa2e6",
|
|
11061
|
+
symbol: "gVEC",
|
|
11062
|
+
id: "0x"
|
|
11063
|
+
}
|
|
11064
|
+
]
|
|
11065
|
+
},
|
|
11023
11066
|
{
|
|
11024
11067
|
bpt: "0x100A6a9524541E92dd068a9cd3E5DEF16388Fec0",
|
|
11025
11068
|
id: "0x100a6a9524541e92dd068a9cd3e5def16388fec0000200000000000000000213",
|
|
@@ -12103,6 +12146,25 @@ var ethPools_default2 = [
|
|
|
12103
12146
|
}
|
|
12104
12147
|
]
|
|
12105
12148
|
},
|
|
12149
|
+
{
|
|
12150
|
+
bpt: "0x57766212638c425e9CB0C6D6e1683dda369C0FFF",
|
|
12151
|
+
id: "0x57766212638c425e9cb0c6d6e1683dda369c0fff000200000000000000000678",
|
|
12152
|
+
name: "80GEM-20WETH",
|
|
12153
|
+
type: "Weighted",
|
|
12154
|
+
gauge: null,
|
|
12155
|
+
tokens: [
|
|
12156
|
+
{
|
|
12157
|
+
address: "0x0447D3454b25935eeD47F65b4Bd22b9b23bE326a",
|
|
12158
|
+
symbol: "GEM",
|
|
12159
|
+
id: "0x"
|
|
12160
|
+
},
|
|
12161
|
+
{
|
|
12162
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
12163
|
+
symbol: "WETH",
|
|
12164
|
+
id: "0x"
|
|
12165
|
+
}
|
|
12166
|
+
]
|
|
12167
|
+
},
|
|
12106
12168
|
{
|
|
12107
12169
|
bpt: "0x577A7f7EE659Aa14Dc16FD384B3F8078E23F1920",
|
|
12108
12170
|
id: "0x577a7f7ee659aa14dc16fd384b3f8078e23f1920000200000000000000000633",
|
|
@@ -15150,7 +15212,7 @@ var gnoPools_default2 = [
|
|
|
15150
15212
|
id: "0x7644fa5d0ea14fcf3e813fdf93ca9544f8567655000000000000000000000066",
|
|
15151
15213
|
name: "sBAL3",
|
|
15152
15214
|
type: "ComposableStable",
|
|
15153
|
-
gauge:
|
|
15215
|
+
gauge: "0xDec0362b3229690fBe4f88c57472610588Bb9A2E",
|
|
15154
15216
|
tokens: [
|
|
15155
15217
|
{
|
|
15156
15218
|
address: "0x4ECaBa5870353805a9F068101A40E0f32ed605C6",
|
|
@@ -15193,7 +15255,7 @@ var gnoPools_default2 = [
|
|
|
15193
15255
|
id: "0xa99fd9950b5d5dceeaf4939e221dca8ca9b938ab000100000000000000000025",
|
|
15194
15256
|
name: "25WETH-25BAL-25GNO-25wxDAI",
|
|
15195
15257
|
type: "Weighted",
|
|
15196
|
-
gauge:
|
|
15258
|
+
gauge: "0xC092E0a4f5a2AdF3CF91E27cf4B7d7917D12CA2B",
|
|
15197
15259
|
tokens: [
|
|
15198
15260
|
{
|
|
15199
15261
|
address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
|
|
@@ -15222,7 +15284,7 @@ var gnoPools_default2 = [
|
|
|
15222
15284
|
id: "0xb8bb1ce9c6e5401d66fe2126db6e7387e1e24ffe00020000000000000000003d",
|
|
15223
15285
|
name: "50WETH-50GNO",
|
|
15224
15286
|
type: "Weighted",
|
|
15225
|
-
gauge:
|
|
15287
|
+
gauge: "0xd264f4d4Ad98FEf4b198547059C07a8E8bBF2F0E",
|
|
15226
15288
|
tokens: [
|
|
15227
15289
|
{
|
|
15228
15290
|
address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
|
|
@@ -15241,7 +15303,7 @@ var gnoPools_default2 = [
|
|
|
15241
15303
|
id: "0xbad20c15a773bf03ab973302f61fabcea5101f0a000000000000000000000034",
|
|
15242
15304
|
name: "bb-WETH-wstETH",
|
|
15243
15305
|
type: "ComposableStable",
|
|
15244
|
-
gauge:
|
|
15306
|
+
gauge: "0x27519F69b2Ac912aeb6fE066180FB25a17c71755",
|
|
15245
15307
|
tokens: [
|
|
15246
15308
|
{
|
|
15247
15309
|
address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
|
|
@@ -15260,7 +15322,7 @@ var gnoPools_default2 = [
|
|
|
15260
15322
|
id: "0xbc2acf5e821c5c9f8667a36bb1131dad26ed64f9000200000000000000000063",
|
|
15261
15323
|
name: "B-50sDAI-50wstETH",
|
|
15262
15324
|
type: "Weighted",
|
|
15263
|
-
gauge:
|
|
15325
|
+
gauge: "0x4d13d387f372dbe5125B7d78E75094ac85B31eDc",
|
|
15264
15326
|
tokens: [
|
|
15265
15327
|
{
|
|
15266
15328
|
address: "0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6",
|
|
@@ -15298,7 +15360,7 @@ var gnoPools_default2 = [
|
|
|
15298
15360
|
id: "0xc9f00c3a713008ddf69b768d90d4978549bfdf9400000000000000000000006d",
|
|
15299
15361
|
name: "crvUSD/sDAI",
|
|
15300
15362
|
type: "ComposableStable",
|
|
15301
|
-
gauge:
|
|
15363
|
+
gauge: "0xB079bD76dD9b5F9a8d3954E4250FC25BE0549Ac0",
|
|
15302
15364
|
tokens: [
|
|
15303
15365
|
{
|
|
15304
15366
|
address: "0xaBEf652195F98A91E490f047A5006B71c85f058d",
|
|
@@ -15317,7 +15379,7 @@ var gnoPools_default2 = [
|
|
|
15317
15379
|
id: "0xdd439304a77f54b1f7854751ac1169b279591ef7000000000000000000000064",
|
|
15318
15380
|
name: "EURe/sDAI",
|
|
15319
15381
|
type: "ComposableStable",
|
|
15320
|
-
gauge:
|
|
15382
|
+
gauge: "0xBB2598b89202596A743BE0b615001D7D5164f167",
|
|
15321
15383
|
tokens: [
|
|
15322
15384
|
{
|
|
15323
15385
|
address: "0xaf204776c7245bF4147c2612BF6e5972Ee483701",
|
|
@@ -15355,7 +15417,7 @@ var gnoPools_default2 = [
|
|
|
15355
15417
|
id: "0xeb30c85cc528537f5350cf5684ce6a4538e13394000200000000000000000059",
|
|
15356
15418
|
name: "B-50USD-50wstETH",
|
|
15357
15419
|
type: "Weighted",
|
|
15358
|
-
gauge:
|
|
15420
|
+
gauge: "0xef23C2Ec60A1ea3Ed6a44681Fb72356cB411177e",
|
|
15359
15421
|
tokens: [
|
|
15360
15422
|
{
|
|
15361
15423
|
address: "0x2086f52651837600180dE173B09470F54EF74910",
|
|
@@ -15561,10 +15623,10 @@ var findPool = (pools, nameIdOrBpt) => {
|
|
|
15561
15623
|
return pool;
|
|
15562
15624
|
};
|
|
15563
15625
|
var findToken3 = (pools, symbolOrAddress) => {
|
|
15564
|
-
const
|
|
15626
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
15565
15627
|
const tokens = pools.flatMap((pool) => [...pool.tokens]);
|
|
15566
15628
|
const token = tokens.find(
|
|
15567
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
15629
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.address.toLowerCase() === symbolOrAddressLower
|
|
15568
15630
|
);
|
|
15569
15631
|
if (!token) {
|
|
15570
15632
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -15775,10 +15837,10 @@ var findPool2 = (pools, nameOrAddressOrId) => {
|
|
|
15775
15837
|
return pool;
|
|
15776
15838
|
};
|
|
15777
15839
|
var findToken4 = (pools, symbolOrAddress) => {
|
|
15778
|
-
const
|
|
15840
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
15779
15841
|
const tokens = pools.flatMap((pool) => [...pool.tokens]);
|
|
15780
15842
|
const token = tokens.find(
|
|
15781
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
15843
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.address.toLowerCase() === symbolOrAddressLower
|
|
15782
15844
|
);
|
|
15783
15845
|
if (!token) {
|
|
15784
15846
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -16053,9 +16115,9 @@ var borrow = (token) => {
|
|
|
16053
16115
|
|
|
16054
16116
|
// src/protocols/compound/v2/index.ts
|
|
16055
16117
|
var findToken5 = (symbolOrAddress) => {
|
|
16056
|
-
const
|
|
16118
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
16057
16119
|
const token = info_default3.find(
|
|
16058
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
16120
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
|
|
16059
16121
|
);
|
|
16060
16122
|
if (!token) {
|
|
16061
16123
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -18057,6 +18119,62 @@ var info_default4 = [
|
|
|
18057
18119
|
crvLPToken: "0x8C24b3213FD851db80245FCCc42c40B94Ac9a745",
|
|
18058
18120
|
cvxDepositToken: "0xDB025419b9e8f1AD7eF3Eb732E143C1be64034A1",
|
|
18059
18121
|
rewarder: "0xB0408d1477554268Ece9b0a40290C345196fBf1B"
|
|
18122
|
+
},
|
|
18123
|
+
{
|
|
18124
|
+
name: '"pxveth"',
|
|
18125
|
+
id: "310",
|
|
18126
|
+
crvLPToken: "0x7F20EEa5bc667F4601E35af15868F3Bc6e447050",
|
|
18127
|
+
cvxDepositToken: "0x29F29CFEA71e412dDa053169Cb731Eadb83e6A27",
|
|
18128
|
+
rewarder: "0x947bbE8f08084BCa294c8bfa509C26241ddaa6C6"
|
|
18129
|
+
},
|
|
18130
|
+
{
|
|
18131
|
+
name: "fxUSDcrvUS",
|
|
18132
|
+
id: "311",
|
|
18133
|
+
crvLPToken: "0x8fFC7b89412eFD0D17EDEa2018F6634eA4C2FCb2",
|
|
18134
|
+
cvxDepositToken: "0x5D257CAC1164c39A46B7dC9E47c9855A13dc095C",
|
|
18135
|
+
rewarder: "0x65C57A4bbCb1A0E23A2ed8cAfbA5BA6133C8DaC8"
|
|
18136
|
+
},
|
|
18137
|
+
{
|
|
18138
|
+
name: "fxUSDpyUSD",
|
|
18139
|
+
id: "312",
|
|
18140
|
+
crvLPToken: "0xd6982da59F1D26476E259559508f4135135cf9b8",
|
|
18141
|
+
cvxDepositToken: "0xdFB4b6F781e8F722cBe0F6Ad19417B5e479cfD8a",
|
|
18142
|
+
rewarder: "0x18DB87dEE953BA34eb839739Cd6E2F2d01eEa471"
|
|
18143
|
+
},
|
|
18144
|
+
{
|
|
18145
|
+
name: "fxUSDDola",
|
|
18146
|
+
id: "313",
|
|
18147
|
+
crvLPToken: "0x189B4e49B5cAf33565095097b4B960F14032C7D0",
|
|
18148
|
+
cvxDepositToken: "0x6fb595e696b0A065415Fa5f047A69CBbEa40Db63",
|
|
18149
|
+
rewarder: "0x2ef1dA0368470B2603BAb392932E70205eEb9046"
|
|
18150
|
+
},
|
|
18151
|
+
{
|
|
18152
|
+
name: "fxUSDGrai",
|
|
18153
|
+
id: "314",
|
|
18154
|
+
crvLPToken: "0x69Cf42F15F9325986154b61A013da6E8feC82CCF",
|
|
18155
|
+
cvxDepositToken: "0xb7E924d4D836FeF4bFeE6D16fc71F83d2b9eAB99",
|
|
18156
|
+
rewarder: "0x2F7473369B5d21418B10543823a6a38BcE529908"
|
|
18157
|
+
},
|
|
18158
|
+
{
|
|
18159
|
+
name: "fxUSDFrax",
|
|
18160
|
+
id: "315",
|
|
18161
|
+
crvLPToken: "0x1EE81c56e42EC34039D993d12410d437DdeA341E",
|
|
18162
|
+
cvxDepositToken: "0x1AF31b777119cDfB22D7B2F4b7Da0E144f1e31Fb",
|
|
18163
|
+
rewarder: "0xfbb02DFA57C2eA0E6F5F2c260957d8656ab7A94a"
|
|
18164
|
+
},
|
|
18165
|
+
{
|
|
18166
|
+
name: "fxUSDGHO",
|
|
18167
|
+
id: "316",
|
|
18168
|
+
crvLPToken: "0x74345504Eaea3D9408fC69Ae7EB2d14095643c5b",
|
|
18169
|
+
cvxDepositToken: "0x3Abbaf4AC59f6e99AD96dc010DF472Cf4803d2ee",
|
|
18170
|
+
rewarder: "0x77e69Dc146C6044b996ad5c93D88D104Ee13F186"
|
|
18171
|
+
},
|
|
18172
|
+
{
|
|
18173
|
+
name: "crvDOLA",
|
|
18174
|
+
id: "317",
|
|
18175
|
+
crvLPToken: "0xef484de8C07B6e2d732A92B5F78e81B38f99f95E",
|
|
18176
|
+
cvxDepositToken: "0x430bE19e180fd8c2199eC5FAEabE2F5CDba68C94",
|
|
18177
|
+
rewarder: "0xE8cBdBFD4A1D776AB1146B63ABD1718b2F92a823"
|
|
18060
18178
|
}
|
|
18061
18179
|
];
|
|
18062
18180
|
|
|
@@ -19161,9 +19279,9 @@ var borrowEther3 = () => {
|
|
|
19161
19279
|
|
|
19162
19280
|
// src/protocols/spark/index.ts
|
|
19163
19281
|
var findToken6 = (symbolOrAddress) => {
|
|
19164
|
-
const
|
|
19282
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
19165
19283
|
const token = info_default6.find(
|
|
19166
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
19284
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
|
|
19167
19285
|
);
|
|
19168
19286
|
if (!token) {
|
|
19169
19287
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -19204,7 +19322,71 @@ var eth13 = {
|
|
|
19204
19322
|
]
|
|
19205
19323
|
};
|
|
19206
19324
|
|
|
19207
|
-
// src/protocols/
|
|
19325
|
+
// src/protocols/stakewise/v2/_ethPools.ts
|
|
19326
|
+
var ethPools_default3 = [
|
|
19327
|
+
{
|
|
19328
|
+
name: "ETH-sETH2 0.3%",
|
|
19329
|
+
address: "0x7379e81228514a1D2a6Cf7559203998E20598346",
|
|
19330
|
+
fee: "0.3%",
|
|
19331
|
+
tokens: [
|
|
19332
|
+
{
|
|
19333
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
19334
|
+
symbol: "WETH"
|
|
19335
|
+
},
|
|
19336
|
+
{
|
|
19337
|
+
address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
|
|
19338
|
+
symbol: "sETH2"
|
|
19339
|
+
}
|
|
19340
|
+
]
|
|
19341
|
+
},
|
|
19342
|
+
{
|
|
19343
|
+
name: "rETH2-sETH2 0.05%",
|
|
19344
|
+
address: "0xa9ffb27d36901F87f1D0F20773f7072e38C5bfbA",
|
|
19345
|
+
fee: "0.05%",
|
|
19346
|
+
tokens: [
|
|
19347
|
+
{
|
|
19348
|
+
address: "0x20BC832ca081b91433ff6c17f85701B6e92486c5",
|
|
19349
|
+
symbol: "rETH2"
|
|
19350
|
+
},
|
|
19351
|
+
{
|
|
19352
|
+
address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
|
|
19353
|
+
symbol: "sETH2"
|
|
19354
|
+
}
|
|
19355
|
+
]
|
|
19356
|
+
},
|
|
19357
|
+
{
|
|
19358
|
+
name: "SWISE-ETH 0.3%",
|
|
19359
|
+
fee: "0.3%",
|
|
19360
|
+
address: "0x2aF41D838763E3c5cad6AdC111af9c5dA19B9AFa",
|
|
19361
|
+
tokens: [
|
|
19362
|
+
{
|
|
19363
|
+
address: "0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2",
|
|
19364
|
+
symbol: "SWISE"
|
|
19365
|
+
},
|
|
19366
|
+
{
|
|
19367
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
19368
|
+
symbol: "WETH"
|
|
19369
|
+
}
|
|
19370
|
+
]
|
|
19371
|
+
},
|
|
19372
|
+
{
|
|
19373
|
+
name: "SWISE-sETH2 0.3%",
|
|
19374
|
+
fee: "0.3%",
|
|
19375
|
+
address: "0x992f534fcc87864875224d142d6Bf054B1882160",
|
|
19376
|
+
tokens: [
|
|
19377
|
+
{
|
|
19378
|
+
address: "0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2",
|
|
19379
|
+
symbol: "SWISE"
|
|
19380
|
+
},
|
|
19381
|
+
{
|
|
19382
|
+
address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
|
|
19383
|
+
symbol: "sETH2"
|
|
19384
|
+
}
|
|
19385
|
+
]
|
|
19386
|
+
}
|
|
19387
|
+
];
|
|
19388
|
+
|
|
19389
|
+
// src/protocols/uniswap/v3/_ethInfo.ts
|
|
19208
19390
|
var ethInfo_default = [
|
|
19209
19391
|
{
|
|
19210
19392
|
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
@@ -20444,7 +20626,7 @@ var ethInfo_default = [
|
|
|
20444
20626
|
}
|
|
20445
20627
|
];
|
|
20446
20628
|
|
|
20447
|
-
// src/protocols/
|
|
20629
|
+
// src/protocols/uniswap/v3/utils.ts
|
|
20448
20630
|
var sdk3 = getMainnetSdk(
|
|
20449
20631
|
process.env.NODE_ENV === "test" ? getProvider() : ethProvider
|
|
20450
20632
|
);
|
|
@@ -20470,18 +20652,28 @@ var queryTokens = async (nftIds) => {
|
|
|
20470
20652
|
return [...result];
|
|
20471
20653
|
};
|
|
20472
20654
|
|
|
20473
|
-
// src/protocols/
|
|
20655
|
+
// src/protocols/uniswap/v3/index.ts
|
|
20474
20656
|
import { c as c14 } from "zodiac-roles-sdk";
|
|
20475
20657
|
import { BigNumber as BigNumber4 } from "ethers";
|
|
20476
20658
|
var ZERO_ADDRESS3 = "0x0000000000000000000000000000000000000000";
|
|
20659
|
+
var FeeMapping = {
|
|
20660
|
+
"0.01%": 100,
|
|
20661
|
+
"0.05%": 500,
|
|
20662
|
+
"0.3%": 3e3,
|
|
20663
|
+
"1%": 1e4
|
|
20664
|
+
};
|
|
20477
20665
|
var eth14 = {
|
|
20478
20666
|
deposit: async ({
|
|
20479
20667
|
targets,
|
|
20480
|
-
tokens
|
|
20668
|
+
tokens,
|
|
20669
|
+
fees
|
|
20481
20670
|
}) => {
|
|
20482
20671
|
if (!targets && !tokens) {
|
|
20483
20672
|
throw new Error("Either `targets` or `tokens` must be specified.");
|
|
20484
20673
|
}
|
|
20674
|
+
const mintFees = (fees == null ? void 0 : fees.map((fee) => FeeMapping[fee])) || void 0;
|
|
20675
|
+
console.log("mintFees: ", mintFees);
|
|
20676
|
+
console.log("tokens: ", tokens);
|
|
20485
20677
|
const nftIds = targets && targets.map((target) => {
|
|
20486
20678
|
try {
|
|
20487
20679
|
return BigNumber4.from(target);
|
|
@@ -20503,7 +20695,8 @@ var eth14 = {
|
|
|
20503
20695
|
{
|
|
20504
20696
|
recipient: c14.avatar,
|
|
20505
20697
|
token0: oneOf(mintTokenAddresses),
|
|
20506
|
-
token1: oneOf(mintTokenAddresses)
|
|
20698
|
+
token1: oneOf(mintTokenAddresses),
|
|
20699
|
+
fee: mintFees ? oneOf(mintFees) : void 0
|
|
20507
20700
|
},
|
|
20508
20701
|
{
|
|
20509
20702
|
send: true
|
|
@@ -20549,6 +20742,45 @@ var eth14 = {
|
|
|
20549
20742
|
}
|
|
20550
20743
|
};
|
|
20551
20744
|
|
|
20745
|
+
// src/protocols/stakewise/v2/index.ts
|
|
20746
|
+
import { c as c15 } from "zodiac-roles-sdk";
|
|
20747
|
+
var findPool4 = (pools, nameOrAddress) => {
|
|
20748
|
+
const nameOrAddressLower = nameOrAddress.toLowerCase();
|
|
20749
|
+
const pool = pools.find(
|
|
20750
|
+
(pool2) => pool2.name.toLowerCase() === nameOrAddressLower || pool2.address.toLowerCase() === nameOrAddressLower
|
|
20751
|
+
);
|
|
20752
|
+
if (!pool) {
|
|
20753
|
+
throw new NotFoundError(`Pool not found: ${nameOrAddress}`);
|
|
20754
|
+
}
|
|
20755
|
+
return pool;
|
|
20756
|
+
};
|
|
20757
|
+
var eth15 = {
|
|
20758
|
+
deposit: async ({
|
|
20759
|
+
targets
|
|
20760
|
+
}) => {
|
|
20761
|
+
const univ3Permissions = await Promise.all(
|
|
20762
|
+
targets.map(
|
|
20763
|
+
(target) => {
|
|
20764
|
+
var _a, _b;
|
|
20765
|
+
return eth14.deposit({
|
|
20766
|
+
tokens: (_a = findPool4(ethPools_default3, target)) == null ? void 0 : _a.tokens.map((token) => token.symbol),
|
|
20767
|
+
fees: [(_b = findPool4(ethPools_default3, target)) == null ? void 0 : _b.fee]
|
|
20768
|
+
});
|
|
20769
|
+
}
|
|
20770
|
+
)
|
|
20771
|
+
);
|
|
20772
|
+
const permissions = univ3Permissions.flat();
|
|
20773
|
+
permissions.push(
|
|
20774
|
+
allow.mainnet.stakewise_v2.merkle_distributor.claim(
|
|
20775
|
+
void 0,
|
|
20776
|
+
c15.avatar,
|
|
20777
|
+
c15.subset([contracts.mainnet.stakewise_v2.reth2, contracts.mainnet.stakewise_v2.swise])
|
|
20778
|
+
)
|
|
20779
|
+
);
|
|
20780
|
+
return permissions;
|
|
20781
|
+
}
|
|
20782
|
+
};
|
|
20783
|
+
|
|
20552
20784
|
// src/protocols/annotate.ts
|
|
20553
20785
|
var annotate = (actionFunction, path) => {
|
|
20554
20786
|
const annotated = async (params) => {
|
|
@@ -20581,7 +20813,7 @@ var annotateAll = (actions, chainPrefix) => {
|
|
|
20581
20813
|
};
|
|
20582
20814
|
|
|
20583
20815
|
// src/protocols/index.ts
|
|
20584
|
-
var
|
|
20816
|
+
var eth16 = annotateAll(
|
|
20585
20817
|
{
|
|
20586
20818
|
aave_v2: eth,
|
|
20587
20819
|
aave_v3: eth2,
|
|
@@ -20597,6 +20829,7 @@ var eth15 = annotateAll(
|
|
|
20597
20829
|
rocket_pool: eth11,
|
|
20598
20830
|
spark: eth12,
|
|
20599
20831
|
stader: eth13,
|
|
20832
|
+
stakewise_v2: eth15,
|
|
20600
20833
|
uniswap_v3: eth14
|
|
20601
20834
|
},
|
|
20602
20835
|
"eth"
|
|
@@ -20625,7 +20858,7 @@ var zDelegateToken = z.enum([
|
|
|
20625
20858
|
...delegateTokens_default.map((token) => token.address)
|
|
20626
20859
|
]);
|
|
20627
20860
|
var zDelegatee = zx.address();
|
|
20628
|
-
var
|
|
20861
|
+
var eth17 = {
|
|
20629
20862
|
deposit: z.object({
|
|
20630
20863
|
targets: zToken.array()
|
|
20631
20864
|
}),
|
|
@@ -20657,7 +20890,7 @@ var zDelegateToken2 = z2.enum([
|
|
|
20657
20890
|
...delegateTokens_default.map((token) => token.address)
|
|
20658
20891
|
]);
|
|
20659
20892
|
var zDelegatee2 = zx.address();
|
|
20660
|
-
var
|
|
20893
|
+
var eth18 = {
|
|
20661
20894
|
deposit: z2.object({
|
|
20662
20895
|
targets: zToken2.array()
|
|
20663
20896
|
}),
|
|
@@ -20675,7 +20908,7 @@ var eth17 = {
|
|
|
20675
20908
|
|
|
20676
20909
|
// src/protocols/ankr/schema.ts
|
|
20677
20910
|
import { z as z3 } from "zod";
|
|
20678
|
-
var
|
|
20911
|
+
var eth19 = {
|
|
20679
20912
|
deposit: z3.object({})
|
|
20680
20913
|
};
|
|
20681
20914
|
|
|
@@ -20707,7 +20940,7 @@ var zStakeToken3 = z4.enum([
|
|
|
20707
20940
|
...stakeTokens_default2.map((token) => token.symbol),
|
|
20708
20941
|
...stakeTokens_default2.map((token) => token.address)
|
|
20709
20942
|
]);
|
|
20710
|
-
var
|
|
20943
|
+
var eth20 = {
|
|
20711
20944
|
deposit: z4.object({
|
|
20712
20945
|
targets: zEthPool.array(),
|
|
20713
20946
|
tokens: zEthToken.array().optional()
|
|
@@ -20741,7 +20974,7 @@ var zPool = z5.enum([
|
|
|
20741
20974
|
...ethPools_default2.map((pool) => pool.id)
|
|
20742
20975
|
]);
|
|
20743
20976
|
var zToken3 = z5.enum(ethTokens2);
|
|
20744
|
-
var
|
|
20977
|
+
var eth21 = {
|
|
20745
20978
|
deposit: z5.object({
|
|
20746
20979
|
targets: zPool.array(),
|
|
20747
20980
|
tokens: zToken3.array().optional()
|
|
@@ -20763,7 +20996,7 @@ var zToken4 = z6.enum([
|
|
|
20763
20996
|
...info_default3.map((token) => token.symbol),
|
|
20764
20997
|
...info_default3.map((token) => token.token)
|
|
20765
20998
|
]);
|
|
20766
|
-
var
|
|
20999
|
+
var eth22 = {
|
|
20767
21000
|
deposit: z6.object({
|
|
20768
21001
|
targets: zToken4.array()
|
|
20769
21002
|
}),
|
|
@@ -20783,7 +21016,7 @@ var zStakeToken4 = z7.enum([
|
|
|
20783
21016
|
...stakeTokens_default3.map((token) => token.symbol),
|
|
20784
21017
|
...stakeTokens_default3.map((token) => token.address)
|
|
20785
21018
|
]);
|
|
20786
|
-
var
|
|
21019
|
+
var eth23 = {
|
|
20787
21020
|
deposit: z7.object({
|
|
20788
21021
|
targets: zPool2.array()
|
|
20789
21022
|
}),
|
|
@@ -20799,7 +21032,7 @@ var swap2 = z8.object({
|
|
|
20799
21032
|
sell: zx.address().array(),
|
|
20800
21033
|
buy: zx.address().array().optional()
|
|
20801
21034
|
});
|
|
20802
|
-
var
|
|
21035
|
+
var eth24 = {
|
|
20803
21036
|
swap: swap2
|
|
20804
21037
|
};
|
|
20805
21038
|
var gno5 = {
|
|
@@ -20808,13 +21041,13 @@ var gno5 = {
|
|
|
20808
21041
|
|
|
20809
21042
|
// src/protocols/lido/schema.ts
|
|
20810
21043
|
import { z as z9 } from "zod";
|
|
20811
|
-
var
|
|
21044
|
+
var eth25 = {
|
|
20812
21045
|
deposit: z9.object({})
|
|
20813
21046
|
};
|
|
20814
21047
|
|
|
20815
21048
|
// src/protocols/maker/schema.ts
|
|
20816
21049
|
import { z as z10 } from "zod";
|
|
20817
|
-
var
|
|
21050
|
+
var eth26 = {
|
|
20818
21051
|
deposit: z10.object({
|
|
20819
21052
|
targets: z10.string().array().optional(),
|
|
20820
21053
|
avatar: zx.address()
|
|
@@ -20827,7 +21060,7 @@ var eth25 = {
|
|
|
20827
21060
|
|
|
20828
21061
|
// src/protocols/rocket_pool/schema.ts
|
|
20829
21062
|
import { z as z11 } from "zod";
|
|
20830
|
-
var
|
|
21063
|
+
var eth27 = {
|
|
20831
21064
|
deposit: z11.object({})
|
|
20832
21065
|
};
|
|
20833
21066
|
|
|
@@ -20838,7 +21071,7 @@ var zToken5 = z12.enum([
|
|
|
20838
21071
|
"DSR_sDAI",
|
|
20839
21072
|
...info_default6.map((token) => token.token)
|
|
20840
21073
|
]);
|
|
20841
|
-
var
|
|
21074
|
+
var eth28 = {
|
|
20842
21075
|
deposit: z12.object({
|
|
20843
21076
|
targets: zToken5.array()
|
|
20844
21077
|
}),
|
|
@@ -20849,40 +21082,61 @@ var eth27 = {
|
|
|
20849
21082
|
|
|
20850
21083
|
// src/protocols/stader/schema.ts
|
|
20851
21084
|
import { z as z13 } from "zod";
|
|
20852
|
-
var
|
|
21085
|
+
var eth29 = {
|
|
20853
21086
|
deposit: z13.object({})
|
|
20854
21087
|
};
|
|
20855
21088
|
|
|
20856
|
-
// src/protocols/
|
|
21089
|
+
// src/protocols/stakewise/v2/schema.ts
|
|
20857
21090
|
import { z as z14 } from "zod";
|
|
21091
|
+
var zEthPool2 = z14.enum([
|
|
21092
|
+
...ethPools_default3.map((pool) => pool.name),
|
|
21093
|
+
...ethPools_default3.map((pool) => pool.address)
|
|
21094
|
+
]);
|
|
21095
|
+
var eth30 = {
|
|
21096
|
+
deposit: z14.object({
|
|
21097
|
+
targets: zEthPool2.array()
|
|
21098
|
+
}),
|
|
21099
|
+
stake: z14.object({})
|
|
21100
|
+
};
|
|
21101
|
+
|
|
21102
|
+
// src/protocols/uniswap/v3/schema.ts
|
|
21103
|
+
import { z as z15 } from "zod";
|
|
21104
|
+
|
|
21105
|
+
// src/protocols/uniswap/v3/types.ts
|
|
21106
|
+
var FEES = ["0.01%", "0.05%", "0.3%", "1%"];
|
|
21107
|
+
|
|
21108
|
+
// src/protocols/uniswap/v3/schema.ts
|
|
20858
21109
|
var ethTokens3 = [
|
|
20859
21110
|
...new Set(ethInfo_default.flatMap((token) => [token.address, token.symbol]))
|
|
20860
21111
|
];
|
|
20861
|
-
var zToken6 =
|
|
20862
|
-
var
|
|
20863
|
-
|
|
20864
|
-
|
|
20865
|
-
|
|
21112
|
+
var zToken6 = z15.enum(ethTokens3);
|
|
21113
|
+
var zFee = z15.enum(FEES);
|
|
21114
|
+
var eth31 = {
|
|
21115
|
+
deposit: z15.object({
|
|
21116
|
+
targets: z15.string().array().optional(),
|
|
21117
|
+
tokens: zToken6.array().optional(),
|
|
21118
|
+
fees: zFee.array().optional()
|
|
20866
21119
|
})
|
|
20867
21120
|
};
|
|
20868
21121
|
|
|
20869
21122
|
// src/protocols/schema.ts
|
|
20870
|
-
var
|
|
20871
|
-
aave_v2:
|
|
20872
|
-
aave_v3:
|
|
20873
|
-
ankr:
|
|
20874
|
-
aura:
|
|
20875
|
-
balancer:
|
|
20876
|
-
compound_v2:
|
|
21123
|
+
var eth32 = {
|
|
21124
|
+
aave_v2: eth17,
|
|
21125
|
+
aave_v3: eth18,
|
|
21126
|
+
ankr: eth19,
|
|
21127
|
+
aura: eth20,
|
|
21128
|
+
balancer: eth21,
|
|
21129
|
+
compound_v2: eth22,
|
|
20877
21130
|
// compound_v3: compound_v3.eth,
|
|
20878
|
-
convex:
|
|
20879
|
-
cowswap:
|
|
20880
|
-
lido:
|
|
20881
|
-
maker:
|
|
20882
|
-
rocket_pool:
|
|
20883
|
-
spark:
|
|
20884
|
-
stader:
|
|
20885
|
-
|
|
21131
|
+
convex: eth23,
|
|
21132
|
+
cowswap: eth24,
|
|
21133
|
+
lido: eth25,
|
|
21134
|
+
maker: eth26,
|
|
21135
|
+
rocket_pool: eth27,
|
|
21136
|
+
spark: eth28,
|
|
21137
|
+
stader: eth29,
|
|
21138
|
+
stakewise_v2: eth30,
|
|
21139
|
+
uniswap_v3: eth31
|
|
20886
21140
|
};
|
|
20887
21141
|
var gno6 = {
|
|
20888
21142
|
aura: gno4,
|
|
@@ -21018,11 +21272,11 @@ var asTxBuilderInputValues = (result) => {
|
|
|
21018
21272
|
};
|
|
21019
21273
|
|
|
21020
21274
|
export {
|
|
21021
|
-
|
|
21275
|
+
eth16 as eth,
|
|
21022
21276
|
gno3 as gno,
|
|
21023
|
-
|
|
21277
|
+
eth32 as eth2,
|
|
21024
21278
|
gno6 as gno2,
|
|
21025
21279
|
createApply,
|
|
21026
21280
|
createExportToSafeTransactionBuilder
|
|
21027
21281
|
};
|
|
21028
|
-
//# sourceMappingURL=chunk-
|
|
21282
|
+
//# sourceMappingURL=chunk-T4VB6UYY.mjs.map
|