defi-kit 1.8.2 → 1.8.4
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-GJPZMPD5.mjs → chunk-SJ3X4OD3.mjs} +129 -71
- package/dist/chunk-SJ3X4OD3.mjs.map +1 -0
- package/dist/eth.d.mts +2 -2
- package/dist/eth.d.ts +2 -2
- package/dist/eth.js +128 -70
- package/dist/eth.js.map +1 -1
- package/dist/eth.mjs +1 -1
- package/dist/gno.d.mts +2 -2
- package/dist/gno.d.ts +2 -2
- package/dist/gno.js +128 -70
- package/dist/gno.js.map +1 -1
- package/dist/gno.mjs +1 -1
- package/dist/{schema-FGnINF_-.d.mts → schema-pKps2x3f.d.mts} +7 -7
- package/dist/{schema-FGnINF_-.d.ts → schema-pKps2x3f.d.ts} +7 -7
- package/package.json +2 -2
- package/dist/chunk-GJPZMPD5.mjs.map +0 -1
package/dist/eth.mjs
CHANGED
package/dist/gno.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContractInput } from './schema-
|
|
2
|
-
export { g as allow, b as schema } from './schema-
|
|
1
|
+
import { C as ContractInput } from './schema-pKps2x3f.mjs';
|
|
2
|
+
export { g as allow, b as schema } from './schema-pKps2x3f.mjs';
|
|
3
3
|
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/gno.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContractInput } from './schema-
|
|
2
|
-
export { g as allow, b as schema } from './schema-
|
|
1
|
+
import { C as ContractInput } from './schema-pKps2x3f.js';
|
|
2
|
+
export { g as allow, b as schema } from './schema-pKps2x3f.js';
|
|
3
3
|
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/gno.js
CHANGED
|
@@ -589,7 +589,7 @@ var data_provider_default2 = [{ inputs: [{ internalType: "contract IPoolAddresse
|
|
|
589
589
|
var aaveLendingPoolV3_default = [{ inputs: [{ internalType: "contract IPoolAddressesProvider", name: "provider", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: true, internalType: "address", name: "backer", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "fee", type: "uint256" }], name: "BackUnbacked", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: false, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "onBehalfOf", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "enum DataTypes.InterestRateMode", name: "interestRateMode", type: "uint8" }, { indexed: false, internalType: "uint256", name: "borrowRate", type: "uint256" }, { indexed: true, internalType: "uint16", name: "referralCode", type: "uint16" }], name: "Borrow", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "target", type: "address" }, { indexed: false, internalType: "address", name: "initiator", type: "address" }, { indexed: true, internalType: "address", name: "asset", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "enum DataTypes.InterestRateMode", name: "interestRateMode", type: "uint8" }, { indexed: false, internalType: "uint256", name: "premium", type: "uint256" }, { indexed: true, internalType: "uint16", name: "referralCode", type: "uint16" }], name: "FlashLoan", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "asset", type: "address" }, { indexed: false, internalType: "uint256", name: "totalDebt", type: "uint256" }], name: "IsolationModeTotalDebtUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "collateralAsset", type: "address" }, { indexed: true, internalType: "address", name: "debtAsset", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "debtToCover", type: "uint256" }, { indexed: false, internalType: "uint256", name: "liquidatedCollateralAmount", type: "uint256" }, { indexed: false, internalType: "address", name: "liquidator", type: "address" }, { indexed: false, internalType: "bool", name: "receiveAToken", type: "bool" }], name: "LiquidationCall", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: false, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "onBehalfOf", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "uint16", name: "referralCode", type: "uint16" }], name: "MintUnbacked", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: false, internalType: "uint256", name: "amountMinted", type: "uint256" }], name: "MintedToTreasury", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }], name: "RebalanceStableBorrowRate", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "repayer", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "bool", name: "useATokens", type: "bool" }], name: "Repay", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: false, internalType: "uint256", name: "liquidityRate", type: "uint256" }, { indexed: false, internalType: "uint256", name: "stableBorrowRate", type: "uint256" }, { indexed: false, internalType: "uint256", name: "variableBorrowRate", type: "uint256" }, { indexed: false, internalType: "uint256", name: "liquidityIndex", type: "uint256" }, { indexed: false, internalType: "uint256", name: "variableBorrowIndex", type: "uint256" }], name: "ReserveDataUpdated", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }], name: "ReserveUsedAsCollateralDisabled", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }], name: "ReserveUsedAsCollateralEnabled", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: false, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "onBehalfOf", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "uint16", name: "referralCode", type: "uint16" }], name: "Supply", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "enum DataTypes.InterestRateMode", name: "interestRateMode", type: "uint8" }], name: "SwapBorrowRateMode", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint8", name: "categoryId", type: "uint8" }], name: "UserEModeSet", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "reserve", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }], name: "Withdraw", type: "event" }, { inputs: [], name: "ADDRESSES_PROVIDER", outputs: [{ internalType: "contract IPoolAddressesProvider", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "BRIDGE_PROTOCOL_FEE", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "FLASHLOAN_PREMIUM_TOTAL", outputs: [{ internalType: "uint128", name: "", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [], name: "FLASHLOAN_PREMIUM_TO_PROTOCOL", outputs: [{ internalType: "uint128", name: "", type: "uint128" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_NUMBER_RESERVES", outputs: [{ internalType: "uint16", name: "", type: "uint16" }], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_STABLE_RATE_BORROW_SIZE_PERCENT", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "POOL_REVISION", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "fee", type: "uint256" }], name: "backUnbacked", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "interestRateMode", type: "uint256" }, { internalType: "uint16", name: "referralCode", type: "uint16" }, { internalType: "address", name: "onBehalfOf", type: "address" }], name: "borrow", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint8", name: "id", type: "uint8" }, { components: [{ internalType: "uint16", name: "ltv", type: "uint16" }, { internalType: "uint16", name: "liquidationThreshold", type: "uint16" }, { internalType: "uint16", name: "liquidationBonus", type: "uint16" }, { internalType: "address", name: "priceSource", type: "address" }, { internalType: "string", name: "label", type: "string" }], internalType: "struct DataTypes.EModeCategory", name: "category", type: "tuple" }], name: "configureEModeCategory", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "deposit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "dropReserve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "balanceFromBefore", type: "uint256" }, { internalType: "uint256", name: "balanceToBefore", type: "uint256" }], name: "finalizeTransfer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiverAddress", type: "address" }, { internalType: "address[]", name: "assets", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "uint256[]", name: "interestRateModes", type: "uint256[]" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "bytes", name: "params", type: "bytes" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "flashLoan", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "receiverAddress", type: "address" }, { internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "params", type: "bytes" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "flashLoanSimple", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getConfiguration", outputs: [{ components: [{ internalType: "uint256", name: "data", type: "uint256" }], internalType: "struct DataTypes.ReserveConfigurationMap", name: "", type: "tuple" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint8", name: "id", type: "uint8" }], name: "getEModeCategoryData", outputs: [{ components: [{ internalType: "uint16", name: "ltv", type: "uint16" }, { internalType: "uint16", name: "liquidationThreshold", type: "uint16" }, { internalType: "uint16", name: "liquidationBonus", type: "uint16" }, { internalType: "address", name: "priceSource", type: "address" }, { internalType: "string", name: "label", type: "string" }], internalType: "struct DataTypes.EModeCategory", name: "", type: "tuple" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint16", name: "id", type: "uint16" }], name: "getReserveAddressById", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getReserveData", outputs: [{ components: [{ components: [{ internalType: "uint256", name: "data", type: "uint256" }], internalType: "struct DataTypes.ReserveConfigurationMap", name: "configuration", type: "tuple" }, { internalType: "uint128", name: "liquidityIndex", type: "uint128" }, { internalType: "uint128", name: "currentLiquidityRate", type: "uint128" }, { internalType: "uint128", name: "variableBorrowIndex", type: "uint128" }, { internalType: "uint128", name: "currentVariableBorrowRate", type: "uint128" }, { internalType: "uint128", name: "currentStableBorrowRate", type: "uint128" }, { internalType: "uint40", name: "lastUpdateTimestamp", type: "uint40" }, { internalType: "uint16", name: "id", type: "uint16" }, { internalType: "address", name: "aTokenAddress", type: "address" }, { internalType: "address", name: "stableDebtTokenAddress", type: "address" }, { internalType: "address", name: "variableDebtTokenAddress", type: "address" }, { internalType: "address", name: "interestRateStrategyAddress", type: "address" }, { internalType: "uint128", name: "accruedToTreasury", type: "uint128" }, { internalType: "uint128", name: "unbacked", type: "uint128" }, { internalType: "uint128", name: "isolationModeTotalDebt", type: "uint128" }], internalType: "struct DataTypes.ReserveData", name: "", type: "tuple" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getReserveNormalizedIncome", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "getReserveNormalizedVariableDebt", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getReservesList", outputs: [{ internalType: "address[]", name: "", type: "address[]" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "getUserAccountData", outputs: [{ internalType: "uint256", name: "totalCollateralBase", type: "uint256" }, { internalType: "uint256", name: "totalDebtBase", type: "uint256" }, { internalType: "uint256", name: "availableBorrowsBase", type: "uint256" }, { internalType: "uint256", name: "currentLiquidationThreshold", type: "uint256" }, { internalType: "uint256", name: "ltv", type: "uint256" }, { internalType: "uint256", name: "healthFactor", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "getUserConfiguration", outputs: [{ components: [{ internalType: "uint256", name: "data", type: "uint256" }], internalType: "struct DataTypes.UserConfigurationMap", name: "", type: "tuple" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "getUserEMode", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "aTokenAddress", type: "address" }, { internalType: "address", name: "stableDebtAddress", type: "address" }, { internalType: "address", name: "variableDebtAddress", type: "address" }, { internalType: "address", name: "interestRateStrategyAddress", type: "address" }], name: "initReserve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "contract IPoolAddressesProvider", name: "provider", type: "address" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "collateralAsset", type: "address" }, { internalType: "address", name: "debtAsset", type: "address" }, { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "debtToCover", type: "uint256" }, { internalType: "bool", name: "receiveAToken", type: "bool" }], name: "liquidationCall", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }], name: "mintToTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "mintUnbacked", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "user", type: "address" }], name: "rebalanceStableBorrowRate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "interestRateMode", type: "uint256" }, { internalType: "address", name: "onBehalfOf", type: "address" }], name: "repay", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "interestRateMode", type: "uint256" }], name: "repayWithATokens", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "interestRateMode", type: "uint256" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "permitV", type: "uint8" }, { internalType: "bytes32", name: "permitR", type: "bytes32" }, { internalType: "bytes32", name: "permitS", type: "bytes32" }], name: "repayWithPermit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "token", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "rescueTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "resetIsolationModeTotalDebt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { components: [{ internalType: "uint256", name: "data", type: "uint256" }], internalType: "struct DataTypes.ReserveConfigurationMap", name: "configuration", type: "tuple" }], name: "setConfiguration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "address", name: "rateStrategyAddress", type: "address" }], name: "setReserveInterestRateStrategyAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint8", name: "categoryId", type: "uint8" }], name: "setUserEMode", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "bool", name: "useAsCollateral", type: "bool" }], name: "setUserUseReserveAsCollateral", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "supply", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint16", name: "referralCode", type: "uint16" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "permitV", type: "uint8" }, { internalType: "bytes32", name: "permitR", type: "bytes32" }, { internalType: "bytes32", name: "permitS", type: "bytes32" }], name: "supplyWithPermit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "interestRateMode", type: "uint256" }], name: "swapBorrowRateMode", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "protocolFee", type: "uint256" }], name: "updateBridgeProtocolFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint128", name: "flashLoanPremiumTotal", type: "uint128" }, { internalType: "uint128", name: "flashLoanPremiumToProtocol", type: "uint128" }], name: "updateFlashloanPremiums", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "asset", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "to", type: "address" }], name: "withdraw", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "nonpayable", type: "function" }];
|
|
590
590
|
|
|
591
591
|
// eth-sdk/abis/mainnet/aaveV3/wrappedTokenGatewayV3.json
|
|
592
|
-
var wrappedTokenGatewayV3_default = [{ inputs: [{ internalType: "address", name: "weth", type: "address" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "contract IPool", name: "pool", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferred", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "interestRateMode", type: "uint256" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "borrowETH", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "depositETH", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "emergencyEtherTransfer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "token", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "emergencyTokenTransfer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getWETHAddress", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "rateMode", type: "uint256" }, { internalType: "address", name: "onBehalfOf", type: "address" }], name: "repayETH", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "to", type: "address" }], name: "withdrawETH", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "permitV", type: "uint8" }, { internalType: "bytes32", name: "permitR", type: "bytes32" }, { internalType: "bytes32", name: "permitS", type: "bytes32" }], name: "withdrawETHWithPermit", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" }];
|
|
592
|
+
var wrappedTokenGatewayV3_default = [{ inputs: [{ internalType: "address", name: "weth", type: "address" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "contract IPool", name: "pool", type: "address" }], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" }], name: "OwnershipTransferred", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "POOL", outputs: [{ internalType: "contract IPool", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "WETH", outputs: [{ internalType: "contract IWETH", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "interestRateMode", type: "uint256" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "borrowETH", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint16", name: "referralCode", type: "uint16" }], name: "depositETH", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "emergencyEtherTransfer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "token", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "emergencyTokenTransfer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getWETHAddress", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "rateMode", type: "uint256" }, { internalType: "address", name: "onBehalfOf", type: "address" }], name: "repayETH", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [{ internalType: "address", name: "newOwner", type: "address" }], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "to", type: "address" }], name: "withdrawETH", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint8", name: "permitV", type: "uint8" }, { internalType: "bytes32", name: "permitR", type: "bytes32" }, { internalType: "bytes32", name: "permitS", type: "bytes32" }], name: "withdrawETHWithPermit", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" }];
|
|
593
593
|
|
|
594
594
|
// eth-sdk/abis/mainnet/aaveV3/aEthWETH.json
|
|
595
595
|
var aEthWETH_default = [{ inputs: [{ internalType: "contract IPool", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "uint256", name: "index", type: "uint256" }], name: "BalanceTransfer", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "target", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "uint256", name: "balanceIncrease", type: "uint256" }, { indexed: false, internalType: "uint256", name: "index", type: "uint256" }], name: "Burn", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "underlyingAsset", type: "address" }, { indexed: true, internalType: "address", name: "pool", type: "address" }, { indexed: false, internalType: "address", name: "treasury", type: "address" }, { indexed: false, internalType: "address", name: "incentivesController", type: "address" }, { indexed: false, internalType: "uint8", name: "aTokenDecimals", type: "uint8" }, { indexed: false, internalType: "string", name: "aTokenName", type: "string" }, { indexed: false, internalType: "string", name: "aTokenSymbol", type: "string" }, { indexed: false, internalType: "bytes", name: "params", type: "bytes" }], name: "Initialized", type: "event" }, { anonymous: false, inputs: [{ indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "onBehalfOf", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "uint256", name: "balanceIncrease", type: "uint256" }, { indexed: false, internalType: "uint256", name: "index", type: "uint256" }], name: "Mint", 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" }, { inputs: [], name: "ATOKEN_REVISION", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "EIP712_REVISION", outputs: [{ internalType: "bytes", name: "", type: "bytes" }], stateMutability: "view", type: "function" }, { inputs: [], name: "PERMIT_TYPEHASH", outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], stateMutability: "view", type: "function" }, { inputs: [], name: "POOL", outputs: [{ internalType: "contract IPool", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "RESERVE_TREASURY_ADDRESS", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "UNDERLYING_ASSET_ADDRESS", outputs: [{ internalType: "address", name: "", type: "address" }], 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: "user", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "receiverOfUnderlying", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "index", 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: "getIncentivesController", outputs: [{ internalType: "contract IAaveIncentivesController", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "getPreviousIndex", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "getScaledUserBalanceAndSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "handleRepayment", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" }], name: "increaseAllowance", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "contract IPool", name: "initializingPool", type: "address" }, { internalType: "address", name: "treasury", type: "address" }, { internalType: "address", name: "underlyingAsset", type: "address" }, { internalType: "contract IAaveIncentivesController", name: "incentivesController", type: "address" }, { internalType: "uint8", name: "aTokenDecimals", type: "uint8" }, { internalType: "string", name: "aTokenName", type: "string" }, { internalType: "string", name: "aTokenSymbol", type: "string" }, { internalType: "bytes", name: "params", type: "bytes" }], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "caller", type: "address" }, { internalType: "address", name: "onBehalfOf", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "index", type: "uint256" }], name: "mint", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "index", type: "uint256" }], name: "mintToTreasury", 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: [{ 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: "token", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "rescueTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "scaledBalanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "scaledTotalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "contract IAaveIncentivesController", name: "controller", type: "address" }], name: "setIncentivesController", 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: [{ internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }], name: "transferOnLiquidation", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "target", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }], name: "transferUnderlyingTo", outputs: [], stateMutability: "nonpayable", type: "function" }];
|
|
@@ -7638,7 +7638,7 @@ function getMainnetSdk(defaultSignerOrProvider) {
|
|
|
7638
7638
|
"aaveV3": {
|
|
7639
7639
|
"data_provider": getContract("0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3", data_provider_default2, defaultSignerOrProvider),
|
|
7640
7640
|
"aaveLendingPoolV3": getContract("0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2", aaveLendingPoolV3_default, defaultSignerOrProvider),
|
|
7641
|
-
"wrappedTokenGatewayV3": getContract("
|
|
7641
|
+
"wrappedTokenGatewayV3": getContract("0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9", wrappedTokenGatewayV3_default, defaultSignerOrProvider),
|
|
7642
7642
|
"aEthWETH": getContract("0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8", aEthWETH_default, defaultSignerOrProvider),
|
|
7643
7643
|
"variableDebtWETH": getContract("0xeA51d7853EEFb32b6ee06b1C12E6dcCA88Be0fFE", variableDebtWETH_default2, defaultSignerOrProvider),
|
|
7644
7644
|
"stableDebtWETH": getContract("0x102633152313C81cD80419b6EcF66d14Ad68949A", stableDebtWETH_default2, defaultSignerOrProvider)
|
|
@@ -7857,11 +7857,12 @@ var makeAllowFunction = (contract, name) => {
|
|
|
7857
7857
|
const ethersFunction = contract.functions[name];
|
|
7858
7858
|
return (...args) => {
|
|
7859
7859
|
const scopings = args.slice(0, functionInputs.length);
|
|
7860
|
+
const hasScopings = scopings.some((s) => !!s);
|
|
7860
7861
|
const options = args[functionInputs.length] || {};
|
|
7861
7862
|
const presetFunction = {
|
|
7862
7863
|
targetAddress: contract.address,
|
|
7863
7864
|
signature: functionFragment.format("sighash"),
|
|
7864
|
-
condition:
|
|
7865
|
+
condition: hasScopings ? import_zodiac_roles_sdk.c.calldataMatches(scopings, functionInputs)() : void 0
|
|
7865
7866
|
};
|
|
7866
7867
|
return applyOptions(coercePermission(presetFunction), options);
|
|
7867
7868
|
};
|
|
@@ -7966,7 +7967,7 @@ var contracts = {
|
|
|
7966
7967
|
aaveV3: {
|
|
7967
7968
|
data_provider: "0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3",
|
|
7968
7969
|
aaveLendingPoolV3: "0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2",
|
|
7969
|
-
wrappedTokenGatewayV3: "
|
|
7970
|
+
wrappedTokenGatewayV3: "0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9",
|
|
7970
7971
|
aEthWETH: "0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8",
|
|
7971
7972
|
variableDebtWETH: "0xeA51d7853EEFb32b6ee06b1C12E6dcCA88Be0fFE",
|
|
7972
7973
|
stableDebtWETH: "0x102633152313C81cD80419b6EcF66d14Ad68949A"
|
|
@@ -10555,6 +10556,66 @@ var ethPools_default = [
|
|
|
10555
10556
|
}
|
|
10556
10557
|
],
|
|
10557
10558
|
rewarder: "0x772359B46FaA01cbe08fB0d34907A72F593D0fcE"
|
|
10559
|
+
},
|
|
10560
|
+
{
|
|
10561
|
+
name: "pufETH/wstETH",
|
|
10562
|
+
id: "205",
|
|
10563
|
+
bpt: "0x63E0d47A6964aD1565345Da9bfA66659F4983F02",
|
|
10564
|
+
tokens: [
|
|
10565
|
+
{
|
|
10566
|
+
address: "0x63E0d47A6964aD1565345Da9bfA66659F4983F02",
|
|
10567
|
+
symbol: "pufETH/wstETH"
|
|
10568
|
+
},
|
|
10569
|
+
{
|
|
10570
|
+
address: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
10571
|
+
symbol: "wstETH"
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
address: "0xD9A442856C234a39a81a089C06451EBAa4306a72",
|
|
10575
|
+
symbol: "pufETH"
|
|
10576
|
+
}
|
|
10577
|
+
],
|
|
10578
|
+
rewarder: "0x6Ea41486A8f21EED7B20AfDB681b90a5B6C6D029"
|
|
10579
|
+
},
|
|
10580
|
+
{
|
|
10581
|
+
name: "ShezUSD/sDAI",
|
|
10582
|
+
id: "206",
|
|
10583
|
+
bpt: "0xEd0DF9Cd16D806E8A523805e53cf0c56E6dB4D1d",
|
|
10584
|
+
tokens: [
|
|
10585
|
+
{
|
|
10586
|
+
address: "0x83F20F44975D03b1b09e64809B757c47f942BEeA",
|
|
10587
|
+
symbol: "sDAI"
|
|
10588
|
+
},
|
|
10589
|
+
{
|
|
10590
|
+
address: "0xD60EeA80C83779a8A5BFCDAc1F3323548e6BB62d",
|
|
10591
|
+
symbol: "ShezUSD"
|
|
10592
|
+
},
|
|
10593
|
+
{
|
|
10594
|
+
address: "0xEd0DF9Cd16D806E8A523805e53cf0c56E6dB4D1d",
|
|
10595
|
+
symbol: "ShezUSD/sDAI"
|
|
10596
|
+
}
|
|
10597
|
+
],
|
|
10598
|
+
rewarder: "0x5153DD9B05ac642e387c87a12C89E97Fe1bE6860"
|
|
10599
|
+
},
|
|
10600
|
+
{
|
|
10601
|
+
name: "ETHx/wstETH",
|
|
10602
|
+
id: "207",
|
|
10603
|
+
bpt: "0xB91159aa527D4769CB9FAf3e4ADB760c7E8C8Ea7",
|
|
10604
|
+
tokens: [
|
|
10605
|
+
{
|
|
10606
|
+
address: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
10607
|
+
symbol: "wstETH"
|
|
10608
|
+
},
|
|
10609
|
+
{
|
|
10610
|
+
address: "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b",
|
|
10611
|
+
symbol: "ETHx"
|
|
10612
|
+
},
|
|
10613
|
+
{
|
|
10614
|
+
address: "0xB91159aa527D4769CB9FAf3e4ADB760c7E8C8Ea7",
|
|
10615
|
+
symbol: "ETHx/wstETH"
|
|
10616
|
+
}
|
|
10617
|
+
],
|
|
10618
|
+
rewarder: "0x571a20C14a7c3Ac6d30Ee7D1925940bb0C027696"
|
|
10558
10619
|
}
|
|
10559
10620
|
];
|
|
10560
10621
|
|
|
@@ -13512,25 +13573,6 @@ var ethPools_default2 = [
|
|
|
13512
13573
|
}
|
|
13513
13574
|
]
|
|
13514
13575
|
},
|
|
13515
|
-
{
|
|
13516
|
-
bpt: "0x9c08C7a7a89cfD671c79eacdc6F07c1996277eD5",
|
|
13517
|
-
id: "0x9c08c7a7a89cfd671c79eacdc6f07c1996277ed5000200000000000000000025",
|
|
13518
|
-
name: "B-50BAL-50USDC",
|
|
13519
|
-
type: "Weighted",
|
|
13520
|
-
gauge: null,
|
|
13521
|
-
tokens: [
|
|
13522
|
-
{
|
|
13523
|
-
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
13524
|
-
symbol: "USDC",
|
|
13525
|
-
id: "0x"
|
|
13526
|
-
},
|
|
13527
|
-
{
|
|
13528
|
-
address: "0xba100000625a3754423978a60c9317c58a424e3D",
|
|
13529
|
-
symbol: "BAL",
|
|
13530
|
-
id: "0x"
|
|
13531
|
-
}
|
|
13532
|
-
]
|
|
13533
|
-
},
|
|
13534
13576
|
{
|
|
13535
13577
|
bpt: "0x9e030b67a8384cbba09D5927533Aa98010C87d91",
|
|
13536
13578
|
id: "0x9e030b67a8384cbba09d5927533aa98010c87d9100020000000000000000008f",
|
|
@@ -18462,6 +18504,34 @@ var info_default4 = [
|
|
|
18462
18504
|
crvLPToken: "0x86EA1191a219989d2dA3a85c949a12A92f8ED3Db",
|
|
18463
18505
|
cvxDepositToken: "0x91C0f0403eDC057f40e47A6b6Ee226bC489Ac343",
|
|
18464
18506
|
rewarder: "0x7ED2C45cb650B5174E089CCE183E510A79eEdb02"
|
|
18507
|
+
},
|
|
18508
|
+
{
|
|
18509
|
+
name: "cvgSDTSDT",
|
|
18510
|
+
id: "338",
|
|
18511
|
+
crvLPToken: "0xC6628f00F29cc89a87BBeE7554C4725611200fD7",
|
|
18512
|
+
cvxDepositToken: "0x0E3be609dEAf7c900276Ec2dC5B2b5bA08C8f17d",
|
|
18513
|
+
rewarder: "0x41f57AbD96d7e98cCC2C14DF672Bb1750152065D"
|
|
18514
|
+
},
|
|
18515
|
+
{
|
|
18516
|
+
name: "eUSDfxUSD",
|
|
18517
|
+
id: "339",
|
|
18518
|
+
crvLPToken: "0x16b54e3aC8e3ba088333985035b869847e36E770",
|
|
18519
|
+
cvxDepositToken: "0x8Da7c985FC26A19DFB3774af9E529D0f133b0bF7",
|
|
18520
|
+
rewarder: "0x056056063ba7cE97fB4a1bCAaeDEE6AB0DA2Ac6a"
|
|
18521
|
+
},
|
|
18522
|
+
{
|
|
18523
|
+
name: "rev DOLA",
|
|
18524
|
+
id: "340",
|
|
18525
|
+
crvLPToken: "0x20BB4a325924917E3336753BA5350a84F70f392e",
|
|
18526
|
+
cvxDepositToken: "0x3580ec4EAdAa0823a69bf221a63D7AFc26256a65",
|
|
18527
|
+
rewarder: "0xaBe67e32Bd9d4c9575015Fc81C4f5ACdE12c6CD5"
|
|
18528
|
+
},
|
|
18529
|
+
{
|
|
18530
|
+
name: "rev fxUSD",
|
|
18531
|
+
id: "341",
|
|
18532
|
+
crvLPToken: "0x6fC7eA6CA8Cd2759803eb78159C931a8FF5E0557",
|
|
18533
|
+
cvxDepositToken: "0x0Df9c85B825161fE65D40dfd61917232B0f14e97",
|
|
18534
|
+
rewarder: "0xd39D1F27C1a4b2aCd10C493D9639384bE024Dc2B"
|
|
18465
18535
|
}
|
|
18466
18536
|
];
|
|
18467
18537
|
|
|
@@ -19783,10 +19853,6 @@ var ethInfo_default = [
|
|
|
19783
19853
|
address: "0x0d438F3b5175Bebc262bF23753C1E53d03432bDE",
|
|
19784
19854
|
symbol: "wNXM"
|
|
19785
19855
|
},
|
|
19786
|
-
{
|
|
19787
|
-
address: "0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39",
|
|
19788
|
-
symbol: "HEX"
|
|
19789
|
-
},
|
|
19790
19856
|
{
|
|
19791
19857
|
address: "0x0B498ff89709d3838a063f1dFA463091F9801c2b",
|
|
19792
19858
|
symbol: "BTC2x-FLI"
|
|
@@ -19811,6 +19877,10 @@ var ethInfo_default = [
|
|
|
19811
19877
|
address: "0xDe30da39c46104798bB5aA3fe8B9e0e1F348163F",
|
|
19812
19878
|
symbol: "GTC"
|
|
19813
19879
|
},
|
|
19880
|
+
{
|
|
19881
|
+
address: "0x6810e776880C02933D47DB1b9fc05908e5386b96",
|
|
19882
|
+
symbol: "GNO"
|
|
19883
|
+
},
|
|
19814
19884
|
{
|
|
19815
19885
|
address: "0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32",
|
|
19816
19886
|
symbol: "LDO"
|
|
@@ -19843,6 +19913,10 @@ var ethInfo_default = [
|
|
|
19843
19913
|
address: "0x6f40d4A6237C257fff2dB00FA0510DeEECd303eb",
|
|
19844
19914
|
symbol: "INST"
|
|
19845
19915
|
},
|
|
19916
|
+
{
|
|
19917
|
+
address: "0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39",
|
|
19918
|
+
symbol: "HEX"
|
|
19919
|
+
},
|
|
19846
19920
|
{
|
|
19847
19921
|
address: "0x81f8f0bb1cB2A06649E51913A151F0E7Ef6FA321",
|
|
19848
19922
|
symbol: "VITA"
|
|
@@ -20111,6 +20185,10 @@ var ethInfo_default = [
|
|
|
20111
20185
|
address: "0xCa14007Eff0dB1f8135f4C25B34De49AB0d42766",
|
|
20112
20186
|
symbol: "STRK"
|
|
20113
20187
|
},
|
|
20188
|
+
{
|
|
20189
|
+
address: "0xe9B076B476D8865cDF79D1Cf7DF420EE397a7f75",
|
|
20190
|
+
symbol: "FUND"
|
|
20191
|
+
},
|
|
20114
20192
|
{
|
|
20115
20193
|
address: "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F",
|
|
20116
20194
|
symbol: "ACX"
|
|
@@ -20395,10 +20473,6 @@ var ethInfo_default = [
|
|
|
20395
20473
|
address: "0xAC57De9C1A09FeC648E93EB98875B212DB0d460B",
|
|
20396
20474
|
symbol: "BabyDoge"
|
|
20397
20475
|
},
|
|
20398
|
-
{
|
|
20399
|
-
address: "0x4104b135DBC9609Fc1A9490E61369036497660c8",
|
|
20400
|
-
symbol: "APW"
|
|
20401
|
-
},
|
|
20402
20476
|
{
|
|
20403
20477
|
address: "0x15e6E0D4ebeAC120F9a97e71FaA6a0235b85ED12",
|
|
20404
20478
|
symbol: "SAVM"
|
|
@@ -20407,10 +20481,6 @@ var ethInfo_default = [
|
|
|
20407
20481
|
address: "0x8CCD897ca6160ED76755383B201C1948394328c7",
|
|
20408
20482
|
symbol: "wBAI"
|
|
20409
20483
|
},
|
|
20410
|
-
{
|
|
20411
|
-
address: "0x8457CA5040ad67fdebbCC8EdCE889A335Bc0fbFB",
|
|
20412
|
-
symbol: "ALT"
|
|
20413
|
-
},
|
|
20414
20484
|
{
|
|
20415
20485
|
address: "0xb9f599ce614Feb2e1BBe58F180F370D05b39344E",
|
|
20416
20486
|
symbol: "PORK"
|
|
@@ -20483,10 +20553,6 @@ var ethInfo_default = [
|
|
|
20483
20553
|
address: "0x614577036F0a024DBC1C88BA616b394DD65d105a",
|
|
20484
20554
|
symbol: "GNUS"
|
|
20485
20555
|
},
|
|
20486
|
-
{
|
|
20487
|
-
address: "0xB60acD2057067DC9ed8c083f5aa227a244044fD6",
|
|
20488
|
-
symbol: "stTAO"
|
|
20489
|
-
},
|
|
20490
20556
|
{
|
|
20491
20557
|
address: "0x4A029F7bCf33AcB03547D8fA7be840347973e24e",
|
|
20492
20558
|
symbol: "MAZZE"
|
|
@@ -20703,10 +20769,6 @@ var ethInfo_default = [
|
|
|
20703
20769
|
address: "0xba5BDe662c17e2aDFF1075610382B9B691296350",
|
|
20704
20770
|
symbol: "RARE"
|
|
20705
20771
|
},
|
|
20706
|
-
{
|
|
20707
|
-
address: "0x6810e776880C02933D47DB1b9fc05908e5386b96",
|
|
20708
|
-
symbol: "GNO"
|
|
20709
|
-
},
|
|
20710
20772
|
{
|
|
20711
20773
|
address: "0x9D65fF81a3c488d585bBfb0Bfe3c7707c7917f54",
|
|
20712
20774
|
symbol: "SSV"
|
|
@@ -20739,6 +20801,10 @@ var ethInfo_default = [
|
|
|
20739
20801
|
address: "0x243cACb4D5fF6814AD668C3e225246efA886AD5a",
|
|
20740
20802
|
symbol: "SHI"
|
|
20741
20803
|
},
|
|
20804
|
+
{
|
|
20805
|
+
address: "0x320623b8E4fF03373931769A31Fc52A4E78B5d70",
|
|
20806
|
+
symbol: "RSR"
|
|
20807
|
+
},
|
|
20742
20808
|
{
|
|
20743
20809
|
address: "0x9AAb071B4129B083B01cB5A0Cb513Ce7ecA26fa5",
|
|
20744
20810
|
symbol: "HUNT"
|
|
@@ -21014,10 +21080,6 @@ var ethInfo_default = [
|
|
|
21014
21080
|
{
|
|
21015
21081
|
address: "0x0e4e7F2AecF408AFF4f82f067677050239bdC58A",
|
|
21016
21082
|
symbol: "FUNG"
|
|
21017
|
-
},
|
|
21018
|
-
{
|
|
21019
|
-
address: "0x83F20F44975D03b1b09e64809B757c47f942BEeA",
|
|
21020
|
-
symbol: "sDAI"
|
|
21021
21083
|
}
|
|
21022
21084
|
];
|
|
21023
21085
|
|
|
@@ -21087,29 +21149,25 @@ var eth14 = {
|
|
|
21087
21149
|
...allowErc20Approve(mintTokenAddresses, [
|
|
21088
21150
|
contracts.mainnet.uniswap_v3.positions_nft
|
|
21089
21151
|
]),
|
|
21090
|
-
|
|
21091
|
-
|
|
21092
|
-
|
|
21093
|
-
|
|
21094
|
-
|
|
21095
|
-
|
|
21096
|
-
|
|
21097
|
-
|
|
21098
|
-
|
|
21099
|
-
|
|
21100
|
-
|
|
21101
|
-
|
|
21102
|
-
|
|
21103
|
-
|
|
21104
|
-
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21109
|
-
send: true
|
|
21110
|
-
}
|
|
21111
|
-
)
|
|
21112
|
-
},
|
|
21152
|
+
allow.mainnet.uniswap_v3.positions_nft.mint(
|
|
21153
|
+
{
|
|
21154
|
+
recipient: import_zodiac_roles_sdk15.c.avatar,
|
|
21155
|
+
token0: oneOf(mintTokenAddresses),
|
|
21156
|
+
token1: oneOf(mintTokenAddresses),
|
|
21157
|
+
fee: mintFees ? oneOf(mintFees) : void 0
|
|
21158
|
+
},
|
|
21159
|
+
{
|
|
21160
|
+
send: true
|
|
21161
|
+
}
|
|
21162
|
+
),
|
|
21163
|
+
allow.mainnet.uniswap_v3.positions_nft.increaseLiquidity(
|
|
21164
|
+
{
|
|
21165
|
+
tokenId: nftIds ? oneOf(nftIds) : import_zodiac_roles_sdk15.c.avatarIsOwnerOfErc721
|
|
21166
|
+
},
|
|
21167
|
+
{
|
|
21168
|
+
send: true
|
|
21169
|
+
}
|
|
21170
|
+
),
|
|
21113
21171
|
allow.mainnet.uniswap_v3.positions_nft.decreaseLiquidity(
|
|
21114
21172
|
nftIds ? {
|
|
21115
21173
|
tokenId: oneOf(nftIds)
|