@defisaver/positions-sdk 2.1.73 → 2.1.75

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.
Files changed (43) hide show
  1. package/cjs/config/contracts.d.ts +53 -656
  2. package/cjs/config/contracts.js +1 -1
  3. package/cjs/contracts.d.ts +38412 -0
  4. package/cjs/contracts.js +11 -2
  5. package/cjs/savings/index.d.ts +4 -3
  6. package/cjs/savings/index.js +70 -53
  7. package/cjs/savings/summerVaults/index.d.ts +7 -0
  8. package/cjs/savings/summerVaults/index.js +92 -0
  9. package/cjs/savings/summerVaults/options.d.ts +13 -0
  10. package/cjs/savings/summerVaults/options.js +109 -0
  11. package/cjs/services/viem.d.ts +11 -11
  12. package/cjs/types/common.d.ts +1 -1
  13. package/cjs/types/common.js +1 -1
  14. package/cjs/types/savings/index.d.ts +3 -1
  15. package/cjs/types/savings/index.js +1 -0
  16. package/cjs/types/savings/summerVaults.d.ts +22 -0
  17. package/cjs/types/savings/summerVaults.js +16 -0
  18. package/esm/config/contracts.d.ts +53 -656
  19. package/esm/config/contracts.js +1 -1
  20. package/esm/contracts.d.ts +38412 -0
  21. package/esm/contracts.js +8 -0
  22. package/esm/savings/index.d.ts +4 -3
  23. package/esm/savings/index.js +69 -53
  24. package/esm/savings/summerVaults/index.d.ts +7 -0
  25. package/esm/savings/summerVaults/index.js +54 -0
  26. package/esm/savings/summerVaults/options.d.ts +13 -0
  27. package/esm/savings/summerVaults/options.js +105 -0
  28. package/esm/services/viem.d.ts +11 -11
  29. package/esm/types/common.d.ts +1 -1
  30. package/esm/types/common.js +1 -1
  31. package/esm/types/savings/index.d.ts +3 -1
  32. package/esm/types/savings/index.js +1 -0
  33. package/esm/types/savings/summerVaults.d.ts +22 -0
  34. package/esm/types/savings/summerVaults.js +13 -0
  35. package/package.json +1 -1
  36. package/src/config/contracts.ts +3 -3
  37. package/src/contracts.ts +10 -1
  38. package/src/savings/index.ts +63 -47
  39. package/src/savings/summerVaults/index.ts +56 -0
  40. package/src/savings/summerVaults/options.ts +117 -0
  41. package/src/types/common.ts +1 -1
  42. package/src/types/savings/index.ts +3 -1
  43. package/src/types/savings/summerVaults.ts +24 -0
@@ -1195,7 +1195,7 @@ exports.Erc20 = {
1195
1195
  "networks": {},
1196
1196
  };
1197
1197
  exports.Erc4626 = {
1198
- "abi": [{ "inputs": [{ "internalType": "contract IFluidLiquidity", "name": "liquidity_", "type": "address" }, { "internalType": "contract IFluidLendingFactory", "name": "lendingFactory_", "type": "address" }, { "internalType": "contract IERC20", "name": "asset_", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [{ "internalType": "uint256", "name": "errorId_", "type": "uint256" }], "name": "FluidLendingError", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "errorId_", "type": "uint256" }], "name": "FluidLiquidityCalcsError", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "errorId_", "type": "uint256" }], "name": "FluidSafeTransferError", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "assets", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "Deposit", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "assets", "type": "uint256" }], "name": "LogRebalance", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }], "name": "LogRescueFunds", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "tokenExchangePrice", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "liquidityExchangePrice", "type": "uint256" }], "name": "LogUpdateRates", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "rebalancer", "type": "address" }], "name": "LogUpdateRebalancer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract IFluidLendingRewardsRateModel", "name": "rewardsRateModel", "type": "address" }], "name": "LogUpdateRewards", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "assets", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "Withdraw", "type": "event" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "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": [], "name": "asset", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "name": "convertToAssets", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "name": "convertToShares", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" }], "name": "decreaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }], "name": "deposit", "outputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "uint256", "name": "minAmountOut_", "type": "uint256" }], "name": "deposit", "outputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "uint256", "name": "minAmountOut_", "type": "uint256" }, { "components": [{ "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint160", "name": "amount", "type": "uint160" }, { "internalType": "uint48", "name": "expiration", "type": "uint48" }, { "internalType": "uint48", "name": "nonce", "type": "uint48" }], "internalType": "struct IAllowanceTransfer.PermitDetails", "name": "details", "type": "tuple" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "sigDeadline", "type": "uint256" }], "internalType": "struct IAllowanceTransfer.PermitSingle", "name": "permit_", "type": "tuple" }, { "internalType": "bytes", "name": "signature_", "type": "bytes" }], "name": "depositWithSignature", "outputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "uint256", "name": "minAmountOut_", "type": "uint256" }, { "internalType": "uint256", "name": "deadline_", "type": "uint256" }, { "internalType": "bytes", "name": "signature_", "type": "bytes" }], "name": "depositWithSignatureEIP2612", "outputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getData", "outputs": [{ "internalType": "contract IFluidLiquidity", "name": "liquidity_", "type": "address" }, { "internalType": "contract IFluidLendingFactory", "name": "lendingFactory_", "type": "address" }, { "internalType": "contract IFluidLendingRewardsRateModel", "name": "lendingRewardsRateModel_", "type": "address" }, { "internalType": "contract IAllowanceTransfer", "name": "permit2_", "type": "address" }, { "internalType": "address", "name": "rebalancer_", "type": "address" }, { "internalType": "bool", "name": "rewardsActive_", "type": "bool" }, { "internalType": "uint256", "name": "liquidityBalance_", "type": "uint256" }, { "internalType": "uint256", "name": "liquidityExchangePrice_", "type": "uint256" }, { "internalType": "uint256", "name": "tokenExchangePrice_", "type": "uint256" }], "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": "token_", "type": "address" }, { "internalType": "uint256", "name": "amount_", "type": "uint256" }, { "internalType": "bytes", "name": "data_", "type": "bytes" }], "name": "liquidityCallback", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "maxDeposit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "maxMint", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner_", "type": "address" }], "name": "maxRedeem", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner_", "type": "address" }], "name": "maxWithdraw", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "minDeposit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "uint256", "name": "maxAssets_", "type": "uint256" }], "name": "mint", "outputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }], "name": "mint", "outputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "uint256", "name": "maxAssets_", "type": "uint256" }, { "components": [{ "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint160", "name": "amount", "type": "uint160" }, { "internalType": "uint48", "name": "expiration", "type": "uint48" }, { "internalType": "uint48", "name": "nonce", "type": "uint48" }], "internalType": "struct IAllowanceTransfer.PermitDetails", "name": "details", "type": "tuple" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "sigDeadline", "type": "uint256" }], "internalType": "struct IAllowanceTransfer.PermitSingle", "name": "permit_", "type": "tuple" }, { "internalType": "bytes", "name": "signature_", "type": "bytes" }], "name": "mintWithSignature", "outputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "uint256", "name": "maxAssets_", "type": "uint256" }, { "internalType": "uint256", "name": "deadline_", "type": "uint256" }, { "internalType": "bytes", "name": "signature_", "type": "bytes" }], "name": "mintWithSignatureEIP2612", "outputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "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": "uint256", "name": "assets_", "type": "uint256" }], "name": "previewDeposit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "name": "previewMint", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "name": "previewRedeem", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "name": "previewWithdraw", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "rebalance", "outputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "address", "name": "owner_", "type": "address" }, { "internalType": "uint256", "name": "minAmountOut_", "type": "uint256" }], "name": "redeem", "outputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "address", "name": "owner_", "type": "address" }], "name": "redeem", "outputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "address", "name": "owner_", "type": "address" }, { "internalType": "uint256", "name": "minAmountOut_", "type": "uint256" }, { "internalType": "uint256", "name": "deadline_", "type": "uint256" }, { "internalType": "bytes", "name": "signature_", "type": "bytes" }], "name": "redeemWithSignature", "outputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token_", "type": "address" }], "name": "rescueFunds", "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": "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": "updateRates", "outputs": [{ "internalType": "uint256", "name": "tokenExchangePrice_", "type": "uint256" }, { "internalType": "uint256", "name": "liquidityExchangePrice_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newRebalancer_", "type": "address" }], "name": "updateRebalancer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract IFluidLendingRewardsRateModel", "name": "rewardsRateModel_", "type": "address" }], "name": "updateRewards", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "address", "name": "owner_", "type": "address" }, { "internalType": "uint256", "name": "maxSharesBurn_", "type": "uint256" }], "name": "withdraw", "outputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "address", "name": "owner_", "type": "address" }], "name": "withdraw", "outputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "sharesToPermit_", "type": "uint256" }, { "internalType": "uint256", "name": "assets_", "type": "uint256" }, { "internalType": "address", "name": "receiver_", "type": "address" }, { "internalType": "address", "name": "owner_", "type": "address" }, { "internalType": "uint256", "name": "maxSharesBurn_", "type": "uint256" }, { "internalType": "uint256", "name": "deadline_", "type": "uint256" }, { "internalType": "bytes", "name": "signature_", "type": "bytes" }], "name": "withdrawWithSignature", "outputs": [{ "internalType": "uint256", "name": "shares_", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }],
1198
+ "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "assets", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "Deposit", "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": "amount", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "assets", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "Withdraw", "type": "event" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "asset", "outputs": [{ "internalType": "contract ERC20", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "convertToAssets", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets", "type": "uint256" }], "name": "convertToShares", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets", "type": "uint256" }, { "internalType": "address", "name": "receiver", "type": "address" }], "name": "deposit", "outputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "maxDeposit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "maxMint", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "maxRedeem", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "maxWithdraw", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "address", "name": "receiver", "type": "address" }], "name": "mint", "outputs": [{ "internalType": "uint256", "name": "assets", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "nonces", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets", "type": "uint256" }], "name": "previewDeposit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "previewMint", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "previewRedeem", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "assets", "type": "uint256" }], "name": "previewWithdraw", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "address", "name": "owner", "type": "address" }], "name": "redeem", "outputs": [{ "internalType": "uint256", "name": "assets", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalAssets", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "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": [{ "internalType": "uint256", "name": "assets", "type": "uint256" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "address", "name": "owner", "type": "address" }], "name": "withdraw", "outputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }],
1199
1199
  "networks": {},
1200
1200
  };
1201
1201
  exports.AaveUmbrellaView = {