defi-kit 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gno.js CHANGED
@@ -6594,6 +6594,18 @@ var user_withdraw_manager_default = [{ inputs: [], stateMutability: "nonpayable"
6594
6594
  // eth-sdk/abis/mainnet/stader/ETHx.json
6595
6595
  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" }];
6596
6596
 
6597
+ // eth-sdk/abis/mainnet/stakewise_v2/merkle_distributor.json
6598
+ 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" }];
6599
+
6600
+ // eth-sdk/abis/mainnet/stakewise_v2/seth2.json
6601
+ 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" }];
6602
+
6603
+ // eth-sdk/abis/mainnet/stakewise_v2/reth2.json
6604
+ 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" }];
6605
+
6606
+ // eth-sdk/abis/mainnet/stakewise_v2/swise.json
6607
+ 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" }];
6608
+
6597
6609
  // eth-sdk/abis/mainnet/uniswap_v3/positions_nft.json
6598
6610
  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" }];
6599
6611
 
@@ -7720,6 +7732,12 @@ function getMainnetSdk(defaultSignerOrProvider) {
7720
7732
  "user_withdraw_manager": getContract("0x9F0491B32DBce587c50c4C43AB303b06478193A7", user_withdraw_manager_default, defaultSignerOrProvider),
7721
7733
  "ETHx": getContract("0xA35b1B31Ce002FBF2058D22F30f95D405200A15b", ETHx_default, defaultSignerOrProvider)
7722
7734
  },
7735
+ "stakewise_v2": {
7736
+ "merkle_distributor": getContract("0xA3F21010e8b9a3930996C8849Df38f9Ca3647c20", merkle_distributor_default, defaultSignerOrProvider),
7737
+ "seth2": getContract("0xFe2e637202056d30016725477c5da089Ab0A043A", seth2_default, defaultSignerOrProvider),
7738
+ "reth2": getContract("0x20BC832ca081b91433ff6c17f85701B6e92486c5", reth2_default, defaultSignerOrProvider),
7739
+ "swise": getContract("0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2", swise_default, defaultSignerOrProvider)
7740
+ },
7723
7741
  "uniswap_v3": {
7724
7742
  "positions_nft": getContract("0xC36442b4a4522E871399CD717aBDD847Ab11FE88", positions_nft_default, defaultSignerOrProvider),
7725
7743
  "factory": getContract("0x1F98431c8aD98523631AE4a59f267346ea31F984", factory_default, defaultSignerOrProvider),
@@ -8044,6 +8062,12 @@ var contracts = {
8044
8062
  user_withdraw_manager: "0x9F0491B32DBce587c50c4C43AB303b06478193A7",
8045
8063
  ETHx: "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b"
8046
8064
  },
8065
+ stakewise_v2: {
8066
+ merkle_distributor: "0xA3F21010e8b9a3930996C8849Df38f9Ca3647c20",
8067
+ seth2: "0xFe2e637202056d30016725477c5da089Ab0A043A",
8068
+ reth2: "0x20BC832ca081b91433ff6c17f85701B6e92486c5",
8069
+ swise: "0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2"
8070
+ },
8047
8071
  uniswap_v3: {
8048
8072
  positions_nft: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88",
8049
8073
  factory: "0x1F98431c8aD98523631AE4a59f267346ea31F984",
@@ -8226,9 +8250,9 @@ var delegate = (token, delegatee) => {
8226
8250
 
8227
8251
  // src/protocols/aave/v2/index.ts
8228
8252
  var findToken = (symbolOrAddress) => {
8229
- const nameOrAddressLower = symbolOrAddress.toLowerCase();
8253
+ const symbolOrAddressLower = symbolOrAddress.toLowerCase();
8230
8254
  const token = info_default.find(
8231
- (token2) => token2.symbol.toLowerCase() === nameOrAddressLower || token2.token.toLowerCase() === nameOrAddressLower
8255
+ (token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
8232
8256
  );
8233
8257
  if (!token) {
8234
8258
  throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
@@ -8725,9 +8749,9 @@ var borrowEther2 = () => {
8725
8749
 
8726
8750
  // src/protocols/aave/v3/index.ts
8727
8751
  var findToken2 = (symbolOrAddress) => {
8728
- const nameOrAddressLower = symbolOrAddress.toLowerCase();
8752
+ const symbolOrAddressLower = symbolOrAddress.toLowerCase();
8729
8753
  const token = info_default2.find(
8730
- (token2) => token2.symbol.toLowerCase() === nameOrAddressLower || token2.token.toLowerCase() === nameOrAddressLower
8754
+ (token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
8731
8755
  );
8732
8756
  if (!token) {
8733
8757
  throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
@@ -11059,6 +11083,25 @@ var ethPools_default2 = [
11059
11083
  }
11060
11084
  ]
11061
11085
  },
11086
+ {
11087
+ bpt: "0x0F9FdC4D883f6D85b68CE1B8b96AA706A3538e5B",
11088
+ id: "0x0f9fdc4d883f6d85b68ce1b8b96aa706a3538e5b000200000000000000000675",
11089
+ name: "80gVEC-20vETH",
11090
+ type: "Weighted",
11091
+ gauge: null,
11092
+ tokens: [
11093
+ {
11094
+ address: "0x38D64ce1Bdf1A9f24E0Ec469C9cAde61236fB4a0",
11095
+ symbol: "vETH",
11096
+ id: "0x"
11097
+ },
11098
+ {
11099
+ address: "0xb2D007293a421471586D6BC3FBfEB1990fdFa2e6",
11100
+ symbol: "gVEC",
11101
+ id: "0x"
11102
+ }
11103
+ ]
11104
+ },
11062
11105
  {
11063
11106
  bpt: "0x100A6a9524541E92dd068a9cd3E5DEF16388Fec0",
11064
11107
  id: "0x100a6a9524541e92dd068a9cd3e5def16388fec0000200000000000000000213",
@@ -12142,6 +12185,25 @@ var ethPools_default2 = [
12142
12185
  }
12143
12186
  ]
12144
12187
  },
12188
+ {
12189
+ bpt: "0x57766212638c425e9CB0C6D6e1683dda369C0FFF",
12190
+ id: "0x57766212638c425e9cb0c6d6e1683dda369c0fff000200000000000000000678",
12191
+ name: "80GEM-20WETH",
12192
+ type: "Weighted",
12193
+ gauge: null,
12194
+ tokens: [
12195
+ {
12196
+ address: "0x0447D3454b25935eeD47F65b4Bd22b9b23bE326a",
12197
+ symbol: "GEM",
12198
+ id: "0x"
12199
+ },
12200
+ {
12201
+ address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
12202
+ symbol: "WETH",
12203
+ id: "0x"
12204
+ }
12205
+ ]
12206
+ },
12145
12207
  {
12146
12208
  bpt: "0x577A7f7EE659Aa14Dc16FD384B3F8078E23F1920",
12147
12209
  id: "0x577a7f7ee659aa14dc16fd384b3f8078e23f1920000200000000000000000633",
@@ -15189,7 +15251,7 @@ var gnoPools_default2 = [
15189
15251
  id: "0x7644fa5d0ea14fcf3e813fdf93ca9544f8567655000000000000000000000066",
15190
15252
  name: "sBAL3",
15191
15253
  type: "ComposableStable",
15192
- gauge: null,
15254
+ gauge: "0xDec0362b3229690fBe4f88c57472610588Bb9A2E",
15193
15255
  tokens: [
15194
15256
  {
15195
15257
  address: "0x4ECaBa5870353805a9F068101A40E0f32ed605C6",
@@ -15232,7 +15294,7 @@ var gnoPools_default2 = [
15232
15294
  id: "0xa99fd9950b5d5dceeaf4939e221dca8ca9b938ab000100000000000000000025",
15233
15295
  name: "25WETH-25BAL-25GNO-25wxDAI",
15234
15296
  type: "Weighted",
15235
- gauge: null,
15297
+ gauge: "0xC092E0a4f5a2AdF3CF91E27cf4B7d7917D12CA2B",
15236
15298
  tokens: [
15237
15299
  {
15238
15300
  address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
@@ -15261,7 +15323,7 @@ var gnoPools_default2 = [
15261
15323
  id: "0xb8bb1ce9c6e5401d66fe2126db6e7387e1e24ffe00020000000000000000003d",
15262
15324
  name: "50WETH-50GNO",
15263
15325
  type: "Weighted",
15264
- gauge: null,
15326
+ gauge: "0xd264f4d4Ad98FEf4b198547059C07a8E8bBF2F0E",
15265
15327
  tokens: [
15266
15328
  {
15267
15329
  address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
@@ -15280,7 +15342,7 @@ var gnoPools_default2 = [
15280
15342
  id: "0xbad20c15a773bf03ab973302f61fabcea5101f0a000000000000000000000034",
15281
15343
  name: "bb-WETH-wstETH",
15282
15344
  type: "ComposableStable",
15283
- gauge: null,
15345
+ gauge: "0x27519F69b2Ac912aeb6fE066180FB25a17c71755",
15284
15346
  tokens: [
15285
15347
  {
15286
15348
  address: "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
@@ -15299,7 +15361,7 @@ var gnoPools_default2 = [
15299
15361
  id: "0xbc2acf5e821c5c9f8667a36bb1131dad26ed64f9000200000000000000000063",
15300
15362
  name: "B-50sDAI-50wstETH",
15301
15363
  type: "Weighted",
15302
- gauge: null,
15364
+ gauge: "0x4d13d387f372dbe5125B7d78E75094ac85B31eDc",
15303
15365
  tokens: [
15304
15366
  {
15305
15367
  address: "0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6",
@@ -15337,7 +15399,7 @@ var gnoPools_default2 = [
15337
15399
  id: "0xc9f00c3a713008ddf69b768d90d4978549bfdf9400000000000000000000006d",
15338
15400
  name: "crvUSD/sDAI",
15339
15401
  type: "ComposableStable",
15340
- gauge: null,
15402
+ gauge: "0xB079bD76dD9b5F9a8d3954E4250FC25BE0549Ac0",
15341
15403
  tokens: [
15342
15404
  {
15343
15405
  address: "0xaBEf652195F98A91E490f047A5006B71c85f058d",
@@ -15356,7 +15418,7 @@ var gnoPools_default2 = [
15356
15418
  id: "0xdd439304a77f54b1f7854751ac1169b279591ef7000000000000000000000064",
15357
15419
  name: "EURe/sDAI",
15358
15420
  type: "ComposableStable",
15359
- gauge: null,
15421
+ gauge: "0xBB2598b89202596A743BE0b615001D7D5164f167",
15360
15422
  tokens: [
15361
15423
  {
15362
15424
  address: "0xaf204776c7245bF4147c2612BF6e5972Ee483701",
@@ -15394,7 +15456,7 @@ var gnoPools_default2 = [
15394
15456
  id: "0xeb30c85cc528537f5350cf5684ce6a4538e13394000200000000000000000059",
15395
15457
  name: "B-50USD-50wstETH",
15396
15458
  type: "Weighted",
15397
- gauge: null,
15459
+ gauge: "0xef23C2Ec60A1ea3Ed6a44681Fb72356cB411177e",
15398
15460
  tokens: [
15399
15461
  {
15400
15462
  address: "0x2086f52651837600180dE173B09470F54EF74910",
@@ -15600,10 +15662,10 @@ var findPool = (pools, nameIdOrBpt) => {
15600
15662
  return pool;
15601
15663
  };
15602
15664
  var findToken3 = (pools, symbolOrAddress) => {
15603
- const nameOrAddressOrIdLower = symbolOrAddress.toLowerCase();
15665
+ const symbolOrAddressLower = symbolOrAddress.toLowerCase();
15604
15666
  const tokens = pools.flatMap((pool) => [...pool.tokens]);
15605
15667
  const token = tokens.find(
15606
- (token2) => token2.symbol.toLowerCase() === nameOrAddressOrIdLower || token2.address.toLowerCase() === nameOrAddressOrIdLower
15668
+ (token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.address.toLowerCase() === symbolOrAddressLower
15607
15669
  );
15608
15670
  if (!token) {
15609
15671
  throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
@@ -15814,10 +15876,10 @@ var findPool2 = (pools, nameOrAddressOrId) => {
15814
15876
  return pool;
15815
15877
  };
15816
15878
  var findToken4 = (pools, symbolOrAddress) => {
15817
- const nameOrAddressOrIdLower = symbolOrAddress.toLowerCase();
15879
+ const symbolOrAddressLower = symbolOrAddress.toLowerCase();
15818
15880
  const tokens = pools.flatMap((pool) => [...pool.tokens]);
15819
15881
  const token = tokens.find(
15820
- (token2) => token2.symbol.toLowerCase() === nameOrAddressOrIdLower || token2.address.toLowerCase() === nameOrAddressOrIdLower
15882
+ (token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.address.toLowerCase() === symbolOrAddressLower
15821
15883
  );
15822
15884
  if (!token) {
15823
15885
  throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
@@ -16092,9 +16154,9 @@ var borrow = (token) => {
16092
16154
 
16093
16155
  // src/protocols/compound/v2/index.ts
16094
16156
  var findToken5 = (symbolOrAddress) => {
16095
- const nameOrAddressLower = symbolOrAddress.toLowerCase();
16157
+ const symbolOrAddressLower = symbolOrAddress.toLowerCase();
16096
16158
  const token = info_default3.find(
16097
- (token2) => token2.symbol.toLowerCase() === nameOrAddressLower || token2.token.toLowerCase() === nameOrAddressLower
16159
+ (token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
16098
16160
  );
16099
16161
  if (!token) {
16100
16162
  throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
@@ -18096,6 +18158,62 @@ var info_default4 = [
18096
18158
  crvLPToken: "0x8C24b3213FD851db80245FCCc42c40B94Ac9a745",
18097
18159
  cvxDepositToken: "0xDB025419b9e8f1AD7eF3Eb732E143C1be64034A1",
18098
18160
  rewarder: "0xB0408d1477554268Ece9b0a40290C345196fBf1B"
18161
+ },
18162
+ {
18163
+ name: '"pxveth"',
18164
+ id: "310",
18165
+ crvLPToken: "0x7F20EEa5bc667F4601E35af15868F3Bc6e447050",
18166
+ cvxDepositToken: "0x29F29CFEA71e412dDa053169Cb731Eadb83e6A27",
18167
+ rewarder: "0x947bbE8f08084BCa294c8bfa509C26241ddaa6C6"
18168
+ },
18169
+ {
18170
+ name: "fxUSDcrvUS",
18171
+ id: "311",
18172
+ crvLPToken: "0x8fFC7b89412eFD0D17EDEa2018F6634eA4C2FCb2",
18173
+ cvxDepositToken: "0x5D257CAC1164c39A46B7dC9E47c9855A13dc095C",
18174
+ rewarder: "0x65C57A4bbCb1A0E23A2ed8cAfbA5BA6133C8DaC8"
18175
+ },
18176
+ {
18177
+ name: "fxUSDpyUSD",
18178
+ id: "312",
18179
+ crvLPToken: "0xd6982da59F1D26476E259559508f4135135cf9b8",
18180
+ cvxDepositToken: "0xdFB4b6F781e8F722cBe0F6Ad19417B5e479cfD8a",
18181
+ rewarder: "0x18DB87dEE953BA34eb839739Cd6E2F2d01eEa471"
18182
+ },
18183
+ {
18184
+ name: "fxUSDDola",
18185
+ id: "313",
18186
+ crvLPToken: "0x189B4e49B5cAf33565095097b4B960F14032C7D0",
18187
+ cvxDepositToken: "0x6fb595e696b0A065415Fa5f047A69CBbEa40Db63",
18188
+ rewarder: "0x2ef1dA0368470B2603BAb392932E70205eEb9046"
18189
+ },
18190
+ {
18191
+ name: "fxUSDGrai",
18192
+ id: "314",
18193
+ crvLPToken: "0x69Cf42F15F9325986154b61A013da6E8feC82CCF",
18194
+ cvxDepositToken: "0xb7E924d4D836FeF4bFeE6D16fc71F83d2b9eAB99",
18195
+ rewarder: "0x2F7473369B5d21418B10543823a6a38BcE529908"
18196
+ },
18197
+ {
18198
+ name: "fxUSDFrax",
18199
+ id: "315",
18200
+ crvLPToken: "0x1EE81c56e42EC34039D993d12410d437DdeA341E",
18201
+ cvxDepositToken: "0x1AF31b777119cDfB22D7B2F4b7Da0E144f1e31Fb",
18202
+ rewarder: "0xfbb02DFA57C2eA0E6F5F2c260957d8656ab7A94a"
18203
+ },
18204
+ {
18205
+ name: "fxUSDGHO",
18206
+ id: "316",
18207
+ crvLPToken: "0x74345504Eaea3D9408fC69Ae7EB2d14095643c5b",
18208
+ cvxDepositToken: "0x3Abbaf4AC59f6e99AD96dc010DF472Cf4803d2ee",
18209
+ rewarder: "0x77e69Dc146C6044b996ad5c93D88D104Ee13F186"
18210
+ },
18211
+ {
18212
+ name: "crvDOLA",
18213
+ id: "317",
18214
+ crvLPToken: "0xef484de8C07B6e2d732A92B5F78e81B38f99f95E",
18215
+ cvxDepositToken: "0x430bE19e180fd8c2199eC5FAEabE2F5CDba68C94",
18216
+ rewarder: "0xE8cBdBFD4A1D776AB1146B63ABD1718b2F92a823"
18099
18217
  }
18100
18218
  ];
18101
18219
 
@@ -19200,9 +19318,9 @@ var borrowEther3 = () => {
19200
19318
 
19201
19319
  // src/protocols/spark/index.ts
19202
19320
  var findToken6 = (symbolOrAddress) => {
19203
- const nameOrAddressLower = symbolOrAddress.toLowerCase();
19321
+ const symbolOrAddressLower = symbolOrAddress.toLowerCase();
19204
19322
  const token = info_default6.find(
19205
- (token2) => token2.symbol.toLowerCase() === nameOrAddressLower || token2.token.toLowerCase() === nameOrAddressLower
19323
+ (token2) => token2.symbol.toLowerCase() === symbolOrAddressLower || token2.token.toLowerCase() === symbolOrAddressLower
19206
19324
  );
19207
19325
  if (!token) {
19208
19326
  throw new NotFoundError(`Token not found: ${symbolOrAddress}`);
@@ -19243,7 +19361,71 @@ var eth13 = {
19243
19361
  ]
19244
19362
  };
19245
19363
 
19246
- // src/protocols/uniswap_v3/_ethInfo.ts
19364
+ // src/protocols/stakewise/v2/_ethPools.ts
19365
+ var ethPools_default3 = [
19366
+ {
19367
+ name: "ETH-sETH2 0.3%",
19368
+ address: "0x7379e81228514a1D2a6Cf7559203998E20598346",
19369
+ fee: "0.3%",
19370
+ tokens: [
19371
+ {
19372
+ address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
19373
+ symbol: "WETH"
19374
+ },
19375
+ {
19376
+ address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
19377
+ symbol: "sETH2"
19378
+ }
19379
+ ]
19380
+ },
19381
+ {
19382
+ name: "rETH2-sETH2 0.05%",
19383
+ address: "0xa9ffb27d36901F87f1D0F20773f7072e38C5bfbA",
19384
+ fee: "0.05%",
19385
+ tokens: [
19386
+ {
19387
+ address: "0x20BC832ca081b91433ff6c17f85701B6e92486c5",
19388
+ symbol: "rETH2"
19389
+ },
19390
+ {
19391
+ address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
19392
+ symbol: "sETH2"
19393
+ }
19394
+ ]
19395
+ },
19396
+ {
19397
+ name: "SWISE-ETH 0.3%",
19398
+ fee: "0.3%",
19399
+ address: "0x2aF41D838763E3c5cad6AdC111af9c5dA19B9AFa",
19400
+ tokens: [
19401
+ {
19402
+ address: "0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2",
19403
+ symbol: "SWISE"
19404
+ },
19405
+ {
19406
+ address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
19407
+ symbol: "WETH"
19408
+ }
19409
+ ]
19410
+ },
19411
+ {
19412
+ name: "SWISE-sETH2 0.3%",
19413
+ fee: "0.3%",
19414
+ address: "0x992f534fcc87864875224d142d6Bf054B1882160",
19415
+ tokens: [
19416
+ {
19417
+ address: "0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2",
19418
+ symbol: "SWISE"
19419
+ },
19420
+ {
19421
+ address: "0xFe2e637202056d30016725477c5da089Ab0A043A",
19422
+ symbol: "sETH2"
19423
+ }
19424
+ ]
19425
+ }
19426
+ ];
19427
+
19428
+ // src/protocols/uniswap/v3/_ethInfo.ts
19247
19429
  var ethInfo_default = [
19248
19430
  {
19249
19431
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
@@ -20483,7 +20665,7 @@ var ethInfo_default = [
20483
20665
  }
20484
20666
  ];
20485
20667
 
20486
- // src/protocols/uniswap_v3/utils.ts
20668
+ // src/protocols/uniswap/v3/utils.ts
20487
20669
  var sdk3 = getMainnetSdk(
20488
20670
  process.env.NODE_ENV === "test" ? getProvider() : ethProvider
20489
20671
  );
@@ -20509,18 +20691,28 @@ var queryTokens = async (nftIds) => {
20509
20691
  return [...result];
20510
20692
  };
20511
20693
 
20512
- // src/protocols/uniswap_v3/index.ts
20694
+ // src/protocols/uniswap/v3/index.ts
20513
20695
  var import_zodiac_roles_sdk14 = require("zodiac-roles-sdk");
20514
20696
  var import_ethers9 = require("ethers");
20515
20697
  var ZERO_ADDRESS3 = "0x0000000000000000000000000000000000000000";
20698
+ var FeeMapping = {
20699
+ "0.01%": 100,
20700
+ "0.05%": 500,
20701
+ "0.3%": 3e3,
20702
+ "1%": 1e4
20703
+ };
20516
20704
  var eth14 = {
20517
20705
  deposit: async ({
20518
20706
  targets,
20519
- tokens
20707
+ tokens,
20708
+ fees
20520
20709
  }) => {
20521
20710
  if (!targets && !tokens) {
20522
20711
  throw new Error("Either `targets` or `tokens` must be specified.");
20523
20712
  }
20713
+ const mintFees = (fees == null ? void 0 : fees.map((fee) => FeeMapping[fee])) || void 0;
20714
+ console.log("mintFees: ", mintFees);
20715
+ console.log("tokens: ", tokens);
20524
20716
  const nftIds = targets && targets.map((target) => {
20525
20717
  try {
20526
20718
  return import_ethers9.BigNumber.from(target);
@@ -20542,7 +20734,8 @@ var eth14 = {
20542
20734
  {
20543
20735
  recipient: import_zodiac_roles_sdk14.c.avatar,
20544
20736
  token0: oneOf(mintTokenAddresses),
20545
- token1: oneOf(mintTokenAddresses)
20737
+ token1: oneOf(mintTokenAddresses),
20738
+ fee: mintFees ? oneOf(mintFees) : void 0
20546
20739
  },
20547
20740
  {
20548
20741
  send: true
@@ -20588,6 +20781,45 @@ var eth14 = {
20588
20781
  }
20589
20782
  };
20590
20783
 
20784
+ // src/protocols/stakewise/v2/index.ts
20785
+ var import_zodiac_roles_sdk15 = require("zodiac-roles-sdk");
20786
+ var findPool4 = (pools, nameOrAddress) => {
20787
+ const nameOrAddressLower = nameOrAddress.toLowerCase();
20788
+ const pool = pools.find(
20789
+ (pool2) => pool2.name.toLowerCase() === nameOrAddressLower || pool2.address.toLowerCase() === nameOrAddressLower
20790
+ );
20791
+ if (!pool) {
20792
+ throw new NotFoundError(`Pool not found: ${nameOrAddress}`);
20793
+ }
20794
+ return pool;
20795
+ };
20796
+ var eth15 = {
20797
+ deposit: async ({
20798
+ targets
20799
+ }) => {
20800
+ const univ3Permissions = await Promise.all(
20801
+ targets.map(
20802
+ (target) => {
20803
+ var _a, _b;
20804
+ return eth14.deposit({
20805
+ tokens: (_a = findPool4(ethPools_default3, target)) == null ? void 0 : _a.tokens.map((token) => token.symbol),
20806
+ fees: [(_b = findPool4(ethPools_default3, target)) == null ? void 0 : _b.fee]
20807
+ });
20808
+ }
20809
+ )
20810
+ );
20811
+ const permissions = univ3Permissions.flat();
20812
+ permissions.push(
20813
+ allow.mainnet.stakewise_v2.merkle_distributor.claim(
20814
+ void 0,
20815
+ import_zodiac_roles_sdk15.c.avatar,
20816
+ import_zodiac_roles_sdk15.c.subset([contracts.mainnet.stakewise_v2.reth2, contracts.mainnet.stakewise_v2.swise])
20817
+ )
20818
+ );
20819
+ return permissions;
20820
+ }
20821
+ };
20822
+
20591
20823
  // src/protocols/annotate.ts
20592
20824
  var annotate = (actionFunction, path) => {
20593
20825
  const annotated = async (params) => {
@@ -20620,7 +20852,7 @@ var annotateAll = (actions, chainPrefix) => {
20620
20852
  };
20621
20853
 
20622
20854
  // src/protocols/index.ts
20623
- var eth15 = annotateAll(
20855
+ var eth16 = annotateAll(
20624
20856
  {
20625
20857
  aave_v2: eth,
20626
20858
  aave_v3: eth2,
@@ -20636,6 +20868,7 @@ var eth15 = annotateAll(
20636
20868
  rocket_pool: eth11,
20637
20869
  spark: eth12,
20638
20870
  stader: eth13,
20871
+ stakewise_v2: eth15,
20639
20872
  uniswap_v3: eth14
20640
20873
  },
20641
20874
  "eth"
@@ -20685,7 +20918,7 @@ var zDelegateToken = import_zod2.z.enum([
20685
20918
  ...delegateTokens_default.map((token) => token.address)
20686
20919
  ]);
20687
20920
  var zDelegatee = zx.address();
20688
- var eth16 = {
20921
+ var eth17 = {
20689
20922
  deposit: import_zod2.z.object({
20690
20923
  targets: zToken.array()
20691
20924
  }),
@@ -20717,7 +20950,7 @@ var zDelegateToken2 = import_zod3.z.enum([
20717
20950
  ...delegateTokens_default.map((token) => token.address)
20718
20951
  ]);
20719
20952
  var zDelegatee2 = zx.address();
20720
- var eth17 = {
20953
+ var eth18 = {
20721
20954
  deposit: import_zod3.z.object({
20722
20955
  targets: zToken2.array()
20723
20956
  }),
@@ -20735,7 +20968,7 @@ var eth17 = {
20735
20968
 
20736
20969
  // src/protocols/ankr/schema.ts
20737
20970
  var import_zod4 = require("zod");
20738
- var eth18 = {
20971
+ var eth19 = {
20739
20972
  deposit: import_zod4.z.object({})
20740
20973
  };
20741
20974
 
@@ -20767,7 +21000,7 @@ var zStakeToken3 = import_zod5.z.enum([
20767
21000
  ...stakeTokens_default2.map((token) => token.symbol),
20768
21001
  ...stakeTokens_default2.map((token) => token.address)
20769
21002
  ]);
20770
- var eth19 = {
21003
+ var eth20 = {
20771
21004
  deposit: import_zod5.z.object({
20772
21005
  targets: zEthPool.array(),
20773
21006
  tokens: zEthToken.array().optional()
@@ -20801,7 +21034,7 @@ var zPool = import_zod6.z.enum([
20801
21034
  ...ethPools_default2.map((pool) => pool.id)
20802
21035
  ]);
20803
21036
  var zToken3 = import_zod6.z.enum(ethTokens2);
20804
- var eth20 = {
21037
+ var eth21 = {
20805
21038
  deposit: import_zod6.z.object({
20806
21039
  targets: zPool.array(),
20807
21040
  tokens: zToken3.array().optional()
@@ -20823,7 +21056,7 @@ var zToken4 = import_zod7.z.enum([
20823
21056
  ...info_default3.map((token) => token.symbol),
20824
21057
  ...info_default3.map((token) => token.token)
20825
21058
  ]);
20826
- var eth21 = {
21059
+ var eth22 = {
20827
21060
  deposit: import_zod7.z.object({
20828
21061
  targets: zToken4.array()
20829
21062
  }),
@@ -20843,7 +21076,7 @@ var zStakeToken4 = import_zod8.z.enum([
20843
21076
  ...stakeTokens_default3.map((token) => token.symbol),
20844
21077
  ...stakeTokens_default3.map((token) => token.address)
20845
21078
  ]);
20846
- var eth22 = {
21079
+ var eth23 = {
20847
21080
  deposit: import_zod8.z.object({
20848
21081
  targets: zPool2.array()
20849
21082
  }),
@@ -20865,13 +21098,13 @@ var gno5 = {
20865
21098
 
20866
21099
  // src/protocols/lido/schema.ts
20867
21100
  var import_zod10 = require("zod");
20868
- var eth23 = {
21101
+ var eth24 = {
20869
21102
  deposit: import_zod10.z.object({})
20870
21103
  };
20871
21104
 
20872
21105
  // src/protocols/maker/schema.ts
20873
21106
  var import_zod11 = require("zod");
20874
- var eth24 = {
21107
+ var eth25 = {
20875
21108
  deposit: import_zod11.z.object({
20876
21109
  targets: import_zod11.z.string().array().optional(),
20877
21110
  avatar: zx.address()
@@ -20884,7 +21117,7 @@ var eth24 = {
20884
21117
 
20885
21118
  // src/protocols/rocket_pool/schema.ts
20886
21119
  var import_zod12 = require("zod");
20887
- var eth25 = {
21120
+ var eth26 = {
20888
21121
  deposit: import_zod12.z.object({})
20889
21122
  };
20890
21123
 
@@ -20895,7 +21128,7 @@ var zToken5 = import_zod13.z.enum([
20895
21128
  "DSR_sDAI",
20896
21129
  ...info_default6.map((token) => token.token)
20897
21130
  ]);
20898
- var eth26 = {
21131
+ var eth27 = {
20899
21132
  deposit: import_zod13.z.object({
20900
21133
  targets: zToken5.array()
20901
21134
  }),
@@ -20906,20 +21139,40 @@ var eth26 = {
20906
21139
 
20907
21140
  // src/protocols/stader/schema.ts
20908
21141
  var import_zod14 = require("zod");
20909
- var eth27 = {
21142
+ var eth28 = {
20910
21143
  deposit: import_zod14.z.object({})
20911
21144
  };
20912
21145
 
20913
- // src/protocols/uniswap_v3/schema.ts
21146
+ // src/protocols/stakewise/v2/schema.ts
20914
21147
  var import_zod15 = require("zod");
21148
+ var zEthPool2 = import_zod15.z.enum([
21149
+ ...ethPools_default3.map((pool) => pool.name),
21150
+ ...ethPools_default3.map((pool) => pool.address)
21151
+ ]);
21152
+ var eth29 = {
21153
+ deposit: import_zod15.z.object({
21154
+ targets: zEthPool2.array()
21155
+ }),
21156
+ stake: import_zod15.z.object({})
21157
+ };
21158
+
21159
+ // src/protocols/uniswap/v3/schema.ts
21160
+ var import_zod16 = require("zod");
21161
+
21162
+ // src/protocols/uniswap/v3/types.ts
21163
+ var FEES = ["0.01%", "0.05%", "0.3%", "1%"];
21164
+
21165
+ // src/protocols/uniswap/v3/schema.ts
20915
21166
  var ethTokens3 = [
20916
21167
  ...new Set(ethInfo_default.flatMap((token) => [token.address, token.symbol]))
20917
21168
  ];
20918
- var zToken6 = import_zod15.z.enum(ethTokens3);
20919
- var eth28 = {
20920
- deposit: import_zod15.z.object({
20921
- targets: import_zod15.z.string().array().optional(),
20922
- tokens: zToken6.array().optional()
21169
+ var zToken6 = import_zod16.z.enum(ethTokens3);
21170
+ var zFee = import_zod16.z.enum(FEES);
21171
+ var eth30 = {
21172
+ deposit: import_zod16.z.object({
21173
+ targets: import_zod16.z.string().array().optional(),
21174
+ tokens: zToken6.array().optional(),
21175
+ fees: zFee.array().optional()
20923
21176
  })
20924
21177
  };
20925
21178
 
@@ -20930,24 +21183,24 @@ var gno6 = {
20930
21183
  };
20931
21184
 
20932
21185
  // src/apply.ts
20933
- var import_zodiac_roles_sdk15 = require("zodiac-roles-sdk");
21186
+ var import_zodiac_roles_sdk16 = require("zodiac-roles-sdk");
20934
21187
  var createApply = (chainId) => {
20935
21188
  return async function apply2(roleKey, permissions, options) {
20936
21189
  const awaitedPermissions = await Promise.all(permissions);
20937
- const { targets, annotations } = (0, import_zodiac_roles_sdk15.processPermissions)(awaitedPermissions);
20938
- (0, import_zodiac_roles_sdk15.checkIntegrity)(targets);
20939
- const role = await (0, import_zodiac_roles_sdk15.fetchRole)({ address: options.address, roleKey, chainId });
21190
+ const { targets, annotations } = (0, import_zodiac_roles_sdk16.processPermissions)(awaitedPermissions);
21191
+ (0, import_zodiac_roles_sdk16.checkIntegrity)(targets);
21192
+ const role = await (0, import_zodiac_roles_sdk16.fetchRole)({ address: options.address, roleKey, chainId });
20940
21193
  if (!role && options.mode === "remove") {
20941
21194
  throw new NotFoundError(
20942
21195
  `Role ${roleKey} not found on mod at address ${options.address}`
20943
21196
  );
20944
21197
  }
20945
- const rolesModCalls = await (0, import_zodiac_roles_sdk15.applyTargets)(roleKey, targets, {
21198
+ const rolesModCalls = await (0, import_zodiac_roles_sdk16.applyTargets)(roleKey, targets, {
20946
21199
  ...options,
20947
21200
  chainId,
20948
21201
  currentTargets: options.currentTargets || (role == null ? void 0 : role.targets) || []
20949
21202
  });
20950
- const posterCalls = await (0, import_zodiac_roles_sdk15.applyAnnotations)(roleKey, annotations, {
21203
+ const posterCalls = await (0, import_zodiac_roles_sdk16.applyAnnotations)(roleKey, annotations, {
20951
21204
  ...options,
20952
21205
  chainId,
20953
21206
  currentAnnotations: options.currentAnnotations || (role == null ? void 0 : role.annotations) || []
@@ -20971,7 +21224,7 @@ var POSTER_ADDRESS = "0x000000000000cd17345801aa8147b8D3950260FF";
20971
21224
 
20972
21225
  // src/export.ts
20973
21226
  var import_utils10 = require("ethers/lib/utils");
20974
- var import_zodiac_roles_sdk16 = require("zodiac-roles-sdk");
21227
+ var import_zodiac_roles_sdk17 = require("zodiac-roles-sdk");
20975
21228
  var import_ethers10 = require("ethers");
20976
21229
  var createExportToSafeTransactionBuilder = (chainId) => {
20977
21230
  return function exportToSafeTransactionBuilder2(transactions, meta) {
@@ -20989,7 +21242,7 @@ var createExportToSafeTransactionBuilder = (chainId) => {
20989
21242
  };
20990
21243
  };
20991
21244
  var decode = (transaction) => {
20992
- const abi = transaction.to === POSTER_ADDRESS ? import_zodiac_roles_sdk16.posterAbi : import_zodiac_roles_sdk16.rolesAbi;
21245
+ const abi = transaction.to === POSTER_ADDRESS ? import_zodiac_roles_sdk17.posterAbi : import_zodiac_roles_sdk17.rolesAbi;
20993
21246
  const iface = new import_utils10.Interface(abi);
20994
21247
  const selector = transaction.data.slice(0, 10);
20995
21248
  const functionFragment = iface.getFunction(selector);