@argent/x-shared 1.37.0 → 1.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.eslintrc.d.cts +45 -0
- package/dist/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/semver.cjs +1 -0
- package/dist/_virtual/semver.js +4 -0
- package/dist/commitlint.config.d.cts +2 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2 -19
- package/dist/index.js +424 -4
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/_shortw_utils.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/_shortw_utils.js +14 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/curve.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/curve.js +88 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/modular.js +203 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/poseidon.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/poseidon.js +68 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/utils.js +166 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.js +581 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/_assert.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/_assert.js +48 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/crypto.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/crypto.js +4 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/hmac.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/hmac.js +42 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/utils.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/utils.js +47 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_assert.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_assert.js +31 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_sha2.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_sha2.js +61 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_u64.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_u64.js +21 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha256.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha256.js +114 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.js +107 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/utils.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/utils.js +38 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_assert.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_assert.js +32 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_u64.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_u64.js +21 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js +107 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/utils.cjs +1 -0
- package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/utils.js +44 -0
- package/dist/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.cjs +1 -0
- package/dist/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.js +622 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.js +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludesWith.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludesWith.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.js +33 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqWith.cjs +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqWith.js +7 -0
- package/dist/node_modules/.pnpm/micro-starknet@0.2.3/node_modules/micro-starknet/lib/esm/index.cjs +1 -0
- package/dist/node_modules/.pnpm/micro-starknet@0.2.3/node_modules/micro-starknet/lib/esm/index.js +134 -0
- package/dist/node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.cjs +1 -0
- package/dist/node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js +629 -0
- package/dist/simulation.cjs +1 -0
- package/dist/simulation.d.ts +1 -1
- package/dist/simulation.js +69 -1
- package/dist/src/account/account.model.cjs +1 -0
- package/dist/src/account/account.model.js +45 -0
- package/dist/src/account/accountv4.cjs +1 -0
- package/dist/src/account/accountv4.js +14 -0
- package/dist/src/account/preferences.model.cjs +1 -0
- package/dist/src/account/preferences.model.js +11 -0
- package/dist/src/assets/tokens.json.cjs +1 -0
- package/dist/src/assets/tokens.json.js +181 -0
- package/dist/src/backend/schema.cjs +1 -0
- package/dist/src/backend/schema.js +14 -0
- package/dist/src/bigdecimal/constants.cjs +1 -0
- package/dist/src/bigdecimal/constants.js +4 -0
- package/dist/src/bigdecimal/createUnitsSchema.cjs +1 -0
- package/dist/src/bigdecimal/createUnitsSchema.js +8 -0
- package/dist/src/bigdecimal/formatUnits.cjs +1 -0
- package/dist/src/bigdecimal/formatUnits.js +11 -0
- package/dist/src/bigdecimal/index.cjs +1 -0
- package/dist/src/bigdecimal/index.js +33 -0
- package/dist/src/bigdecimal/lib.cjs +1 -0
- package/dist/src/bigdecimal/lib.js +53 -0
- package/dist/src/bigdecimal/parseUnits.cjs +1 -0
- package/dist/src/bigdecimal/parseUnits.js +11 -0
- package/dist/src/bigdecimal/utils.cjs +1 -0
- package/dist/src/bigdecimal/utils.js +37 -0
- package/dist/src/cache/CacheService.cjs +1 -0
- package/dist/src/cache/CacheService.js +37 -0
- package/dist/src/chains/starknet/address.cjs +1 -0
- package/dist/src/chains/starknet/address.js +64 -0
- package/dist/src/chains/starknet/addressDomain.cjs +1 -0
- package/dist/src/chains/starknet/addressDomain.js +29 -0
- package/dist/src/chains/starknet/addressInput.cjs +1 -0
- package/dist/src/chains/starknet/addressInput.js +7 -0
- package/dist/src/chains/starknet/argentName.cjs +1 -0
- package/dist/src/chains/starknet/argentName.js +14 -0
- package/dist/src/chains/starknet/cairoVersionSchema.cjs +1 -0
- package/dist/src/chains/starknet/cairoVersionSchema.js +5 -0
- package/dist/src/chains/starknet/constants.cjs +1 -0
- package/dist/src/chains/starknet/constants.js +10 -0
- package/dist/src/chains/starknet/getAddressFromArgentName.cjs +1 -0
- package/dist/src/chains/starknet/getAddressFromArgentName.js +48 -0
- package/dist/src/chains/starknet/getAddressFromStarkName.cjs +1 -0
- package/dist/src/chains/starknet/getAddressFromStarkName.js +70 -0
- package/dist/src/chains/starknet/network.cjs +1 -0
- package/dist/src/chains/starknet/network.js +20 -0
- package/dist/src/chains/starknet/services/address/StarknetAddressService.cjs +1 -0
- package/dist/src/chains/starknet/services/address/StarknetAddressService.js +38 -0
- package/dist/src/chains/starknet/services/deploymentData/constants.cjs +1 -0
- package/dist/src/chains/starknet/services/deploymentData/constants.js +22 -0
- package/dist/src/chains/starknet/services/deploymentData/deploymentData.schema.cjs +1 -0
- package/dist/src/chains/starknet/services/deploymentData/deploymentData.schema.js +19 -0
- package/dist/src/chains/starknet/services/deploymentData/findImplementationForAccount.cjs +1 -0
- package/dist/src/chains/starknet/services/deploymentData/findImplementationForAccount.js +69 -0
- package/dist/src/chains/starknet/services/deploymentData/getAccountClassHash.cjs +1 -0
- package/dist/src/chains/starknet/services/deploymentData/getAccountClassHash.js +59 -0
- package/dist/src/chains/starknet/starknetId.cjs +1 -0
- package/dist/src/chains/starknet/starknetId.js +14 -0
- package/dist/src/errors/account.cjs +1 -0
- package/dist/src/errors/account.js +14 -0
- package/dist/src/errors/address.cjs +1 -0
- package/dist/src/errors/address.js +14 -0
- package/dist/src/errors/baseErrors.cjs +1 -0
- package/dist/src/errors/baseErrors.js +15 -0
- package/dist/src/errors/call.cjs +1 -0
- package/dist/src/errors/call.js +14 -0
- package/dist/src/errors/network.cjs +1 -0
- package/dist/src/errors/network.js +14 -0
- package/dist/src/errors/review.cjs +1 -0
- package/dist/src/errors/review.js +14 -0
- package/dist/src/errors/swap.cjs +1 -0
- package/dist/src/errors/swap.js +14 -0
- package/dist/src/features/simulation/activity/normalize.cjs +1 -0
- package/dist/src/features/simulation/activity/normalize.js +40 -0
- package/dist/src/features/simulation/activity/schema.cjs +1 -0
- package/dist/src/features/simulation/activity/schema.js +236 -0
- package/dist/src/features/simulation/activity/utils/createNativeActivity.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/createNativeActivity.js +31 -0
- package/dist/src/features/simulation/activity/utils/getAnyActivityTitle.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/getAnyActivityTitle.js +24 -0
- package/dist/src/features/simulation/activity/utils/getOverallLastModified.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/getOverallLastModified.js +6 -0
- package/dist/src/features/simulation/activity/utils/hasDelegationActivity.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/hasDelegationActivity.js +10 -0
- package/dist/src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.js +11 -0
- package/dist/src/features/simulation/activity/utils/isRejectOnChainActivity.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/isRejectOnChainActivity.js +26 -0
- package/dist/src/features/simulation/activity/utils/isUpgradeActivity.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/isUpgradeActivity.js +22 -0
- package/dist/src/features/simulation/activity/utils/parseAccountActivities.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/parseAccountActivities.js +13 -0
- package/dist/src/features/simulation/activity/utils/parseFinanceActivities.cjs +1 -0
- package/dist/src/features/simulation/activity/utils/parseFinanceActivities.js +33 -0
- package/dist/src/features/simulation/fees/schema.cjs +1 -0
- package/dist/src/features/simulation/fees/schema.js +20 -0
- package/dist/src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.cjs +1 -0
- package/dist/src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.js +18 -0
- package/dist/src/features/simulation/transactionReview/getMessageFromSimulationError.cjs +1 -0
- package/dist/src/features/simulation/transactionReview/getMessageFromSimulationError.js +6 -0
- package/dist/src/features/simulation/transactionReview/schema.cjs +1 -0
- package/dist/src/features/simulation/transactionReview/schema.js +215 -0
- package/dist/src/features/simulation/warning/helper.cjs +1 -0
- package/dist/src/features/simulation/warning/helper.js +12 -0
- package/dist/src/features/simulation/warning/schema.cjs +1 -0
- package/dist/src/features/simulation/warning/schema.js +11 -0
- package/dist/src/features/swap/models/order.model.cjs +1 -0
- package/dist/src/features/swap/models/order.model.js +20 -0
- package/dist/src/features/swap/models/quote.model.cjs +1 -0
- package/dist/src/features/swap/models/quote.model.js +36 -0
- package/dist/src/features/swap/models/trade.model.cjs +1 -0
- package/dist/src/features/swap/models/trade.model.js +28 -0
- package/dist/src/features/swap/services/implementation.cjs +1 -0
- package/dist/src/features/swap/services/implementation.js +76 -0
- package/dist/src/features/swap/utils/slippage.cjs +1 -0
- package/dist/src/features/swap/utils/slippage.js +28 -0
- package/dist/src/features/swap/utils/totalFee.cjs +1 -0
- package/dist/src/features/swap/utils/totalFee.js +13 -0
- package/dist/src/http/DateService.cjs +1 -0
- package/dist/src/http/DateService.js +17 -0
- package/dist/src/http/HttpError.cjs +1 -0
- package/dist/src/http/HttpError.js +8 -0
- package/dist/src/http/HttpService.cjs +1 -0
- package/dist/src/http/HttpService.js +90 -0
- package/dist/src/http/IHttpService.cjs +1 -0
- package/dist/src/http/IHttpService.js +7 -0
- package/dist/src/http/SWRService.cjs +1 -0
- package/dist/src/http/SWRService.js +60 -0
- package/dist/src/http/fetcher.cjs +1 -0
- package/dist/src/http/fetcher.js +36 -0
- package/dist/{http → src/http}/index.d.ts +0 -1
- package/dist/src/http/time.cjs +1 -0
- package/dist/src/http/time.js +19 -0
- package/dist/src/index.d.ts +17 -0
- package/dist/src/knownDapps/KnownDappsBackendService.cjs +1 -0
- package/dist/src/knownDapps/KnownDappsBackendService.js +16 -0
- package/dist/src/knownDapps/schema.cjs +1 -0
- package/dist/src/knownDapps/schema.js +44 -0
- package/dist/src/knownDapps/utils/getDapplandUrl.cjs +1 -0
- package/dist/src/knownDapps/utils/getDapplandUrl.js +12 -0
- package/dist/src/nameResolution/ResolveNameService.cjs +1 -0
- package/dist/src/nameResolution/ResolveNameService.js +42 -0
- package/dist/src/nameResolution/schema.cjs +1 -0
- package/dist/src/nameResolution/schema.js +25 -0
- package/dist/src/nfts/BackendNftService.cjs +1 -0
- package/dist/src/nfts/BackendNftService.js +119 -0
- package/dist/src/nfts/BackendPaginationError.cjs +1 -0
- package/dist/src/nfts/BackendPaginationError.js +13 -0
- package/dist/{nfts → src/nfts}/index.d.ts +0 -1
- package/dist/src/nfts/utils.cjs +1 -0
- package/dist/src/nfts/utils.js +14 -0
- package/dist/src/onchainRecovery/OnchainRecoveryService.cjs +1 -0
- package/dist/src/onchainRecovery/OnchainRecoveryService.js +69 -0
- package/dist/src/onchainRecovery/schema.cjs +1 -0
- package/dist/src/onchainRecovery/schema.js +49 -0
- package/dist/src/platform/isBraveBrowser.cjs +1 -0
- package/dist/src/platform/isBraveBrowser.js +11 -0
- package/dist/src/platform/isBrowser.cjs +1 -0
- package/dist/src/platform/isBrowser.js +28 -0
- package/dist/src/signer/multisigner.cjs +1 -0
- package/dist/src/signer/multisigner.js +19 -0
- package/dist/src/signer/seedphrase.cjs +1 -0
- package/dist/src/signer/seedphrase.js +7 -0
- package/dist/src/tokens/balances.cjs +1 -0
- package/dist/src/tokens/balances.js +38 -0
- package/dist/src/tokens/constants.cjs +1 -0
- package/dist/src/tokens/constants.js +4 -0
- package/dist/src/tokens/convertTokenAmountToCurrencyValue.cjs +1 -0
- package/dist/src/tokens/convertTokenAmountToCurrencyValue.js +16 -0
- package/dist/src/tokens/convertTokenUnitAmountWithDecimals.cjs +1 -0
- package/dist/src/tokens/convertTokenUnitAmountWithDecimals.js +11 -0
- package/dist/src/tokens/ensureDecimals.cjs +1 -0
- package/dist/src/tokens/ensureDecimals.js +5 -0
- package/dist/src/tokens/getCurrencySymbol.cjs +1 -0
- package/dist/src/tokens/getCurrencySymbol.js +15 -0
- package/dist/src/tokens/isUnlimitedAmount.cjs +1 -0
- package/dist/src/tokens/isUnlimitedAmount.js +5 -0
- package/dist/src/tokens/prettifyCurrencyValue.cjs +1 -0
- package/dist/src/tokens/prettifyCurrencyValue.js +11 -0
- package/dist/src/tokens/prettifyTokenAmount.cjs +1 -0
- package/dist/src/tokens/prettifyTokenAmount.js +23 -0
- package/dist/src/tokens/service/implementation.cjs +1 -0
- package/dist/{tokens → src/tokens}/service/implementation.d.ts +21 -2
- package/dist/src/tokens/service/implementation.js +64 -0
- package/dist/src/tokens/service/tokenError.cjs +1 -0
- package/dist/src/tokens/service/tokenError.js +14 -0
- package/dist/src/tokens/service/types/backend.model.cjs +1 -0
- package/dist/{tokens → src/tokens}/service/types/backend.model.d.ts +818 -73
- package/dist/src/tokens/service/types/backend.model.js +134 -0
- package/dist/src/tokens/service/types/defiPosition.model.cjs +1 -0
- package/dist/{tokens → src/tokens}/service/types/defiPosition.model.d.ts +1024 -64
- package/dist/src/tokens/service/types/defiPosition.model.js +75 -0
- package/dist/src/tokens/service/types/defiPositionType.model.cjs +1 -0
- package/dist/{tokens → src/tokens}/service/types/defiPositionType.model.d.ts +1 -1
- package/dist/src/tokens/service/types/defiPositionType.model.js +10 -0
- package/dist/src/tokens/service/types/unclaimedRewards.model.cjs +1 -0
- package/dist/src/tokens/service/types/unclaimedRewards.model.js +16 -0
- package/dist/src/tokens/service/types/webToken.model.cjs +1 -0
- package/dist/src/tokens/service/types/webToken.model.js +45 -0
- package/dist/src/transactions/amount.cjs +1 -0
- package/dist/src/transactions/amount.js +24 -0
- package/dist/src/transactions/buildTransactions.cjs +1 -0
- package/dist/src/transactions/buildTransactions.js +34 -0
- package/dist/src/transactions/errors.cjs +1 -0
- package/dist/src/transactions/errors.js +19 -0
- package/dist/src/transactions/estimate/argentMaxFee.cjs +1 -0
- package/dist/src/transactions/estimate/argentMaxFee.js +13 -0
- package/dist/src/transactions/estimate/error.cjs +1 -0
- package/dist/src/transactions/estimate/error.js +14 -0
- package/dist/src/transactions/estimate/model.cjs +1 -0
- package/dist/src/transactions/estimate/model.js +14 -0
- package/dist/src/transactions/estimate/utils.cjs +1 -0
- package/dist/src/transactions/estimate/utils.js +232 -0
- package/dist/src/transactions/findTransfersAndApprovals.cjs +1 -0
- package/dist/src/transactions/findTransfersAndApprovals.js +31 -0
- package/dist/src/transactions/getPrettyRcpError.cjs +1 -0
- package/dist/src/transactions/getPrettyRcpError.js +11 -0
- package/dist/src/transactions/getTransactionVersion.cjs +1 -0
- package/dist/src/transactions/getTransactionVersion.js +18 -0
- package/dist/{transactions → src/transactions}/index.d.ts +0 -6
- package/dist/src/transactions/service/implementation.cjs +1 -0
- package/dist/src/transactions/service/implementation.js +182 -0
- package/dist/src/transactions/service/types.cjs +1 -0
- package/dist/src/transactions/service/types.js +10 -0
- package/dist/src/transactions/transactionReviewTypes.cjs +1 -0
- package/dist/src/transactions/transactionReviewTypes.js +10 -0
- package/dist/src/transactions/transactionVersion.cjs +1 -0
- package/dist/src/transactions/transactionVersion.js +14 -0
- package/dist/src/transactions/txv3.cjs +1 -0
- package/dist/src/transactions/txv3.js +14 -0
- package/dist/src/utils/address.cjs +1 -0
- package/dist/src/utils/address.js +4 -0
- package/dist/src/utils/arrays.cjs +1 -0
- package/dist/src/utils/arrays.js +4 -0
- package/dist/src/utils/avatarImage.cjs +4 -0
- package/dist/src/utils/avatarImage.js +42 -0
- package/dist/src/utils/base58.cjs +1 -0
- package/dist/src/utils/base58.js +15 -0
- package/dist/src/utils/bigNumber.cjs +1 -0
- package/dist/src/utils/bigNumber.js +7 -0
- package/dist/src/utils/bips.cjs +1 -0
- package/dist/src/utils/bips.js +11 -0
- package/dist/src/utils/daysBetween.cjs +1 -0
- package/dist/src/utils/daysBetween.js +7 -0
- package/dist/src/utils/env.cjs +1 -0
- package/dist/src/utils/env.js +4 -0
- package/dist/src/utils/hex.cjs +1 -0
- package/dist/src/utils/hex.js +9 -0
- package/dist/src/utils/id.cjs +1 -0
- package/dist/src/utils/id.js +8 -0
- package/dist/{utils → src/utils}/index.d.ts +0 -1
- package/dist/src/utils/initials.cjs +1 -0
- package/dist/src/utils/initials.js +16 -0
- package/dist/src/utils/isContractDeployed.cjs +1 -0
- package/dist/src/utils/isContractDeployed.js +10 -0
- package/dist/src/utils/nonNullable.cjs +1 -0
- package/dist/src/utils/nonNullable.js +7 -0
- package/dist/src/utils/number/isAllowedAddressHexInputValue.cjs +1 -0
- package/dist/src/utils/number/isAllowedAddressHexInputValue.js +7 -0
- package/dist/src/utils/number/isAllowedNumericInputValue.cjs +1 -0
- package/dist/src/utils/number/isAllowedNumericInputValue.js +8 -0
- package/dist/src/utils/number/isNumeric.cjs +1 -0
- package/dist/src/utils/number/isNumeric.js +4 -0
- package/dist/src/utils/number/prettifyNumber.cjs +1 -0
- package/dist/src/utils/number/prettifyNumber.js +47 -0
- package/dist/src/utils/parseAmount.cjs +1 -0
- package/dist/src/utils/parseAmount.js +14 -0
- package/dist/src/utils/pluralise.cjs +1 -0
- package/dist/src/utils/pluralise.js +4 -0
- package/dist/src/utils/readFileAsString.cjs +1 -0
- package/dist/src/utils/readFileAsString.js +10 -0
- package/dist/src/utils/schemas.cjs +1 -0
- package/dist/src/utils/schemas.js +29 -0
- package/dist/src/utils/starknet/starknet.cjs +1 -0
- package/dist/src/utils/starknet/starknet.js +57 -0
- package/dist/src/utils/starknet/starknetLibTypes.cjs +1 -0
- package/dist/src/utils/starknet/starknetLibTypes.js +7 -0
- package/dist/src/utils/starknet/starknetSchemas.cjs +1 -0
- package/dist/src/utils/starknet/starknetSchemas.js +102 -0
- package/dist/src/utils/transactions.cjs +1 -0
- package/dist/src/utils/transactions.js +11 -0
- package/dist/src/utils/url/urlWithQuery.cjs +1 -0
- package/dist/src/utils/url/urlWithQuery.js +9 -0
- package/dist/src/utils/voidify.cjs +1 -0
- package/dist/src/utils/voidify.js +8 -0
- package/dist/swap.cjs +1 -0
- package/dist/swap.d.ts +1 -1
- package/dist/swap.js +20 -1
- package/package.json +14 -28
- package/dist/bips-DKbEGvGl.mjs +0 -114
- package/dist/bips-DxN0hSiY.js +0 -1
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/useDebounce.d.ts +0 -1
- package/dist/hooks/useDebouncedValue.d.ts +0 -1
- package/dist/http/swr.d.ts +0 -21
- package/dist/index.mjs +0 -4466
- package/dist/nfts/useNfts.d.ts +0 -23
- package/dist/providers/WebAmplitude/WebAmplitudeProvider.d.ts +0 -7
- package/dist/providers/WebAmplitude/index.d.ts +0 -2
- package/dist/providers/WebAmplitude/service.d.ts +0 -7
- package/dist/providers/WebAmplitude/types.d.ts +0 -6
- package/dist/providers/WebAmplitude/utils.d.ts +0 -2
- package/dist/providers/index.d.ts +0 -1
- package/dist/simulation.mjs +0 -255
- package/dist/swap.mjs +0 -183
- package/dist/transactionVersion-C7p_qk9x.js +0 -1
- package/dist/transactionVersion-Cjoucwcx.mjs +0 -793
- package/dist/transactions/useBalanceChange.d.ts +0 -5
- package/dist/transactions/useErc20Transactions.d.ts +0 -6
- package/dist/transactions/useErc721Transactions.d.ts +0 -5
- package/dist/transactions/useErc721Transfers.d.ts +0 -5
- package/dist/transactions/useMaxAmountTransaction.d.ts +0 -7
- package/dist/transactions/useTransactionReview.d.ts +0 -15
- package/dist/transactions/useTransactionReviewV2web.d.ts +0 -1004
- package/dist/utils/useEventEmitter.d.ts +0 -67
- package/dist/webToken.model-5HUiR8ER.js +0 -1
- package/dist/webToken.model-CpudLBp0.mjs +0 -1913
- package/dist/{account → src/account}/account.model.d.ts +0 -0
- package/dist/{account → src/account}/accountv4.d.ts +0 -0
- package/dist/{account → src/account}/index.d.ts +0 -0
- package/dist/{account → src/account}/preferences.model.d.ts +0 -0
- package/dist/{backend → src/backend}/index.d.ts +0 -0
- package/dist/{backend → src/backend}/schema.d.ts +0 -0
- package/dist/{backend → src/backend}/types.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/constants.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/createUnitsSchema.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/formatUnits.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/index.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/lib.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/parseUnits.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/type.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/types.d.ts +0 -0
- package/dist/{bigdecimal → src/bigdecimal}/utils.d.ts +0 -0
- package/dist/{cache → src/cache}/CacheService.d.ts +0 -0
- package/dist/{cache → src/cache}/ICacheService.d.ts +0 -0
- package/dist/{cache → src/cache}/index.d.ts +0 -0
- package/dist/{chains → src/chains}/index.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/address.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/addressDomain.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/addressInput.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/argentName.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/cairoVersionSchema.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/constants.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/getAddressFromArgentName.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/getAddressFromStarkName.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/index.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/network.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/address/IStarknetAddressService.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/address/StarknetAddressService.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/address/index.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/deploymentData/constants.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/deploymentData/deploymentData.schema.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/deploymentData/findImplementationForAccount.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/deploymentData/getAccountClassHash.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/deploymentData/index.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/services/index.d.ts +0 -0
- package/dist/{chains → src/chains}/starknet/starknetId.d.ts +0 -0
- package/dist/{errors → src/errors}/account.d.ts +0 -0
- package/dist/{errors → src/errors}/address.d.ts +0 -0
- package/dist/{errors → src/errors}/baseErrors.d.ts +0 -0
- package/dist/{errors → src/errors}/call.d.ts +0 -0
- package/dist/{errors → src/errors}/network.d.ts +0 -0
- package/dist/{errors → src/errors}/review.d.ts +0 -0
- package/dist/{errors → src/errors}/swap.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/index.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/normalize.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/schema.d.ts +200 -200
- package/dist/{features → src/features}/simulation/activity/utils/createNativeActivity.d.ts +6 -6
- package/dist/{features → src/features}/simulation/activity/utils/getAnyActivityTitle.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/utils/getOverallLastModified.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/utils/hasDelegationActivity.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/utils/index.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/utils/isMulticallWithDeploymentActivity.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/utils/isRejectOnChainActivity.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/utils/isUpgradeActivity.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/utils/parseAccountActivities.d.ts +0 -0
- package/dist/{features → src/features}/simulation/activity/utils/parseFinanceActivities.d.ts +0 -0
- package/dist/{features → src/features}/simulation/fees/index.d.ts +0 -0
- package/dist/{features → src/features}/simulation/fees/schema.d.ts +0 -0
- package/dist/{features → src/features}/simulation/index.d.ts +0 -0
- package/dist/{features → src/features}/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.d.ts +0 -0
- package/dist/{features → src/features}/simulation/transactionReview/getMessageFromSimulationError.d.ts +0 -0
- package/dist/{features → src/features}/simulation/transactionReview/index.d.ts +0 -0
- package/dist/{features → src/features}/simulation/transactionReview/schema.d.ts +1324 -1324
- package/dist/{features → src/features}/simulation/warning/helper.d.ts +0 -0
- package/dist/{features → src/features}/simulation/warning/index.d.ts +0 -0
- package/dist/{features → src/features}/simulation/warning/schema.d.ts +0 -0
- package/dist/{features → src/features}/swap/index.d.ts +0 -0
- package/dist/{features → src/features}/swap/models/index.d.ts +0 -0
- package/dist/{features → src/features}/swap/models/order.model.d.ts +0 -0
- package/dist/{features → src/features}/swap/models/quote.model.d.ts +0 -0
- package/dist/{features → src/features}/swap/models/trade.model.d.ts +0 -0
- package/dist/{features → src/features}/swap/services/implementation.d.ts +0 -0
- package/dist/{features → src/features}/swap/services/index.d.ts +0 -0
- package/dist/{features → src/features}/swap/services/interface.d.ts +0 -0
- package/dist/{features → src/features}/swap/services/order.mock.d.ts +0 -0
- package/dist/{features → src/features}/swap/services/quote.mock.d.ts +0 -0
- package/dist/{features → src/features}/swap/tests/token.mock.d.ts +0 -0
- package/dist/{features → src/features}/swap/tests/trade.mock.d.ts +0 -0
- package/dist/{features → src/features}/swap/tests/walletAccount.mock.d.ts +0 -0
- package/dist/{features → src/features}/swap/utils/index.d.ts +0 -0
- package/dist/{features → src/features}/swap/utils/slippage.d.ts +0 -0
- package/dist/{features → src/features}/swap/utils/totalFee.d.ts +0 -0
- package/dist/{http → src/http}/DateService.d.ts +0 -0
- package/dist/{http → src/http}/HttpError.d.ts +0 -0
- package/dist/{http → src/http}/HttpService.d.ts +0 -0
- package/dist/{http → src/http}/IDateService.d.ts +0 -0
- package/dist/{http → src/http}/IHttpService.d.ts +0 -0
- package/dist/{http → src/http}/SWRService.d.ts +0 -0
- package/dist/{http → src/http}/apiData.d.ts +0 -0
- package/dist/{http → src/http}/fetcher.d.ts +0 -0
- package/dist/{http → src/http}/time.d.ts +0 -0
- package/dist/{knownDapps → src/knownDapps}/IKnownDappsBackendService.d.ts +0 -0
- package/dist/{knownDapps → src/knownDapps}/KnownDappsBackendService.d.ts +0 -0
- package/dist/{knownDapps → src/knownDapps}/index.d.ts +0 -0
- package/dist/{knownDapps → src/knownDapps}/schema.d.ts +0 -0
- package/dist/{knownDapps → src/knownDapps}/utils/getDapplandUrl.d.ts +0 -0
- package/dist/{knownDapps → src/knownDapps}/utils/index.d.ts +0 -0
- package/dist/{nameResolution → src/nameResolution}/IResolveNameService.d.ts +0 -0
- package/dist/{nameResolution → src/nameResolution}/ResolveNameService.d.ts +0 -0
- package/dist/{nameResolution → src/nameResolution}/index.d.ts +0 -0
- package/dist/{nameResolution → src/nameResolution}/schema.d.ts +0 -0
- package/dist/{nfts → src/nfts}/BackendNftService.d.ts +0 -0
- package/dist/{nfts → src/nfts}/BackendPaginationError.d.ts +0 -0
- package/dist/{nfts → src/nfts}/INFTService.d.ts +0 -0
- package/dist/{nfts → src/nfts}/utils.d.ts +0 -0
- package/dist/{onchainRecovery → src/onchainRecovery}/IOnchainRecoveryService.d.ts +0 -0
- package/dist/{onchainRecovery → src/onchainRecovery}/OnchainRecoveryService.d.ts +0 -0
- package/dist/{onchainRecovery → src/onchainRecovery}/index.d.ts +0 -0
- package/dist/{onchainRecovery → src/onchainRecovery}/schema.d.ts +0 -0
- package/dist/{platform → src/platform}/index.d.ts +0 -0
- package/dist/{platform → src/platform}/isBraveBrowser.d.ts +0 -0
- package/dist/{platform → src/platform}/isBrowser.d.ts +0 -0
- package/dist/{signer → src/signer}/index.d.ts +0 -0
- package/dist/{signer → src/signer}/multisigner.d.ts +0 -0
- package/dist/{signer → src/signer}/seedphrase.d.ts +0 -0
- package/dist/{tokens → src/tokens}/balances.d.ts +0 -0
- package/dist/{tokens → src/tokens}/constants.d.ts +0 -0
- package/dist/{tokens → src/tokens}/convertTokenAmountToCurrencyValue.d.ts +0 -0
- package/dist/{tokens → src/tokens}/convertTokenUnitAmountWithDecimals.d.ts +0 -0
- package/dist/{tokens → src/tokens}/ensureDecimals.d.ts +0 -0
- package/dist/{tokens → src/tokens}/getCurrencySymbol.d.ts +0 -0
- package/dist/{tokens → src/tokens}/index.d.ts +0 -0
- package/dist/{tokens → src/tokens}/isUnlimitedAmount.d.ts +0 -0
- package/dist/{tokens → src/tokens}/prettifyCurrencyValue.d.ts +0 -0
- package/dist/{tokens → src/tokens}/prettifyTokenAmount.d.ts +0 -0
- package/dist/{tokens → src/tokens}/service/index.d.ts +0 -0
- package/dist/{tokens → src/tokens}/service/interface.d.ts +0 -0
- package/dist/{tokens → src/tokens}/service/tokenError.d.ts +0 -0
- package/dist/{tokens → src/tokens}/service/types/index.d.ts +0 -0
- package/dist/{tokens → src/tokens}/service/types/unclaimedRewards.model.d.ts +0 -0
- package/dist/{tokens → src/tokens}/service/types/webToken.model.d.ts +0 -0
- package/dist/{tokens → src/tokens}/token.d.ts +0 -0
- package/dist/{transactions → src/transactions}/aggregatedSimDataTypes.d.ts +0 -0
- package/dist/{transactions → src/transactions}/amount.d.ts +0 -0
- package/dist/{transactions → src/transactions}/buildTransactions.d.ts +0 -0
- package/dist/{transactions → src/transactions}/deployAccountTypes.d.ts +0 -0
- package/dist/{transactions → src/transactions}/errors.d.ts +0 -0
- package/dist/{transactions → src/transactions}/estimate/argentMaxFee.d.ts +0 -0
- package/dist/{transactions → src/transactions}/estimate/error.d.ts +0 -0
- package/dist/{transactions → src/transactions}/estimate/index.d.ts +0 -0
- package/dist/{transactions → src/transactions}/estimate/model.d.ts +0 -0
- package/dist/{transactions → src/transactions}/estimate/utils.d.ts +0 -0
- package/dist/{transactions → src/transactions}/findTransfersAndApprovals.d.ts +0 -0
- package/dist/{transactions → src/transactions}/getPrettyRcpError.d.ts +0 -0
- package/dist/{transactions → src/transactions}/getTransactionVersion.d.ts +0 -0
- package/dist/{transactions → src/transactions}/service/implementation.d.ts +0 -0
- package/dist/{transactions → src/transactions}/service/index.d.ts +0 -0
- package/dist/{transactions → src/transactions}/service/interface.d.ts +0 -0
- package/dist/{transactions → src/transactions}/service/types.d.ts +2 -2
- /package/dist/{transactions → src/transactions}/transactionAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/transactionReviewTypes.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/transactionSimulationTypes.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/transactionVersion.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/txv3.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/types.d.ts +0 -0
- /package/dist/{utils → src/utils}/address.d.ts +0 -0
- /package/dist/{utils → src/utils}/arrays.d.ts +0 -0
- /package/dist/{utils → src/utils}/avatarImage.d.ts +0 -0
- /package/dist/{utils → src/utils}/base58.d.ts +0 -0
- /package/dist/{utils → src/utils}/bigNumber.d.ts +0 -0
- /package/dist/{utils → src/utils}/bips.d.ts +0 -0
- /package/dist/{utils → src/utils}/daysBetween.d.ts +0 -0
- /package/dist/{utils → src/utils}/env.d.ts +0 -0
- /package/dist/{utils → src/utils}/hex.d.ts +0 -0
- /package/dist/{utils → src/utils}/id.d.ts +0 -0
- /package/dist/{utils → src/utils}/initials.d.ts +0 -0
- /package/dist/{utils → src/utils}/isContractDeployed.d.ts +0 -0
- /package/dist/{utils → src/utils}/nonNullable.d.ts +0 -0
- /package/dist/{utils → src/utils}/number/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/number/isAllowedAddressHexInputValue.d.ts +0 -0
- /package/dist/{utils → src/utils}/number/isAllowedNumericInputValue.d.ts +0 -0
- /package/dist/{utils → src/utils}/number/isNumeric.d.ts +0 -0
- /package/dist/{utils → src/utils}/number/prettifyNumber.d.ts +0 -0
- /package/dist/{utils → src/utils}/parseAmount.d.ts +0 -0
- /package/dist/{utils → src/utils}/pluralise.d.ts +0 -0
- /package/dist/{utils → src/utils}/readFileAsString.d.ts +0 -0
- /package/dist/{utils → src/utils}/schemas.d.ts +0 -0
- /package/dist/{utils → src/utils}/starknet/starknet.d.ts +0 -0
- /package/dist/{utils → src/utils}/starknet/starknetLibTypes.d.ts +0 -0
- /package/dist/{utils → src/utils}/starknet/starknetSchemas.d.ts +0 -0
- /package/dist/{utils → src/utils}/transactions.d.ts +0 -0
- /package/dist/{utils → src/utils}/url/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/url/urlWithQuery.d.ts +0 -0
- /package/dist/{utils → src/utils}/voidify.d.ts +0 -0
|
@@ -1227,7 +1227,261 @@ export declare const collateralizedDebtPositionsSchema: z.ZodArray<z.ZodObject<z
|
|
|
1227
1227
|
} | undefined;
|
|
1228
1228
|
accountAddressGroup?: string | undefined;
|
|
1229
1229
|
}>, "many">;
|
|
1230
|
-
export declare const
|
|
1230
|
+
export declare const delegatedTokensSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1231
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1232
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1233
|
+
}, {
|
|
1234
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1235
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1236
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1237
|
+
networkId: z.ZodString;
|
|
1238
|
+
}, {
|
|
1239
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1240
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1242
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1243
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1244
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
1245
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1246
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
}>, {
|
|
1249
|
+
currencyValue: z.ZodString;
|
|
1250
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
1251
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
}>, {
|
|
1255
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1256
|
+
networkId: z.ZodString;
|
|
1257
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1258
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1261
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1262
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
1263
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
balance: z.ZodString;
|
|
1267
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1268
|
+
address: `0x${string}`;
|
|
1269
|
+
networkId: string;
|
|
1270
|
+
balance: string;
|
|
1271
|
+
currencyValue: string;
|
|
1272
|
+
symbol?: string | undefined;
|
|
1273
|
+
name?: string | undefined;
|
|
1274
|
+
decimals?: number | undefined;
|
|
1275
|
+
dappId?: string | undefined;
|
|
1276
|
+
brandColor?: string | undefined;
|
|
1277
|
+
unitCurrencyValue?: string | undefined;
|
|
1278
|
+
id?: number | undefined;
|
|
1279
|
+
iconUrl?: string | undefined;
|
|
1280
|
+
category?: string | undefined;
|
|
1281
|
+
pricingId?: number | undefined;
|
|
1282
|
+
ethDayChange?: string | undefined;
|
|
1283
|
+
ccyDayChange?: string | undefined;
|
|
1284
|
+
currencySymbol?: string | undefined;
|
|
1285
|
+
}, {
|
|
1286
|
+
address: string;
|
|
1287
|
+
networkId: string;
|
|
1288
|
+
balance: string;
|
|
1289
|
+
currencyValue: string;
|
|
1290
|
+
symbol?: string | undefined;
|
|
1291
|
+
name?: string | undefined;
|
|
1292
|
+
decimals?: number | undefined;
|
|
1293
|
+
dappId?: string | undefined;
|
|
1294
|
+
brandColor?: string | undefined;
|
|
1295
|
+
unitCurrencyValue?: string | undefined;
|
|
1296
|
+
id?: number | undefined;
|
|
1297
|
+
iconUrl?: string | undefined;
|
|
1298
|
+
category?: string | undefined;
|
|
1299
|
+
pricingId?: number | undefined;
|
|
1300
|
+
ethDayChange?: string | undefined;
|
|
1301
|
+
ccyDayChange?: string | undefined;
|
|
1302
|
+
currencySymbol?: string | undefined;
|
|
1303
|
+
}>>;
|
|
1304
|
+
balance: z.ZodString;
|
|
1305
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1306
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1307
|
+
unitCurrencyValue: string;
|
|
1308
|
+
delegatingTo: `0x${string}`;
|
|
1309
|
+
balance: string;
|
|
1310
|
+
currencyValue: string;
|
|
1311
|
+
address?: `0x${string}` | undefined;
|
|
1312
|
+
token?: {
|
|
1313
|
+
address: `0x${string}`;
|
|
1314
|
+
networkId: string;
|
|
1315
|
+
balance: string;
|
|
1316
|
+
currencyValue: string;
|
|
1317
|
+
symbol?: string | undefined;
|
|
1318
|
+
name?: string | undefined;
|
|
1319
|
+
decimals?: number | undefined;
|
|
1320
|
+
dappId?: string | undefined;
|
|
1321
|
+
brandColor?: string | undefined;
|
|
1322
|
+
unitCurrencyValue?: string | undefined;
|
|
1323
|
+
id?: number | undefined;
|
|
1324
|
+
iconUrl?: string | undefined;
|
|
1325
|
+
category?: string | undefined;
|
|
1326
|
+
pricingId?: number | undefined;
|
|
1327
|
+
ethDayChange?: string | undefined;
|
|
1328
|
+
ccyDayChange?: string | undefined;
|
|
1329
|
+
currencySymbol?: string | undefined;
|
|
1330
|
+
} | undefined;
|
|
1331
|
+
}, {
|
|
1332
|
+
delegatingTo: string;
|
|
1333
|
+
balance: string;
|
|
1334
|
+
address?: string | undefined;
|
|
1335
|
+
unitCurrencyValue?: string | undefined;
|
|
1336
|
+
currencyValue?: string | undefined;
|
|
1337
|
+
token?: {
|
|
1338
|
+
address: string;
|
|
1339
|
+
networkId: string;
|
|
1340
|
+
balance: string;
|
|
1341
|
+
currencyValue: string;
|
|
1342
|
+
symbol?: string | undefined;
|
|
1343
|
+
name?: string | undefined;
|
|
1344
|
+
decimals?: number | undefined;
|
|
1345
|
+
dappId?: string | undefined;
|
|
1346
|
+
brandColor?: string | undefined;
|
|
1347
|
+
unitCurrencyValue?: string | undefined;
|
|
1348
|
+
id?: number | undefined;
|
|
1349
|
+
iconUrl?: string | undefined;
|
|
1350
|
+
category?: string | undefined;
|
|
1351
|
+
pricingId?: number | undefined;
|
|
1352
|
+
ethDayChange?: string | undefined;
|
|
1353
|
+
ccyDayChange?: string | undefined;
|
|
1354
|
+
currencySymbol?: string | undefined;
|
|
1355
|
+
} | undefined;
|
|
1356
|
+
}>;
|
|
1357
|
+
export declare const delegatedTokensArraySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1358
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1359
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1360
|
+
}, {
|
|
1361
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1362
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1363
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1364
|
+
networkId: z.ZodString;
|
|
1365
|
+
}, {
|
|
1366
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1367
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1368
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1370
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1371
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
1372
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
}>, {
|
|
1376
|
+
currencyValue: z.ZodString;
|
|
1377
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
}>, {
|
|
1382
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1383
|
+
networkId: z.ZodString;
|
|
1384
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1385
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1387
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1388
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1389
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
balance: z.ZodString;
|
|
1394
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1395
|
+
address: `0x${string}`;
|
|
1396
|
+
networkId: string;
|
|
1397
|
+
balance: string;
|
|
1398
|
+
currencyValue: string;
|
|
1399
|
+
symbol?: string | undefined;
|
|
1400
|
+
name?: string | undefined;
|
|
1401
|
+
decimals?: number | undefined;
|
|
1402
|
+
dappId?: string | undefined;
|
|
1403
|
+
brandColor?: string | undefined;
|
|
1404
|
+
unitCurrencyValue?: string | undefined;
|
|
1405
|
+
id?: number | undefined;
|
|
1406
|
+
iconUrl?: string | undefined;
|
|
1407
|
+
category?: string | undefined;
|
|
1408
|
+
pricingId?: number | undefined;
|
|
1409
|
+
ethDayChange?: string | undefined;
|
|
1410
|
+
ccyDayChange?: string | undefined;
|
|
1411
|
+
currencySymbol?: string | undefined;
|
|
1412
|
+
}, {
|
|
1413
|
+
address: string;
|
|
1414
|
+
networkId: string;
|
|
1415
|
+
balance: string;
|
|
1416
|
+
currencyValue: string;
|
|
1417
|
+
symbol?: string | undefined;
|
|
1418
|
+
name?: string | undefined;
|
|
1419
|
+
decimals?: number | undefined;
|
|
1420
|
+
dappId?: string | undefined;
|
|
1421
|
+
brandColor?: string | undefined;
|
|
1422
|
+
unitCurrencyValue?: string | undefined;
|
|
1423
|
+
id?: number | undefined;
|
|
1424
|
+
iconUrl?: string | undefined;
|
|
1425
|
+
category?: string | undefined;
|
|
1426
|
+
pricingId?: number | undefined;
|
|
1427
|
+
ethDayChange?: string | undefined;
|
|
1428
|
+
ccyDayChange?: string | undefined;
|
|
1429
|
+
currencySymbol?: string | undefined;
|
|
1430
|
+
}>>;
|
|
1431
|
+
balance: z.ZodString;
|
|
1432
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1433
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1434
|
+
unitCurrencyValue: string;
|
|
1435
|
+
delegatingTo: `0x${string}`;
|
|
1436
|
+
balance: string;
|
|
1437
|
+
currencyValue: string;
|
|
1438
|
+
address?: `0x${string}` | undefined;
|
|
1439
|
+
token?: {
|
|
1440
|
+
address: `0x${string}`;
|
|
1441
|
+
networkId: string;
|
|
1442
|
+
balance: string;
|
|
1443
|
+
currencyValue: string;
|
|
1444
|
+
symbol?: string | undefined;
|
|
1445
|
+
name?: string | undefined;
|
|
1446
|
+
decimals?: number | undefined;
|
|
1447
|
+
dappId?: string | undefined;
|
|
1448
|
+
brandColor?: string | undefined;
|
|
1449
|
+
unitCurrencyValue?: string | undefined;
|
|
1450
|
+
id?: number | undefined;
|
|
1451
|
+
iconUrl?: string | undefined;
|
|
1452
|
+
category?: string | undefined;
|
|
1453
|
+
pricingId?: number | undefined;
|
|
1454
|
+
ethDayChange?: string | undefined;
|
|
1455
|
+
ccyDayChange?: string | undefined;
|
|
1456
|
+
currencySymbol?: string | undefined;
|
|
1457
|
+
} | undefined;
|
|
1458
|
+
}, {
|
|
1459
|
+
delegatingTo: string;
|
|
1460
|
+
balance: string;
|
|
1461
|
+
address?: string | undefined;
|
|
1462
|
+
unitCurrencyValue?: string | undefined;
|
|
1463
|
+
currencyValue?: string | undefined;
|
|
1464
|
+
token?: {
|
|
1465
|
+
address: string;
|
|
1466
|
+
networkId: string;
|
|
1467
|
+
balance: string;
|
|
1468
|
+
currencyValue: string;
|
|
1469
|
+
symbol?: string | undefined;
|
|
1470
|
+
name?: string | undefined;
|
|
1471
|
+
decimals?: number | undefined;
|
|
1472
|
+
dappId?: string | undefined;
|
|
1473
|
+
brandColor?: string | undefined;
|
|
1474
|
+
unitCurrencyValue?: string | undefined;
|
|
1475
|
+
id?: number | undefined;
|
|
1476
|
+
iconUrl?: string | undefined;
|
|
1477
|
+
category?: string | undefined;
|
|
1478
|
+
pricingId?: number | undefined;
|
|
1479
|
+
ethDayChange?: string | undefined;
|
|
1480
|
+
ccyDayChange?: string | undefined;
|
|
1481
|
+
currencySymbol?: string | undefined;
|
|
1482
|
+
} | undefined;
|
|
1483
|
+
}>, "many">;
|
|
1484
|
+
export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1231
1485
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1232
1486
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1233
1487
|
}, {
|
|
@@ -1790,6 +2044,132 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1790
2044
|
currencySymbol?: string | undefined;
|
|
1791
2045
|
} | undefined;
|
|
1792
2046
|
accountAddressGroup?: string | undefined;
|
|
2047
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2048
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2049
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2050
|
+
}, {
|
|
2051
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2052
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2053
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2054
|
+
networkId: z.ZodString;
|
|
2055
|
+
}, {
|
|
2056
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2057
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2060
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
2061
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
2062
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2063
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
}>, {
|
|
2066
|
+
currencyValue: z.ZodString;
|
|
2067
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
2068
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
2069
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
2070
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
2071
|
+
}>, {
|
|
2072
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2073
|
+
networkId: z.ZodString;
|
|
2074
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2075
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2076
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2077
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2078
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
2079
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
2080
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2081
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
2082
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
2083
|
+
balance: z.ZodString;
|
|
2084
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2085
|
+
address: `0x${string}`;
|
|
2086
|
+
networkId: string;
|
|
2087
|
+
balance: string;
|
|
2088
|
+
currencyValue: string;
|
|
2089
|
+
symbol?: string | undefined;
|
|
2090
|
+
name?: string | undefined;
|
|
2091
|
+
decimals?: number | undefined;
|
|
2092
|
+
dappId?: string | undefined;
|
|
2093
|
+
brandColor?: string | undefined;
|
|
2094
|
+
unitCurrencyValue?: string | undefined;
|
|
2095
|
+
id?: number | undefined;
|
|
2096
|
+
iconUrl?: string | undefined;
|
|
2097
|
+
category?: string | undefined;
|
|
2098
|
+
pricingId?: number | undefined;
|
|
2099
|
+
ethDayChange?: string | undefined;
|
|
2100
|
+
ccyDayChange?: string | undefined;
|
|
2101
|
+
currencySymbol?: string | undefined;
|
|
2102
|
+
}, {
|
|
2103
|
+
address: string;
|
|
2104
|
+
networkId: string;
|
|
2105
|
+
balance: string;
|
|
2106
|
+
currencyValue: string;
|
|
2107
|
+
symbol?: string | undefined;
|
|
2108
|
+
name?: string | undefined;
|
|
2109
|
+
decimals?: number | undefined;
|
|
2110
|
+
dappId?: string | undefined;
|
|
2111
|
+
brandColor?: string | undefined;
|
|
2112
|
+
unitCurrencyValue?: string | undefined;
|
|
2113
|
+
id?: number | undefined;
|
|
2114
|
+
iconUrl?: string | undefined;
|
|
2115
|
+
category?: string | undefined;
|
|
2116
|
+
pricingId?: number | undefined;
|
|
2117
|
+
ethDayChange?: string | undefined;
|
|
2118
|
+
ccyDayChange?: string | undefined;
|
|
2119
|
+
currencySymbol?: string | undefined;
|
|
2120
|
+
}>>;
|
|
2121
|
+
balance: z.ZodString;
|
|
2122
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2123
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2124
|
+
unitCurrencyValue: string;
|
|
2125
|
+
delegatingTo: `0x${string}`;
|
|
2126
|
+
balance: string;
|
|
2127
|
+
currencyValue: string;
|
|
2128
|
+
address?: `0x${string}` | undefined;
|
|
2129
|
+
token?: {
|
|
2130
|
+
address: `0x${string}`;
|
|
2131
|
+
networkId: string;
|
|
2132
|
+
balance: string;
|
|
2133
|
+
currencyValue: string;
|
|
2134
|
+
symbol?: string | undefined;
|
|
2135
|
+
name?: string | undefined;
|
|
2136
|
+
decimals?: number | undefined;
|
|
2137
|
+
dappId?: string | undefined;
|
|
2138
|
+
brandColor?: string | undefined;
|
|
2139
|
+
unitCurrencyValue?: string | undefined;
|
|
2140
|
+
id?: number | undefined;
|
|
2141
|
+
iconUrl?: string | undefined;
|
|
2142
|
+
category?: string | undefined;
|
|
2143
|
+
pricingId?: number | undefined;
|
|
2144
|
+
ethDayChange?: string | undefined;
|
|
2145
|
+
ccyDayChange?: string | undefined;
|
|
2146
|
+
currencySymbol?: string | undefined;
|
|
2147
|
+
} | undefined;
|
|
2148
|
+
}, {
|
|
2149
|
+
delegatingTo: string;
|
|
2150
|
+
balance: string;
|
|
2151
|
+
address?: string | undefined;
|
|
2152
|
+
unitCurrencyValue?: string | undefined;
|
|
2153
|
+
currencyValue?: string | undefined;
|
|
2154
|
+
token?: {
|
|
2155
|
+
address: string;
|
|
2156
|
+
networkId: string;
|
|
2157
|
+
balance: string;
|
|
2158
|
+
currencyValue: string;
|
|
2159
|
+
symbol?: string | undefined;
|
|
2160
|
+
name?: string | undefined;
|
|
2161
|
+
decimals?: number | undefined;
|
|
2162
|
+
dappId?: string | undefined;
|
|
2163
|
+
brandColor?: string | undefined;
|
|
2164
|
+
unitCurrencyValue?: string | undefined;
|
|
2165
|
+
id?: number | undefined;
|
|
2166
|
+
iconUrl?: string | undefined;
|
|
2167
|
+
category?: string | undefined;
|
|
2168
|
+
pricingId?: number | undefined;
|
|
2169
|
+
ethDayChange?: string | undefined;
|
|
2170
|
+
ccyDayChange?: string | undefined;
|
|
2171
|
+
currencySymbol?: string | undefined;
|
|
2172
|
+
} | undefined;
|
|
1793
2173
|
}>]>;
|
|
1794
2174
|
export declare const productGroupsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1795
2175
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1805,10 +2185,10 @@ export declare const productGroupsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1805
2185
|
healthRatio?: string | undefined;
|
|
1806
2186
|
}>>;
|
|
1807
2187
|
export declare const defiProductSchema: z.ZodObject<{
|
|
1808
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"staking">]>;
|
|
2188
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
1809
2189
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
1810
2190
|
name: z.ZodString;
|
|
1811
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2191
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1812
2192
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1813
2193
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1814
2194
|
}, {
|
|
@@ -2288,14 +2668,171 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2288
2668
|
brandColor?: string | undefined;
|
|
2289
2669
|
iconUrl?: string | undefined;
|
|
2290
2670
|
pricingId?: number | undefined;
|
|
2291
|
-
marketData?: {
|
|
2292
|
-
marketCap: number;
|
|
2293
|
-
marketCap24hChange: number;
|
|
2294
|
-
dailyVolume: number;
|
|
2295
|
-
rank: number;
|
|
2296
|
-
} | undefined;
|
|
2297
|
-
tags?: string[] | undefined;
|
|
2298
|
-
} | undefined;
|
|
2671
|
+
marketData?: {
|
|
2672
|
+
marketCap: number;
|
|
2673
|
+
marketCap24hChange: number;
|
|
2674
|
+
dailyVolume: number;
|
|
2675
|
+
rank: number;
|
|
2676
|
+
} | undefined;
|
|
2677
|
+
tags?: string[] | undefined;
|
|
2678
|
+
} | undefined;
|
|
2679
|
+
token?: {
|
|
2680
|
+
address: `0x${string}`;
|
|
2681
|
+
networkId: string;
|
|
2682
|
+
balance: string;
|
|
2683
|
+
currencyValue: string;
|
|
2684
|
+
symbol?: string | undefined;
|
|
2685
|
+
name?: string | undefined;
|
|
2686
|
+
decimals?: number | undefined;
|
|
2687
|
+
dappId?: string | undefined;
|
|
2688
|
+
brandColor?: string | undefined;
|
|
2689
|
+
unitCurrencyValue?: string | undefined;
|
|
2690
|
+
id?: number | undefined;
|
|
2691
|
+
iconUrl?: string | undefined;
|
|
2692
|
+
category?: string | undefined;
|
|
2693
|
+
pricingId?: number | undefined;
|
|
2694
|
+
ethDayChange?: string | undefined;
|
|
2695
|
+
ccyDayChange?: string | undefined;
|
|
2696
|
+
currencySymbol?: string | undefined;
|
|
2697
|
+
} | undefined;
|
|
2698
|
+
accountAddressGroup?: string | undefined;
|
|
2699
|
+
}, {
|
|
2700
|
+
totalBalances: Record<string, string>;
|
|
2701
|
+
collateral: boolean;
|
|
2702
|
+
debt: boolean;
|
|
2703
|
+
lending: boolean;
|
|
2704
|
+
address?: string | undefined;
|
|
2705
|
+
accountAddress?: string | undefined;
|
|
2706
|
+
unitCurrencyValue?: string | undefined;
|
|
2707
|
+
apy?: string | undefined;
|
|
2708
|
+
group?: string | undefined;
|
|
2709
|
+
currencyValue?: string | undefined;
|
|
2710
|
+
positionToken?: {
|
|
2711
|
+
symbol: string;
|
|
2712
|
+
name: string;
|
|
2713
|
+
address: string;
|
|
2714
|
+
decimals: number;
|
|
2715
|
+
id: number;
|
|
2716
|
+
sendable: boolean;
|
|
2717
|
+
popular: boolean;
|
|
2718
|
+
refundable: boolean;
|
|
2719
|
+
listed: boolean;
|
|
2720
|
+
tradable: boolean;
|
|
2721
|
+
category: "tokens" | "currencies" | "savings";
|
|
2722
|
+
dappId?: string | undefined;
|
|
2723
|
+
brandColor?: string | undefined;
|
|
2724
|
+
iconUrl?: string | undefined;
|
|
2725
|
+
pricingId?: number | undefined;
|
|
2726
|
+
marketData?: {
|
|
2727
|
+
marketCap: number;
|
|
2728
|
+
marketCap24hChange: number;
|
|
2729
|
+
dailyVolume: number;
|
|
2730
|
+
rank: number;
|
|
2731
|
+
} | undefined;
|
|
2732
|
+
tags?: string[] | undefined;
|
|
2733
|
+
} | undefined;
|
|
2734
|
+
token?: {
|
|
2735
|
+
address: string;
|
|
2736
|
+
networkId: string;
|
|
2737
|
+
balance: string;
|
|
2738
|
+
currencyValue: string;
|
|
2739
|
+
symbol?: string | undefined;
|
|
2740
|
+
name?: string | undefined;
|
|
2741
|
+
decimals?: number | undefined;
|
|
2742
|
+
dappId?: string | undefined;
|
|
2743
|
+
brandColor?: string | undefined;
|
|
2744
|
+
unitCurrencyValue?: string | undefined;
|
|
2745
|
+
id?: number | undefined;
|
|
2746
|
+
iconUrl?: string | undefined;
|
|
2747
|
+
category?: string | undefined;
|
|
2748
|
+
pricingId?: number | undefined;
|
|
2749
|
+
ethDayChange?: string | undefined;
|
|
2750
|
+
ccyDayChange?: string | undefined;
|
|
2751
|
+
currencySymbol?: string | undefined;
|
|
2752
|
+
} | undefined;
|
|
2753
|
+
accountAddressGroup?: string | undefined;
|
|
2754
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2755
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2756
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2757
|
+
}, {
|
|
2758
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2759
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2760
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2761
|
+
networkId: z.ZodString;
|
|
2762
|
+
}, {
|
|
2763
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2764
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2767
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
2768
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
2769
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
2772
|
+
}>, {
|
|
2773
|
+
currencyValue: z.ZodString;
|
|
2774
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
2775
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
2776
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
2778
|
+
}>, {
|
|
2779
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2780
|
+
networkId: z.ZodString;
|
|
2781
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2782
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2783
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2784
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2785
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
2786
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
2787
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2788
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
2790
|
+
balance: z.ZodString;
|
|
2791
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2792
|
+
address: `0x${string}`;
|
|
2793
|
+
networkId: string;
|
|
2794
|
+
balance: string;
|
|
2795
|
+
currencyValue: string;
|
|
2796
|
+
symbol?: string | undefined;
|
|
2797
|
+
name?: string | undefined;
|
|
2798
|
+
decimals?: number | undefined;
|
|
2799
|
+
dappId?: string | undefined;
|
|
2800
|
+
brandColor?: string | undefined;
|
|
2801
|
+
unitCurrencyValue?: string | undefined;
|
|
2802
|
+
id?: number | undefined;
|
|
2803
|
+
iconUrl?: string | undefined;
|
|
2804
|
+
category?: string | undefined;
|
|
2805
|
+
pricingId?: number | undefined;
|
|
2806
|
+
ethDayChange?: string | undefined;
|
|
2807
|
+
ccyDayChange?: string | undefined;
|
|
2808
|
+
currencySymbol?: string | undefined;
|
|
2809
|
+
}, {
|
|
2810
|
+
address: string;
|
|
2811
|
+
networkId: string;
|
|
2812
|
+
balance: string;
|
|
2813
|
+
currencyValue: string;
|
|
2814
|
+
symbol?: string | undefined;
|
|
2815
|
+
name?: string | undefined;
|
|
2816
|
+
decimals?: number | undefined;
|
|
2817
|
+
dappId?: string | undefined;
|
|
2818
|
+
brandColor?: string | undefined;
|
|
2819
|
+
unitCurrencyValue?: string | undefined;
|
|
2820
|
+
id?: number | undefined;
|
|
2821
|
+
iconUrl?: string | undefined;
|
|
2822
|
+
category?: string | undefined;
|
|
2823
|
+
pricingId?: number | undefined;
|
|
2824
|
+
ethDayChange?: string | undefined;
|
|
2825
|
+
ccyDayChange?: string | undefined;
|
|
2826
|
+
currencySymbol?: string | undefined;
|
|
2827
|
+
}>>;
|
|
2828
|
+
balance: z.ZodString;
|
|
2829
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2830
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2831
|
+
unitCurrencyValue: string;
|
|
2832
|
+
delegatingTo: `0x${string}`;
|
|
2833
|
+
balance: string;
|
|
2834
|
+
currencyValue: string;
|
|
2835
|
+
address?: `0x${string}` | undefined;
|
|
2299
2836
|
token?: {
|
|
2300
2837
|
address: `0x${string}`;
|
|
2301
2838
|
networkId: string;
|
|
@@ -2315,42 +2852,12 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2315
2852
|
ccyDayChange?: string | undefined;
|
|
2316
2853
|
currencySymbol?: string | undefined;
|
|
2317
2854
|
} | undefined;
|
|
2318
|
-
accountAddressGroup?: string | undefined;
|
|
2319
2855
|
}, {
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
debt: boolean;
|
|
2323
|
-
lending: boolean;
|
|
2856
|
+
delegatingTo: string;
|
|
2857
|
+
balance: string;
|
|
2324
2858
|
address?: string | undefined;
|
|
2325
|
-
accountAddress?: string | undefined;
|
|
2326
2859
|
unitCurrencyValue?: string | undefined;
|
|
2327
|
-
apy?: string | undefined;
|
|
2328
|
-
group?: string | undefined;
|
|
2329
2860
|
currencyValue?: string | undefined;
|
|
2330
|
-
positionToken?: {
|
|
2331
|
-
symbol: string;
|
|
2332
|
-
name: string;
|
|
2333
|
-
address: string;
|
|
2334
|
-
decimals: number;
|
|
2335
|
-
id: number;
|
|
2336
|
-
sendable: boolean;
|
|
2337
|
-
popular: boolean;
|
|
2338
|
-
refundable: boolean;
|
|
2339
|
-
listed: boolean;
|
|
2340
|
-
tradable: boolean;
|
|
2341
|
-
category: "tokens" | "currencies" | "savings";
|
|
2342
|
-
dappId?: string | undefined;
|
|
2343
|
-
brandColor?: string | undefined;
|
|
2344
|
-
iconUrl?: string | undefined;
|
|
2345
|
-
pricingId?: number | undefined;
|
|
2346
|
-
marketData?: {
|
|
2347
|
-
marketCap: number;
|
|
2348
|
-
marketCap24hChange: number;
|
|
2349
|
-
dailyVolume: number;
|
|
2350
|
-
rank: number;
|
|
2351
|
-
} | undefined;
|
|
2352
|
-
tags?: string[] | undefined;
|
|
2353
|
-
} | undefined;
|
|
2354
2861
|
token?: {
|
|
2355
2862
|
address: string;
|
|
2356
2863
|
networkId: string;
|
|
@@ -2370,7 +2877,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2370
2877
|
ccyDayChange?: string | undefined;
|
|
2371
2878
|
currencySymbol?: string | undefined;
|
|
2372
2879
|
} | undefined;
|
|
2373
|
-
accountAddressGroup?: string | undefined;
|
|
2374
2880
|
}>]>, "many">;
|
|
2375
2881
|
positionsTotalValue: z.ZodString;
|
|
2376
2882
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -2390,7 +2896,7 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2390
2896
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2391
2897
|
}, "strip", z.ZodTypeAny, {
|
|
2392
2898
|
name: string;
|
|
2393
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
2899
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
2394
2900
|
accountAddress: `0x${string}`;
|
|
2395
2901
|
positions: ({
|
|
2396
2902
|
poolFeePercentage: string;
|
|
@@ -2503,6 +3009,31 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2503
3009
|
currencySymbol?: string | undefined;
|
|
2504
3010
|
} | undefined;
|
|
2505
3011
|
accountAddressGroup?: string | undefined;
|
|
3012
|
+
} | {
|
|
3013
|
+
unitCurrencyValue: string;
|
|
3014
|
+
delegatingTo: `0x${string}`;
|
|
3015
|
+
balance: string;
|
|
3016
|
+
currencyValue: string;
|
|
3017
|
+
address?: `0x${string}` | undefined;
|
|
3018
|
+
token?: {
|
|
3019
|
+
address: `0x${string}`;
|
|
3020
|
+
networkId: string;
|
|
3021
|
+
balance: string;
|
|
3022
|
+
currencyValue: string;
|
|
3023
|
+
symbol?: string | undefined;
|
|
3024
|
+
name?: string | undefined;
|
|
3025
|
+
decimals?: number | undefined;
|
|
3026
|
+
dappId?: string | undefined;
|
|
3027
|
+
brandColor?: string | undefined;
|
|
3028
|
+
unitCurrencyValue?: string | undefined;
|
|
3029
|
+
id?: number | undefined;
|
|
3030
|
+
iconUrl?: string | undefined;
|
|
3031
|
+
category?: string | undefined;
|
|
3032
|
+
pricingId?: number | undefined;
|
|
3033
|
+
ethDayChange?: string | undefined;
|
|
3034
|
+
ccyDayChange?: string | undefined;
|
|
3035
|
+
currencySymbol?: string | undefined;
|
|
3036
|
+
} | undefined;
|
|
2506
3037
|
})[];
|
|
2507
3038
|
positionsTotalValue: string;
|
|
2508
3039
|
brandColor?: string | undefined;
|
|
@@ -2514,7 +3045,7 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2514
3045
|
}> | undefined;
|
|
2515
3046
|
}, {
|
|
2516
3047
|
name: string;
|
|
2517
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
3048
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
2518
3049
|
accountAddress: string;
|
|
2519
3050
|
positions: ({
|
|
2520
3051
|
poolFeePercentage: string;
|
|
@@ -2627,6 +3158,31 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2627
3158
|
currencySymbol?: string | undefined;
|
|
2628
3159
|
} | undefined;
|
|
2629
3160
|
accountAddressGroup?: string | undefined;
|
|
3161
|
+
} | {
|
|
3162
|
+
delegatingTo: string;
|
|
3163
|
+
balance: string;
|
|
3164
|
+
address?: string | undefined;
|
|
3165
|
+
unitCurrencyValue?: string | undefined;
|
|
3166
|
+
currencyValue?: string | undefined;
|
|
3167
|
+
token?: {
|
|
3168
|
+
address: string;
|
|
3169
|
+
networkId: string;
|
|
3170
|
+
balance: string;
|
|
3171
|
+
currencyValue: string;
|
|
3172
|
+
symbol?: string | undefined;
|
|
3173
|
+
name?: string | undefined;
|
|
3174
|
+
decimals?: number | undefined;
|
|
3175
|
+
dappId?: string | undefined;
|
|
3176
|
+
brandColor?: string | undefined;
|
|
3177
|
+
unitCurrencyValue?: string | undefined;
|
|
3178
|
+
id?: number | undefined;
|
|
3179
|
+
iconUrl?: string | undefined;
|
|
3180
|
+
category?: string | undefined;
|
|
3181
|
+
pricingId?: number | undefined;
|
|
3182
|
+
ethDayChange?: string | undefined;
|
|
3183
|
+
ccyDayChange?: string | undefined;
|
|
3184
|
+
currencySymbol?: string | undefined;
|
|
3185
|
+
} | undefined;
|
|
2630
3186
|
})[];
|
|
2631
3187
|
positionsTotalValue: string;
|
|
2632
3188
|
brandColor?: string | undefined;
|
|
@@ -2638,10 +3194,10 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2638
3194
|
}> | undefined;
|
|
2639
3195
|
}>;
|
|
2640
3196
|
export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
2641
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"staking">]>;
|
|
3197
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
2642
3198
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
2643
3199
|
name: z.ZodString;
|
|
2644
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3200
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2645
3201
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2646
3202
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2647
3203
|
}, {
|
|
@@ -3204,6 +3760,132 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3204
3760
|
currencySymbol?: string | undefined;
|
|
3205
3761
|
} | undefined;
|
|
3206
3762
|
accountAddressGroup?: string | undefined;
|
|
3763
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3764
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3765
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
3766
|
+
}, {
|
|
3767
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3768
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3769
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3770
|
+
networkId: z.ZodString;
|
|
3771
|
+
}, {
|
|
3772
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
3773
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3774
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3775
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3776
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3777
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
3778
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3779
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
3780
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
3781
|
+
}>, {
|
|
3782
|
+
currencyValue: z.ZodString;
|
|
3783
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
3784
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
3785
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
3786
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
3787
|
+
}>, {
|
|
3788
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3789
|
+
networkId: z.ZodString;
|
|
3790
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
3791
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3792
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3793
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3794
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3795
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
3796
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3797
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
3798
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
3799
|
+
balance: z.ZodString;
|
|
3800
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3801
|
+
address: `0x${string}`;
|
|
3802
|
+
networkId: string;
|
|
3803
|
+
balance: string;
|
|
3804
|
+
currencyValue: string;
|
|
3805
|
+
symbol?: string | undefined;
|
|
3806
|
+
name?: string | undefined;
|
|
3807
|
+
decimals?: number | undefined;
|
|
3808
|
+
dappId?: string | undefined;
|
|
3809
|
+
brandColor?: string | undefined;
|
|
3810
|
+
unitCurrencyValue?: string | undefined;
|
|
3811
|
+
id?: number | undefined;
|
|
3812
|
+
iconUrl?: string | undefined;
|
|
3813
|
+
category?: string | undefined;
|
|
3814
|
+
pricingId?: number | undefined;
|
|
3815
|
+
ethDayChange?: string | undefined;
|
|
3816
|
+
ccyDayChange?: string | undefined;
|
|
3817
|
+
currencySymbol?: string | undefined;
|
|
3818
|
+
}, {
|
|
3819
|
+
address: string;
|
|
3820
|
+
networkId: string;
|
|
3821
|
+
balance: string;
|
|
3822
|
+
currencyValue: string;
|
|
3823
|
+
symbol?: string | undefined;
|
|
3824
|
+
name?: string | undefined;
|
|
3825
|
+
decimals?: number | undefined;
|
|
3826
|
+
dappId?: string | undefined;
|
|
3827
|
+
brandColor?: string | undefined;
|
|
3828
|
+
unitCurrencyValue?: string | undefined;
|
|
3829
|
+
id?: number | undefined;
|
|
3830
|
+
iconUrl?: string | undefined;
|
|
3831
|
+
category?: string | undefined;
|
|
3832
|
+
pricingId?: number | undefined;
|
|
3833
|
+
ethDayChange?: string | undefined;
|
|
3834
|
+
ccyDayChange?: string | undefined;
|
|
3835
|
+
currencySymbol?: string | undefined;
|
|
3836
|
+
}>>;
|
|
3837
|
+
balance: z.ZodString;
|
|
3838
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3839
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3840
|
+
unitCurrencyValue: string;
|
|
3841
|
+
delegatingTo: `0x${string}`;
|
|
3842
|
+
balance: string;
|
|
3843
|
+
currencyValue: string;
|
|
3844
|
+
address?: `0x${string}` | undefined;
|
|
3845
|
+
token?: {
|
|
3846
|
+
address: `0x${string}`;
|
|
3847
|
+
networkId: string;
|
|
3848
|
+
balance: string;
|
|
3849
|
+
currencyValue: string;
|
|
3850
|
+
symbol?: string | undefined;
|
|
3851
|
+
name?: string | undefined;
|
|
3852
|
+
decimals?: number | undefined;
|
|
3853
|
+
dappId?: string | undefined;
|
|
3854
|
+
brandColor?: string | undefined;
|
|
3855
|
+
unitCurrencyValue?: string | undefined;
|
|
3856
|
+
id?: number | undefined;
|
|
3857
|
+
iconUrl?: string | undefined;
|
|
3858
|
+
category?: string | undefined;
|
|
3859
|
+
pricingId?: number | undefined;
|
|
3860
|
+
ethDayChange?: string | undefined;
|
|
3861
|
+
ccyDayChange?: string | undefined;
|
|
3862
|
+
currencySymbol?: string | undefined;
|
|
3863
|
+
} | undefined;
|
|
3864
|
+
}, {
|
|
3865
|
+
delegatingTo: string;
|
|
3866
|
+
balance: string;
|
|
3867
|
+
address?: string | undefined;
|
|
3868
|
+
unitCurrencyValue?: string | undefined;
|
|
3869
|
+
currencyValue?: string | undefined;
|
|
3870
|
+
token?: {
|
|
3871
|
+
address: string;
|
|
3872
|
+
networkId: string;
|
|
3873
|
+
balance: string;
|
|
3874
|
+
currencyValue: string;
|
|
3875
|
+
symbol?: string | undefined;
|
|
3876
|
+
name?: string | undefined;
|
|
3877
|
+
decimals?: number | undefined;
|
|
3878
|
+
dappId?: string | undefined;
|
|
3879
|
+
brandColor?: string | undefined;
|
|
3880
|
+
unitCurrencyValue?: string | undefined;
|
|
3881
|
+
id?: number | undefined;
|
|
3882
|
+
iconUrl?: string | undefined;
|
|
3883
|
+
category?: string | undefined;
|
|
3884
|
+
pricingId?: number | undefined;
|
|
3885
|
+
ethDayChange?: string | undefined;
|
|
3886
|
+
ccyDayChange?: string | undefined;
|
|
3887
|
+
currencySymbol?: string | undefined;
|
|
3888
|
+
} | undefined;
|
|
3207
3889
|
}>]>, "many">;
|
|
3208
3890
|
positionsTotalValue: z.ZodString;
|
|
3209
3891
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -3223,7 +3905,7 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3223
3905
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3224
3906
|
}, "strip", z.ZodTypeAny, {
|
|
3225
3907
|
name: string;
|
|
3226
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
3908
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
3227
3909
|
accountAddress: `0x${string}`;
|
|
3228
3910
|
positions: ({
|
|
3229
3911
|
poolFeePercentage: string;
|
|
@@ -3308,14 +3990,40 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3308
3990
|
brandColor?: string | undefined;
|
|
3309
3991
|
iconUrl?: string | undefined;
|
|
3310
3992
|
pricingId?: number | undefined;
|
|
3311
|
-
marketData?: {
|
|
3312
|
-
marketCap: number;
|
|
3313
|
-
marketCap24hChange: number;
|
|
3314
|
-
dailyVolume: number;
|
|
3315
|
-
rank: number;
|
|
3316
|
-
} | undefined;
|
|
3317
|
-
tags?: string[] | undefined;
|
|
3993
|
+
marketData?: {
|
|
3994
|
+
marketCap: number;
|
|
3995
|
+
marketCap24hChange: number;
|
|
3996
|
+
dailyVolume: number;
|
|
3997
|
+
rank: number;
|
|
3998
|
+
} | undefined;
|
|
3999
|
+
tags?: string[] | undefined;
|
|
4000
|
+
} | undefined;
|
|
4001
|
+
token?: {
|
|
4002
|
+
address: `0x${string}`;
|
|
4003
|
+
networkId: string;
|
|
4004
|
+
balance: string;
|
|
4005
|
+
currencyValue: string;
|
|
4006
|
+
symbol?: string | undefined;
|
|
4007
|
+
name?: string | undefined;
|
|
4008
|
+
decimals?: number | undefined;
|
|
4009
|
+
dappId?: string | undefined;
|
|
4010
|
+
brandColor?: string | undefined;
|
|
4011
|
+
unitCurrencyValue?: string | undefined;
|
|
4012
|
+
id?: number | undefined;
|
|
4013
|
+
iconUrl?: string | undefined;
|
|
4014
|
+
category?: string | undefined;
|
|
4015
|
+
pricingId?: number | undefined;
|
|
4016
|
+
ethDayChange?: string | undefined;
|
|
4017
|
+
ccyDayChange?: string | undefined;
|
|
4018
|
+
currencySymbol?: string | undefined;
|
|
3318
4019
|
} | undefined;
|
|
4020
|
+
accountAddressGroup?: string | undefined;
|
|
4021
|
+
} | {
|
|
4022
|
+
unitCurrencyValue: string;
|
|
4023
|
+
delegatingTo: `0x${string}`;
|
|
4024
|
+
balance: string;
|
|
4025
|
+
currencyValue: string;
|
|
4026
|
+
address?: `0x${string}` | undefined;
|
|
3319
4027
|
token?: {
|
|
3320
4028
|
address: `0x${string}`;
|
|
3321
4029
|
networkId: string;
|
|
@@ -3335,7 +4043,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3335
4043
|
ccyDayChange?: string | undefined;
|
|
3336
4044
|
currencySymbol?: string | undefined;
|
|
3337
4045
|
} | undefined;
|
|
3338
|
-
accountAddressGroup?: string | undefined;
|
|
3339
4046
|
})[];
|
|
3340
4047
|
positionsTotalValue: string;
|
|
3341
4048
|
brandColor?: string | undefined;
|
|
@@ -3347,7 +4054,7 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3347
4054
|
}> | undefined;
|
|
3348
4055
|
}, {
|
|
3349
4056
|
name: string;
|
|
3350
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
4057
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
3351
4058
|
accountAddress: string;
|
|
3352
4059
|
positions: ({
|
|
3353
4060
|
poolFeePercentage: string;
|
|
@@ -3460,6 +4167,31 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3460
4167
|
currencySymbol?: string | undefined;
|
|
3461
4168
|
} | undefined;
|
|
3462
4169
|
accountAddressGroup?: string | undefined;
|
|
4170
|
+
} | {
|
|
4171
|
+
delegatingTo: string;
|
|
4172
|
+
balance: string;
|
|
4173
|
+
address?: string | undefined;
|
|
4174
|
+
unitCurrencyValue?: string | undefined;
|
|
4175
|
+
currencyValue?: string | undefined;
|
|
4176
|
+
token?: {
|
|
4177
|
+
address: string;
|
|
4178
|
+
networkId: string;
|
|
4179
|
+
balance: string;
|
|
4180
|
+
currencyValue: string;
|
|
4181
|
+
symbol?: string | undefined;
|
|
4182
|
+
name?: string | undefined;
|
|
4183
|
+
decimals?: number | undefined;
|
|
4184
|
+
dappId?: string | undefined;
|
|
4185
|
+
brandColor?: string | undefined;
|
|
4186
|
+
unitCurrencyValue?: string | undefined;
|
|
4187
|
+
id?: number | undefined;
|
|
4188
|
+
iconUrl?: string | undefined;
|
|
4189
|
+
category?: string | undefined;
|
|
4190
|
+
pricingId?: number | undefined;
|
|
4191
|
+
ethDayChange?: string | undefined;
|
|
4192
|
+
ccyDayChange?: string | undefined;
|
|
4193
|
+
currencySymbol?: string | undefined;
|
|
4194
|
+
} | undefined;
|
|
3463
4195
|
})[];
|
|
3464
4196
|
positionsTotalValue: string;
|
|
3465
4197
|
brandColor?: string | undefined;
|
|
@@ -3473,10 +4205,10 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3473
4205
|
export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
3474
4206
|
dappId: z.ZodString;
|
|
3475
4207
|
products: z.ZodArray<z.ZodObject<{
|
|
3476
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"staking">]>;
|
|
4208
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
3477
4209
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
3478
4210
|
name: z.ZodString;
|
|
3479
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
4211
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3480
4212
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3481
4213
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
3482
4214
|
}, {
|
|
@@ -4039,6 +4771,132 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4039
4771
|
currencySymbol?: string | undefined;
|
|
4040
4772
|
} | undefined;
|
|
4041
4773
|
accountAddressGroup?: string | undefined;
|
|
4774
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4775
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
4776
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
4777
|
+
}, {
|
|
4778
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4779
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4780
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4781
|
+
networkId: z.ZodString;
|
|
4782
|
+
}, {
|
|
4783
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4784
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4785
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
4786
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4787
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
4788
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
4789
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4790
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
4791
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
4792
|
+
}>, {
|
|
4793
|
+
currencyValue: z.ZodString;
|
|
4794
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
4795
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
4796
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
4797
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
4798
|
+
}>, {
|
|
4799
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4800
|
+
networkId: z.ZodString;
|
|
4801
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4802
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4803
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
4804
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4805
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
4806
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
4807
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4808
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
4809
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
4810
|
+
balance: z.ZodString;
|
|
4811
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4812
|
+
address: `0x${string}`;
|
|
4813
|
+
networkId: string;
|
|
4814
|
+
balance: string;
|
|
4815
|
+
currencyValue: string;
|
|
4816
|
+
symbol?: string | undefined;
|
|
4817
|
+
name?: string | undefined;
|
|
4818
|
+
decimals?: number | undefined;
|
|
4819
|
+
dappId?: string | undefined;
|
|
4820
|
+
brandColor?: string | undefined;
|
|
4821
|
+
unitCurrencyValue?: string | undefined;
|
|
4822
|
+
id?: number | undefined;
|
|
4823
|
+
iconUrl?: string | undefined;
|
|
4824
|
+
category?: string | undefined;
|
|
4825
|
+
pricingId?: number | undefined;
|
|
4826
|
+
ethDayChange?: string | undefined;
|
|
4827
|
+
ccyDayChange?: string | undefined;
|
|
4828
|
+
currencySymbol?: string | undefined;
|
|
4829
|
+
}, {
|
|
4830
|
+
address: string;
|
|
4831
|
+
networkId: string;
|
|
4832
|
+
balance: string;
|
|
4833
|
+
currencyValue: string;
|
|
4834
|
+
symbol?: string | undefined;
|
|
4835
|
+
name?: string | undefined;
|
|
4836
|
+
decimals?: number | undefined;
|
|
4837
|
+
dappId?: string | undefined;
|
|
4838
|
+
brandColor?: string | undefined;
|
|
4839
|
+
unitCurrencyValue?: string | undefined;
|
|
4840
|
+
id?: number | undefined;
|
|
4841
|
+
iconUrl?: string | undefined;
|
|
4842
|
+
category?: string | undefined;
|
|
4843
|
+
pricingId?: number | undefined;
|
|
4844
|
+
ethDayChange?: string | undefined;
|
|
4845
|
+
ccyDayChange?: string | undefined;
|
|
4846
|
+
currencySymbol?: string | undefined;
|
|
4847
|
+
}>>;
|
|
4848
|
+
balance: z.ZodString;
|
|
4849
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4850
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4851
|
+
unitCurrencyValue: string;
|
|
4852
|
+
delegatingTo: `0x${string}`;
|
|
4853
|
+
balance: string;
|
|
4854
|
+
currencyValue: string;
|
|
4855
|
+
address?: `0x${string}` | undefined;
|
|
4856
|
+
token?: {
|
|
4857
|
+
address: `0x${string}`;
|
|
4858
|
+
networkId: string;
|
|
4859
|
+
balance: string;
|
|
4860
|
+
currencyValue: string;
|
|
4861
|
+
symbol?: string | undefined;
|
|
4862
|
+
name?: string | undefined;
|
|
4863
|
+
decimals?: number | undefined;
|
|
4864
|
+
dappId?: string | undefined;
|
|
4865
|
+
brandColor?: string | undefined;
|
|
4866
|
+
unitCurrencyValue?: string | undefined;
|
|
4867
|
+
id?: number | undefined;
|
|
4868
|
+
iconUrl?: string | undefined;
|
|
4869
|
+
category?: string | undefined;
|
|
4870
|
+
pricingId?: number | undefined;
|
|
4871
|
+
ethDayChange?: string | undefined;
|
|
4872
|
+
ccyDayChange?: string | undefined;
|
|
4873
|
+
currencySymbol?: string | undefined;
|
|
4874
|
+
} | undefined;
|
|
4875
|
+
}, {
|
|
4876
|
+
delegatingTo: string;
|
|
4877
|
+
balance: string;
|
|
4878
|
+
address?: string | undefined;
|
|
4879
|
+
unitCurrencyValue?: string | undefined;
|
|
4880
|
+
currencyValue?: string | undefined;
|
|
4881
|
+
token?: {
|
|
4882
|
+
address: string;
|
|
4883
|
+
networkId: string;
|
|
4884
|
+
balance: string;
|
|
4885
|
+
currencyValue: string;
|
|
4886
|
+
symbol?: string | undefined;
|
|
4887
|
+
name?: string | undefined;
|
|
4888
|
+
decimals?: number | undefined;
|
|
4889
|
+
dappId?: string | undefined;
|
|
4890
|
+
brandColor?: string | undefined;
|
|
4891
|
+
unitCurrencyValue?: string | undefined;
|
|
4892
|
+
id?: number | undefined;
|
|
4893
|
+
iconUrl?: string | undefined;
|
|
4894
|
+
category?: string | undefined;
|
|
4895
|
+
pricingId?: number | undefined;
|
|
4896
|
+
ethDayChange?: string | undefined;
|
|
4897
|
+
ccyDayChange?: string | undefined;
|
|
4898
|
+
currencySymbol?: string | undefined;
|
|
4899
|
+
} | undefined;
|
|
4042
4900
|
}>]>, "many">;
|
|
4043
4901
|
positionsTotalValue: z.ZodString;
|
|
4044
4902
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -4058,7 +4916,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4058
4916
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4059
4917
|
}, "strip", z.ZodTypeAny, {
|
|
4060
4918
|
name: string;
|
|
4061
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
4919
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
4062
4920
|
accountAddress: `0x${string}`;
|
|
4063
4921
|
positions: ({
|
|
4064
4922
|
poolFeePercentage: string;
|
|
@@ -4171,6 +5029,31 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4171
5029
|
currencySymbol?: string | undefined;
|
|
4172
5030
|
} | undefined;
|
|
4173
5031
|
accountAddressGroup?: string | undefined;
|
|
5032
|
+
} | {
|
|
5033
|
+
unitCurrencyValue: string;
|
|
5034
|
+
delegatingTo: `0x${string}`;
|
|
5035
|
+
balance: string;
|
|
5036
|
+
currencyValue: string;
|
|
5037
|
+
address?: `0x${string}` | undefined;
|
|
5038
|
+
token?: {
|
|
5039
|
+
address: `0x${string}`;
|
|
5040
|
+
networkId: string;
|
|
5041
|
+
balance: string;
|
|
5042
|
+
currencyValue: string;
|
|
5043
|
+
symbol?: string | undefined;
|
|
5044
|
+
name?: string | undefined;
|
|
5045
|
+
decimals?: number | undefined;
|
|
5046
|
+
dappId?: string | undefined;
|
|
5047
|
+
brandColor?: string | undefined;
|
|
5048
|
+
unitCurrencyValue?: string | undefined;
|
|
5049
|
+
id?: number | undefined;
|
|
5050
|
+
iconUrl?: string | undefined;
|
|
5051
|
+
category?: string | undefined;
|
|
5052
|
+
pricingId?: number | undefined;
|
|
5053
|
+
ethDayChange?: string | undefined;
|
|
5054
|
+
ccyDayChange?: string | undefined;
|
|
5055
|
+
currencySymbol?: string | undefined;
|
|
5056
|
+
} | undefined;
|
|
4174
5057
|
})[];
|
|
4175
5058
|
positionsTotalValue: string;
|
|
4176
5059
|
brandColor?: string | undefined;
|
|
@@ -4182,7 +5065,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4182
5065
|
}> | undefined;
|
|
4183
5066
|
}, {
|
|
4184
5067
|
name: string;
|
|
4185
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
5068
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
4186
5069
|
accountAddress: string;
|
|
4187
5070
|
positions: ({
|
|
4188
5071
|
poolFeePercentage: string;
|
|
@@ -4295,6 +5178,31 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4295
5178
|
currencySymbol?: string | undefined;
|
|
4296
5179
|
} | undefined;
|
|
4297
5180
|
accountAddressGroup?: string | undefined;
|
|
5181
|
+
} | {
|
|
5182
|
+
delegatingTo: string;
|
|
5183
|
+
balance: string;
|
|
5184
|
+
address?: string | undefined;
|
|
5185
|
+
unitCurrencyValue?: string | undefined;
|
|
5186
|
+
currencyValue?: string | undefined;
|
|
5187
|
+
token?: {
|
|
5188
|
+
address: string;
|
|
5189
|
+
networkId: string;
|
|
5190
|
+
balance: string;
|
|
5191
|
+
currencyValue: string;
|
|
5192
|
+
symbol?: string | undefined;
|
|
5193
|
+
name?: string | undefined;
|
|
5194
|
+
decimals?: number | undefined;
|
|
5195
|
+
dappId?: string | undefined;
|
|
5196
|
+
brandColor?: string | undefined;
|
|
5197
|
+
unitCurrencyValue?: string | undefined;
|
|
5198
|
+
id?: number | undefined;
|
|
5199
|
+
iconUrl?: string | undefined;
|
|
5200
|
+
category?: string | undefined;
|
|
5201
|
+
pricingId?: number | undefined;
|
|
5202
|
+
ethDayChange?: string | undefined;
|
|
5203
|
+
ccyDayChange?: string | undefined;
|
|
5204
|
+
currencySymbol?: string | undefined;
|
|
5205
|
+
} | undefined;
|
|
4298
5206
|
})[];
|
|
4299
5207
|
positionsTotalValue: string;
|
|
4300
5208
|
brandColor?: string | undefined;
|
|
@@ -4309,7 +5217,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4309
5217
|
dappId: string;
|
|
4310
5218
|
products: {
|
|
4311
5219
|
name: string;
|
|
4312
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
5220
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
4313
5221
|
accountAddress: `0x${string}`;
|
|
4314
5222
|
positions: ({
|
|
4315
5223
|
poolFeePercentage: string;
|
|
@@ -4422,6 +5330,31 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4422
5330
|
currencySymbol?: string | undefined;
|
|
4423
5331
|
} | undefined;
|
|
4424
5332
|
accountAddressGroup?: string | undefined;
|
|
5333
|
+
} | {
|
|
5334
|
+
unitCurrencyValue: string;
|
|
5335
|
+
delegatingTo: `0x${string}`;
|
|
5336
|
+
balance: string;
|
|
5337
|
+
currencyValue: string;
|
|
5338
|
+
address?: `0x${string}` | undefined;
|
|
5339
|
+
token?: {
|
|
5340
|
+
address: `0x${string}`;
|
|
5341
|
+
networkId: string;
|
|
5342
|
+
balance: string;
|
|
5343
|
+
currencyValue: string;
|
|
5344
|
+
symbol?: string | undefined;
|
|
5345
|
+
name?: string | undefined;
|
|
5346
|
+
decimals?: number | undefined;
|
|
5347
|
+
dappId?: string | undefined;
|
|
5348
|
+
brandColor?: string | undefined;
|
|
5349
|
+
unitCurrencyValue?: string | undefined;
|
|
5350
|
+
id?: number | undefined;
|
|
5351
|
+
iconUrl?: string | undefined;
|
|
5352
|
+
category?: string | undefined;
|
|
5353
|
+
pricingId?: number | undefined;
|
|
5354
|
+
ethDayChange?: string | undefined;
|
|
5355
|
+
ccyDayChange?: string | undefined;
|
|
5356
|
+
currencySymbol?: string | undefined;
|
|
5357
|
+
} | undefined;
|
|
4425
5358
|
})[];
|
|
4426
5359
|
positionsTotalValue: string;
|
|
4427
5360
|
brandColor?: string | undefined;
|
|
@@ -4436,7 +5369,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4436
5369
|
dappId: string;
|
|
4437
5370
|
products: {
|
|
4438
5371
|
name: string;
|
|
4439
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
5372
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
4440
5373
|
accountAddress: string;
|
|
4441
5374
|
positions: ({
|
|
4442
5375
|
poolFeePercentage: string;
|
|
@@ -4549,6 +5482,31 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4549
5482
|
currencySymbol?: string | undefined;
|
|
4550
5483
|
} | undefined;
|
|
4551
5484
|
accountAddressGroup?: string | undefined;
|
|
5485
|
+
} | {
|
|
5486
|
+
delegatingTo: string;
|
|
5487
|
+
balance: string;
|
|
5488
|
+
address?: string | undefined;
|
|
5489
|
+
unitCurrencyValue?: string | undefined;
|
|
5490
|
+
currencyValue?: string | undefined;
|
|
5491
|
+
token?: {
|
|
5492
|
+
address: string;
|
|
5493
|
+
networkId: string;
|
|
5494
|
+
balance: string;
|
|
5495
|
+
currencyValue: string;
|
|
5496
|
+
symbol?: string | undefined;
|
|
5497
|
+
name?: string | undefined;
|
|
5498
|
+
decimals?: number | undefined;
|
|
5499
|
+
dappId?: string | undefined;
|
|
5500
|
+
brandColor?: string | undefined;
|
|
5501
|
+
unitCurrencyValue?: string | undefined;
|
|
5502
|
+
id?: number | undefined;
|
|
5503
|
+
iconUrl?: string | undefined;
|
|
5504
|
+
category?: string | undefined;
|
|
5505
|
+
pricingId?: number | undefined;
|
|
5506
|
+
ethDayChange?: string | undefined;
|
|
5507
|
+
ccyDayChange?: string | undefined;
|
|
5508
|
+
currencySymbol?: string | undefined;
|
|
5509
|
+
} | undefined;
|
|
4552
5510
|
})[];
|
|
4553
5511
|
positionsTotalValue: string;
|
|
4554
5512
|
brandColor?: string | undefined;
|
|
@@ -4564,6 +5522,8 @@ export type ProductGroups = z.infer<typeof productGroupsSchema>;
|
|
|
4564
5522
|
export type CollateralizedDebtPosition = z.infer<typeof collateralizedDebtPositionSchema>;
|
|
4565
5523
|
export type CollateralizedDebtGroup = z.infer<typeof collateralizedDebtGroupSchema>;
|
|
4566
5524
|
export type ConcentratedLiquidityPosition = z.infer<typeof concentratedLiquidityPositionSchema>;
|
|
5525
|
+
export type DelegatedTokens = z.infer<typeof delegatedTokensSchema>;
|
|
5526
|
+
export type DelegatedTokensArray = z.infer<typeof delegatedTokensArraySchema>;
|
|
4567
5527
|
export type DefiPositionToken = z.infer<typeof defiPositionTokenSchema>;
|
|
4568
5528
|
export type DefiPosition = z.infer<typeof defiPositionSchema>;
|
|
4569
5529
|
export type DefiProduct = z.infer<typeof defiProductSchema>;
|