@otim/utils 0.0.2-development.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/dist/api/api.d.mts +18 -0
- package/dist/api/api.d.ts +18 -0
- package/dist/api/api.d.ts.map +1 -0
- package/dist/api/core/error.d.mts +74 -0
- package/dist/api/core/error.d.ts +74 -0
- package/dist/api/core/error.d.ts.map +1 -0
- package/dist/api/core/index.d.mts +4 -0
- package/dist/api/core/index.d.ts +4 -0
- package/dist/api/core/index.d.ts.map +1 -0
- package/dist/api/core/instance.d.mts +13 -0
- package/dist/api/core/instance.d.ts +13 -0
- package/dist/api/core/instance.d.ts.map +1 -0
- package/dist/api/core/service.d.mts +51 -0
- package/dist/api/core/service.d.ts +51 -0
- package/dist/api/core/service.d.ts.map +1 -0
- package/dist/api/index.d.mts +7 -0
- package/dist/api/index.d.ts +7 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +2061 -0
- package/dist/api/index.js.map +7 -0
- package/dist/api/index.mjs +2030 -0
- package/dist/api/index.mjs.map +7 -0
- package/dist/api/schemas/account.d.mts +44 -0
- package/dist/api/schemas/account.d.ts +44 -0
- package/dist/api/schemas/account.d.ts.map +1 -0
- package/dist/api/schemas/activity.d.mts +277 -0
- package/dist/api/schemas/activity.d.ts +277 -0
- package/dist/api/schemas/activity.d.ts.map +1 -0
- package/dist/api/schemas/auth.d.mts +127 -0
- package/dist/api/schemas/auth.d.ts +127 -0
- package/dist/api/schemas/auth.d.ts.map +1 -0
- package/dist/api/schemas/chain.d.mts +15 -0
- package/dist/api/schemas/chain.d.ts +15 -0
- package/dist/api/schemas/chain.d.ts.map +1 -0
- package/dist/api/schemas/config.d.mts +33 -0
- package/dist/api/schemas/config.d.ts +33 -0
- package/dist/api/schemas/config.d.ts.map +1 -0
- package/dist/api/schemas/contacts.d.mts +27 -0
- package/dist/api/schemas/contacts.d.ts +27 -0
- package/dist/api/schemas/contacts.d.ts.map +1 -0
- package/dist/api/schemas/index.d.mts +12 -0
- package/dist/api/schemas/index.d.ts +12 -0
- package/dist/api/schemas/index.d.ts.map +1 -0
- package/dist/api/schemas/instruction.d.mts +446 -0
- package/dist/api/schemas/instruction.d.ts +446 -0
- package/dist/api/schemas/instruction.d.ts.map +1 -0
- package/dist/api/schemas/integration.d.mts +166 -0
- package/dist/api/schemas/integration.d.ts +166 -0
- package/dist/api/schemas/integration.d.ts.map +1 -0
- package/dist/api/schemas/operating-account.d.mts +11 -0
- package/dist/api/schemas/operating-account.d.ts +11 -0
- package/dist/api/schemas/operating-account.d.ts.map +1 -0
- package/dist/api/schemas/payments.d.mts +196 -0
- package/dist/api/schemas/payments.d.ts +196 -0
- package/dist/api/schemas/payments.d.ts.map +1 -0
- package/dist/api/schemas/transaction.d.mts +37 -0
- package/dist/api/schemas/transaction.d.ts +37 -0
- package/dist/api/schemas/transaction.d.ts.map +1 -0
- package/dist/api/services/account.d.mts +8 -0
- package/dist/api/services/account.d.ts +8 -0
- package/dist/api/services/account.d.ts.map +1 -0
- package/dist/api/services/activity.d.mts +7 -0
- package/dist/api/services/activity.d.ts +7 -0
- package/dist/api/services/activity.d.ts.map +1 -0
- package/dist/api/services/auth.d.mts +12 -0
- package/dist/api/services/auth.d.ts +12 -0
- package/dist/api/services/auth.d.ts.map +1 -0
- package/dist/api/services/base.d.mts +10 -0
- package/dist/api/services/base.d.ts +10 -0
- package/dist/api/services/base.d.ts.map +1 -0
- package/dist/api/services/config.d.mts +10 -0
- package/dist/api/services/config.d.ts +10 -0
- package/dist/api/services/config.d.ts.map +1 -0
- package/dist/api/services/contacts.d.mts +8 -0
- package/dist/api/services/contacts.d.ts +8 -0
- package/dist/api/services/contacts.d.ts.map +1 -0
- package/dist/api/services/developer.d.mts +6 -0
- package/dist/api/services/developer.d.ts +6 -0
- package/dist/api/services/developer.d.ts.map +1 -0
- package/dist/api/services/index.d.mts +13 -0
- package/dist/api/services/index.d.ts +13 -0
- package/dist/api/services/index.d.ts.map +1 -0
- package/dist/api/services/instruction.d.mts +12 -0
- package/dist/api/services/instruction.d.ts +12 -0
- package/dist/api/services/instruction.d.ts.map +1 -0
- package/dist/api/services/integration.d.mts +8 -0
- package/dist/api/services/integration.d.ts +8 -0
- package/dist/api/services/integration.d.ts.map +1 -0
- package/dist/api/services/operating-account.d.mts +8 -0
- package/dist/api/services/operating-account.d.ts +8 -0
- package/dist/api/services/operating-account.d.ts.map +1 -0
- package/dist/api/services/payments.d.mts +13 -0
- package/dist/api/services/payments.d.ts +13 -0
- package/dist/api/services/payments.d.ts.map +1 -0
- package/dist/api/services/transaction.d.mts +8 -0
- package/dist/api/services/transaction.d.ts +8 -0
- package/dist/api/services/transaction.d.ts.map +1 -0
- package/dist/api/services/uniswap-token-list-service.d.mts +66 -0
- package/dist/api/services/uniswap-token-list-service.d.ts +66 -0
- package/dist/api/services/uniswap-token-list-service.d.ts.map +1 -0
- package/dist/api/utils/index.d.mts +2 -0
- package/dist/api/utils/index.d.ts +2 -0
- package/dist/api/utils/index.d.ts.map +1 -0
- package/dist/api/utils/pagination.d.mts +32 -0
- package/dist/api/utils/pagination.d.ts +32 -0
- package/dist/api/utils/pagination.d.ts.map +1 -0
- package/dist/chains/config/all-chains.d.mts +4243 -0
- package/dist/chains/config/all-chains.d.ts +4243 -0
- package/dist/chains/config/all-chains.d.ts.map +1 -0
- package/dist/chains/config/custom-chains.d.mts +49 -0
- package/dist/chains/config/custom-chains.d.ts +49 -0
- package/dist/chains/config/custom-chains.d.ts.map +1 -0
- package/dist/chains/config/mainnet-chains.d.mts +1063 -0
- package/dist/chains/config/mainnet-chains.d.ts +1063 -0
- package/dist/chains/config/mainnet-chains.d.ts.map +1 -0
- package/dist/chains/config/supported-chains.d.mts +2172 -0
- package/dist/chains/config/supported-chains.d.ts +2172 -0
- package/dist/chains/config/supported-chains.d.ts.map +1 -0
- package/dist/chains/config/testnet-chains.d.mts +1110 -0
- package/dist/chains/config/testnet-chains.d.ts +1110 -0
- package/dist/chains/config/testnet-chains.d.ts.map +1 -0
- package/dist/chains/index.d.mts +16 -0
- package/dist/chains/index.d.ts +16 -0
- package/dist/chains/index.d.ts.map +1 -0
- package/dist/chains/index.js +490 -0
- package/dist/chains/index.js.map +7 -0
- package/dist/chains/index.mjs +505 -0
- package/dist/chains/index.mjs.map +7 -0
- package/dist/chains/lambda/chain-mapping.d.mts +55 -0
- package/dist/chains/lambda/chain-mapping.d.ts +55 -0
- package/dist/chains/lambda/chain-mapping.d.ts.map +1 -0
- package/dist/chains/lambda/index.d.mts +2 -0
- package/dist/chains/lambda/index.d.ts +2 -0
- package/dist/chains/lambda/index.d.ts.map +1 -0
- package/dist/chains/tokens/chain-tokens.d.mts +6 -0
- package/dist/chains/tokens/chain-tokens.d.ts +6 -0
- package/dist/chains/tokens/chain-tokens.d.ts.map +1 -0
- package/dist/chains/tokens/token-addresses.d.mts +8 -0
- package/dist/chains/tokens/token-addresses.d.ts +8 -0
- package/dist/chains/tokens/token-addresses.d.ts.map +1 -0
- package/dist/chains/tokens/token-metadata.d.mts +5 -0
- package/dist/chains/tokens/token-metadata.d.ts +5 -0
- package/dist/chains/tokens/token-metadata.d.ts.map +1 -0
- package/dist/chains/types.d.mts +23 -0
- package/dist/chains/types.d.ts +23 -0
- package/dist/chains/types.d.ts.map +1 -0
- package/dist/chains/utils/filter-tokens.d.mts +3 -0
- package/dist/chains/utils/filter-tokens.d.ts +3 -0
- package/dist/chains/utils/filter-tokens.d.ts.map +1 -0
- package/dist/chains/utils/stablecoin.d.mts +7 -0
- package/dist/chains/utils/stablecoin.d.ts +7 -0
- package/dist/chains/utils/stablecoin.d.ts.map +1 -0
- package/dist/chains/utils/token-maps.d.mts +10 -0
- package/dist/chains/utils/token-maps.d.ts +10 -0
- package/dist/chains/utils/token-maps.d.ts.map +1 -0
- package/dist/constants.d.mts +31 -0
- package/dist/constants.d.ts +31 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +47 -0
- package/dist/constants.js.map +7 -0
- package/dist/constants.mjs +26 -0
- package/dist/constants.mjs.map +7 -0
- package/dist/env.d.mts +17 -0
- package/dist/env.d.ts +17 -0
- package/dist/env.d.ts.map +1 -0
- package/dist/formatters/index.d.mts +2 -0
- package/dist/formatters/index.d.ts +2 -0
- package/dist/formatters/index.d.ts.map +1 -0
- package/dist/formatters/index.js +19 -0
- package/dist/formatters/index.js.map +7 -0
- package/dist/formatters/index.mjs +1 -0
- package/dist/formatters/index.mjs.map +7 -0
- package/dist/helpers/address.d.mts +7 -0
- package/dist/helpers/address.d.ts +7 -0
- package/dist/helpers/address.d.ts.map +1 -0
- package/dist/helpers/blockchain.d.mts +41 -0
- package/dist/helpers/blockchain.d.ts +41 -0
- package/dist/helpers/blockchain.d.ts.map +1 -0
- package/dist/helpers/date.d.mts +70 -0
- package/dist/helpers/date.d.ts +70 -0
- package/dist/helpers/date.d.ts.map +1 -0
- package/dist/helpers/datetime.d.mts +57 -0
- package/dist/helpers/datetime.d.ts +57 -0
- package/dist/helpers/datetime.d.ts.map +1 -0
- package/dist/helpers/domain.d.mts +2 -0
- package/dist/helpers/domain.d.ts +2 -0
- package/dist/helpers/domain.d.ts.map +1 -0
- package/dist/helpers/index.d.mts +19 -0
- package/dist/helpers/index.d.ts +19 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/index.js +1322 -0
- package/dist/helpers/index.js.map +7 -0
- package/dist/helpers/index.mjs +1294 -0
- package/dist/helpers/index.mjs.map +7 -0
- package/dist/helpers/intl.d.mts +20 -0
- package/dist/helpers/intl.d.ts +20 -0
- package/dist/helpers/intl.d.ts.map +1 -0
- package/dist/helpers/logger.d.mts +26 -0
- package/dist/helpers/logger.d.ts +26 -0
- package/dist/helpers/logger.d.ts.map +1 -0
- package/dist/helpers/mask-options.d.mts +10 -0
- package/dist/helpers/mask-options.d.ts +10 -0
- package/dist/helpers/mask-options.d.ts.map +1 -0
- package/dist/helpers/num-formatter.d.mts +3 -0
- package/dist/helpers/num-formatter.d.ts +3 -0
- package/dist/helpers/num-formatter.d.ts.map +1 -0
- package/dist/helpers/polling.d.mts +39 -0
- package/dist/helpers/polling.d.ts +39 -0
- package/dist/helpers/polling.d.ts.map +1 -0
- package/dist/helpers/random.d.mts +10 -0
- package/dist/helpers/random.d.ts +10 -0
- package/dist/helpers/random.d.ts.map +1 -0
- package/dist/helpers/sdk-loader.d.mts +25 -0
- package/dist/helpers/sdk-loader.d.ts +25 -0
- package/dist/helpers/sdk-loader.d.ts.map +1 -0
- package/dist/helpers/signatures.d.mts +17 -0
- package/dist/helpers/signatures.d.ts +17 -0
- package/dist/helpers/signatures.d.ts.map +1 -0
- package/dist/helpers/string.d.mts +17 -0
- package/dist/helpers/string.d.ts +17 -0
- package/dist/helpers/string.d.ts.map +1 -0
- package/dist/helpers/types.d.mts +39 -0
- package/dist/helpers/types.d.ts +39 -0
- package/dist/helpers/types.d.ts.map +1 -0
- package/dist/helpers/url.d.mts +11 -0
- package/dist/helpers/url.d.ts +11 -0
- package/dist/helpers/url.d.ts.map +1 -0
- package/dist/helpers/window.d.mts +37 -0
- package/dist/helpers/window.d.ts +37 -0
- package/dist/helpers/window.d.ts.map +1 -0
- package/dist/helpers/zod.d.mts +30 -0
- package/dist/helpers/zod.d.ts +30 -0
- package/dist/helpers/zod.d.ts.map +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +7 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +7 -0
- package/dist/instructions/actions/index.d.mts +5 -0
- package/dist/instructions/actions/index.d.ts +5 -0
- package/dist/instructions/actions/index.d.ts.map +1 -0
- package/dist/instructions/actions/refuel/index.d.mts +15 -0
- package/dist/instructions/actions/refuel/index.d.ts +15 -0
- package/dist/instructions/actions/refuel/index.d.ts.map +1 -0
- package/dist/instructions/actions/swap/index.d.mts +19 -0
- package/dist/instructions/actions/swap/index.d.ts +19 -0
- package/dist/instructions/actions/swap/index.d.ts.map +1 -0
- package/dist/instructions/actions/sweep/index.d.mts +16 -0
- package/dist/instructions/actions/sweep/index.d.ts +16 -0
- package/dist/instructions/actions/sweep/index.d.ts.map +1 -0
- package/dist/instructions/actions/transfer/index.d.mts +13 -0
- package/dist/instructions/actions/transfer/index.d.ts +13 -0
- package/dist/instructions/actions/transfer/index.d.ts.map +1 -0
- package/dist/instructions/activate.d.mts +84 -0
- package/dist/instructions/activate.d.ts +84 -0
- package/dist/instructions/activate.d.ts.map +1 -0
- package/dist/instructions/build.d.mts +146 -0
- package/dist/instructions/build.d.ts +146 -0
- package/dist/instructions/build.d.ts.map +1 -0
- package/dist/instructions/constants.d.mts +9 -0
- package/dist/instructions/constants.d.ts +9 -0
- package/dist/instructions/constants.d.ts.map +1 -0
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.mts +609 -0
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts +609 -0
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts.map +1 -0
- package/dist/instructions/index.d.mts +6 -0
- package/dist/instructions/index.d.ts +6 -0
- package/dist/instructions/index.d.ts.map +1 -0
- package/dist/instructions/index.js +1152 -0
- package/dist/instructions/index.js.map +7 -0
- package/dist/instructions/index.mjs +1119 -0
- package/dist/instructions/index.mjs.map +7 -0
- package/dist/instructions/types.d.mts +289 -0
- package/dist/instructions/types.d.ts +289 -0
- package/dist/instructions/types.d.ts.map +1 -0
- package/dist/payments/action-names.d.mts +16 -0
- package/dist/payments/action-names.d.ts +16 -0
- package/dist/payments/action-names.d.ts.map +1 -0
- package/dist/payments/actions/index.d.mts +5 -0
- package/dist/payments/actions/index.d.ts +5 -0
- package/dist/payments/actions/index.d.ts.map +1 -0
- package/dist/payments/actions/sweep-cctp.d.mts +15 -0
- package/dist/payments/actions/sweep-cctp.d.ts +15 -0
- package/dist/payments/actions/sweep-cctp.d.ts.map +1 -0
- package/dist/payments/actions/sweep-erc20.d.mts +12 -0
- package/dist/payments/actions/sweep-erc20.d.ts +12 -0
- package/dist/payments/actions/sweep-erc20.d.ts.map +1 -0
- package/dist/payments/actions/sweep-uniswap-v3.d.mts +17 -0
- package/dist/payments/actions/sweep-uniswap-v3.d.ts +17 -0
- package/dist/payments/actions/sweep-uniswap-v3.d.ts.map +1 -0
- package/dist/payments/actions/sweep.d.mts +12 -0
- package/dist/payments/actions/sweep.d.ts +12 -0
- package/dist/payments/actions/sweep.d.ts.map +1 -0
- package/dist/payments/build.d.mts +27 -0
- package/dist/payments/build.d.ts +27 -0
- package/dist/payments/build.d.ts.map +1 -0
- package/dist/payments/chain-token-config-builder.d.mts +10 -0
- package/dist/payments/chain-token-config-builder.d.ts +10 -0
- package/dist/payments/chain-token-config-builder.d.ts.map +1 -0
- package/dist/payments/comprehensive-payment-request.d.mts +25 -0
- package/dist/payments/comprehensive-payment-request.d.ts +25 -0
- package/dist/payments/comprehensive-payment-request.d.ts.map +1 -0
- package/dist/payments/config/cctp.d.mts +14 -0
- package/dist/payments/config/cctp.d.ts +14 -0
- package/dist/payments/config/cctp.d.ts.map +1 -0
- package/dist/payments/config/index.d.mts +3 -0
- package/dist/payments/config/index.d.ts +3 -0
- package/dist/payments/config/index.d.ts.map +1 -0
- package/dist/payments/config/tokens.d.mts +14 -0
- package/dist/payments/config/tokens.d.ts +14 -0
- package/dist/payments/config/tokens.d.ts.map +1 -0
- package/dist/payments/index.d.mts +16 -0
- package/dist/payments/index.d.ts +16 -0
- package/dist/payments/index.d.ts.map +1 -0
- package/dist/payments/index.js +1303 -0
- package/dist/payments/index.js.map +7 -0
- package/dist/payments/index.mjs +1281 -0
- package/dist/payments/index.mjs.map +7 -0
- package/dist/payments/instruction-registry.d.mts +19 -0
- package/dist/payments/instruction-registry.d.ts +19 -0
- package/dist/payments/instruction-registry.d.ts.map +1 -0
- package/dist/payments/payment-metadata-builder.d.mts +56 -0
- package/dist/payments/payment-metadata-builder.d.ts +56 -0
- package/dist/payments/payment-metadata-builder.d.ts.map +1 -0
- package/dist/payments/payment-metadata.d.mts +15 -0
- package/dist/payments/payment-metadata.d.ts +15 -0
- package/dist/payments/payment-metadata.d.ts.map +1 -0
- package/dist/payments/payment-request-token-resolver.d.mts +25 -0
- package/dist/payments/payment-request-token-resolver.d.ts +25 -0
- package/dist/payments/payment-request-token-resolver.d.ts.map +1 -0
- package/dist/payments/types.d.mts +40 -0
- package/dist/payments/types.d.ts +40 -0
- package/dist/payments/types.d.ts.map +1 -0
- package/dist/payments/validation.d.mts +19 -0
- package/dist/payments/validation.d.ts +19 -0
- package/dist/payments/validation.d.ts.map +1 -0
- package/dist/schemas/account.d.mts +9 -0
- package/dist/schemas/account.d.ts +9 -0
- package/dist/schemas/account.d.ts.map +1 -0
- package/dist/schemas/brand.d.mts +7 -0
- package/dist/schemas/brand.d.ts +7 -0
- package/dist/schemas/brand.d.ts.map +1 -0
- package/dist/schemas/contact.d.mts +18 -0
- package/dist/schemas/contact.d.ts +18 -0
- package/dist/schemas/contact.d.ts.map +1 -0
- package/dist/schemas/index.d.mts +10 -0
- package/dist/schemas/index.d.ts +10 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +433 -0
- package/dist/schemas/index.js.map +7 -0
- package/dist/schemas/index.mjs +410 -0
- package/dist/schemas/index.mjs.map +7 -0
- package/dist/schemas/instruction.d.mts +248 -0
- package/dist/schemas/instruction.d.ts +248 -0
- package/dist/schemas/instruction.d.ts.map +1 -0
- package/dist/schemas/misc.d.mts +36 -0
- package/dist/schemas/misc.d.ts +36 -0
- package/dist/schemas/misc.d.ts.map +1 -0
- package/dist/schemas/payment.d.mts +64 -0
- package/dist/schemas/payment.d.ts +64 -0
- package/dist/schemas/payment.d.ts.map +1 -0
- package/dist/schemas/token.d.mts +17 -0
- package/dist/schemas/token.d.ts +17 -0
- package/dist/schemas/token.d.ts.map +1 -0
- package/dist/schemas/transaction.d.mts +65 -0
- package/dist/schemas/transaction.d.ts +65 -0
- package/dist/schemas/transaction.d.ts.map +1 -0
- package/dist/schemas/user.d.mts +24 -0
- package/dist/schemas/user.d.ts +24 -0
- package/dist/schemas/user.d.ts.map +1 -0
- package/dist/server/client.d.mts +3 -0
- package/dist/server/client.d.ts +3 -0
- package/dist/server/client.d.ts.map +1 -0
- package/dist/server/index.d.mts +3 -0
- package/dist/server/index.d.ts +3 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.js +420 -0
- package/dist/server/index.js.map +7 -0
- package/dist/server/index.mjs +389 -0
- package/dist/server/index.mjs.map +7 -0
- package/dist/server/routes/account.d.mts +4 -0
- package/dist/server/routes/account.d.ts +4 -0
- package/dist/server/routes/account.d.ts.map +1 -0
- package/dist/server/routes/auth.d.mts +28 -0
- package/dist/server/routes/auth.d.ts +28 -0
- package/dist/server/routes/auth.d.ts.map +1 -0
- package/dist/server/routes/bridge.d.mts +192 -0
- package/dist/server/routes/bridge.d.ts +192 -0
- package/dist/server/routes/bridge.d.ts.map +1 -0
- package/dist/server/routes/config.d.mts +3 -0
- package/dist/server/routes/config.d.ts +3 -0
- package/dist/server/routes/config.d.ts.map +1 -0
- package/dist/server/routes/index.d.mts +8 -0
- package/dist/server/routes/index.d.ts +8 -0
- package/dist/server/routes/index.d.ts.map +1 -0
- package/dist/server/routes/instruction.d.mts +4 -0
- package/dist/server/routes/instruction.d.ts +4 -0
- package/dist/server/routes/instruction.d.ts.map +1 -0
- package/dist/server/routes/integration.d.mts +4 -0
- package/dist/server/routes/integration.d.ts +4 -0
- package/dist/server/routes/integration.d.ts.map +1 -0
- package/dist/server/routes/payments.d.mts +4 -0
- package/dist/server/routes/payments.d.ts +4 -0
- package/dist/server/routes/payments.d.ts.map +1 -0
- package/dist/server/routes/verify.d.mts +3 -0
- package/dist/server/routes/verify.d.ts +3 -0
- package/dist/server/routes/verify.d.ts.map +1 -0
- package/dist/wallet/wagmi/config.d.mts +18 -0
- package/dist/wallet/wagmi/config.d.ts +18 -0
- package/dist/wallet/wagmi/config.d.ts.map +1 -0
- package/dist/wallet/wagmi/index.d.mts +2 -0
- package/dist/wallet/wagmi/index.d.ts +2 -0
- package/dist/wallet/wagmi/index.d.ts.map +1 -0
- package/dist/wallet/wagmi/index.js +429 -0
- package/dist/wallet/wagmi/index.js.map +7 -0
- package/dist/wallet/wagmi/index.mjs +431 -0
- package/dist/wallet/wagmi/index.mjs.map +7 -0
- package/package.json +222 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import type { PaginatedRequest } from "../core";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const actionNameSchema: z.ZodEnum<{
|
|
4
|
+
refuelERC20: "refuelERC20";
|
|
5
|
+
refuel: "refuel";
|
|
6
|
+
transfer: "transfer";
|
|
7
|
+
transferERC20: "transferERC20";
|
|
8
|
+
uniswapV3ExactInput: "uniswapV3ExactInput";
|
|
9
|
+
sweep: "sweep";
|
|
10
|
+
sweepERC20: "sweepERC20";
|
|
11
|
+
sweepCCTP: "sweepCCTP";
|
|
12
|
+
sweepUniswapV3: "sweepUniswapV3";
|
|
13
|
+
deactivateInstruction: "deactivateInstruction";
|
|
14
|
+
transferCCTP: "transferCCTP";
|
|
15
|
+
depositERC4626: "depositERC4626";
|
|
16
|
+
sweepDepositERC4626: "sweepDepositERC4626";
|
|
17
|
+
withdrawERC4626: "withdrawERC4626";
|
|
18
|
+
sweepWithdrawERC4626: "sweepWithdrawERC4626";
|
|
19
|
+
callOnce: "callOnce";
|
|
20
|
+
}>;
|
|
21
|
+
export type ActionName = z.infer<typeof actionNameSchema>;
|
|
22
|
+
declare const transferFieldsSchema: z.ZodObject<{
|
|
23
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
24
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
25
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
26
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const swapFieldsSchema: z.ZodObject<{
|
|
29
|
+
poolAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
30
|
+
fromToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
31
|
+
toToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
32
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
33
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
34
|
+
fromAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
35
|
+
toAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
declare const cctpBurnFieldsSchema: z.ZodObject<{
|
|
38
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
39
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
40
|
+
mintRecipient: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
41
|
+
destinationDomain: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
42
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
declare const erc4626DepositFieldsSchema: z.ZodObject<{
|
|
45
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
46
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
47
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
48
|
+
owner: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
49
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
50
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const erc4626WithdrawFieldsSchema: z.ZodObject<{
|
|
53
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
54
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
55
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
56
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
57
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
58
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
export declare const activityDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
61
|
+
transfer: z.ZodObject<{
|
|
62
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
63
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
64
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
65
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
+
swap: z.ZodObject<{
|
|
69
|
+
poolAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
70
|
+
fromToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
71
|
+
toToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
72
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
73
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
74
|
+
fromAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
75
|
+
toAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
cctpBurn: z.ZodObject<{
|
|
79
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
80
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
81
|
+
mintRecipient: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
82
|
+
destinationDomain: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
83
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
+
erc4626Deposit: z.ZodObject<{
|
|
87
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
88
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
89
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
90
|
+
owner: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
91
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
92
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
+
erc4626Withdraw: z.ZodObject<{
|
|
96
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
97
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
98
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
99
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
100
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
101
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
}, z.core.$strip>]>;
|
|
104
|
+
export type ActivityData = z.infer<typeof activityDataSchema>;
|
|
105
|
+
export type ActivityTransferData = z.infer<typeof transferFieldsSchema>;
|
|
106
|
+
export type ActivitySwapData = z.infer<typeof swapFieldsSchema>;
|
|
107
|
+
export type ActivityCCTPBurnData = z.infer<typeof cctpBurnFieldsSchema>;
|
|
108
|
+
export type ActivityERC4626DepositData = z.infer<typeof erc4626DepositFieldsSchema>;
|
|
109
|
+
export type ActivityERC4626WithdrawData = z.infer<typeof erc4626WithdrawFieldsSchema>;
|
|
110
|
+
export declare const activityRecordSchema: z.ZodObject<{
|
|
111
|
+
actionName: z.ZodEnum<{
|
|
112
|
+
refuelERC20: "refuelERC20";
|
|
113
|
+
refuel: "refuel";
|
|
114
|
+
transfer: "transfer";
|
|
115
|
+
transferERC20: "transferERC20";
|
|
116
|
+
uniswapV3ExactInput: "uniswapV3ExactInput";
|
|
117
|
+
sweep: "sweep";
|
|
118
|
+
sweepERC20: "sweepERC20";
|
|
119
|
+
sweepCCTP: "sweepCCTP";
|
|
120
|
+
sweepUniswapV3: "sweepUniswapV3";
|
|
121
|
+
deactivateInstruction: "deactivateInstruction";
|
|
122
|
+
transferCCTP: "transferCCTP";
|
|
123
|
+
depositERC4626: "depositERC4626";
|
|
124
|
+
sweepDepositERC4626: "sweepDepositERC4626";
|
|
125
|
+
withdrawERC4626: "withdrawERC4626";
|
|
126
|
+
sweepWithdrawERC4626: "sweepWithdrawERC4626";
|
|
127
|
+
callOnce: "callOnce";
|
|
128
|
+
}>;
|
|
129
|
+
blockTimestamp: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
130
|
+
transactionHash: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
131
|
+
activity: z.ZodUnion<readonly [z.ZodObject<{
|
|
132
|
+
transfer: z.ZodObject<{
|
|
133
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
134
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
135
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
136
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
swap: z.ZodObject<{
|
|
140
|
+
poolAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
141
|
+
fromToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
142
|
+
toToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
143
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
144
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
145
|
+
fromAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
146
|
+
toAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
+
cctpBurn: z.ZodObject<{
|
|
150
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
151
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
152
|
+
mintRecipient: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
153
|
+
destinationDomain: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
154
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
+
erc4626Deposit: z.ZodObject<{
|
|
158
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
159
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
160
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
161
|
+
owner: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
162
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
163
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
+
erc4626Withdraw: z.ZodObject<{
|
|
167
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
168
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
169
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
170
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
171
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
172
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
}, z.core.$strip>]>;
|
|
175
|
+
instructionId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
176
|
+
executionCount: z.ZodNullable<z.ZodNumber>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
export type ActivityRecord = z.infer<typeof activityRecordSchema>;
|
|
179
|
+
export declare const getInstructionActivityRequestSchema: z.ZodObject<{
|
|
180
|
+
chainId: z.ZodNumber;
|
|
181
|
+
actionNames: z.ZodArray<z.ZodEnum<{
|
|
182
|
+
refuelERC20: "refuelERC20";
|
|
183
|
+
refuel: "refuel";
|
|
184
|
+
transfer: "transfer";
|
|
185
|
+
transferERC20: "transferERC20";
|
|
186
|
+
uniswapV3ExactInput: "uniswapV3ExactInput";
|
|
187
|
+
sweep: "sweep";
|
|
188
|
+
sweepERC20: "sweepERC20";
|
|
189
|
+
sweepCCTP: "sweepCCTP";
|
|
190
|
+
sweepUniswapV3: "sweepUniswapV3";
|
|
191
|
+
deactivateInstruction: "deactivateInstruction";
|
|
192
|
+
transferCCTP: "transferCCTP";
|
|
193
|
+
depositERC4626: "depositERC4626";
|
|
194
|
+
sweepDepositERC4626: "sweepDepositERC4626";
|
|
195
|
+
withdrawERC4626: "withdrawERC4626";
|
|
196
|
+
sweepWithdrawERC4626: "sweepWithdrawERC4626";
|
|
197
|
+
callOnce: "callOnce";
|
|
198
|
+
}>>;
|
|
199
|
+
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
200
|
+
perPage: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
export type GetInstructionActivityRequest = z.infer<typeof getInstructionActivityRequestSchema>;
|
|
203
|
+
export declare const getInstructionActivityResponseSchema: z.ZodArray<z.ZodObject<{
|
|
204
|
+
actionName: z.ZodEnum<{
|
|
205
|
+
refuelERC20: "refuelERC20";
|
|
206
|
+
refuel: "refuel";
|
|
207
|
+
transfer: "transfer";
|
|
208
|
+
transferERC20: "transferERC20";
|
|
209
|
+
uniswapV3ExactInput: "uniswapV3ExactInput";
|
|
210
|
+
sweep: "sweep";
|
|
211
|
+
sweepERC20: "sweepERC20";
|
|
212
|
+
sweepCCTP: "sweepCCTP";
|
|
213
|
+
sweepUniswapV3: "sweepUniswapV3";
|
|
214
|
+
deactivateInstruction: "deactivateInstruction";
|
|
215
|
+
transferCCTP: "transferCCTP";
|
|
216
|
+
depositERC4626: "depositERC4626";
|
|
217
|
+
sweepDepositERC4626: "sweepDepositERC4626";
|
|
218
|
+
withdrawERC4626: "withdrawERC4626";
|
|
219
|
+
sweepWithdrawERC4626: "sweepWithdrawERC4626";
|
|
220
|
+
callOnce: "callOnce";
|
|
221
|
+
}>;
|
|
222
|
+
blockTimestamp: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
223
|
+
transactionHash: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
224
|
+
activity: z.ZodUnion<readonly [z.ZodObject<{
|
|
225
|
+
transfer: z.ZodObject<{
|
|
226
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
227
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
228
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
229
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
232
|
+
swap: z.ZodObject<{
|
|
233
|
+
poolAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
234
|
+
fromToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
235
|
+
toToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
236
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
237
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
238
|
+
fromAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
239
|
+
toAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
240
|
+
}, z.core.$strip>;
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
242
|
+
cctpBurn: z.ZodObject<{
|
|
243
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
244
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
245
|
+
mintRecipient: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
246
|
+
destinationDomain: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
247
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
250
|
+
erc4626Deposit: z.ZodObject<{
|
|
251
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
252
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
253
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
254
|
+
owner: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
255
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
256
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
259
|
+
erc4626Withdraw: z.ZodObject<{
|
|
260
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
261
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
262
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
263
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
264
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
265
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
}, z.core.$strip>]>;
|
|
268
|
+
instructionId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
269
|
+
executionCount: z.ZodNullable<z.ZodNumber>;
|
|
270
|
+
}, z.core.$strip>>;
|
|
271
|
+
export type GetInstructionActivityResponse = z.infer<typeof getInstructionActivityResponseSchema>;
|
|
272
|
+
export interface InstructionActivityRequest extends PaginatedRequest {
|
|
273
|
+
chainId: number;
|
|
274
|
+
actionNames: ActionName[];
|
|
275
|
+
}
|
|
276
|
+
export {};
|
|
277
|
+
//# sourceMappingURL=activity.d.ts.map
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import type { PaginatedRequest } from "../core";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const actionNameSchema: z.ZodEnum<{
|
|
4
|
+
refuelERC20: "refuelERC20";
|
|
5
|
+
refuel: "refuel";
|
|
6
|
+
transfer: "transfer";
|
|
7
|
+
transferERC20: "transferERC20";
|
|
8
|
+
uniswapV3ExactInput: "uniswapV3ExactInput";
|
|
9
|
+
sweep: "sweep";
|
|
10
|
+
sweepERC20: "sweepERC20";
|
|
11
|
+
sweepCCTP: "sweepCCTP";
|
|
12
|
+
sweepUniswapV3: "sweepUniswapV3";
|
|
13
|
+
deactivateInstruction: "deactivateInstruction";
|
|
14
|
+
transferCCTP: "transferCCTP";
|
|
15
|
+
depositERC4626: "depositERC4626";
|
|
16
|
+
sweepDepositERC4626: "sweepDepositERC4626";
|
|
17
|
+
withdrawERC4626: "withdrawERC4626";
|
|
18
|
+
sweepWithdrawERC4626: "sweepWithdrawERC4626";
|
|
19
|
+
callOnce: "callOnce";
|
|
20
|
+
}>;
|
|
21
|
+
export type ActionName = z.infer<typeof actionNameSchema>;
|
|
22
|
+
declare const transferFieldsSchema: z.ZodObject<{
|
|
23
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
24
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
25
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
26
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const swapFieldsSchema: z.ZodObject<{
|
|
29
|
+
poolAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
30
|
+
fromToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
31
|
+
toToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
32
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
33
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
34
|
+
fromAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
35
|
+
toAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
declare const cctpBurnFieldsSchema: z.ZodObject<{
|
|
38
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
39
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
40
|
+
mintRecipient: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
41
|
+
destinationDomain: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
42
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
declare const erc4626DepositFieldsSchema: z.ZodObject<{
|
|
45
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
46
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
47
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
48
|
+
owner: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
49
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
50
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const erc4626WithdrawFieldsSchema: z.ZodObject<{
|
|
53
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
54
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
55
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
56
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
57
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
58
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
export declare const activityDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
61
|
+
transfer: z.ZodObject<{
|
|
62
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
63
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
64
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
65
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
+
swap: z.ZodObject<{
|
|
69
|
+
poolAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
70
|
+
fromToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
71
|
+
toToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
72
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
73
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
74
|
+
fromAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
75
|
+
toAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
cctpBurn: z.ZodObject<{
|
|
79
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
80
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
81
|
+
mintRecipient: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
82
|
+
destinationDomain: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
83
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
+
erc4626Deposit: z.ZodObject<{
|
|
87
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
88
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
89
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
90
|
+
owner: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
91
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
92
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
+
erc4626Withdraw: z.ZodObject<{
|
|
96
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
97
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
98
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
99
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
100
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
101
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
}, z.core.$strip>]>;
|
|
104
|
+
export type ActivityData = z.infer<typeof activityDataSchema>;
|
|
105
|
+
export type ActivityTransferData = z.infer<typeof transferFieldsSchema>;
|
|
106
|
+
export type ActivitySwapData = z.infer<typeof swapFieldsSchema>;
|
|
107
|
+
export type ActivityCCTPBurnData = z.infer<typeof cctpBurnFieldsSchema>;
|
|
108
|
+
export type ActivityERC4626DepositData = z.infer<typeof erc4626DepositFieldsSchema>;
|
|
109
|
+
export type ActivityERC4626WithdrawData = z.infer<typeof erc4626WithdrawFieldsSchema>;
|
|
110
|
+
export declare const activityRecordSchema: z.ZodObject<{
|
|
111
|
+
actionName: z.ZodEnum<{
|
|
112
|
+
refuelERC20: "refuelERC20";
|
|
113
|
+
refuel: "refuel";
|
|
114
|
+
transfer: "transfer";
|
|
115
|
+
transferERC20: "transferERC20";
|
|
116
|
+
uniswapV3ExactInput: "uniswapV3ExactInput";
|
|
117
|
+
sweep: "sweep";
|
|
118
|
+
sweepERC20: "sweepERC20";
|
|
119
|
+
sweepCCTP: "sweepCCTP";
|
|
120
|
+
sweepUniswapV3: "sweepUniswapV3";
|
|
121
|
+
deactivateInstruction: "deactivateInstruction";
|
|
122
|
+
transferCCTP: "transferCCTP";
|
|
123
|
+
depositERC4626: "depositERC4626";
|
|
124
|
+
sweepDepositERC4626: "sweepDepositERC4626";
|
|
125
|
+
withdrawERC4626: "withdrawERC4626";
|
|
126
|
+
sweepWithdrawERC4626: "sweepWithdrawERC4626";
|
|
127
|
+
callOnce: "callOnce";
|
|
128
|
+
}>;
|
|
129
|
+
blockTimestamp: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
130
|
+
transactionHash: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
131
|
+
activity: z.ZodUnion<readonly [z.ZodObject<{
|
|
132
|
+
transfer: z.ZodObject<{
|
|
133
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
134
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
135
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
136
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
swap: z.ZodObject<{
|
|
140
|
+
poolAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
141
|
+
fromToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
142
|
+
toToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
143
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
144
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
145
|
+
fromAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
146
|
+
toAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
+
cctpBurn: z.ZodObject<{
|
|
150
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
151
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
152
|
+
mintRecipient: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
153
|
+
destinationDomain: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
154
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
+
erc4626Deposit: z.ZodObject<{
|
|
158
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
159
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
160
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
161
|
+
owner: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
162
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
163
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
+
erc4626Withdraw: z.ZodObject<{
|
|
167
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
168
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
169
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
170
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
171
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
172
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
}, z.core.$strip>]>;
|
|
175
|
+
instructionId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
176
|
+
executionCount: z.ZodNullable<z.ZodNumber>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
export type ActivityRecord = z.infer<typeof activityRecordSchema>;
|
|
179
|
+
export declare const getInstructionActivityRequestSchema: z.ZodObject<{
|
|
180
|
+
chainId: z.ZodNumber;
|
|
181
|
+
actionNames: z.ZodArray<z.ZodEnum<{
|
|
182
|
+
refuelERC20: "refuelERC20";
|
|
183
|
+
refuel: "refuel";
|
|
184
|
+
transfer: "transfer";
|
|
185
|
+
transferERC20: "transferERC20";
|
|
186
|
+
uniswapV3ExactInput: "uniswapV3ExactInput";
|
|
187
|
+
sweep: "sweep";
|
|
188
|
+
sweepERC20: "sweepERC20";
|
|
189
|
+
sweepCCTP: "sweepCCTP";
|
|
190
|
+
sweepUniswapV3: "sweepUniswapV3";
|
|
191
|
+
deactivateInstruction: "deactivateInstruction";
|
|
192
|
+
transferCCTP: "transferCCTP";
|
|
193
|
+
depositERC4626: "depositERC4626";
|
|
194
|
+
sweepDepositERC4626: "sweepDepositERC4626";
|
|
195
|
+
withdrawERC4626: "withdrawERC4626";
|
|
196
|
+
sweepWithdrawERC4626: "sweepWithdrawERC4626";
|
|
197
|
+
callOnce: "callOnce";
|
|
198
|
+
}>>;
|
|
199
|
+
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
200
|
+
perPage: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
export type GetInstructionActivityRequest = z.infer<typeof getInstructionActivityRequestSchema>;
|
|
203
|
+
export declare const getInstructionActivityResponseSchema: z.ZodArray<z.ZodObject<{
|
|
204
|
+
actionName: z.ZodEnum<{
|
|
205
|
+
refuelERC20: "refuelERC20";
|
|
206
|
+
refuel: "refuel";
|
|
207
|
+
transfer: "transfer";
|
|
208
|
+
transferERC20: "transferERC20";
|
|
209
|
+
uniswapV3ExactInput: "uniswapV3ExactInput";
|
|
210
|
+
sweep: "sweep";
|
|
211
|
+
sweepERC20: "sweepERC20";
|
|
212
|
+
sweepCCTP: "sweepCCTP";
|
|
213
|
+
sweepUniswapV3: "sweepUniswapV3";
|
|
214
|
+
deactivateInstruction: "deactivateInstruction";
|
|
215
|
+
transferCCTP: "transferCCTP";
|
|
216
|
+
depositERC4626: "depositERC4626";
|
|
217
|
+
sweepDepositERC4626: "sweepDepositERC4626";
|
|
218
|
+
withdrawERC4626: "withdrawERC4626";
|
|
219
|
+
sweepWithdrawERC4626: "sweepWithdrawERC4626";
|
|
220
|
+
callOnce: "callOnce";
|
|
221
|
+
}>;
|
|
222
|
+
blockTimestamp: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
223
|
+
transactionHash: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
224
|
+
activity: z.ZodUnion<readonly [z.ZodObject<{
|
|
225
|
+
transfer: z.ZodObject<{
|
|
226
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
227
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
228
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
229
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
232
|
+
swap: z.ZodObject<{
|
|
233
|
+
poolAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
234
|
+
fromToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
235
|
+
toToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
236
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
237
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
238
|
+
fromAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
239
|
+
toAmount: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
240
|
+
}, z.core.$strip>;
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
242
|
+
cctpBurn: z.ZodObject<{
|
|
243
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
244
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
245
|
+
mintRecipient: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
246
|
+
destinationDomain: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
247
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
250
|
+
erc4626Deposit: z.ZodObject<{
|
|
251
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
252
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
253
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
254
|
+
owner: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
255
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
256
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
259
|
+
erc4626Withdraw: z.ZodObject<{
|
|
260
|
+
vault: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
261
|
+
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
262
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
263
|
+
to: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
264
|
+
value: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
265
|
+
shares: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
}, z.core.$strip>]>;
|
|
268
|
+
instructionId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
269
|
+
executionCount: z.ZodNullable<z.ZodNumber>;
|
|
270
|
+
}, z.core.$strip>>;
|
|
271
|
+
export type GetInstructionActivityResponse = z.infer<typeof getInstructionActivityResponseSchema>;
|
|
272
|
+
export interface InstructionActivityRequest extends PaginatedRequest {
|
|
273
|
+
chainId: number;
|
|
274
|
+
actionNames: ActionName[];
|
|
275
|
+
}
|
|
276
|
+
export {};
|
|
277
|
+
//# sourceMappingURL=activity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../src/api/schemas/activity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;EAiB3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,QAAA,MAAM,oBAAoB;;;;;iBAKxB,CAAC;AAEH,QAAA,MAAM,gBAAgB;;;;;;;;iBAQpB,CAAC;AAEH,QAAA,MAAM,oBAAoB;;;;;;iBAMxB,CAAC;AAEH,QAAA,MAAM,0BAA0B;;;;;;;iBAO9B,CAAC;AAEH,QAAA,MAAM,2BAA2B;;;;;;;iBAO/B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAM7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAChE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;iBAK9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAClB,CAAC;AAChC,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC;AAEF,MAAM,WAAW,0BAA2B,SAAQ,gBAAgB;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B"}
|