@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
|
@@ -1,1004 +0,0 @@
|
|
|
1
|
-
import { AccountDeploymentData } from '@starknet-io/types-js';
|
|
2
|
-
import { ProviderInterface } from 'starknet';
|
|
3
|
-
import { Address } from '../chains/starknet';
|
|
4
|
-
import { EnrichedSimulateAndReview } from '../features/simulation';
|
|
5
|
-
import { AccountDeployTransaction, IGetReviewForTransactions, IuseTransactionReviewV2web } from './types';
|
|
6
|
-
export declare const getReviewForTransactions: ({ feeTokenAddress, calls, selectedAccount, transactionReviewService, appDomain, accountDeployTransaction, isDelayedTransaction, }: IGetReviewForTransactions) => Promise<{
|
|
7
|
-
result: {
|
|
8
|
-
transactions: ({
|
|
9
|
-
simulation: {
|
|
10
|
-
feeEstimation: {
|
|
11
|
-
maxFee: number;
|
|
12
|
-
unit: "WEI";
|
|
13
|
-
overallFee: number;
|
|
14
|
-
gasPrice: number;
|
|
15
|
-
gasUsage: number;
|
|
16
|
-
dataGasConsumed?: number | undefined;
|
|
17
|
-
dataGasPrice?: number | undefined;
|
|
18
|
-
} | {
|
|
19
|
-
unit: "FRI";
|
|
20
|
-
overallFee: number;
|
|
21
|
-
gasPrice: number;
|
|
22
|
-
gasUsage: number;
|
|
23
|
-
maxAmount: number;
|
|
24
|
-
maxPricePerUnit: number;
|
|
25
|
-
dataGasConsumed?: number | undefined;
|
|
26
|
-
dataGasPrice?: number | undefined;
|
|
27
|
-
};
|
|
28
|
-
summary?: {
|
|
29
|
-
type: string;
|
|
30
|
-
label: string;
|
|
31
|
-
token: {
|
|
32
|
-
name: string;
|
|
33
|
-
address: `0x${string}`;
|
|
34
|
-
symbol?: string | undefined;
|
|
35
|
-
type?: string | undefined;
|
|
36
|
-
unknown?: boolean | undefined;
|
|
37
|
-
decimals?: number | undefined;
|
|
38
|
-
description?: string | undefined;
|
|
39
|
-
links?: {
|
|
40
|
-
discord?: string | undefined;
|
|
41
|
-
twitter?: string | undefined;
|
|
42
|
-
external?: string | undefined;
|
|
43
|
-
} | undefined;
|
|
44
|
-
iconUrl?: string | undefined;
|
|
45
|
-
usdValue?: string | undefined;
|
|
46
|
-
imageUrls?: {
|
|
47
|
-
banner?: string | null | undefined;
|
|
48
|
-
preview?: string | null | undefined;
|
|
49
|
-
full?: string | null | undefined;
|
|
50
|
-
original?: string | null | undefined;
|
|
51
|
-
} | undefined;
|
|
52
|
-
};
|
|
53
|
-
value?: string | undefined;
|
|
54
|
-
tokenId?: string | undefined;
|
|
55
|
-
usdValue?: string | undefined;
|
|
56
|
-
sent?: boolean | undefined;
|
|
57
|
-
tokenIdDetails?: {
|
|
58
|
-
name?: string | undefined;
|
|
59
|
-
description?: string | undefined;
|
|
60
|
-
imageUrls?: {
|
|
61
|
-
banner?: string | null | undefined;
|
|
62
|
-
preview?: string | null | undefined;
|
|
63
|
-
full?: string | null | undefined;
|
|
64
|
-
original?: string | null | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
} | undefined;
|
|
67
|
-
}[] | undefined;
|
|
68
|
-
approvals?: {
|
|
69
|
-
owner: `0x${string}`;
|
|
70
|
-
tokenAddress: `0x${string}`;
|
|
71
|
-
spender: `0x${string}`;
|
|
72
|
-
approvalForAll: boolean;
|
|
73
|
-
value?: string | undefined;
|
|
74
|
-
details?: {
|
|
75
|
-
name: string;
|
|
76
|
-
address: `0x${string}`;
|
|
77
|
-
symbol?: string | undefined;
|
|
78
|
-
type?: string | undefined;
|
|
79
|
-
unknown?: boolean | undefined;
|
|
80
|
-
decimals?: number | undefined;
|
|
81
|
-
description?: string | undefined;
|
|
82
|
-
links?: {
|
|
83
|
-
discord?: string | undefined;
|
|
84
|
-
twitter?: string | undefined;
|
|
85
|
-
external?: string | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
iconUrl?: string | undefined;
|
|
88
|
-
usdValue?: string | undefined;
|
|
89
|
-
imageUrls?: {
|
|
90
|
-
banner?: string | null | undefined;
|
|
91
|
-
preview?: string | null | undefined;
|
|
92
|
-
full?: string | null | undefined;
|
|
93
|
-
original?: string | null | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
}[] | undefined;
|
|
97
|
-
transfers?: {
|
|
98
|
-
tokenAddress: `0x${string}`;
|
|
99
|
-
from: `0x${string}`;
|
|
100
|
-
to: `0x${string}`;
|
|
101
|
-
value?: string | undefined;
|
|
102
|
-
details?: {
|
|
103
|
-
name: string;
|
|
104
|
-
address: `0x${string}`;
|
|
105
|
-
symbol?: string | undefined;
|
|
106
|
-
type?: string | undefined;
|
|
107
|
-
unknown?: boolean | undefined;
|
|
108
|
-
decimals?: number | undefined;
|
|
109
|
-
description?: string | undefined;
|
|
110
|
-
links?: {
|
|
111
|
-
discord?: string | undefined;
|
|
112
|
-
twitter?: string | undefined;
|
|
113
|
-
external?: string | undefined;
|
|
114
|
-
} | undefined;
|
|
115
|
-
iconUrl?: string | undefined;
|
|
116
|
-
usdValue?: string | undefined;
|
|
117
|
-
imageUrls?: {
|
|
118
|
-
banner?: string | null | undefined;
|
|
119
|
-
preview?: string | null | undefined;
|
|
120
|
-
full?: string | null | undefined;
|
|
121
|
-
original?: string | null | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
tokenId?: string | undefined;
|
|
125
|
-
}[] | undefined;
|
|
126
|
-
calculatedNonce?: string | undefined;
|
|
127
|
-
};
|
|
128
|
-
reviewOfTransaction?: {
|
|
129
|
-
assessment: "verified" | "neutral" | "partial" | "warn";
|
|
130
|
-
reviews: {
|
|
131
|
-
assessment: "verified" | "neutral" | "partial" | "warn";
|
|
132
|
-
action: {
|
|
133
|
-
name: string;
|
|
134
|
-
properties: ({
|
|
135
|
-
type: "amount";
|
|
136
|
-
amount: string;
|
|
137
|
-
label: string;
|
|
138
|
-
token: {
|
|
139
|
-
name: string;
|
|
140
|
-
address: string;
|
|
141
|
-
type: string;
|
|
142
|
-
unknown: boolean;
|
|
143
|
-
symbol?: string | undefined;
|
|
144
|
-
decimals?: number | undefined;
|
|
145
|
-
iconUrl?: string | undefined;
|
|
146
|
-
};
|
|
147
|
-
usd: string;
|
|
148
|
-
editable: boolean;
|
|
149
|
-
} | {
|
|
150
|
-
address: string;
|
|
151
|
-
type: "address";
|
|
152
|
-
label: string;
|
|
153
|
-
verified?: boolean | undefined;
|
|
154
|
-
addressName?: string | undefined;
|
|
155
|
-
} | {
|
|
156
|
-
value: string;
|
|
157
|
-
type: "timestamp";
|
|
158
|
-
label: string;
|
|
159
|
-
} | {
|
|
160
|
-
type: "token_address";
|
|
161
|
-
label: string;
|
|
162
|
-
token: {
|
|
163
|
-
name: string;
|
|
164
|
-
address: string;
|
|
165
|
-
type: string;
|
|
166
|
-
unknown: boolean;
|
|
167
|
-
symbol?: string | undefined;
|
|
168
|
-
decimals?: number | undefined;
|
|
169
|
-
iconUrl?: string | undefined;
|
|
170
|
-
};
|
|
171
|
-
} | {
|
|
172
|
-
type: "calldata";
|
|
173
|
-
calldata: string[];
|
|
174
|
-
entrypoint: string;
|
|
175
|
-
label: string;
|
|
176
|
-
} | {
|
|
177
|
-
type: "text";
|
|
178
|
-
label: string;
|
|
179
|
-
text: string;
|
|
180
|
-
} | {
|
|
181
|
-
type: "nft";
|
|
182
|
-
label: string;
|
|
183
|
-
token: {
|
|
184
|
-
name: string;
|
|
185
|
-
address: string;
|
|
186
|
-
type: string;
|
|
187
|
-
unknown: boolean;
|
|
188
|
-
symbol?: string | undefined;
|
|
189
|
-
decimals?: number | undefined;
|
|
190
|
-
iconUrl?: string | undefined;
|
|
191
|
-
};
|
|
192
|
-
})[];
|
|
193
|
-
defaultProperties?: ({
|
|
194
|
-
type: "amount";
|
|
195
|
-
amount: string;
|
|
196
|
-
label: string;
|
|
197
|
-
token: {
|
|
198
|
-
name: string;
|
|
199
|
-
address: string;
|
|
200
|
-
type: string;
|
|
201
|
-
unknown: boolean;
|
|
202
|
-
symbol?: string | undefined;
|
|
203
|
-
decimals?: number | undefined;
|
|
204
|
-
iconUrl?: string | undefined;
|
|
205
|
-
};
|
|
206
|
-
usd: string;
|
|
207
|
-
editable: boolean;
|
|
208
|
-
} | {
|
|
209
|
-
address: string;
|
|
210
|
-
type: "address";
|
|
211
|
-
label: string;
|
|
212
|
-
verified?: boolean | undefined;
|
|
213
|
-
addressName?: string | undefined;
|
|
214
|
-
} | {
|
|
215
|
-
value: string;
|
|
216
|
-
type: "timestamp";
|
|
217
|
-
label: string;
|
|
218
|
-
} | {
|
|
219
|
-
type: "token_address";
|
|
220
|
-
label: string;
|
|
221
|
-
token: {
|
|
222
|
-
name: string;
|
|
223
|
-
address: string;
|
|
224
|
-
type: string;
|
|
225
|
-
unknown: boolean;
|
|
226
|
-
symbol?: string | undefined;
|
|
227
|
-
decimals?: number | undefined;
|
|
228
|
-
iconUrl?: string | undefined;
|
|
229
|
-
};
|
|
230
|
-
} | {
|
|
231
|
-
type: "calldata";
|
|
232
|
-
calldata: string[];
|
|
233
|
-
entrypoint: string;
|
|
234
|
-
label: string;
|
|
235
|
-
} | {
|
|
236
|
-
type: "text";
|
|
237
|
-
label: string;
|
|
238
|
-
text: string;
|
|
239
|
-
} | {
|
|
240
|
-
type: "nft";
|
|
241
|
-
label: string;
|
|
242
|
-
token: {
|
|
243
|
-
name: string;
|
|
244
|
-
address: string;
|
|
245
|
-
type: string;
|
|
246
|
-
unknown: boolean;
|
|
247
|
-
symbol?: string | undefined;
|
|
248
|
-
decimals?: number | undefined;
|
|
249
|
-
iconUrl?: string | undefined;
|
|
250
|
-
};
|
|
251
|
-
})[] | undefined;
|
|
252
|
-
};
|
|
253
|
-
warnings?: {
|
|
254
|
-
reason: string;
|
|
255
|
-
severity: "high" | "critical" | "caution" | "info";
|
|
256
|
-
details?: {
|
|
257
|
-
value?: string | number | undefined;
|
|
258
|
-
contract_address?: `0x${string}` | undefined;
|
|
259
|
-
unknown_token?: unknown;
|
|
260
|
-
date_of_addition?: string | undefined;
|
|
261
|
-
reason?: string | undefined;
|
|
262
|
-
} | undefined;
|
|
263
|
-
}[] | undefined;
|
|
264
|
-
assessmentReasons?: string[] | undefined;
|
|
265
|
-
assessmentDetails?: {
|
|
266
|
-
contract_address: string;
|
|
267
|
-
} | undefined;
|
|
268
|
-
}[];
|
|
269
|
-
warnings?: {
|
|
270
|
-
reason: string;
|
|
271
|
-
severity: "high" | "critical" | "caution" | "info";
|
|
272
|
-
details?: {
|
|
273
|
-
value?: string | number | undefined;
|
|
274
|
-
contract_address?: `0x${string}` | undefined;
|
|
275
|
-
unknown_token?: unknown;
|
|
276
|
-
date_of_addition?: string | undefined;
|
|
277
|
-
reason?: string | undefined;
|
|
278
|
-
} | undefined;
|
|
279
|
-
}[] | undefined;
|
|
280
|
-
assessmentDetails?: {
|
|
281
|
-
contract_address: string;
|
|
282
|
-
} | undefined;
|
|
283
|
-
targetedDapp?: {
|
|
284
|
-
name: string;
|
|
285
|
-
description: string;
|
|
286
|
-
logoUrl: string;
|
|
287
|
-
argentVerified: boolean;
|
|
288
|
-
links: {
|
|
289
|
-
name: string;
|
|
290
|
-
url: string;
|
|
291
|
-
position: number;
|
|
292
|
-
}[];
|
|
293
|
-
iconUrl: string;
|
|
294
|
-
} | undefined;
|
|
295
|
-
} | undefined;
|
|
296
|
-
simulationError?: undefined;
|
|
297
|
-
} | {
|
|
298
|
-
simulationError: {
|
|
299
|
-
code?: number | undefined;
|
|
300
|
-
message?: string | undefined;
|
|
301
|
-
error?: string | undefined;
|
|
302
|
-
label?: string | undefined;
|
|
303
|
-
};
|
|
304
|
-
reviewOfTransaction?: {
|
|
305
|
-
assessment: "verified" | "neutral" | "partial" | "warn";
|
|
306
|
-
reviews: {
|
|
307
|
-
assessment: "verified" | "neutral" | "partial" | "warn";
|
|
308
|
-
action: {
|
|
309
|
-
name: string;
|
|
310
|
-
properties: ({
|
|
311
|
-
type: "amount";
|
|
312
|
-
amount: string;
|
|
313
|
-
label: string;
|
|
314
|
-
token: {
|
|
315
|
-
name: string;
|
|
316
|
-
address: string;
|
|
317
|
-
type: string;
|
|
318
|
-
unknown: boolean;
|
|
319
|
-
symbol?: string | undefined;
|
|
320
|
-
decimals?: number | undefined;
|
|
321
|
-
iconUrl?: string | undefined;
|
|
322
|
-
};
|
|
323
|
-
usd: string;
|
|
324
|
-
editable: boolean;
|
|
325
|
-
} | {
|
|
326
|
-
address: string;
|
|
327
|
-
type: "address";
|
|
328
|
-
label: string;
|
|
329
|
-
verified?: boolean | undefined;
|
|
330
|
-
addressName?: string | undefined;
|
|
331
|
-
} | {
|
|
332
|
-
value: string;
|
|
333
|
-
type: "timestamp";
|
|
334
|
-
label: string;
|
|
335
|
-
} | {
|
|
336
|
-
type: "token_address";
|
|
337
|
-
label: string;
|
|
338
|
-
token: {
|
|
339
|
-
name: string;
|
|
340
|
-
address: string;
|
|
341
|
-
type: string;
|
|
342
|
-
unknown: boolean;
|
|
343
|
-
symbol?: string | undefined;
|
|
344
|
-
decimals?: number | undefined;
|
|
345
|
-
iconUrl?: string | undefined;
|
|
346
|
-
};
|
|
347
|
-
} | {
|
|
348
|
-
type: "calldata";
|
|
349
|
-
calldata: string[];
|
|
350
|
-
entrypoint: string;
|
|
351
|
-
label: string;
|
|
352
|
-
} | {
|
|
353
|
-
type: "text";
|
|
354
|
-
label: string;
|
|
355
|
-
text: string;
|
|
356
|
-
} | {
|
|
357
|
-
type: "nft";
|
|
358
|
-
label: string;
|
|
359
|
-
token: {
|
|
360
|
-
name: string;
|
|
361
|
-
address: string;
|
|
362
|
-
type: string;
|
|
363
|
-
unknown: boolean;
|
|
364
|
-
symbol?: string | undefined;
|
|
365
|
-
decimals?: number | undefined;
|
|
366
|
-
iconUrl?: string | undefined;
|
|
367
|
-
};
|
|
368
|
-
})[];
|
|
369
|
-
defaultProperties?: ({
|
|
370
|
-
type: "amount";
|
|
371
|
-
amount: string;
|
|
372
|
-
label: string;
|
|
373
|
-
token: {
|
|
374
|
-
name: string;
|
|
375
|
-
address: string;
|
|
376
|
-
type: string;
|
|
377
|
-
unknown: boolean;
|
|
378
|
-
symbol?: string | undefined;
|
|
379
|
-
decimals?: number | undefined;
|
|
380
|
-
iconUrl?: string | undefined;
|
|
381
|
-
};
|
|
382
|
-
usd: string;
|
|
383
|
-
editable: boolean;
|
|
384
|
-
} | {
|
|
385
|
-
address: string;
|
|
386
|
-
type: "address";
|
|
387
|
-
label: string;
|
|
388
|
-
verified?: boolean | undefined;
|
|
389
|
-
addressName?: string | undefined;
|
|
390
|
-
} | {
|
|
391
|
-
value: string;
|
|
392
|
-
type: "timestamp";
|
|
393
|
-
label: string;
|
|
394
|
-
} | {
|
|
395
|
-
type: "token_address";
|
|
396
|
-
label: string;
|
|
397
|
-
token: {
|
|
398
|
-
name: string;
|
|
399
|
-
address: string;
|
|
400
|
-
type: string;
|
|
401
|
-
unknown: boolean;
|
|
402
|
-
symbol?: string | undefined;
|
|
403
|
-
decimals?: number | undefined;
|
|
404
|
-
iconUrl?: string | undefined;
|
|
405
|
-
};
|
|
406
|
-
} | {
|
|
407
|
-
type: "calldata";
|
|
408
|
-
calldata: string[];
|
|
409
|
-
entrypoint: string;
|
|
410
|
-
label: string;
|
|
411
|
-
} | {
|
|
412
|
-
type: "text";
|
|
413
|
-
label: string;
|
|
414
|
-
text: string;
|
|
415
|
-
} | {
|
|
416
|
-
type: "nft";
|
|
417
|
-
label: string;
|
|
418
|
-
token: {
|
|
419
|
-
name: string;
|
|
420
|
-
address: string;
|
|
421
|
-
type: string;
|
|
422
|
-
unknown: boolean;
|
|
423
|
-
symbol?: string | undefined;
|
|
424
|
-
decimals?: number | undefined;
|
|
425
|
-
iconUrl?: string | undefined;
|
|
426
|
-
};
|
|
427
|
-
})[] | undefined;
|
|
428
|
-
};
|
|
429
|
-
warnings?: {
|
|
430
|
-
reason: string;
|
|
431
|
-
severity: "high" | "critical" | "caution" | "info";
|
|
432
|
-
details?: {
|
|
433
|
-
value?: string | number | undefined;
|
|
434
|
-
contract_address?: `0x${string}` | undefined;
|
|
435
|
-
unknown_token?: unknown;
|
|
436
|
-
date_of_addition?: string | undefined;
|
|
437
|
-
reason?: string | undefined;
|
|
438
|
-
} | undefined;
|
|
439
|
-
}[] | undefined;
|
|
440
|
-
assessmentReasons?: string[] | undefined;
|
|
441
|
-
assessmentDetails?: {
|
|
442
|
-
contract_address: string;
|
|
443
|
-
} | undefined;
|
|
444
|
-
}[];
|
|
445
|
-
warnings?: {
|
|
446
|
-
reason: string;
|
|
447
|
-
severity: "high" | "critical" | "caution" | "info";
|
|
448
|
-
details?: {
|
|
449
|
-
value?: string | number | undefined;
|
|
450
|
-
contract_address?: `0x${string}` | undefined;
|
|
451
|
-
unknown_token?: unknown;
|
|
452
|
-
date_of_addition?: string | undefined;
|
|
453
|
-
reason?: string | undefined;
|
|
454
|
-
} | undefined;
|
|
455
|
-
}[] | undefined;
|
|
456
|
-
assessmentDetails?: {
|
|
457
|
-
contract_address: string;
|
|
458
|
-
} | undefined;
|
|
459
|
-
targetedDapp?: {
|
|
460
|
-
name: string;
|
|
461
|
-
description: string;
|
|
462
|
-
logoUrl: string;
|
|
463
|
-
argentVerified: boolean;
|
|
464
|
-
links: {
|
|
465
|
-
name: string;
|
|
466
|
-
url: string;
|
|
467
|
-
position: number;
|
|
468
|
-
}[];
|
|
469
|
-
iconUrl: string;
|
|
470
|
-
} | undefined;
|
|
471
|
-
} | undefined;
|
|
472
|
-
simulation?: undefined;
|
|
473
|
-
})[];
|
|
474
|
-
enrichedFeeEstimation?: {
|
|
475
|
-
transactions: {
|
|
476
|
-
amount: bigint;
|
|
477
|
-
pricePerUnit: bigint;
|
|
478
|
-
feeTokenAddress: `0x${string}`;
|
|
479
|
-
max?: {
|
|
480
|
-
amount: bigint;
|
|
481
|
-
pricePerUnit: bigint;
|
|
482
|
-
} | {
|
|
483
|
-
maxFee: bigint;
|
|
484
|
-
} | undefined;
|
|
485
|
-
dataGasConsumed?: bigint | undefined;
|
|
486
|
-
dataGasPrice?: bigint | undefined;
|
|
487
|
-
};
|
|
488
|
-
deployment?: {
|
|
489
|
-
amount: bigint;
|
|
490
|
-
pricePerUnit: bigint;
|
|
491
|
-
feeTokenAddress: `0x${string}`;
|
|
492
|
-
max?: {
|
|
493
|
-
amount: bigint;
|
|
494
|
-
pricePerUnit: bigint;
|
|
495
|
-
} | {
|
|
496
|
-
maxFee: bigint;
|
|
497
|
-
} | undefined;
|
|
498
|
-
dataGasConsumed?: bigint | undefined;
|
|
499
|
-
dataGasPrice?: bigint | undefined;
|
|
500
|
-
} | undefined;
|
|
501
|
-
} | undefined;
|
|
502
|
-
isBackendDown?: boolean | undefined;
|
|
503
|
-
} | undefined;
|
|
504
|
-
} | undefined>;
|
|
505
|
-
export declare const checkGasFeeBalance: (accountAddress: string, result: EnrichedSimulateAndReview, feeTokenAddress: Address, provider: Pick<ProviderInterface, "callContract">) => Promise<boolean>;
|
|
506
|
-
export declare const useTransactionReviewV2webFetcher: () => ({ feeTokenAddress, calls, selectedAccount, transactionReviewService, appDomain, accountDeployPayload, provider, isDelayedTransaction, }: IuseTransactionReviewV2web) => Promise<{
|
|
507
|
-
isSendingMoreThanBalanceAndGas: boolean;
|
|
508
|
-
transactions: ({
|
|
509
|
-
simulation: {
|
|
510
|
-
feeEstimation: {
|
|
511
|
-
maxFee: number;
|
|
512
|
-
unit: "WEI";
|
|
513
|
-
overallFee: number;
|
|
514
|
-
gasPrice: number;
|
|
515
|
-
gasUsage: number;
|
|
516
|
-
dataGasConsumed?: number | undefined;
|
|
517
|
-
dataGasPrice?: number | undefined;
|
|
518
|
-
} | {
|
|
519
|
-
unit: "FRI";
|
|
520
|
-
overallFee: number;
|
|
521
|
-
gasPrice: number;
|
|
522
|
-
gasUsage: number;
|
|
523
|
-
maxAmount: number;
|
|
524
|
-
maxPricePerUnit: number;
|
|
525
|
-
dataGasConsumed?: number | undefined;
|
|
526
|
-
dataGasPrice?: number | undefined;
|
|
527
|
-
};
|
|
528
|
-
summary?: {
|
|
529
|
-
type: string;
|
|
530
|
-
label: string;
|
|
531
|
-
token: {
|
|
532
|
-
name: string;
|
|
533
|
-
address: `0x${string}`;
|
|
534
|
-
symbol?: string | undefined;
|
|
535
|
-
type?: string | undefined;
|
|
536
|
-
unknown?: boolean | undefined;
|
|
537
|
-
decimals?: number | undefined;
|
|
538
|
-
description?: string | undefined;
|
|
539
|
-
links?: {
|
|
540
|
-
discord?: string | undefined;
|
|
541
|
-
twitter?: string | undefined;
|
|
542
|
-
external?: string | undefined;
|
|
543
|
-
} | undefined;
|
|
544
|
-
iconUrl?: string | undefined;
|
|
545
|
-
usdValue?: string | undefined;
|
|
546
|
-
imageUrls?: {
|
|
547
|
-
banner?: string | null | undefined;
|
|
548
|
-
preview?: string | null | undefined;
|
|
549
|
-
full?: string | null | undefined;
|
|
550
|
-
original?: string | null | undefined;
|
|
551
|
-
} | undefined;
|
|
552
|
-
};
|
|
553
|
-
value?: string | undefined;
|
|
554
|
-
tokenId?: string | undefined;
|
|
555
|
-
usdValue?: string | undefined;
|
|
556
|
-
sent?: boolean | undefined;
|
|
557
|
-
tokenIdDetails?: {
|
|
558
|
-
name?: string | undefined;
|
|
559
|
-
description?: string | undefined;
|
|
560
|
-
imageUrls?: {
|
|
561
|
-
banner?: string | null | undefined;
|
|
562
|
-
preview?: string | null | undefined;
|
|
563
|
-
full?: string | null | undefined;
|
|
564
|
-
original?: string | null | undefined;
|
|
565
|
-
} | undefined;
|
|
566
|
-
} | undefined;
|
|
567
|
-
}[] | undefined;
|
|
568
|
-
approvals?: {
|
|
569
|
-
owner: `0x${string}`;
|
|
570
|
-
tokenAddress: `0x${string}`;
|
|
571
|
-
spender: `0x${string}`;
|
|
572
|
-
approvalForAll: boolean;
|
|
573
|
-
value?: string | undefined;
|
|
574
|
-
details?: {
|
|
575
|
-
name: string;
|
|
576
|
-
address: `0x${string}`;
|
|
577
|
-
symbol?: string | undefined;
|
|
578
|
-
type?: string | undefined;
|
|
579
|
-
unknown?: boolean | undefined;
|
|
580
|
-
decimals?: number | undefined;
|
|
581
|
-
description?: string | undefined;
|
|
582
|
-
links?: {
|
|
583
|
-
discord?: string | undefined;
|
|
584
|
-
twitter?: string | undefined;
|
|
585
|
-
external?: string | undefined;
|
|
586
|
-
} | undefined;
|
|
587
|
-
iconUrl?: string | undefined;
|
|
588
|
-
usdValue?: string | undefined;
|
|
589
|
-
imageUrls?: {
|
|
590
|
-
banner?: string | null | undefined;
|
|
591
|
-
preview?: string | null | undefined;
|
|
592
|
-
full?: string | null | undefined;
|
|
593
|
-
original?: string | null | undefined;
|
|
594
|
-
} | undefined;
|
|
595
|
-
} | undefined;
|
|
596
|
-
}[] | undefined;
|
|
597
|
-
transfers?: {
|
|
598
|
-
tokenAddress: `0x${string}`;
|
|
599
|
-
from: `0x${string}`;
|
|
600
|
-
to: `0x${string}`;
|
|
601
|
-
value?: string | undefined;
|
|
602
|
-
details?: {
|
|
603
|
-
name: string;
|
|
604
|
-
address: `0x${string}`;
|
|
605
|
-
symbol?: string | undefined;
|
|
606
|
-
type?: string | undefined;
|
|
607
|
-
unknown?: boolean | undefined;
|
|
608
|
-
decimals?: number | undefined;
|
|
609
|
-
description?: string | undefined;
|
|
610
|
-
links?: {
|
|
611
|
-
discord?: string | undefined;
|
|
612
|
-
twitter?: string | undefined;
|
|
613
|
-
external?: string | undefined;
|
|
614
|
-
} | undefined;
|
|
615
|
-
iconUrl?: string | undefined;
|
|
616
|
-
usdValue?: string | undefined;
|
|
617
|
-
imageUrls?: {
|
|
618
|
-
banner?: string | null | undefined;
|
|
619
|
-
preview?: string | null | undefined;
|
|
620
|
-
full?: string | null | undefined;
|
|
621
|
-
original?: string | null | undefined;
|
|
622
|
-
} | undefined;
|
|
623
|
-
} | undefined;
|
|
624
|
-
tokenId?: string | undefined;
|
|
625
|
-
}[] | undefined;
|
|
626
|
-
calculatedNonce?: string | undefined;
|
|
627
|
-
};
|
|
628
|
-
reviewOfTransaction?: {
|
|
629
|
-
assessment: "verified" | "neutral" | "partial" | "warn";
|
|
630
|
-
reviews: {
|
|
631
|
-
assessment: "verified" | "neutral" | "partial" | "warn";
|
|
632
|
-
action: {
|
|
633
|
-
name: string;
|
|
634
|
-
properties: ({
|
|
635
|
-
type: "amount";
|
|
636
|
-
amount: string;
|
|
637
|
-
label: string;
|
|
638
|
-
token: {
|
|
639
|
-
name: string;
|
|
640
|
-
address: string;
|
|
641
|
-
type: string;
|
|
642
|
-
unknown: boolean;
|
|
643
|
-
symbol?: string | undefined;
|
|
644
|
-
decimals?: number | undefined;
|
|
645
|
-
iconUrl?: string | undefined;
|
|
646
|
-
};
|
|
647
|
-
usd: string;
|
|
648
|
-
editable: boolean;
|
|
649
|
-
} | {
|
|
650
|
-
address: string;
|
|
651
|
-
type: "address";
|
|
652
|
-
label: string;
|
|
653
|
-
verified?: boolean | undefined;
|
|
654
|
-
addressName?: string | undefined;
|
|
655
|
-
} | {
|
|
656
|
-
value: string;
|
|
657
|
-
type: "timestamp";
|
|
658
|
-
label: string;
|
|
659
|
-
} | {
|
|
660
|
-
type: "token_address";
|
|
661
|
-
label: string;
|
|
662
|
-
token: {
|
|
663
|
-
name: string;
|
|
664
|
-
address: string;
|
|
665
|
-
type: string;
|
|
666
|
-
unknown: boolean;
|
|
667
|
-
symbol?: string | undefined;
|
|
668
|
-
decimals?: number | undefined;
|
|
669
|
-
iconUrl?: string | undefined;
|
|
670
|
-
};
|
|
671
|
-
} | {
|
|
672
|
-
type: "calldata";
|
|
673
|
-
calldata: string[];
|
|
674
|
-
entrypoint: string;
|
|
675
|
-
label: string;
|
|
676
|
-
} | {
|
|
677
|
-
type: "text";
|
|
678
|
-
label: string;
|
|
679
|
-
text: string;
|
|
680
|
-
} | {
|
|
681
|
-
type: "nft";
|
|
682
|
-
label: string;
|
|
683
|
-
token: {
|
|
684
|
-
name: string;
|
|
685
|
-
address: string;
|
|
686
|
-
type: string;
|
|
687
|
-
unknown: boolean;
|
|
688
|
-
symbol?: string | undefined;
|
|
689
|
-
decimals?: number | undefined;
|
|
690
|
-
iconUrl?: string | undefined;
|
|
691
|
-
};
|
|
692
|
-
})[];
|
|
693
|
-
defaultProperties?: ({
|
|
694
|
-
type: "amount";
|
|
695
|
-
amount: string;
|
|
696
|
-
label: string;
|
|
697
|
-
token: {
|
|
698
|
-
name: string;
|
|
699
|
-
address: string;
|
|
700
|
-
type: string;
|
|
701
|
-
unknown: boolean;
|
|
702
|
-
symbol?: string | undefined;
|
|
703
|
-
decimals?: number | undefined;
|
|
704
|
-
iconUrl?: string | undefined;
|
|
705
|
-
};
|
|
706
|
-
usd: string;
|
|
707
|
-
editable: boolean;
|
|
708
|
-
} | {
|
|
709
|
-
address: string;
|
|
710
|
-
type: "address";
|
|
711
|
-
label: string;
|
|
712
|
-
verified?: boolean | undefined;
|
|
713
|
-
addressName?: string | undefined;
|
|
714
|
-
} | {
|
|
715
|
-
value: string;
|
|
716
|
-
type: "timestamp";
|
|
717
|
-
label: string;
|
|
718
|
-
} | {
|
|
719
|
-
type: "token_address";
|
|
720
|
-
label: string;
|
|
721
|
-
token: {
|
|
722
|
-
name: string;
|
|
723
|
-
address: string;
|
|
724
|
-
type: string;
|
|
725
|
-
unknown: boolean;
|
|
726
|
-
symbol?: string | undefined;
|
|
727
|
-
decimals?: number | undefined;
|
|
728
|
-
iconUrl?: string | undefined;
|
|
729
|
-
};
|
|
730
|
-
} | {
|
|
731
|
-
type: "calldata";
|
|
732
|
-
calldata: string[];
|
|
733
|
-
entrypoint: string;
|
|
734
|
-
label: string;
|
|
735
|
-
} | {
|
|
736
|
-
type: "text";
|
|
737
|
-
label: string;
|
|
738
|
-
text: string;
|
|
739
|
-
} | {
|
|
740
|
-
type: "nft";
|
|
741
|
-
label: string;
|
|
742
|
-
token: {
|
|
743
|
-
name: string;
|
|
744
|
-
address: string;
|
|
745
|
-
type: string;
|
|
746
|
-
unknown: boolean;
|
|
747
|
-
symbol?: string | undefined;
|
|
748
|
-
decimals?: number | undefined;
|
|
749
|
-
iconUrl?: string | undefined;
|
|
750
|
-
};
|
|
751
|
-
})[] | undefined;
|
|
752
|
-
};
|
|
753
|
-
warnings?: {
|
|
754
|
-
reason: string;
|
|
755
|
-
severity: "high" | "critical" | "caution" | "info";
|
|
756
|
-
details?: {
|
|
757
|
-
value?: string | number | undefined;
|
|
758
|
-
contract_address?: `0x${string}` | undefined;
|
|
759
|
-
unknown_token?: unknown;
|
|
760
|
-
date_of_addition?: string | undefined;
|
|
761
|
-
reason?: string | undefined;
|
|
762
|
-
} | undefined;
|
|
763
|
-
}[] | undefined;
|
|
764
|
-
assessmentReasons?: string[] | undefined;
|
|
765
|
-
assessmentDetails?: {
|
|
766
|
-
contract_address: string;
|
|
767
|
-
} | undefined;
|
|
768
|
-
}[];
|
|
769
|
-
warnings?: {
|
|
770
|
-
reason: string;
|
|
771
|
-
severity: "high" | "critical" | "caution" | "info";
|
|
772
|
-
details?: {
|
|
773
|
-
value?: string | number | undefined;
|
|
774
|
-
contract_address?: `0x${string}` | undefined;
|
|
775
|
-
unknown_token?: unknown;
|
|
776
|
-
date_of_addition?: string | undefined;
|
|
777
|
-
reason?: string | undefined;
|
|
778
|
-
} | undefined;
|
|
779
|
-
}[] | undefined;
|
|
780
|
-
assessmentDetails?: {
|
|
781
|
-
contract_address: string;
|
|
782
|
-
} | undefined;
|
|
783
|
-
targetedDapp?: {
|
|
784
|
-
name: string;
|
|
785
|
-
description: string;
|
|
786
|
-
logoUrl: string;
|
|
787
|
-
argentVerified: boolean;
|
|
788
|
-
links: {
|
|
789
|
-
name: string;
|
|
790
|
-
url: string;
|
|
791
|
-
position: number;
|
|
792
|
-
}[];
|
|
793
|
-
iconUrl: string;
|
|
794
|
-
} | undefined;
|
|
795
|
-
} | undefined;
|
|
796
|
-
simulationError?: undefined;
|
|
797
|
-
} | {
|
|
798
|
-
simulationError: {
|
|
799
|
-
code?: number | undefined;
|
|
800
|
-
message?: string | undefined;
|
|
801
|
-
error?: string | undefined;
|
|
802
|
-
label?: string | undefined;
|
|
803
|
-
};
|
|
804
|
-
reviewOfTransaction?: {
|
|
805
|
-
assessment: "verified" | "neutral" | "partial" | "warn";
|
|
806
|
-
reviews: {
|
|
807
|
-
assessment: "verified" | "neutral" | "partial" | "warn";
|
|
808
|
-
action: {
|
|
809
|
-
name: string;
|
|
810
|
-
properties: ({
|
|
811
|
-
type: "amount";
|
|
812
|
-
amount: string;
|
|
813
|
-
label: string;
|
|
814
|
-
token: {
|
|
815
|
-
name: string;
|
|
816
|
-
address: string;
|
|
817
|
-
type: string;
|
|
818
|
-
unknown: boolean;
|
|
819
|
-
symbol?: string | undefined;
|
|
820
|
-
decimals?: number | undefined;
|
|
821
|
-
iconUrl?: string | undefined;
|
|
822
|
-
};
|
|
823
|
-
usd: string;
|
|
824
|
-
editable: boolean;
|
|
825
|
-
} | {
|
|
826
|
-
address: string;
|
|
827
|
-
type: "address";
|
|
828
|
-
label: string;
|
|
829
|
-
verified?: boolean | undefined;
|
|
830
|
-
addressName?: string | undefined;
|
|
831
|
-
} | {
|
|
832
|
-
value: string;
|
|
833
|
-
type: "timestamp";
|
|
834
|
-
label: string;
|
|
835
|
-
} | {
|
|
836
|
-
type: "token_address";
|
|
837
|
-
label: string;
|
|
838
|
-
token: {
|
|
839
|
-
name: string;
|
|
840
|
-
address: string;
|
|
841
|
-
type: string;
|
|
842
|
-
unknown: boolean;
|
|
843
|
-
symbol?: string | undefined;
|
|
844
|
-
decimals?: number | undefined;
|
|
845
|
-
iconUrl?: string | undefined;
|
|
846
|
-
};
|
|
847
|
-
} | {
|
|
848
|
-
type: "calldata";
|
|
849
|
-
calldata: string[];
|
|
850
|
-
entrypoint: string;
|
|
851
|
-
label: string;
|
|
852
|
-
} | {
|
|
853
|
-
type: "text";
|
|
854
|
-
label: string;
|
|
855
|
-
text: string;
|
|
856
|
-
} | {
|
|
857
|
-
type: "nft";
|
|
858
|
-
label: string;
|
|
859
|
-
token: {
|
|
860
|
-
name: string;
|
|
861
|
-
address: string;
|
|
862
|
-
type: string;
|
|
863
|
-
unknown: boolean;
|
|
864
|
-
symbol?: string | undefined;
|
|
865
|
-
decimals?: number | undefined;
|
|
866
|
-
iconUrl?: string | undefined;
|
|
867
|
-
};
|
|
868
|
-
})[];
|
|
869
|
-
defaultProperties?: ({
|
|
870
|
-
type: "amount";
|
|
871
|
-
amount: string;
|
|
872
|
-
label: string;
|
|
873
|
-
token: {
|
|
874
|
-
name: string;
|
|
875
|
-
address: string;
|
|
876
|
-
type: string;
|
|
877
|
-
unknown: boolean;
|
|
878
|
-
symbol?: string | undefined;
|
|
879
|
-
decimals?: number | undefined;
|
|
880
|
-
iconUrl?: string | undefined;
|
|
881
|
-
};
|
|
882
|
-
usd: string;
|
|
883
|
-
editable: boolean;
|
|
884
|
-
} | {
|
|
885
|
-
address: string;
|
|
886
|
-
type: "address";
|
|
887
|
-
label: string;
|
|
888
|
-
verified?: boolean | undefined;
|
|
889
|
-
addressName?: string | undefined;
|
|
890
|
-
} | {
|
|
891
|
-
value: string;
|
|
892
|
-
type: "timestamp";
|
|
893
|
-
label: string;
|
|
894
|
-
} | {
|
|
895
|
-
type: "token_address";
|
|
896
|
-
label: string;
|
|
897
|
-
token: {
|
|
898
|
-
name: string;
|
|
899
|
-
address: string;
|
|
900
|
-
type: string;
|
|
901
|
-
unknown: boolean;
|
|
902
|
-
symbol?: string | undefined;
|
|
903
|
-
decimals?: number | undefined;
|
|
904
|
-
iconUrl?: string | undefined;
|
|
905
|
-
};
|
|
906
|
-
} | {
|
|
907
|
-
type: "calldata";
|
|
908
|
-
calldata: string[];
|
|
909
|
-
entrypoint: string;
|
|
910
|
-
label: string;
|
|
911
|
-
} | {
|
|
912
|
-
type: "text";
|
|
913
|
-
label: string;
|
|
914
|
-
text: string;
|
|
915
|
-
} | {
|
|
916
|
-
type: "nft";
|
|
917
|
-
label: string;
|
|
918
|
-
token: {
|
|
919
|
-
name: string;
|
|
920
|
-
address: string;
|
|
921
|
-
type: string;
|
|
922
|
-
unknown: boolean;
|
|
923
|
-
symbol?: string | undefined;
|
|
924
|
-
decimals?: number | undefined;
|
|
925
|
-
iconUrl?: string | undefined;
|
|
926
|
-
};
|
|
927
|
-
})[] | undefined;
|
|
928
|
-
};
|
|
929
|
-
warnings?: {
|
|
930
|
-
reason: string;
|
|
931
|
-
severity: "high" | "critical" | "caution" | "info";
|
|
932
|
-
details?: {
|
|
933
|
-
value?: string | number | undefined;
|
|
934
|
-
contract_address?: `0x${string}` | undefined;
|
|
935
|
-
unknown_token?: unknown;
|
|
936
|
-
date_of_addition?: string | undefined;
|
|
937
|
-
reason?: string | undefined;
|
|
938
|
-
} | undefined;
|
|
939
|
-
}[] | undefined;
|
|
940
|
-
assessmentReasons?: string[] | undefined;
|
|
941
|
-
assessmentDetails?: {
|
|
942
|
-
contract_address: string;
|
|
943
|
-
} | undefined;
|
|
944
|
-
}[];
|
|
945
|
-
warnings?: {
|
|
946
|
-
reason: string;
|
|
947
|
-
severity: "high" | "critical" | "caution" | "info";
|
|
948
|
-
details?: {
|
|
949
|
-
value?: string | number | undefined;
|
|
950
|
-
contract_address?: `0x${string}` | undefined;
|
|
951
|
-
unknown_token?: unknown;
|
|
952
|
-
date_of_addition?: string | undefined;
|
|
953
|
-
reason?: string | undefined;
|
|
954
|
-
} | undefined;
|
|
955
|
-
}[] | undefined;
|
|
956
|
-
assessmentDetails?: {
|
|
957
|
-
contract_address: string;
|
|
958
|
-
} | undefined;
|
|
959
|
-
targetedDapp?: {
|
|
960
|
-
name: string;
|
|
961
|
-
description: string;
|
|
962
|
-
logoUrl: string;
|
|
963
|
-
argentVerified: boolean;
|
|
964
|
-
links: {
|
|
965
|
-
name: string;
|
|
966
|
-
url: string;
|
|
967
|
-
position: number;
|
|
968
|
-
}[];
|
|
969
|
-
iconUrl: string;
|
|
970
|
-
} | undefined;
|
|
971
|
-
} | undefined;
|
|
972
|
-
simulation?: undefined;
|
|
973
|
-
})[];
|
|
974
|
-
enrichedFeeEstimation?: {
|
|
975
|
-
transactions: {
|
|
976
|
-
amount: bigint;
|
|
977
|
-
pricePerUnit: bigint;
|
|
978
|
-
feeTokenAddress: `0x${string}`;
|
|
979
|
-
max?: {
|
|
980
|
-
amount: bigint;
|
|
981
|
-
pricePerUnit: bigint;
|
|
982
|
-
} | {
|
|
983
|
-
maxFee: bigint;
|
|
984
|
-
} | undefined;
|
|
985
|
-
dataGasConsumed?: bigint | undefined;
|
|
986
|
-
dataGasPrice?: bigint | undefined;
|
|
987
|
-
};
|
|
988
|
-
deployment?: {
|
|
989
|
-
amount: bigint;
|
|
990
|
-
pricePerUnit: bigint;
|
|
991
|
-
feeTokenAddress: `0x${string}`;
|
|
992
|
-
max?: {
|
|
993
|
-
amount: bigint;
|
|
994
|
-
pricePerUnit: bigint;
|
|
995
|
-
} | {
|
|
996
|
-
maxFee: bigint;
|
|
997
|
-
} | undefined;
|
|
998
|
-
dataGasConsumed?: bigint | undefined;
|
|
999
|
-
dataGasPrice?: bigint | undefined;
|
|
1000
|
-
} | undefined;
|
|
1001
|
-
} | undefined;
|
|
1002
|
-
isBackendDown?: boolean | undefined;
|
|
1003
|
-
} | undefined>;
|
|
1004
|
-
export declare const buildAccountDeployTransaction: (accountDeployPayload?: AccountDeploymentData) => AccountDeployTransaction | undefined;
|