defi-kit 1.6.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-VVP2N2TM.mjs → chunk-NXW3A7MQ.mjs} +399 -68
- package/dist/chunk-NXW3A7MQ.mjs.map +1 -0
- package/dist/eth.d.mts +2 -2
- package/dist/eth.d.ts +2 -2
- package/dist/eth.js +406 -75
- 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 +387 -57
- package/dist/gno.js.map +1 -1
- package/dist/gno.mjs +1 -1
- package/dist/schema-JjkhDREZ.d.mts +398 -0
- package/dist/schema-JjkhDREZ.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}`);
|
|
@@ -10388,6 +10412,22 @@ var ethPools_default = [
|
|
|
10388
10412
|
}
|
|
10389
10413
|
],
|
|
10390
10414
|
rewarder: "0xA36d3799eA28f4B75653EBF9D91DDA4519578086"
|
|
10415
|
+
},
|
|
10416
|
+
{
|
|
10417
|
+
name: "ECLP-pxETH-frxETH",
|
|
10418
|
+
id: "200",
|
|
10419
|
+
bpt: "0x767CB26E38beBddfd857d4Ad426d8ff5Bc0fAc2f",
|
|
10420
|
+
tokens: [
|
|
10421
|
+
{
|
|
10422
|
+
address: "0x04C154b66CB340F3Ae24111CC767e0184Ed00Cc6",
|
|
10423
|
+
symbol: "pxETH"
|
|
10424
|
+
},
|
|
10425
|
+
{
|
|
10426
|
+
address: "0x5E8422345238F34275888049021821E8E08CAa1f",
|
|
10427
|
+
symbol: "frxETH"
|
|
10428
|
+
}
|
|
10429
|
+
],
|
|
10430
|
+
rewarder: "0xD9CBC979Ea7d94A8DC65e90fcDb4E2C7aa4f37De"
|
|
10391
10431
|
}
|
|
10392
10432
|
];
|
|
10393
10433
|
|
|
@@ -11020,6 +11060,25 @@ var ethPools_default2 = [
|
|
|
11020
11060
|
}
|
|
11021
11061
|
]
|
|
11022
11062
|
},
|
|
11063
|
+
{
|
|
11064
|
+
bpt: "0x0F9FdC4D883f6D85b68CE1B8b96AA706A3538e5B",
|
|
11065
|
+
id: "0x0f9fdc4d883f6d85b68ce1b8b96aa706a3538e5b000200000000000000000675",
|
|
11066
|
+
name: "80gVEC-20vETH",
|
|
11067
|
+
type: "Weighted",
|
|
11068
|
+
gauge: null,
|
|
11069
|
+
tokens: [
|
|
11070
|
+
{
|
|
11071
|
+
address: "0x38D64ce1Bdf1A9f24E0Ec469C9cAde61236fB4a0",
|
|
11072
|
+
symbol: "vETH",
|
|
11073
|
+
id: "0x"
|
|
11074
|
+
},
|
|
11075
|
+
{
|
|
11076
|
+
address: "0xb2D007293a421471586D6BC3FBfEB1990fdFa2e6",
|
|
11077
|
+
symbol: "gVEC",
|
|
11078
|
+
id: "0x"
|
|
11079
|
+
}
|
|
11080
|
+
]
|
|
11081
|
+
},
|
|
11023
11082
|
{
|
|
11024
11083
|
bpt: "0x100A6a9524541E92dd068a9cd3E5DEF16388Fec0",
|
|
11025
11084
|
id: "0x100a6a9524541e92dd068a9cd3e5def16388fec0000200000000000000000213",
|
|
@@ -12103,6 +12162,25 @@ var ethPools_default2 = [
|
|
|
12103
12162
|
}
|
|
12104
12163
|
]
|
|
12105
12164
|
},
|
|
12165
|
+
{
|
|
12166
|
+
bpt: "0x57766212638c425e9CB0C6D6e1683dda369C0FFF",
|
|
12167
|
+
id: "0x57766212638c425e9cb0c6d6e1683dda369c0fff000200000000000000000678",
|
|
12168
|
+
name: "80GEM-20WETH",
|
|
12169
|
+
type: "Weighted",
|
|
12170
|
+
gauge: null,
|
|
12171
|
+
tokens: [
|
|
12172
|
+
{
|
|
12173
|
+
address: "0x0447D3454b25935eeD47F65b4Bd22b9b23bE326a",
|
|
12174
|
+
symbol: "GEM",
|
|
12175
|
+
id: "0x"
|
|
12176
|
+
},
|
|
12177
|
+
{
|
|
12178
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
12179
|
+
symbol: "WETH",
|
|
12180
|
+
id: "0x"
|
|
12181
|
+
}
|
|
12182
|
+
]
|
|
12183
|
+
},
|
|
12106
12184
|
{
|
|
12107
12185
|
bpt: "0x577A7f7EE659Aa14Dc16FD384B3F8078E23F1920",
|
|
12108
12186
|
id: "0x577a7f7ee659aa14dc16fd384b3f8078e23f1920000200000000000000000633",
|
|
@@ -13293,6 +13371,25 @@ var ethPools_default2 = [
|
|
|
13293
13371
|
}
|
|
13294
13372
|
]
|
|
13295
13373
|
},
|
|
13374
|
+
{
|
|
13375
|
+
bpt: "0x9c6d47Ff73e0F5E51BE5FD53236e3F595C5793F2",
|
|
13376
|
+
id: "0x9c6d47ff73e0f5e51be5fd53236e3f595c5793f200020000000000000000042c",
|
|
13377
|
+
name: "B-cbETH-wstETH-Stable",
|
|
13378
|
+
type: "MetaStable",
|
|
13379
|
+
gauge: "0x01A9502C11f411b494c62746D37e89d6f7078657",
|
|
13380
|
+
tokens: [
|
|
13381
|
+
{
|
|
13382
|
+
address: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
13383
|
+
symbol: "wstETH",
|
|
13384
|
+
id: "0x"
|
|
13385
|
+
},
|
|
13386
|
+
{
|
|
13387
|
+
address: "0xBe9895146f7AF43049ca1c1AE358B0541Ea49704",
|
|
13388
|
+
symbol: "cbETH",
|
|
13389
|
+
id: "0x"
|
|
13390
|
+
}
|
|
13391
|
+
]
|
|
13392
|
+
},
|
|
13296
13393
|
{
|
|
13297
13394
|
bpt: "0x9CC64EE4CB672Bc04C54B00a37E1Ed75b2Cc19Dd",
|
|
13298
13395
|
id: "0x9cc64ee4cb672bc04c54b00a37e1ed75b2cc19dd0002000000000000000004c1",
|
|
@@ -14274,6 +14371,25 @@ var ethPools_default2 = [
|
|
|
14274
14371
|
}
|
|
14275
14372
|
]
|
|
14276
14373
|
},
|
|
14374
|
+
{
|
|
14375
|
+
bpt: "0xdD59f89B5B07B7844d72996fC9d83D81acC82196",
|
|
14376
|
+
id: "0xdd59f89b5b07b7844d72996fc9d83d81acc8219600000000000000000000059e",
|
|
14377
|
+
name: "uniETH-WETH",
|
|
14378
|
+
type: "ComposableStable",
|
|
14379
|
+
gauge: "0xe77D45b5dE97aC7717E4EdE6bE16E3D805fF02A5",
|
|
14380
|
+
tokens: [
|
|
14381
|
+
{
|
|
14382
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
14383
|
+
symbol: "WETH",
|
|
14384
|
+
id: "0x"
|
|
14385
|
+
},
|
|
14386
|
+
{
|
|
14387
|
+
address: "0xF1376bceF0f78459C0Ed0ba5ddce976F1ddF51F4",
|
|
14388
|
+
symbol: "uniETH",
|
|
14389
|
+
id: "0x"
|
|
14390
|
+
}
|
|
14391
|
+
]
|
|
14392
|
+
},
|
|
14277
14393
|
{
|
|
14278
14394
|
bpt: "0xdE148e6cC3F6047EeD6E97238D341A2b8589e19E",
|
|
14279
14395
|
id: "0xde148e6cc3f6047eed6e97238d341a2b8589e19e000200000000000000000017",
|
|
@@ -15096,7 +15212,7 @@ var gnoPools_default2 = [
|
|
|
15096
15212
|
tokens: [
|
|
15097
15213
|
{
|
|
15098
15214
|
address: "0x4b1E2c2762667331Bc91648052F646d1b0d35984",
|
|
15099
|
-
symbol: "
|
|
15215
|
+
symbol: "EURA",
|
|
15100
15216
|
id: "0x"
|
|
15101
15217
|
},
|
|
15102
15218
|
{
|
|
@@ -15411,10 +15527,6 @@ var BAL = "0xba100000625a3754423978a60c9317c58a424e3D";
|
|
|
15411
15527
|
var WETH = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
|
|
15412
15528
|
var B_80BAL_20WETH = "0x5c6Ee304399DBdB9C8Ef030aB642B10820DB8F56";
|
|
15413
15529
|
var B_80BAL_20WETH_PID = "0x5c6ee304399dbdb9c8ef030ab642b10820db8f56000200000000000000000014";
|
|
15414
|
-
var bb_a_USD_v1 = "0x7B50775383d3D6f0215A8F290f2C9e2eEBBEceb2";
|
|
15415
|
-
var bb_a_USD_v2 = "0xA13a9247ea42D743238089903570127DdA72fE44";
|
|
15416
|
-
var bb_a_USD_v3 = "0xfeBb0bbf162E64fb9D0dfe186E517d84C395f016";
|
|
15417
|
-
var USDC = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
15418
15530
|
var deposit = (pool, tokens = pool.tokens) => {
|
|
15419
15531
|
const tokenAddresses = pool.tokens.map((token) => token.address).filter((address) => tokens.some((token) => token.address === address));
|
|
15420
15532
|
const tokenPoolIds = pool.tokens.filter(
|
|
@@ -15538,14 +15650,8 @@ var lock = () => {
|
|
|
15538
15650
|
allow.mainnet.balancer.vebal.increase_amount(),
|
|
15539
15651
|
allow.mainnet.balancer.vebal.increase_unlock_time(),
|
|
15540
15652
|
allow.mainnet.balancer.vebal.withdraw(),
|
|
15541
|
-
allow.mainnet.balancer.fee_distributor.claimToken(
|
|
15542
|
-
|
|
15543
|
-
c6.or(BAL, bb_a_USD_v1, bb_a_USD_v2, bb_a_USD_v3, USDC)
|
|
15544
|
-
),
|
|
15545
|
-
allow.mainnet.balancer.fee_distributor.claimTokens(
|
|
15546
|
-
c6.avatar,
|
|
15547
|
-
c6.subset([bb_a_USD_v1, bb_a_USD_v2, bb_a_USD_v3, BAL, USDC])
|
|
15548
|
-
)
|
|
15653
|
+
allow.mainnet.balancer.fee_distributor.claimToken(c6.avatar),
|
|
15654
|
+
allow.mainnet.balancer.fee_distributor.claimTokens(c6.avatar)
|
|
15549
15655
|
];
|
|
15550
15656
|
};
|
|
15551
15657
|
|
|
@@ -15561,10 +15667,10 @@ var findPool = (pools, nameIdOrBpt) => {
|
|
|
15561
15667
|
return pool;
|
|
15562
15668
|
};
|
|
15563
15669
|
var findToken3 = (pools, symbolOrAddress) => {
|
|
15564
|
-
const
|
|
15670
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
15565
15671
|
const tokens = pools.flatMap((pool) => [...pool.tokens]);
|
|
15566
15672
|
const token = tokens.find(
|
|
15567
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
15673
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.address.toLowerCase() === symbolOrAddressLower
|
|
15568
15674
|
);
|
|
15569
15675
|
if (!token) {
|
|
15570
15676
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -15775,10 +15881,10 @@ var findPool2 = (pools, nameOrAddressOrId) => {
|
|
|
15775
15881
|
return pool;
|
|
15776
15882
|
};
|
|
15777
15883
|
var findToken4 = (pools, symbolOrAddress) => {
|
|
15778
|
-
const
|
|
15884
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
15779
15885
|
const tokens = pools.flatMap((pool) => [...pool.tokens]);
|
|
15780
15886
|
const token = tokens.find(
|
|
15781
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
15887
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.address.toLowerCase() === symbolOrAddressLower
|
|
15782
15888
|
);
|
|
15783
15889
|
if (!token) {
|
|
15784
15890
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -16053,9 +16159,9 @@ var borrow = (token) => {
|
|
|
16053
16159
|
|
|
16054
16160
|
// src/protocols/compound/v2/index.ts
|
|
16055
16161
|
var findToken5 = (symbolOrAddress) => {
|
|
16056
|
-
const
|
|
16162
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
16057
16163
|
const token = info_default3.find(
|
|
16058
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
16164
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
|
|
16059
16165
|
);
|
|
16060
16166
|
if (!token) {
|
|
16061
16167
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -18057,6 +18163,97 @@ var info_default4 = [
|
|
|
18057
18163
|
crvLPToken: "0x8C24b3213FD851db80245FCCc42c40B94Ac9a745",
|
|
18058
18164
|
cvxDepositToken: "0xDB025419b9e8f1AD7eF3Eb732E143C1be64034A1",
|
|
18059
18165
|
rewarder: "0xB0408d1477554268Ece9b0a40290C345196fBf1B"
|
|
18166
|
+
},
|
|
18167
|
+
{
|
|
18168
|
+
name: '"pxveth"',
|
|
18169
|
+
id: "310",
|
|
18170
|
+
crvLPToken: "0x7F20EEa5bc667F4601E35af15868F3Bc6e447050",
|
|
18171
|
+
cvxDepositToken: "0x29F29CFEA71e412dDa053169Cb731Eadb83e6A27",
|
|
18172
|
+
rewarder: "0x947bbE8f08084BCa294c8bfa509C26241ddaa6C6"
|
|
18173
|
+
},
|
|
18174
|
+
{
|
|
18175
|
+
name: "fxUSDcrvUS",
|
|
18176
|
+
id: "311",
|
|
18177
|
+
crvLPToken: "0x8fFC7b89412eFD0D17EDEa2018F6634eA4C2FCb2",
|
|
18178
|
+
cvxDepositToken: "0x5D257CAC1164c39A46B7dC9E47c9855A13dc095C",
|
|
18179
|
+
rewarder: "0x65C57A4bbCb1A0E23A2ed8cAfbA5BA6133C8DaC8"
|
|
18180
|
+
},
|
|
18181
|
+
{
|
|
18182
|
+
name: "fxUSDpyUSD",
|
|
18183
|
+
id: "312",
|
|
18184
|
+
crvLPToken: "0xd6982da59F1D26476E259559508f4135135cf9b8",
|
|
18185
|
+
cvxDepositToken: "0xdFB4b6F781e8F722cBe0F6Ad19417B5e479cfD8a",
|
|
18186
|
+
rewarder: "0x18DB87dEE953BA34eb839739Cd6E2F2d01eEa471"
|
|
18187
|
+
},
|
|
18188
|
+
{
|
|
18189
|
+
name: "fxUSDDola",
|
|
18190
|
+
id: "313",
|
|
18191
|
+
crvLPToken: "0x189B4e49B5cAf33565095097b4B960F14032C7D0",
|
|
18192
|
+
cvxDepositToken: "0x6fb595e696b0A065415Fa5f047A69CBbEa40Db63",
|
|
18193
|
+
rewarder: "0x2ef1dA0368470B2603BAb392932E70205eEb9046"
|
|
18194
|
+
},
|
|
18195
|
+
{
|
|
18196
|
+
name: "fxUSDGrai",
|
|
18197
|
+
id: "314",
|
|
18198
|
+
crvLPToken: "0x69Cf42F15F9325986154b61A013da6E8feC82CCF",
|
|
18199
|
+
cvxDepositToken: "0xb7E924d4D836FeF4bFeE6D16fc71F83d2b9eAB99",
|
|
18200
|
+
rewarder: "0x2F7473369B5d21418B10543823a6a38BcE529908"
|
|
18201
|
+
},
|
|
18202
|
+
{
|
|
18203
|
+
name: "fxUSDFrax",
|
|
18204
|
+
id: "315",
|
|
18205
|
+
crvLPToken: "0x1EE81c56e42EC34039D993d12410d437DdeA341E",
|
|
18206
|
+
cvxDepositToken: "0x1AF31b777119cDfB22D7B2F4b7Da0E144f1e31Fb",
|
|
18207
|
+
rewarder: "0xfbb02DFA57C2eA0E6F5F2c260957d8656ab7A94a"
|
|
18208
|
+
},
|
|
18209
|
+
{
|
|
18210
|
+
name: "fxUSDGHO",
|
|
18211
|
+
id: "316",
|
|
18212
|
+
crvLPToken: "0x74345504Eaea3D9408fC69Ae7EB2d14095643c5b",
|
|
18213
|
+
cvxDepositToken: "0x3Abbaf4AC59f6e99AD96dc010DF472Cf4803d2ee",
|
|
18214
|
+
rewarder: "0x77e69Dc146C6044b996ad5c93D88D104Ee13F186"
|
|
18215
|
+
},
|
|
18216
|
+
{
|
|
18217
|
+
name: "crvDOLA",
|
|
18218
|
+
id: "317",
|
|
18219
|
+
crvLPToken: "0xef484de8C07B6e2d732A92B5F78e81B38f99f95E",
|
|
18220
|
+
cvxDepositToken: "0x430bE19e180fd8c2199eC5FAEabE2F5CDba68C94",
|
|
18221
|
+
rewarder: "0xE8cBdBFD4A1D776AB1146B63ABD1718b2F92a823"
|
|
18222
|
+
},
|
|
18223
|
+
{
|
|
18224
|
+
name: "CVGFRAXBP-f",
|
|
18225
|
+
id: "318",
|
|
18226
|
+
crvLPToken: "0x421E13b4e805993A0d50aD8c6c47A4F693f04424",
|
|
18227
|
+
cvxDepositToken: "0x3cB8E5cac768D6Dd3E7683dBC78E255aae66EDBB",
|
|
18228
|
+
rewarder: "0x0736b746F53826A1eEC888a05EBF592AF68946Db"
|
|
18229
|
+
},
|
|
18230
|
+
{
|
|
18231
|
+
name: "fxUSDmkUSD",
|
|
18232
|
+
id: "319",
|
|
18233
|
+
crvLPToken: "0xcA554E2e2948a211D4650Fe0F4E271f01f9cB5F1",
|
|
18234
|
+
cvxDepositToken: "0xb39DaC5860c475B66EA9610FDE6Eb001c35a81DB",
|
|
18235
|
+
rewarder: "0x99C9dd0a99A3e05997Ae9a2AB469a4e414C9d8fb"
|
|
18236
|
+
},
|
|
18237
|
+
{
|
|
18238
|
+
name: "fxUSDULTRA",
|
|
18239
|
+
id: "320",
|
|
18240
|
+
crvLPToken: "0xF33aB11E5C4e55DAcB13644f0C0A9d1e199A796F",
|
|
18241
|
+
cvxDepositToken: "0xe84D5287c3343CD332E0332CDCb89E7daf4428EA",
|
|
18242
|
+
rewarder: "0x9A0E529223a9c2fCD27aB4894F086eb97Ea4477A"
|
|
18243
|
+
},
|
|
18244
|
+
{
|
|
18245
|
+
name: "3payLlama",
|
|
18246
|
+
id: "321",
|
|
18247
|
+
crvLPToken: "0x2E1D500091ef244FDcB6b83C86143e28388E473A",
|
|
18248
|
+
cvxDepositToken: "0xEe6f2B88ffdC5EFCB28C99644ce1e43a2f0c9FE1",
|
|
18249
|
+
rewarder: "0x1c80ABEeF625267DDCCc8FB1Fd80BfBF8Da0DB39"
|
|
18250
|
+
},
|
|
18251
|
+
{
|
|
18252
|
+
name: "USDecrvUSD",
|
|
18253
|
+
id: "322",
|
|
18254
|
+
crvLPToken: "0xF55B0f6F2Da5ffDDb104b58a60F2862745960442",
|
|
18255
|
+
cvxDepositToken: "0xb8d67c2e2e98E7d18Fd775FC1EDf78e71b8eb4F1",
|
|
18256
|
+
rewarder: "0x8A684068E50dD174949ceB73041039158D3B366b"
|
|
18060
18257
|
}
|
|
18061
18258
|
];
|
|
18062
18259
|
|
|
@@ -19161,9 +19358,9 @@ var borrowEther3 = () => {
|
|
|
19161
19358
|
|
|
19162
19359
|
// src/protocols/spark/index.ts
|
|
19163
19360
|
var findToken6 = (symbolOrAddress) => {
|
|
19164
|
-
const
|
|
19361
|
+
const symbolOrAddressLower = symbolOrAddress.toLowerCase();
|
|
19165
19362
|
const token = info_default6.find(
|
|
19166
|
-
(token2) => token2.symbol.toLowerCase() ===
|
|
19363
|
+
(token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
|
|
19167
19364
|
);
|
|
19168
19365
|
if (!token) {
|
|
19169
19366
|
throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
|
|
@@ -19204,7 +19401,71 @@ var eth13 = {
|
|
|
19204
19401
|
]
|
|
19205
19402
|
};
|
|
19206
19403
|
|
|
19207
|
-
// src/protocols/
|
|
19404
|
+
// src/protocols/stakewise/v2/_ethPools.ts
|
|
19405
|
+
var ethPools_default3 = [
|
|
19406
|
+
{
|
|
19407
|
+
name: "ETH-sETH2 0.3%",
|
|
19408
|
+
address: "0x7379e81228514a1D2a6Cf7559203998E20598346",
|
|
19409
|
+
fee: "0.3%",
|
|
19410
|
+
tokens: [
|
|
19411
|
+
{
|
|
19412
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
19413
|
+
symbol: "WETH"
|
|
19414
|
+
},
|
|
19415
|
+
{
|
|
19416
|
+
address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
|
|
19417
|
+
symbol: "sETH2"
|
|
19418
|
+
}
|
|
19419
|
+
]
|
|
19420
|
+
},
|
|
19421
|
+
{
|
|
19422
|
+
name: "rETH2-sETH2 0.05%",
|
|
19423
|
+
address: "0xa9ffb27d36901F87f1D0F20773f7072e38C5bfbA",
|
|
19424
|
+
fee: "0.05%",
|
|
19425
|
+
tokens: [
|
|
19426
|
+
{
|
|
19427
|
+
address: "0x20BC832ca081b91433ff6c17f85701B6e92486c5",
|
|
19428
|
+
symbol: "rETH2"
|
|
19429
|
+
},
|
|
19430
|
+
{
|
|
19431
|
+
address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
|
|
19432
|
+
symbol: "sETH2"
|
|
19433
|
+
}
|
|
19434
|
+
]
|
|
19435
|
+
},
|
|
19436
|
+
{
|
|
19437
|
+
name: "SWISE-ETH 0.3%",
|
|
19438
|
+
fee: "0.3%",
|
|
19439
|
+
address: "0x2aF41D838763E3c5cad6AdC111af9c5dA19B9AFa",
|
|
19440
|
+
tokens: [
|
|
19441
|
+
{
|
|
19442
|
+
address: "0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2",
|
|
19443
|
+
symbol: "SWISE"
|
|
19444
|
+
},
|
|
19445
|
+
{
|
|
19446
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
19447
|
+
symbol: "WETH"
|
|
19448
|
+
}
|
|
19449
|
+
]
|
|
19450
|
+
},
|
|
19451
|
+
{
|
|
19452
|
+
name: "SWISE-sETH2 0.3%",
|
|
19453
|
+
fee: "0.3%",
|
|
19454
|
+
address: "0x992f534fcc87864875224d142d6Bf054B1882160",
|
|
19455
|
+
tokens: [
|
|
19456
|
+
{
|
|
19457
|
+
address: "0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2",
|
|
19458
|
+
symbol: "SWISE"
|
|
19459
|
+
},
|
|
19460
|
+
{
|
|
19461
|
+
address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
|
|
19462
|
+
symbol: "sETH2"
|
|
19463
|
+
}
|
|
19464
|
+
]
|
|
19465
|
+
}
|
|
19466
|
+
];
|
|
19467
|
+
|
|
19468
|
+
// src/protocols/uniswap/v3/_ethInfo.ts
|
|
19208
19469
|
var ethInfo_default = [
|
|
19209
19470
|
{
|
|
19210
19471
|
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
@@ -20444,7 +20705,7 @@ var ethInfo_default = [
|
|
|
20444
20705
|
}
|
|
20445
20706
|
];
|
|
20446
20707
|
|
|
20447
|
-
// src/protocols/
|
|
20708
|
+
// src/protocols/uniswap/v3/utils.ts
|
|
20448
20709
|
var sdk3 = getMainnetSdk(
|
|
20449
20710
|
process.env.NODE_ENV === "test" ? getProvider() : ethProvider
|
|
20450
20711
|
);
|
|
@@ -20470,18 +20731,28 @@ var queryTokens = async (nftIds) => {
|
|
|
20470
20731
|
return [...result];
|
|
20471
20732
|
};
|
|
20472
20733
|
|
|
20473
|
-
// src/protocols/
|
|
20734
|
+
// src/protocols/uniswap/v3/index.ts
|
|
20474
20735
|
import { c as c14 } from "zodiac-roles-sdk";
|
|
20475
20736
|
import { BigNumber as BigNumber4 } from "ethers";
|
|
20476
20737
|
var ZERO_ADDRESS3 = "0x0000000000000000000000000000000000000000";
|
|
20738
|
+
var FeeMapping = {
|
|
20739
|
+
"0.01%": 100,
|
|
20740
|
+
"0.05%": 500,
|
|
20741
|
+
"0.3%": 3e3,
|
|
20742
|
+
"1%": 1e4
|
|
20743
|
+
};
|
|
20477
20744
|
var eth14 = {
|
|
20478
20745
|
deposit: async ({
|
|
20479
20746
|
targets,
|
|
20480
|
-
tokens
|
|
20747
|
+
tokens,
|
|
20748
|
+
fees
|
|
20481
20749
|
}) => {
|
|
20482
20750
|
if (!targets && !tokens) {
|
|
20483
20751
|
throw new Error("Either `targets` or `tokens` must be specified.");
|
|
20484
20752
|
}
|
|
20753
|
+
const mintFees = (fees == null ? void 0 : fees.map((fee) => FeeMapping[fee])) || void 0;
|
|
20754
|
+
console.log("mintFees: ", mintFees);
|
|
20755
|
+
console.log("tokens: ", tokens);
|
|
20485
20756
|
const nftIds = targets && targets.map((target) => {
|
|
20486
20757
|
try {
|
|
20487
20758
|
return BigNumber4.from(target);
|
|
@@ -20503,7 +20774,8 @@ var eth14 = {
|
|
|
20503
20774
|
{
|
|
20504
20775
|
recipient: c14.avatar,
|
|
20505
20776
|
token0: oneOf(mintTokenAddresses),
|
|
20506
|
-
token1: oneOf(mintTokenAddresses)
|
|
20777
|
+
token1: oneOf(mintTokenAddresses),
|
|
20778
|
+
fee: mintFees ? oneOf(mintFees) : void 0
|
|
20507
20779
|
},
|
|
20508
20780
|
{
|
|
20509
20781
|
send: true
|
|
@@ -20549,6 +20821,43 @@ var eth14 = {
|
|
|
20549
20821
|
}
|
|
20550
20822
|
};
|
|
20551
20823
|
|
|
20824
|
+
// src/protocols/stakewise/v2/index.ts
|
|
20825
|
+
import { c as c15 } from "zodiac-roles-sdk";
|
|
20826
|
+
var findPool4 = (pools, nameOrAddress) => {
|
|
20827
|
+
const nameOrAddressLower = nameOrAddress.toLowerCase();
|
|
20828
|
+
const pool = pools.find(
|
|
20829
|
+
(pool2) => pool2.name.toLowerCase() === nameOrAddressLower || pool2.address.toLowerCase() === nameOrAddressLower
|
|
20830
|
+
);
|
|
20831
|
+
if (!pool) {
|
|
20832
|
+
throw new NotFoundError(`Pool not found: ${nameOrAddress}`);
|
|
20833
|
+
}
|
|
20834
|
+
return pool;
|
|
20835
|
+
};
|
|
20836
|
+
var eth15 = {
|
|
20837
|
+
deposit: async ({
|
|
20838
|
+
targets
|
|
20839
|
+
}) => {
|
|
20840
|
+
const univ3Permissions = await Promise.all(
|
|
20841
|
+
targets.map(
|
|
20842
|
+
(target) => {
|
|
20843
|
+
var _a, _b;
|
|
20844
|
+
return eth14.deposit({
|
|
20845
|
+
tokens: (_a = findPool4(ethPools_default3, target)) == null ? void 0 : _a.tokens.map(
|
|
20846
|
+
(token) => token.symbol
|
|
20847
|
+
),
|
|
20848
|
+
fees: [(_b = findPool4(ethPools_default3, target)) == null ? void 0 : _b.fee]
|
|
20849
|
+
});
|
|
20850
|
+
}
|
|
20851
|
+
)
|
|
20852
|
+
);
|
|
20853
|
+
const permissions = univ3Permissions.flat();
|
|
20854
|
+
permissions.push(
|
|
20855
|
+
allow.mainnet.stakewise_v2.merkle_distributor.claim(void 0, c15.avatar)
|
|
20856
|
+
);
|
|
20857
|
+
return permissions;
|
|
20858
|
+
}
|
|
20859
|
+
};
|
|
20860
|
+
|
|
20552
20861
|
// src/protocols/annotate.ts
|
|
20553
20862
|
var annotate = (actionFunction, path) => {
|
|
20554
20863
|
const annotated = async (params) => {
|
|
@@ -20581,7 +20890,7 @@ var annotateAll = (actions, chainPrefix) => {
|
|
|
20581
20890
|
};
|
|
20582
20891
|
|
|
20583
20892
|
// src/protocols/index.ts
|
|
20584
|
-
var
|
|
20893
|
+
var eth16 = annotateAll(
|
|
20585
20894
|
{
|
|
20586
20895
|
aave_v2: eth,
|
|
20587
20896
|
aave_v3: eth2,
|
|
@@ -20597,6 +20906,7 @@ var eth15 = annotateAll(
|
|
|
20597
20906
|
rocket_pool: eth11,
|
|
20598
20907
|
spark: eth12,
|
|
20599
20908
|
stader: eth13,
|
|
20909
|
+
stakewise_v2: eth15,
|
|
20600
20910
|
uniswap_v3: eth14
|
|
20601
20911
|
},
|
|
20602
20912
|
"eth"
|
|
@@ -20625,7 +20935,7 @@ var zDelegateToken = z.enum([
|
|
|
20625
20935
|
...delegateTokens_default.map((token) => token.address)
|
|
20626
20936
|
]);
|
|
20627
20937
|
var zDelegatee = zx.address();
|
|
20628
|
-
var
|
|
20938
|
+
var eth17 = {
|
|
20629
20939
|
deposit: z.object({
|
|
20630
20940
|
targets: zToken.array()
|
|
20631
20941
|
}),
|
|
@@ -20657,7 +20967,7 @@ var zDelegateToken2 = z2.enum([
|
|
|
20657
20967
|
...delegateTokens_default.map((token) => token.address)
|
|
20658
20968
|
]);
|
|
20659
20969
|
var zDelegatee2 = zx.address();
|
|
20660
|
-
var
|
|
20970
|
+
var eth18 = {
|
|
20661
20971
|
deposit: z2.object({
|
|
20662
20972
|
targets: zToken2.array()
|
|
20663
20973
|
}),
|
|
@@ -20675,7 +20985,7 @@ var eth17 = {
|
|
|
20675
20985
|
|
|
20676
20986
|
// src/protocols/ankr/schema.ts
|
|
20677
20987
|
import { z as z3 } from "zod";
|
|
20678
|
-
var
|
|
20988
|
+
var eth19 = {
|
|
20679
20989
|
deposit: z3.object({})
|
|
20680
20990
|
};
|
|
20681
20991
|
|
|
@@ -20707,7 +21017,7 @@ var zStakeToken3 = z4.enum([
|
|
|
20707
21017
|
...stakeTokens_default2.map((token) => token.symbol),
|
|
20708
21018
|
...stakeTokens_default2.map((token) => token.address)
|
|
20709
21019
|
]);
|
|
20710
|
-
var
|
|
21020
|
+
var eth20 = {
|
|
20711
21021
|
deposit: z4.object({
|
|
20712
21022
|
targets: zEthPool.array(),
|
|
20713
21023
|
tokens: zEthToken.array().optional()
|
|
@@ -20741,7 +21051,7 @@ var zPool = z5.enum([
|
|
|
20741
21051
|
...ethPools_default2.map((pool) => pool.id)
|
|
20742
21052
|
]);
|
|
20743
21053
|
var zToken3 = z5.enum(ethTokens2);
|
|
20744
|
-
var
|
|
21054
|
+
var eth21 = {
|
|
20745
21055
|
deposit: z5.object({
|
|
20746
21056
|
targets: zPool.array(),
|
|
20747
21057
|
tokens: zToken3.array().optional()
|
|
@@ -20763,7 +21073,7 @@ var zToken4 = z6.enum([
|
|
|
20763
21073
|
...info_default3.map((token) => token.symbol),
|
|
20764
21074
|
...info_default3.map((token) => token.token)
|
|
20765
21075
|
]);
|
|
20766
|
-
var
|
|
21076
|
+
var eth22 = {
|
|
20767
21077
|
deposit: z6.object({
|
|
20768
21078
|
targets: zToken4.array()
|
|
20769
21079
|
}),
|
|
@@ -20783,7 +21093,7 @@ var zStakeToken4 = z7.enum([
|
|
|
20783
21093
|
...stakeTokens_default3.map((token) => token.symbol),
|
|
20784
21094
|
...stakeTokens_default3.map((token) => token.address)
|
|
20785
21095
|
]);
|
|
20786
|
-
var
|
|
21096
|
+
var eth23 = {
|
|
20787
21097
|
deposit: z7.object({
|
|
20788
21098
|
targets: zPool2.array()
|
|
20789
21099
|
}),
|
|
@@ -20799,7 +21109,7 @@ var swap2 = z8.object({
|
|
|
20799
21109
|
sell: zx.address().array(),
|
|
20800
21110
|
buy: zx.address().array().optional()
|
|
20801
21111
|
});
|
|
20802
|
-
var
|
|
21112
|
+
var eth24 = {
|
|
20803
21113
|
swap: swap2
|
|
20804
21114
|
};
|
|
20805
21115
|
var gno5 = {
|
|
@@ -20808,13 +21118,13 @@ var gno5 = {
|
|
|
20808
21118
|
|
|
20809
21119
|
// src/protocols/lido/schema.ts
|
|
20810
21120
|
import { z as z9 } from "zod";
|
|
20811
|
-
var
|
|
21121
|
+
var eth25 = {
|
|
20812
21122
|
deposit: z9.object({})
|
|
20813
21123
|
};
|
|
20814
21124
|
|
|
20815
21125
|
// src/protocols/maker/schema.ts
|
|
20816
21126
|
import { z as z10 } from "zod";
|
|
20817
|
-
var
|
|
21127
|
+
var eth26 = {
|
|
20818
21128
|
deposit: z10.object({
|
|
20819
21129
|
targets: z10.string().array().optional(),
|
|
20820
21130
|
avatar: zx.address()
|
|
@@ -20827,7 +21137,7 @@ var eth25 = {
|
|
|
20827
21137
|
|
|
20828
21138
|
// src/protocols/rocket_pool/schema.ts
|
|
20829
21139
|
import { z as z11 } from "zod";
|
|
20830
|
-
var
|
|
21140
|
+
var eth27 = {
|
|
20831
21141
|
deposit: z11.object({})
|
|
20832
21142
|
};
|
|
20833
21143
|
|
|
@@ -20838,7 +21148,7 @@ var zToken5 = z12.enum([
|
|
|
20838
21148
|
"DSR_sDAI",
|
|
20839
21149
|
...info_default6.map((token) => token.token)
|
|
20840
21150
|
]);
|
|
20841
|
-
var
|
|
21151
|
+
var eth28 = {
|
|
20842
21152
|
deposit: z12.object({
|
|
20843
21153
|
targets: zToken5.array()
|
|
20844
21154
|
}),
|
|
@@ -20849,40 +21159,61 @@ var eth27 = {
|
|
|
20849
21159
|
|
|
20850
21160
|
// src/protocols/stader/schema.ts
|
|
20851
21161
|
import { z as z13 } from "zod";
|
|
20852
|
-
var
|
|
21162
|
+
var eth29 = {
|
|
20853
21163
|
deposit: z13.object({})
|
|
20854
21164
|
};
|
|
20855
21165
|
|
|
20856
|
-
// src/protocols/
|
|
21166
|
+
// src/protocols/stakewise/v2/schema.ts
|
|
20857
21167
|
import { z as z14 } from "zod";
|
|
21168
|
+
var zEthPool2 = z14.enum([
|
|
21169
|
+
...ethPools_default3.map((pool) => pool.name),
|
|
21170
|
+
...ethPools_default3.map((pool) => pool.address)
|
|
21171
|
+
]);
|
|
21172
|
+
var eth30 = {
|
|
21173
|
+
deposit: z14.object({
|
|
21174
|
+
targets: zEthPool2.array()
|
|
21175
|
+
}),
|
|
21176
|
+
stake: z14.object({})
|
|
21177
|
+
};
|
|
21178
|
+
|
|
21179
|
+
// src/protocols/uniswap/v3/schema.ts
|
|
21180
|
+
import { z as z15 } from "zod";
|
|
21181
|
+
|
|
21182
|
+
// src/protocols/uniswap/v3/types.ts
|
|
21183
|
+
var FEES = ["0.01%", "0.05%", "0.3%", "1%"];
|
|
21184
|
+
|
|
21185
|
+
// src/protocols/uniswap/v3/schema.ts
|
|
20858
21186
|
var ethTokens3 = [
|
|
20859
21187
|
...new Set(ethInfo_default.flatMap((token) => [token.address, token.symbol]))
|
|
20860
21188
|
];
|
|
20861
|
-
var zToken6 =
|
|
20862
|
-
var
|
|
20863
|
-
|
|
20864
|
-
|
|
20865
|
-
|
|
21189
|
+
var zToken6 = z15.enum(ethTokens3);
|
|
21190
|
+
var zFee = z15.enum(FEES);
|
|
21191
|
+
var eth31 = {
|
|
21192
|
+
deposit: z15.object({
|
|
21193
|
+
targets: z15.string().array().optional(),
|
|
21194
|
+
tokens: zToken6.array().optional(),
|
|
21195
|
+
fees: zFee.array().optional()
|
|
20866
21196
|
})
|
|
20867
21197
|
};
|
|
20868
21198
|
|
|
20869
21199
|
// src/protocols/schema.ts
|
|
20870
|
-
var
|
|
20871
|
-
aave_v2:
|
|
20872
|
-
aave_v3:
|
|
20873
|
-
ankr:
|
|
20874
|
-
aura:
|
|
20875
|
-
balancer:
|
|
20876
|
-
compound_v2:
|
|
21200
|
+
var eth32 = {
|
|
21201
|
+
aave_v2: eth17,
|
|
21202
|
+
aave_v3: eth18,
|
|
21203
|
+
ankr: eth19,
|
|
21204
|
+
aura: eth20,
|
|
21205
|
+
balancer: eth21,
|
|
21206
|
+
compound_v2: eth22,
|
|
20877
21207
|
// compound_v3: compound_v3.eth,
|
|
20878
|
-
convex:
|
|
20879
|
-
cowswap:
|
|
20880
|
-
lido:
|
|
20881
|
-
maker:
|
|
20882
|
-
rocket_pool:
|
|
20883
|
-
spark:
|
|
20884
|
-
stader:
|
|
20885
|
-
|
|
21208
|
+
convex: eth23,
|
|
21209
|
+
cowswap: eth24,
|
|
21210
|
+
lido: eth25,
|
|
21211
|
+
maker: eth26,
|
|
21212
|
+
rocket_pool: eth27,
|
|
21213
|
+
spark: eth28,
|
|
21214
|
+
stader: eth29,
|
|
21215
|
+
stakewise_v2: eth30,
|
|
21216
|
+
uniswap_v3: eth31
|
|
20886
21217
|
};
|
|
20887
21218
|
var gno6 = {
|
|
20888
21219
|
aura: gno4,
|
|
@@ -21018,11 +21349,11 @@ var asTxBuilderInputValues = (result) => {
|
|
|
21018
21349
|
};
|
|
21019
21350
|
|
|
21020
21351
|
export {
|
|
21021
|
-
|
|
21352
|
+
eth16 as eth,
|
|
21022
21353
|
gno3 as gno,
|
|
21023
|
-
|
|
21354
|
+
eth32 as eth2,
|
|
21024
21355
|
gno6 as gno2,
|
|
21025
21356
|
createApply,
|
|
21026
21357
|
createExportToSafeTransactionBuilder
|
|
21027
21358
|
};
|
|
21028
|
-
//# sourceMappingURL=chunk-
|
|
21359
|
+
//# sourceMappingURL=chunk-NXW3A7MQ.mjs.map
|