@otim/utils 0.0.4 → 0.0.6
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/api/index.d.mts +1858 -7
- package/dist/api/index.d.mts.map +1 -0
- package/dist/api/index.d.ts +1857 -6
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +1514 -1994
- package/dist/api/index.js.map +1 -7
- package/dist/api/index.mjs +1394 -1962
- package/dist/api/index.mjs.map +1 -7
- package/dist/api-urls-B-GTEiT3.d.mts +49 -0
- package/dist/api-urls-B-GTEiT3.d.mts.map +1 -0
- package/dist/api-urls-Cd20DG4i.js +171 -0
- package/dist/api-urls-Cd20DG4i.js.map +1 -0
- package/dist/api-urls-DJcIKBCy.mjs +135 -0
- package/dist/api-urls-DJcIKBCy.mjs.map +1 -0
- package/dist/api-urls-SKeIQMoZ.d.ts +49 -0
- package/dist/api-urls-SKeIQMoZ.d.ts.map +1 -0
- package/dist/chains/index.d.mts +13568 -16
- package/dist/chains/index.d.mts.map +1 -0
- package/dist/chains/index.d.ts +13567 -15
- package/dist/chains/index.d.ts.map +1 -1
- package/dist/chains/index.js +3615 -424
- package/dist/chains/index.js.map +1 -7
- package/dist/chains/index.mjs +3561 -440
- package/dist/chains/index.mjs.map +1 -7
- package/dist/chunk-kSYXY2_d.js +34 -0
- package/dist/client-factory-7xUSPC9I.mjs +42 -0
- package/dist/client-factory-7xUSPC9I.mjs.map +1 -0
- package/dist/client-factory-C3A4RPdj.d.ts +22 -0
- package/dist/client-factory-C3A4RPdj.d.ts.map +1 -0
- package/dist/client-factory-CTI_Nt35.js +49 -0
- package/dist/client-factory-CTI_Nt35.js.map +1 -0
- package/dist/client-factory-DOL0ZTWy.d.mts +22 -0
- package/dist/client-factory-DOL0ZTWy.d.mts.map +1 -0
- package/dist/constants.d.mts +14 -24
- package/dist/constants.d.mts.map +1 -0
- package/dist/constants.d.ts +13 -23
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +31 -46
- package/dist/constants.js.map +1 -7
- package/dist/constants.mjs +22 -26
- package/dist/constants.mjs.map +1 -7
- package/dist/date-CFzrYcjE.js +536 -0
- package/dist/date-CFzrYcjE.js.map +1 -0
- package/dist/date-gBac-Om9.mjs +313 -0
- package/dist/date-gBac-Om9.mjs.map +1 -0
- package/dist/defineProperty-DbMdhrDE.js +49 -0
- package/dist/defineProperty-DzhmunJg.mjs +43 -0
- package/dist/formatters/index.d.mts +1 -2
- package/dist/formatters/index.d.ts +1 -2
- package/dist/formatters/index.js +0 -19
- package/dist/formatters/index.mjs +1 -1
- package/dist/helpers/index.d.mts +562 -19
- package/dist/helpers/index.d.mts.map +1 -0
- package/dist/helpers/index.d.ts +561 -18
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +106 -1344
- package/dist/helpers/index.mjs +3 -1315
- package/dist/helpers-BNiSxjGq.mjs +895 -0
- package/dist/helpers-BNiSxjGq.mjs.map +1 -0
- package/dist/helpers-DoC7Xl12.js +1291 -0
- package/dist/helpers-DoC7Xl12.js.map +1 -0
- package/dist/index-Bv0kUz4w.d.ts +540 -0
- package/dist/index-Bv0kUz4w.d.ts.map +1 -0
- package/dist/index-DartTKk2.d.mts +540 -0
- package/dist/index-DartTKk2.d.mts.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -2
- package/dist/index.mjs +1 -1
- package/dist/instructions/index.d.mts +687 -6
- package/dist/instructions/index.d.mts.map +1 -0
- package/dist/instructions/index.d.ts +686 -5
- package/dist/instructions/index.d.ts.map +1 -1
- package/dist/instructions/index.js +1912 -1091
- package/dist/instructions/index.js.map +1 -7
- package/dist/instructions/index.mjs +1887 -1058
- package/dist/instructions/index.mjs.map +1 -7
- package/dist/payments/index.d.mts +322 -16
- package/dist/payments/index.d.mts.map +1 -0
- package/dist/payments/index.d.ts +321 -15
- package/dist/payments/index.d.ts.map +1 -1
- package/dist/payments/index.js +616 -1258
- package/dist/payments/index.js.map +1 -7
- package/dist/payments/index.mjs +594 -1236
- package/dist/payments/index.mjs.map +1 -7
- package/dist/schemas/index.d.mts +2 -10
- package/dist/schemas/index.d.ts +2 -10
- package/dist/schemas/index.js +350 -393
- package/dist/schemas/index.js.map +1 -7
- package/dist/schemas/index.mjs +283 -371
- package/dist/schemas/index.mjs.map +1 -7
- package/dist/server/index.d.mts +354 -3
- package/dist/server/index.d.mts.map +1 -0
- package/dist/server/index.d.ts +353 -2
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +248 -435
- package/dist/server/index.js.map +1 -7
- package/dist/server/index.mjs +199 -404
- package/dist/server/index.mjs.map +1 -7
- package/dist/server/react.d.mts +16 -0
- package/dist/server/react.d.mts.map +1 -0
- package/dist/server/react.d.ts +16 -0
- package/dist/server/react.d.ts.map +1 -0
- package/dist/server/react.js +30 -0
- package/dist/server/react.js.map +1 -0
- package/dist/server/react.mjs +28 -0
- package/dist/server/react.mjs.map +1 -0
- package/dist/wallet/wagmi/index.d.mts +23 -2
- package/dist/wallet/wagmi/index.d.mts.map +1 -0
- package/dist/wallet/wagmi/index.d.ts +22 -1
- package/dist/wallet/wagmi/index.d.ts.map +1 -1
- package/dist/wallet/wagmi/index.js +86 -417
- package/dist/wallet/wagmi/index.js.map +1 -7
- package/dist/wallet/wagmi/index.mjs +82 -418
- package/dist/wallet/wagmi/index.mjs.map +1 -7
- package/package.json +39 -28
- package/dist/api/api.d.mts +0 -18
- package/dist/api/api.d.ts +0 -18
- package/dist/api/api.d.ts.map +0 -1
- package/dist/api/core/error.d.mts +0 -74
- package/dist/api/core/error.d.ts +0 -74
- package/dist/api/core/error.d.ts.map +0 -1
- package/dist/api/core/index.d.mts +0 -4
- package/dist/api/core/index.d.ts +0 -4
- package/dist/api/core/index.d.ts.map +0 -1
- package/dist/api/core/instance.d.mts +0 -13
- package/dist/api/core/instance.d.ts +0 -13
- package/dist/api/core/instance.d.ts.map +0 -1
- package/dist/api/core/service.d.mts +0 -51
- package/dist/api/core/service.d.ts +0 -51
- package/dist/api/core/service.d.ts.map +0 -1
- package/dist/api/schemas/account.d.mts +0 -44
- package/dist/api/schemas/account.d.ts +0 -44
- package/dist/api/schemas/account.d.ts.map +0 -1
- package/dist/api/schemas/activity.d.mts +0 -277
- package/dist/api/schemas/activity.d.ts +0 -277
- package/dist/api/schemas/activity.d.ts.map +0 -1
- package/dist/api/schemas/auth.d.mts +0 -127
- package/dist/api/schemas/auth.d.ts +0 -127
- package/dist/api/schemas/auth.d.ts.map +0 -1
- package/dist/api/schemas/chain.d.mts +0 -15
- package/dist/api/schemas/chain.d.ts +0 -15
- package/dist/api/schemas/chain.d.ts.map +0 -1
- package/dist/api/schemas/config.d.mts +0 -33
- package/dist/api/schemas/config.d.ts +0 -33
- package/dist/api/schemas/config.d.ts.map +0 -1
- package/dist/api/schemas/contacts.d.mts +0 -27
- package/dist/api/schemas/contacts.d.ts +0 -27
- package/dist/api/schemas/contacts.d.ts.map +0 -1
- package/dist/api/schemas/index.d.mts +0 -12
- package/dist/api/schemas/index.d.ts +0 -12
- package/dist/api/schemas/index.d.ts.map +0 -1
- package/dist/api/schemas/instruction.d.mts +0 -446
- package/dist/api/schemas/instruction.d.ts +0 -446
- package/dist/api/schemas/instruction.d.ts.map +0 -1
- package/dist/api/schemas/integration.d.mts +0 -166
- package/dist/api/schemas/integration.d.ts +0 -166
- package/dist/api/schemas/integration.d.ts.map +0 -1
- package/dist/api/schemas/operating-account.d.mts +0 -11
- package/dist/api/schemas/operating-account.d.ts +0 -11
- package/dist/api/schemas/operating-account.d.ts.map +0 -1
- package/dist/api/schemas/payments.d.mts +0 -234
- package/dist/api/schemas/payments.d.ts +0 -234
- package/dist/api/schemas/payments.d.ts.map +0 -1
- package/dist/api/schemas/transaction.d.mts +0 -37
- package/dist/api/schemas/transaction.d.ts +0 -37
- package/dist/api/schemas/transaction.d.ts.map +0 -1
- package/dist/api/services/account.d.mts +0 -8
- package/dist/api/services/account.d.ts +0 -8
- package/dist/api/services/account.d.ts.map +0 -1
- package/dist/api/services/activity.d.mts +0 -7
- package/dist/api/services/activity.d.ts +0 -7
- package/dist/api/services/activity.d.ts.map +0 -1
- package/dist/api/services/auth.d.mts +0 -12
- package/dist/api/services/auth.d.ts +0 -12
- package/dist/api/services/auth.d.ts.map +0 -1
- package/dist/api/services/base.d.mts +0 -10
- package/dist/api/services/base.d.ts +0 -10
- package/dist/api/services/base.d.ts.map +0 -1
- package/dist/api/services/config.d.mts +0 -10
- package/dist/api/services/config.d.ts +0 -10
- package/dist/api/services/config.d.ts.map +0 -1
- package/dist/api/services/contacts.d.mts +0 -8
- package/dist/api/services/contacts.d.ts +0 -8
- package/dist/api/services/contacts.d.ts.map +0 -1
- package/dist/api/services/developer.d.mts +0 -6
- package/dist/api/services/developer.d.ts +0 -6
- package/dist/api/services/developer.d.ts.map +0 -1
- package/dist/api/services/index.d.mts +0 -13
- package/dist/api/services/index.d.ts +0 -13
- package/dist/api/services/index.d.ts.map +0 -1
- package/dist/api/services/instruction.d.mts +0 -12
- package/dist/api/services/instruction.d.ts +0 -12
- package/dist/api/services/instruction.d.ts.map +0 -1
- package/dist/api/services/integration.d.mts +0 -8
- package/dist/api/services/integration.d.ts +0 -8
- package/dist/api/services/integration.d.ts.map +0 -1
- package/dist/api/services/operating-account.d.mts +0 -8
- package/dist/api/services/operating-account.d.ts +0 -8
- package/dist/api/services/operating-account.d.ts.map +0 -1
- package/dist/api/services/payments.d.mts +0 -14
- package/dist/api/services/payments.d.ts +0 -14
- package/dist/api/services/payments.d.ts.map +0 -1
- package/dist/api/services/transaction.d.mts +0 -8
- package/dist/api/services/transaction.d.ts +0 -8
- package/dist/api/services/transaction.d.ts.map +0 -1
- package/dist/api/services/uniswap-token-list-service.d.mts +0 -66
- package/dist/api/services/uniswap-token-list-service.d.ts +0 -66
- package/dist/api/services/uniswap-token-list-service.d.ts.map +0 -1
- package/dist/api/utils/index.d.mts +0 -2
- package/dist/api/utils/index.d.ts +0 -2
- package/dist/api/utils/index.d.ts.map +0 -1
- package/dist/api/utils/pagination.d.mts +0 -32
- package/dist/api/utils/pagination.d.ts +0 -32
- package/dist/api/utils/pagination.d.ts.map +0 -1
- package/dist/chains/config/all-chains.d.mts +0 -4243
- package/dist/chains/config/all-chains.d.ts +0 -4243
- package/dist/chains/config/all-chains.d.ts.map +0 -1
- package/dist/chains/config/custom-chains.d.mts +0 -49
- package/dist/chains/config/custom-chains.d.ts +0 -49
- package/dist/chains/config/custom-chains.d.ts.map +0 -1
- package/dist/chains/config/mainnet-chains.d.mts +0 -1063
- package/dist/chains/config/mainnet-chains.d.ts +0 -1063
- package/dist/chains/config/mainnet-chains.d.ts.map +0 -1
- package/dist/chains/config/supported-chains.d.mts +0 -2172
- package/dist/chains/config/supported-chains.d.ts +0 -2172
- package/dist/chains/config/supported-chains.d.ts.map +0 -1
- package/dist/chains/config/testnet-chains.d.mts +0 -1110
- package/dist/chains/config/testnet-chains.d.ts +0 -1110
- package/dist/chains/config/testnet-chains.d.ts.map +0 -1
- package/dist/chains/lambda/chain-mapping.d.mts +0 -55
- package/dist/chains/lambda/chain-mapping.d.ts +0 -55
- package/dist/chains/lambda/chain-mapping.d.ts.map +0 -1
- package/dist/chains/lambda/index.d.mts +0 -2
- package/dist/chains/lambda/index.d.ts +0 -2
- package/dist/chains/lambda/index.d.ts.map +0 -1
- package/dist/chains/tokens/chain-tokens.d.mts +0 -6
- package/dist/chains/tokens/chain-tokens.d.ts +0 -6
- package/dist/chains/tokens/chain-tokens.d.ts.map +0 -1
- package/dist/chains/tokens/token-addresses.d.mts +0 -8
- package/dist/chains/tokens/token-addresses.d.ts +0 -8
- package/dist/chains/tokens/token-addresses.d.ts.map +0 -1
- package/dist/chains/tokens/token-metadata.d.mts +0 -5
- package/dist/chains/tokens/token-metadata.d.ts +0 -5
- package/dist/chains/tokens/token-metadata.d.ts.map +0 -1
- package/dist/chains/types.d.mts +0 -23
- package/dist/chains/types.d.ts +0 -23
- package/dist/chains/types.d.ts.map +0 -1
- package/dist/chains/utils/filter-tokens.d.mts +0 -3
- package/dist/chains/utils/filter-tokens.d.ts +0 -3
- package/dist/chains/utils/filter-tokens.d.ts.map +0 -1
- package/dist/chains/utils/stablecoin.d.mts +0 -7
- package/dist/chains/utils/stablecoin.d.ts +0 -7
- package/dist/chains/utils/stablecoin.d.ts.map +0 -1
- package/dist/chains/utils/token-maps.d.mts +0 -10
- package/dist/chains/utils/token-maps.d.ts +0 -10
- package/dist/chains/utils/token-maps.d.ts.map +0 -1
- package/dist/env.d.mts +0 -17
- package/dist/env.d.ts +0 -17
- package/dist/env.d.ts.map +0 -1
- package/dist/formatters/index.d.ts.map +0 -1
- package/dist/formatters/index.js.map +0 -7
- package/dist/formatters/index.mjs.map +0 -7
- package/dist/helpers/address.d.mts +0 -7
- package/dist/helpers/address.d.ts +0 -7
- package/dist/helpers/address.d.ts.map +0 -1
- package/dist/helpers/blockchain.d.mts +0 -41
- package/dist/helpers/blockchain.d.ts +0 -41
- package/dist/helpers/blockchain.d.ts.map +0 -1
- package/dist/helpers/date.d.mts +0 -70
- package/dist/helpers/date.d.ts +0 -70
- package/dist/helpers/date.d.ts.map +0 -1
- package/dist/helpers/datetime.d.mts +0 -57
- package/dist/helpers/datetime.d.ts +0 -57
- package/dist/helpers/datetime.d.ts.map +0 -1
- package/dist/helpers/domain.d.mts +0 -2
- package/dist/helpers/domain.d.ts +0 -2
- package/dist/helpers/domain.d.ts.map +0 -1
- package/dist/helpers/index.js.map +0 -7
- package/dist/helpers/index.mjs.map +0 -7
- package/dist/helpers/intl.d.mts +0 -20
- package/dist/helpers/intl.d.ts +0 -20
- package/dist/helpers/intl.d.ts.map +0 -1
- package/dist/helpers/logger.d.mts +0 -26
- package/dist/helpers/logger.d.ts +0 -26
- package/dist/helpers/logger.d.ts.map +0 -1
- package/dist/helpers/mask-options.d.mts +0 -10
- package/dist/helpers/mask-options.d.ts +0 -10
- package/dist/helpers/mask-options.d.ts.map +0 -1
- package/dist/helpers/num-formatter.d.mts +0 -3
- package/dist/helpers/num-formatter.d.ts +0 -3
- package/dist/helpers/num-formatter.d.ts.map +0 -1
- package/dist/helpers/polling.d.mts +0 -39
- package/dist/helpers/polling.d.ts +0 -39
- package/dist/helpers/polling.d.ts.map +0 -1
- package/dist/helpers/random.d.mts +0 -10
- package/dist/helpers/random.d.ts +0 -10
- package/dist/helpers/random.d.ts.map +0 -1
- package/dist/helpers/sdk-loader.d.mts +0 -25
- package/dist/helpers/sdk-loader.d.ts +0 -25
- package/dist/helpers/sdk-loader.d.ts.map +0 -1
- package/dist/helpers/signatures.d.mts +0 -17
- package/dist/helpers/signatures.d.ts +0 -17
- package/dist/helpers/signatures.d.ts.map +0 -1
- package/dist/helpers/string.d.mts +0 -17
- package/dist/helpers/string.d.ts +0 -17
- package/dist/helpers/string.d.ts.map +0 -1
- package/dist/helpers/types.d.mts +0 -39
- package/dist/helpers/types.d.ts +0 -39
- package/dist/helpers/types.d.ts.map +0 -1
- package/dist/helpers/url.d.mts +0 -11
- package/dist/helpers/url.d.ts +0 -11
- package/dist/helpers/url.d.ts.map +0 -1
- package/dist/helpers/window.d.mts +0 -37
- package/dist/helpers/window.d.ts +0 -37
- package/dist/helpers/window.d.ts.map +0 -1
- package/dist/helpers/zod.d.mts +0 -51
- package/dist/helpers/zod.d.ts +0 -51
- package/dist/helpers/zod.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -7
- package/dist/index.mjs.map +0 -7
- package/dist/instructions/actions/index.d.mts +0 -5
- package/dist/instructions/actions/index.d.ts +0 -5
- package/dist/instructions/actions/index.d.ts.map +0 -1
- package/dist/instructions/actions/refuel/index.d.mts +0 -15
- package/dist/instructions/actions/refuel/index.d.ts +0 -15
- package/dist/instructions/actions/refuel/index.d.ts.map +0 -1
- package/dist/instructions/actions/swap/index.d.mts +0 -19
- package/dist/instructions/actions/swap/index.d.ts +0 -19
- package/dist/instructions/actions/swap/index.d.ts.map +0 -1
- package/dist/instructions/actions/sweep/index.d.mts +0 -16
- package/dist/instructions/actions/sweep/index.d.ts +0 -16
- package/dist/instructions/actions/sweep/index.d.ts.map +0 -1
- package/dist/instructions/actions/transfer/index.d.mts +0 -13
- package/dist/instructions/actions/transfer/index.d.ts +0 -13
- package/dist/instructions/actions/transfer/index.d.ts.map +0 -1
- package/dist/instructions/activate.d.mts +0 -84
- package/dist/instructions/activate.d.ts +0 -84
- package/dist/instructions/activate.d.ts.map +0 -1
- package/dist/instructions/build.d.mts +0 -146
- package/dist/instructions/build.d.ts +0 -146
- package/dist/instructions/build.d.ts.map +0 -1
- package/dist/instructions/constants.d.mts +0 -9
- package/dist/instructions/constants.d.ts +0 -9
- package/dist/instructions/constants.d.ts.map +0 -1
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.mts +0 -609
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts +0 -609
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts.map +0 -1
- package/dist/instructions/types.d.mts +0 -289
- package/dist/instructions/types.d.ts +0 -289
- package/dist/instructions/types.d.ts.map +0 -1
- package/dist/payments/action-names.d.mts +0 -16
- package/dist/payments/action-names.d.ts +0 -16
- package/dist/payments/action-names.d.ts.map +0 -1
- package/dist/payments/actions/index.d.mts +0 -5
- package/dist/payments/actions/index.d.ts +0 -5
- package/dist/payments/actions/index.d.ts.map +0 -1
- package/dist/payments/actions/sweep-cctp.d.mts +0 -15
- package/dist/payments/actions/sweep-cctp.d.ts +0 -15
- package/dist/payments/actions/sweep-cctp.d.ts.map +0 -1
- package/dist/payments/actions/sweep-erc20.d.mts +0 -12
- package/dist/payments/actions/sweep-erc20.d.ts +0 -12
- package/dist/payments/actions/sweep-erc20.d.ts.map +0 -1
- package/dist/payments/actions/sweep-uniswap-v3.d.mts +0 -17
- package/dist/payments/actions/sweep-uniswap-v3.d.ts +0 -17
- package/dist/payments/actions/sweep-uniswap-v3.d.ts.map +0 -1
- package/dist/payments/actions/sweep.d.mts +0 -12
- package/dist/payments/actions/sweep.d.ts +0 -12
- package/dist/payments/actions/sweep.d.ts.map +0 -1
- package/dist/payments/build.d.mts +0 -28
- package/dist/payments/build.d.ts +0 -28
- package/dist/payments/build.d.ts.map +0 -1
- package/dist/payments/chain-token-config-builder.d.mts +0 -10
- package/dist/payments/chain-token-config-builder.d.ts +0 -10
- package/dist/payments/chain-token-config-builder.d.ts.map +0 -1
- package/dist/payments/comprehensive-payment-request.d.mts +0 -26
- package/dist/payments/comprehensive-payment-request.d.ts +0 -26
- package/dist/payments/comprehensive-payment-request.d.ts.map +0 -1
- package/dist/payments/config/cctp.d.mts +0 -14
- package/dist/payments/config/cctp.d.ts +0 -14
- package/dist/payments/config/cctp.d.ts.map +0 -1
- package/dist/payments/config/index.d.mts +0 -3
- package/dist/payments/config/index.d.ts +0 -3
- package/dist/payments/config/index.d.ts.map +0 -1
- package/dist/payments/config/tokens.d.mts +0 -14
- package/dist/payments/config/tokens.d.ts +0 -14
- package/dist/payments/config/tokens.d.ts.map +0 -1
- package/dist/payments/instruction-registry.d.mts +0 -19
- package/dist/payments/instruction-registry.d.ts +0 -19
- package/dist/payments/instruction-registry.d.ts.map +0 -1
- package/dist/payments/payment-metadata-builder.d.mts +0 -56
- package/dist/payments/payment-metadata-builder.d.ts +0 -56
- package/dist/payments/payment-metadata-builder.d.ts.map +0 -1
- package/dist/payments/payment-metadata.d.mts +0 -15
- package/dist/payments/payment-metadata.d.ts +0 -15
- package/dist/payments/payment-metadata.d.ts.map +0 -1
- package/dist/payments/payment-request-token-resolver.d.mts +0 -25
- package/dist/payments/payment-request-token-resolver.d.ts +0 -25
- package/dist/payments/payment-request-token-resolver.d.ts.map +0 -1
- package/dist/payments/types.d.mts +0 -40
- package/dist/payments/types.d.ts +0 -40
- package/dist/payments/types.d.ts.map +0 -1
- package/dist/payments/validation.d.mts +0 -19
- package/dist/payments/validation.d.ts +0 -19
- package/dist/payments/validation.d.ts.map +0 -1
- package/dist/schemas/account.d.mts +0 -9
- package/dist/schemas/account.d.ts +0 -9
- package/dist/schemas/account.d.ts.map +0 -1
- package/dist/schemas/brand.d.mts +0 -7
- package/dist/schemas/brand.d.ts +0 -7
- package/dist/schemas/brand.d.ts.map +0 -1
- package/dist/schemas/contact.d.mts +0 -18
- package/dist/schemas/contact.d.ts +0 -18
- package/dist/schemas/contact.d.ts.map +0 -1
- package/dist/schemas/index.d.ts.map +0 -1
- package/dist/schemas/instruction.d.mts +0 -248
- package/dist/schemas/instruction.d.ts +0 -248
- package/dist/schemas/instruction.d.ts.map +0 -1
- package/dist/schemas/misc.d.mts +0 -36
- package/dist/schemas/misc.d.ts +0 -36
- package/dist/schemas/misc.d.ts.map +0 -1
- package/dist/schemas/payment.d.mts +0 -64
- package/dist/schemas/payment.d.ts +0 -64
- package/dist/schemas/payment.d.ts.map +0 -1
- package/dist/schemas/token.d.mts +0 -17
- package/dist/schemas/token.d.ts +0 -17
- package/dist/schemas/token.d.ts.map +0 -1
- package/dist/schemas/transaction.d.mts +0 -65
- package/dist/schemas/transaction.d.ts +0 -65
- package/dist/schemas/transaction.d.ts.map +0 -1
- package/dist/schemas/user.d.mts +0 -24
- package/dist/schemas/user.d.ts +0 -24
- package/dist/schemas/user.d.ts.map +0 -1
- package/dist/server/client.d.mts +0 -3
- package/dist/server/client.d.ts +0 -3
- package/dist/server/client.d.ts.map +0 -1
- package/dist/server/routes/account.d.mts +0 -4
- package/dist/server/routes/account.d.ts +0 -4
- package/dist/server/routes/account.d.ts.map +0 -1
- package/dist/server/routes/auth.d.mts +0 -28
- package/dist/server/routes/auth.d.ts +0 -28
- package/dist/server/routes/auth.d.ts.map +0 -1
- package/dist/server/routes/bridge.d.mts +0 -254
- package/dist/server/routes/bridge.d.ts +0 -254
- package/dist/server/routes/bridge.d.ts.map +0 -1
- package/dist/server/routes/config.d.mts +0 -3
- package/dist/server/routes/config.d.ts +0 -3
- package/dist/server/routes/config.d.ts.map +0 -1
- package/dist/server/routes/index.d.mts +0 -8
- package/dist/server/routes/index.d.ts +0 -8
- package/dist/server/routes/index.d.ts.map +0 -1
- package/dist/server/routes/instruction.d.mts +0 -4
- package/dist/server/routes/instruction.d.ts +0 -4
- package/dist/server/routes/instruction.d.ts.map +0 -1
- package/dist/server/routes/integration.d.mts +0 -4
- package/dist/server/routes/integration.d.ts +0 -4
- package/dist/server/routes/integration.d.ts.map +0 -1
- package/dist/server/routes/payments.d.mts +0 -5
- package/dist/server/routes/payments.d.ts +0 -5
- package/dist/server/routes/payments.d.ts.map +0 -1
- package/dist/server/routes/verify.d.mts +0 -3
- package/dist/server/routes/verify.d.ts +0 -3
- package/dist/server/routes/verify.d.ts.map +0 -1
- package/dist/wallet/wagmi/config.d.mts +0 -18
- package/dist/wallet/wagmi/config.d.ts +0 -18
- package/dist/wallet/wagmi/config.d.ts.map +0 -1
|
@@ -1,6 +1,687 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Address, HexString, InstructionAction } from "@otim/utils/schemas";
|
|
2
|
+
import { TypedDataDomain } from "viem";
|
|
3
|
+
import { InstructionActivateRequest, InstructionBuildRequest } from "@otim/utils/api";
|
|
4
|
+
|
|
5
|
+
//#region src/instructions/types.d.ts
|
|
6
|
+
interface EIP712Types {
|
|
7
|
+
types: {
|
|
8
|
+
[key: string]: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
}>;
|
|
12
|
+
Instruction: Array<{
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
}>;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Map of instruction actions to their EIP-712 type definitions.
|
|
20
|
+
* Used for creating typed data structures for instruction signatures.
|
|
21
|
+
*/
|
|
22
|
+
declare const eip712TypesMap: {
|
|
23
|
+
readonly Refuel: {
|
|
24
|
+
types: {
|
|
25
|
+
Instruction: {
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}[];
|
|
29
|
+
Refuel: {
|
|
30
|
+
name: string;
|
|
31
|
+
type: string;
|
|
32
|
+
}[];
|
|
33
|
+
Fee: {
|
|
34
|
+
name: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
readonly RefuelERC20: {
|
|
40
|
+
types: {
|
|
41
|
+
Instruction: {
|
|
42
|
+
name: string;
|
|
43
|
+
type: string;
|
|
44
|
+
}[];
|
|
45
|
+
RefuelERC20: {
|
|
46
|
+
name: string;
|
|
47
|
+
type: string;
|
|
48
|
+
}[];
|
|
49
|
+
Fee: {
|
|
50
|
+
name: string;
|
|
51
|
+
type: string;
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
readonly Transfer: {
|
|
56
|
+
types: {
|
|
57
|
+
Instruction: {
|
|
58
|
+
name: string;
|
|
59
|
+
type: string;
|
|
60
|
+
}[];
|
|
61
|
+
Transfer: {
|
|
62
|
+
name: string;
|
|
63
|
+
type: string;
|
|
64
|
+
}[];
|
|
65
|
+
Schedule: {
|
|
66
|
+
name: string;
|
|
67
|
+
type: string;
|
|
68
|
+
}[];
|
|
69
|
+
Fee: {
|
|
70
|
+
name: string;
|
|
71
|
+
type: string;
|
|
72
|
+
}[];
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
readonly TransferERC20: {
|
|
76
|
+
types: {
|
|
77
|
+
Instruction: {
|
|
78
|
+
name: string;
|
|
79
|
+
type: string;
|
|
80
|
+
}[];
|
|
81
|
+
TransferERC20: {
|
|
82
|
+
name: string;
|
|
83
|
+
type: string;
|
|
84
|
+
}[];
|
|
85
|
+
Schedule: {
|
|
86
|
+
name: string;
|
|
87
|
+
type: string;
|
|
88
|
+
}[];
|
|
89
|
+
Fee: {
|
|
90
|
+
name: string;
|
|
91
|
+
type: string;
|
|
92
|
+
}[];
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
readonly UniswapV3ExactInput: {
|
|
96
|
+
types: {
|
|
97
|
+
Instruction: {
|
|
98
|
+
name: string;
|
|
99
|
+
type: string;
|
|
100
|
+
}[];
|
|
101
|
+
UniswapV3ExactInput: {
|
|
102
|
+
name: string;
|
|
103
|
+
type: string;
|
|
104
|
+
}[];
|
|
105
|
+
Schedule: {
|
|
106
|
+
name: string;
|
|
107
|
+
type: string;
|
|
108
|
+
}[];
|
|
109
|
+
Fee: {
|
|
110
|
+
name: string;
|
|
111
|
+
type: string;
|
|
112
|
+
}[];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
readonly Sweep: {
|
|
116
|
+
types: {
|
|
117
|
+
Instruction: {
|
|
118
|
+
name: string;
|
|
119
|
+
type: string;
|
|
120
|
+
}[];
|
|
121
|
+
Sweep: {
|
|
122
|
+
name: string;
|
|
123
|
+
type: string;
|
|
124
|
+
}[];
|
|
125
|
+
Fee: {
|
|
126
|
+
name: string;
|
|
127
|
+
type: string;
|
|
128
|
+
}[];
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
readonly SweepERC20: {
|
|
132
|
+
types: {
|
|
133
|
+
Instruction: {
|
|
134
|
+
name: string;
|
|
135
|
+
type: string;
|
|
136
|
+
}[];
|
|
137
|
+
SweepERC20: {
|
|
138
|
+
name: string;
|
|
139
|
+
type: string;
|
|
140
|
+
}[];
|
|
141
|
+
Fee: {
|
|
142
|
+
name: string;
|
|
143
|
+
type: string;
|
|
144
|
+
}[];
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly SweepCCTP: {
|
|
148
|
+
types: {
|
|
149
|
+
Instruction: {
|
|
150
|
+
name: string;
|
|
151
|
+
type: string;
|
|
152
|
+
}[];
|
|
153
|
+
SweepCCTP: {
|
|
154
|
+
name: string;
|
|
155
|
+
type: string;
|
|
156
|
+
}[];
|
|
157
|
+
Fee: {
|
|
158
|
+
name: string;
|
|
159
|
+
type: string;
|
|
160
|
+
}[];
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
readonly SweepUniswapV3: {
|
|
164
|
+
types: {
|
|
165
|
+
Instruction: {
|
|
166
|
+
name: string;
|
|
167
|
+
type: string;
|
|
168
|
+
}[];
|
|
169
|
+
SweepUniswapV3: {
|
|
170
|
+
name: string;
|
|
171
|
+
type: string;
|
|
172
|
+
}[];
|
|
173
|
+
Fee: {
|
|
174
|
+
name: string;
|
|
175
|
+
type: string;
|
|
176
|
+
}[];
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
readonly SweepSkipCCTPDepositAccount: {
|
|
180
|
+
types: {
|
|
181
|
+
Instruction: {
|
|
182
|
+
name: string;
|
|
183
|
+
type: string;
|
|
184
|
+
}[];
|
|
185
|
+
SweepSkipCCTPDepositAccount: {
|
|
186
|
+
name: string;
|
|
187
|
+
type: string;
|
|
188
|
+
}[];
|
|
189
|
+
Fee: {
|
|
190
|
+
name: string;
|
|
191
|
+
type: string;
|
|
192
|
+
}[];
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly DeactivateInstruction: {
|
|
196
|
+
types: {
|
|
197
|
+
Instruction: {
|
|
198
|
+
name: string;
|
|
199
|
+
type: string;
|
|
200
|
+
}[];
|
|
201
|
+
DeactivateInstruction: {
|
|
202
|
+
name: string;
|
|
203
|
+
type: string;
|
|
204
|
+
}[];
|
|
205
|
+
Fee: {
|
|
206
|
+
name: string;
|
|
207
|
+
type: string;
|
|
208
|
+
}[];
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
readonly DepositERC4626: {
|
|
212
|
+
types: {
|
|
213
|
+
Instruction: {
|
|
214
|
+
name: string;
|
|
215
|
+
type: string;
|
|
216
|
+
}[];
|
|
217
|
+
DepositERC4626: {
|
|
218
|
+
name: string;
|
|
219
|
+
type: string;
|
|
220
|
+
}[];
|
|
221
|
+
Schedule: {
|
|
222
|
+
name: string;
|
|
223
|
+
type: string;
|
|
224
|
+
}[];
|
|
225
|
+
Fee: {
|
|
226
|
+
name: string;
|
|
227
|
+
type: string;
|
|
228
|
+
}[];
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
readonly SweepDepositERC4626: {
|
|
232
|
+
types: {
|
|
233
|
+
Instruction: {
|
|
234
|
+
name: string;
|
|
235
|
+
type: string;
|
|
236
|
+
}[];
|
|
237
|
+
SweepDepositERC4626: {
|
|
238
|
+
name: string;
|
|
239
|
+
type: string;
|
|
240
|
+
}[];
|
|
241
|
+
Fee: {
|
|
242
|
+
name: string;
|
|
243
|
+
type: string;
|
|
244
|
+
}[];
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
readonly WithdrawERC4626: {
|
|
248
|
+
types: {
|
|
249
|
+
Instruction: {
|
|
250
|
+
name: string;
|
|
251
|
+
type: string;
|
|
252
|
+
}[];
|
|
253
|
+
WithdrawERC4626: {
|
|
254
|
+
name: string;
|
|
255
|
+
type: string;
|
|
256
|
+
}[];
|
|
257
|
+
Schedule: {
|
|
258
|
+
name: string;
|
|
259
|
+
type: string;
|
|
260
|
+
}[];
|
|
261
|
+
Fee: {
|
|
262
|
+
name: string;
|
|
263
|
+
type: string;
|
|
264
|
+
}[];
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
readonly SweepWithdrawERC4626: {
|
|
268
|
+
types: {
|
|
269
|
+
Instruction: {
|
|
270
|
+
name: string;
|
|
271
|
+
type: string;
|
|
272
|
+
}[];
|
|
273
|
+
SweepWithdrawERC4626: {
|
|
274
|
+
name: string;
|
|
275
|
+
type: string;
|
|
276
|
+
}[];
|
|
277
|
+
Fee: {
|
|
278
|
+
name: string;
|
|
279
|
+
type: string;
|
|
280
|
+
}[];
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
readonly SweepDepositAccount: {
|
|
284
|
+
types: {
|
|
285
|
+
Instruction: {
|
|
286
|
+
name: string;
|
|
287
|
+
type: string;
|
|
288
|
+
}[];
|
|
289
|
+
SweepDepositAccount: {
|
|
290
|
+
name: string;
|
|
291
|
+
type: string;
|
|
292
|
+
}[];
|
|
293
|
+
Fee: {
|
|
294
|
+
name: string;
|
|
295
|
+
type: string;
|
|
296
|
+
}[];
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
readonly SweepDepositAccountERC20: {
|
|
300
|
+
types: {
|
|
301
|
+
Instruction: {
|
|
302
|
+
name: string;
|
|
303
|
+
type: string;
|
|
304
|
+
}[];
|
|
305
|
+
SweepDepositAccountERC20: {
|
|
306
|
+
name: string;
|
|
307
|
+
type: string;
|
|
308
|
+
}[];
|
|
309
|
+
Fee: {
|
|
310
|
+
name: string;
|
|
311
|
+
type: string;
|
|
312
|
+
}[];
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Base instruction build payload containing fields common to all instructions.
|
|
318
|
+
*/
|
|
319
|
+
interface BaseInstructionBuildPayload {
|
|
320
|
+
address: Address;
|
|
321
|
+
chainId: number;
|
|
322
|
+
maxExecutions: number;
|
|
323
|
+
salt?: number;
|
|
324
|
+
fee: {
|
|
325
|
+
executionFee: string;
|
|
326
|
+
maxBaseFeePerGas: string;
|
|
327
|
+
maxPriorityFeePerGas: string;
|
|
328
|
+
token: Address;
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Extended base payload for instructions that support scheduling.
|
|
333
|
+
* Includes all base fields plus schedule configuration.
|
|
334
|
+
*/
|
|
335
|
+
interface ScheduledInstructionBuildPayload extends BaseInstructionBuildPayload {
|
|
336
|
+
schedule: {
|
|
337
|
+
startAt: number;
|
|
338
|
+
startBy: number;
|
|
339
|
+
interval: number;
|
|
340
|
+
timeout: number;
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Extended payload for instructions that support an optional token parameter.
|
|
345
|
+
* This is typically used for ERC20 variants of actions.
|
|
346
|
+
*/
|
|
347
|
+
interface TokenInstructionPayload {
|
|
348
|
+
token?: Address;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Extended payload for instructions that support gas limit configuration.
|
|
352
|
+
* Used by actions like transfer and refuel.
|
|
353
|
+
*/
|
|
354
|
+
interface GasLimitConfigurablePayload {
|
|
355
|
+
gasLimit?: number;
|
|
356
|
+
}
|
|
357
|
+
//#endregion
|
|
358
|
+
//#region src/instructions/actions/refuel/index.d.ts
|
|
359
|
+
/**
|
|
360
|
+
* Payload for building a refuel instruction.
|
|
361
|
+
* Automatically refuels a target address when balance drops below threshold.
|
|
362
|
+
* Supports both native currency and ERC20 token refueling.
|
|
363
|
+
*/
|
|
364
|
+
interface RefuelBuildPayload extends ScheduledInstructionBuildPayload, TokenInstructionPayload, GasLimitConfigurablePayload {
|
|
365
|
+
target: Address;
|
|
366
|
+
threshold: string;
|
|
367
|
+
endBalance: string;
|
|
368
|
+
}
|
|
369
|
+
declare function createRefuelBuildPayload(payload: RefuelBuildPayload): InstructionBuildRequest;
|
|
370
|
+
//#endregion
|
|
371
|
+
//#region src/instructions/actions/swap/index.d.ts
|
|
372
|
+
/**
|
|
373
|
+
* Payload for building a Uniswap V3 exact input swap instruction.
|
|
374
|
+
* Swaps a specific input amount for a minimum output amount using Uniswap V3.
|
|
375
|
+
*/
|
|
376
|
+
interface UniswapV3ExactInputBuildPayload extends ScheduledInstructionBuildPayload {
|
|
377
|
+
tokenIn: Address;
|
|
378
|
+
tokenOut: Address;
|
|
379
|
+
feeTier: string;
|
|
380
|
+
amountIn: string;
|
|
381
|
+
floorAmountOut: string;
|
|
382
|
+
recipient: Address;
|
|
383
|
+
meanPriceLookBack?: number;
|
|
384
|
+
maxPriceDeviationBps?: number;
|
|
385
|
+
}
|
|
386
|
+
declare function createUniswapV3ExactInputBuildPayload(payload: UniswapV3ExactInputBuildPayload): InstructionBuildRequest;
|
|
387
|
+
//#endregion
|
|
388
|
+
//#region src/instructions/actions/transfer/index.d.ts
|
|
389
|
+
/**
|
|
390
|
+
* Payload for building a transfer instruction.
|
|
391
|
+
* Supports both native currency and ERC20 token transfers.
|
|
392
|
+
*/
|
|
393
|
+
interface TransferBuildPayload extends ScheduledInstructionBuildPayload, TokenInstructionPayload, GasLimitConfigurablePayload {
|
|
394
|
+
target: Address;
|
|
395
|
+
value: string;
|
|
396
|
+
}
|
|
397
|
+
declare function createTransferBuildPayload(payload: TransferBuildPayload): InstructionBuildRequest;
|
|
398
|
+
//#endregion
|
|
399
|
+
//#region src/instructions/actions/vault/index.d.ts
|
|
400
|
+
/**
|
|
401
|
+
* Payload for building a deposit ERC4626 instruction.
|
|
402
|
+
* Deposits assets into an ERC4626 vault on a schedule.
|
|
403
|
+
*/
|
|
404
|
+
interface DepositERC4626BuildPayload extends ScheduledInstructionBuildPayload {
|
|
405
|
+
vault: Address;
|
|
406
|
+
recipient: Address;
|
|
407
|
+
value: string;
|
|
408
|
+
minDeposit: string;
|
|
409
|
+
minTotalShares: string;
|
|
410
|
+
}
|
|
411
|
+
declare function createDepositERC4626BuildPayload(payload: DepositERC4626BuildPayload): InstructionBuildRequest;
|
|
412
|
+
/**
|
|
413
|
+
* Payload for building a sweep deposit ERC4626 instruction.
|
|
414
|
+
* Automatically sweeps and deposits funds into an ERC4626 vault when balance exceeds threshold.
|
|
415
|
+
* Note: This action does NOT support scheduling.
|
|
416
|
+
*/
|
|
417
|
+
interface SweepDepositERC4626BuildPayload extends BaseInstructionBuildPayload {
|
|
418
|
+
vault: Address;
|
|
419
|
+
recipient: Address;
|
|
420
|
+
threshold: string;
|
|
421
|
+
endBalance: string;
|
|
422
|
+
minDeposit: string;
|
|
423
|
+
minTotalShares: string;
|
|
424
|
+
}
|
|
425
|
+
declare function createSweepDepositERC4626BuildPayload(payload: SweepDepositERC4626BuildPayload): InstructionBuildRequest;
|
|
426
|
+
/**
|
|
427
|
+
* Payload for building a withdraw ERC4626 instruction.
|
|
428
|
+
* Withdraws assets from an ERC4626 vault on a schedule.
|
|
429
|
+
*/
|
|
430
|
+
interface WithdrawERC4626BuildPayload extends ScheduledInstructionBuildPayload {
|
|
431
|
+
vault: Address;
|
|
432
|
+
recipient: Address;
|
|
433
|
+
value: string;
|
|
434
|
+
minWithdraw: string;
|
|
435
|
+
}
|
|
436
|
+
declare function createWithdrawERC4626BuildPayload(payload: WithdrawERC4626BuildPayload): InstructionBuildRequest;
|
|
437
|
+
/**
|
|
438
|
+
* Payload for building a sweep withdraw ERC4626 instruction.
|
|
439
|
+
* Automatically sweeps and withdraws funds from an ERC4626 vault when share balance exceeds threshold.
|
|
440
|
+
* Note: This action does NOT support scheduling.
|
|
441
|
+
*/
|
|
442
|
+
interface SweepWithdrawERC4626BuildPayload extends BaseInstructionBuildPayload {
|
|
443
|
+
vault: Address;
|
|
444
|
+
recipient: Address;
|
|
445
|
+
threshold: string;
|
|
446
|
+
endBalance: string;
|
|
447
|
+
minWithdraw: string;
|
|
448
|
+
}
|
|
449
|
+
declare function createSweepWithdrawERC4626BuildPayload(payload: SweepWithdrawERC4626BuildPayload): InstructionBuildRequest;
|
|
450
|
+
//#endregion
|
|
451
|
+
//#region src/instructions/activate.d.ts
|
|
452
|
+
/**
|
|
453
|
+
* Converts a PascalCase string to camelCase.
|
|
454
|
+
* Example: "TransferERC20" -> "transferERC20"
|
|
455
|
+
*/
|
|
456
|
+
declare function toCamelCase(str: string): string;
|
|
457
|
+
/**
|
|
458
|
+
* CamelCase version of InstructionAction for EIP-712 typed data.
|
|
459
|
+
* Only includes actions that have EIP-712 type definitions.
|
|
460
|
+
*/
|
|
461
|
+
type InstructionActionCamelCase = "refuel" | "refuelERC20" | "transfer" | "transferERC20" | "uniswapV3ExactInput" | "sweep" | "sweepERC20" | "sweepCCTP" | "sweepUniswapV3" | "deactivateInstruction" | "sweepSkipCCTPDepositAccount" | "depositERC4626" | "sweepDepositERC4626" | "withdrawERC4626" | "sweepWithdrawERC4626" | "sweepDepositAccount" | "sweepDepositAccountERC20";
|
|
462
|
+
/**
|
|
463
|
+
* EIP-712 typed data for instruction activation signatures.
|
|
464
|
+
*/
|
|
465
|
+
interface InstructionEIP712TypedData {
|
|
466
|
+
domain: TypedDataDomain;
|
|
467
|
+
primaryType: "Instruction";
|
|
468
|
+
types: Record<string, Array<{
|
|
469
|
+
name: string;
|
|
470
|
+
type: string;
|
|
471
|
+
}>>;
|
|
472
|
+
message: {
|
|
473
|
+
[key: string]: unknown;
|
|
474
|
+
salt: bigint;
|
|
475
|
+
maxExecutions: bigint;
|
|
476
|
+
action: HexString;
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Payload for activating an instruction with all required parameters.
|
|
481
|
+
*/
|
|
482
|
+
interface InstructionActivatePayload {
|
|
483
|
+
nickname?: string;
|
|
484
|
+
address: Address;
|
|
485
|
+
chainId: number;
|
|
486
|
+
salt: HexString;
|
|
487
|
+
maxExecutions: HexString;
|
|
488
|
+
action: HexString;
|
|
489
|
+
actionName: InstructionActionCamelCase;
|
|
490
|
+
arguments: HexString;
|
|
491
|
+
signature: string;
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Configuration for creating instruction signatures.
|
|
495
|
+
*/
|
|
496
|
+
interface InstructionSignatureConfig {
|
|
497
|
+
delegateAddress: Address;
|
|
498
|
+
chainId: number;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Creates the EIP-712 domain for instruction signatures.
|
|
502
|
+
* Defines the domain separator used in typed data signing.
|
|
503
|
+
*
|
|
504
|
+
* @param config - Configuration containing delegate address and chain ID
|
|
505
|
+
* @returns TypedDataDomain object for EIP-712 signing
|
|
506
|
+
*/
|
|
507
|
+
declare function createInstructionDomain(config: InstructionSignatureConfig): TypedDataDomain;
|
|
508
|
+
/**
|
|
509
|
+
* Decodes hex-encoded instruction parameters for EIP-712 signatures.
|
|
510
|
+
* Uses action-specific ABI definitions to properly decode arguments.
|
|
511
|
+
*
|
|
512
|
+
* @param salt - Hex-encoded salt value for instruction uniqueness
|
|
513
|
+
* @param maxExecutions - Hex-encoded maximum execution count
|
|
514
|
+
* @param argumentsHex - Hex-encoded action-specific arguments
|
|
515
|
+
* @param actionName - Name of the instruction action (camelCase)
|
|
516
|
+
* @returns Decoded parameters as TypeScript primitives
|
|
517
|
+
* @throws Error if action has no EIP-712 types or ABI definition
|
|
518
|
+
*/
|
|
519
|
+
declare function decodeInstructionParameters(salt: HexString, maxExecutions: HexString, argumentsHex: HexString, actionName: InstructionActionCamelCase): {
|
|
520
|
+
decodedSalt: bigint;
|
|
521
|
+
decodedMaxExecutions: bigint;
|
|
522
|
+
decodedArguments: Record<string, unknown>;
|
|
523
|
+
};
|
|
524
|
+
/**
|
|
525
|
+
* Creates EIP-712 typed data for instruction activation.
|
|
526
|
+
* Automatically handles ABI decoding based on action type.
|
|
527
|
+
*
|
|
528
|
+
* @param payload - Instruction activation payload (without signature)
|
|
529
|
+
* @param config - Signature configuration for domain creation
|
|
530
|
+
* @returns Complete EIP-712 typed data structure ready for signing
|
|
531
|
+
* @throws Error if action has no EIP-712 type definitions
|
|
532
|
+
*/
|
|
533
|
+
declare function createInstructionTypedData(payload: Omit<InstructionActivatePayload, "signature" | "nickname">, config: InstructionSignatureConfig): InstructionEIP712TypedData;
|
|
534
|
+
/**
|
|
535
|
+
* Creates an activation payload with EIP-2098 signature format.
|
|
536
|
+
* Converts a standard signature to the compact EIP-2098 format used by the protocol.
|
|
537
|
+
*
|
|
538
|
+
* @param payload - The instruction activation payload including signature
|
|
539
|
+
* @returns Formatted activation request ready for API submission
|
|
540
|
+
*/
|
|
541
|
+
declare function createActivationPayload(payload: InstructionActivatePayload): InstructionActivateRequest;
|
|
542
|
+
//#endregion
|
|
543
|
+
//#region src/instructions/build.d.ts
|
|
544
|
+
/**
|
|
545
|
+
* Instruction build utilities
|
|
546
|
+
*
|
|
547
|
+
* Sections:
|
|
548
|
+
* - Types & constants
|
|
549
|
+
* - Schedule helpers
|
|
550
|
+
* - Gas/Fee helpers
|
|
551
|
+
* - Action-specific resolvers
|
|
552
|
+
* - Build payload creator
|
|
553
|
+
*/
|
|
554
|
+
/**
|
|
555
|
+
* Parameters required to assemble a build payload for an instruction action.
|
|
556
|
+
*/
|
|
557
|
+
interface CreateBuildPayloadParams {
|
|
558
|
+
action: InstructionAction;
|
|
559
|
+
address: Address;
|
|
560
|
+
chainId: number;
|
|
561
|
+
maxExecutions: number;
|
|
562
|
+
salt?: number;
|
|
563
|
+
actionArguments: InstructionBuildRequest["actionArguments"][string];
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Build payload creator
|
|
567
|
+
*
|
|
568
|
+
* Creates the request body to build an instruction on the backend.
|
|
569
|
+
*/
|
|
570
|
+
declare function createBuildPayload({
|
|
571
|
+
action,
|
|
572
|
+
address,
|
|
573
|
+
chainId,
|
|
574
|
+
maxExecutions,
|
|
575
|
+
salt,
|
|
576
|
+
actionArguments
|
|
577
|
+
}: CreateBuildPayloadParams): InstructionBuildRequest;
|
|
578
|
+
/**
|
|
579
|
+
* Start specification for instruction scheduling.
|
|
580
|
+
* Determines when the instruction should begin execution.
|
|
581
|
+
*/
|
|
582
|
+
type ScheduleStart = {
|
|
583
|
+
type: "datetime";
|
|
584
|
+
startDate: string;
|
|
585
|
+
startTime: string;
|
|
586
|
+
} | {
|
|
587
|
+
type: "now";
|
|
588
|
+
};
|
|
589
|
+
/**
|
|
590
|
+
* Repeat policy for instruction scheduling.
|
|
591
|
+
* Controls how many times an instruction can execute.
|
|
592
|
+
*/
|
|
593
|
+
type ScheduleRepeat = {
|
|
594
|
+
type: "max-executions";
|
|
595
|
+
maxExecutions: number;
|
|
596
|
+
} | {
|
|
597
|
+
type: "until-deactivated";
|
|
598
|
+
};
|
|
599
|
+
/**
|
|
600
|
+
* Advanced tuning options affecting schedule and fee behavior.
|
|
601
|
+
* Provides fine-grained control over instruction execution parameters.
|
|
602
|
+
*/
|
|
603
|
+
interface BuildAdvancedOptions {
|
|
604
|
+
intervalLatencyLimit?: unknown;
|
|
605
|
+
meanPriceLookBack?: unknown;
|
|
606
|
+
maxPriceDeviationBps?: string | number;
|
|
607
|
+
maxBaseFeePerGas?: number | string;
|
|
608
|
+
maxPriorityFeePerGas?: number | string;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* Resolves schedule start values.
|
|
612
|
+
* - "datetime": schedules with explicit startAt timestamp (in seconds)
|
|
613
|
+
* - "now" or omitted: starts immediately
|
|
614
|
+
*/
|
|
615
|
+
declare const createScheduleStart: (values?: ScheduleStart) => {
|
|
616
|
+
startAt: number;
|
|
617
|
+
startBy: number;
|
|
618
|
+
};
|
|
619
|
+
declare const createScheduleInterval: (values?: unknown) => {
|
|
620
|
+
interval: number;
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* Converts a time unit value to seconds and returns the timeout field.
|
|
624
|
+
* Timeout represents the maximum latency allowed for scheduled execution (0 = no limit).
|
|
625
|
+
*/
|
|
626
|
+
declare const createScheduleIntervalLatencyLimit: (values?: unknown) => {
|
|
627
|
+
timeout: number;
|
|
628
|
+
};
|
|
629
|
+
/**
|
|
630
|
+
* Resolves maxExecutions based on repeat policy.
|
|
631
|
+
* Returns 0 for unlimited executions when type is "until-deactivated".
|
|
632
|
+
*/
|
|
633
|
+
declare const createScheduleRepeat: (values: ScheduleRepeat) => {
|
|
634
|
+
maxExecutions: number;
|
|
635
|
+
};
|
|
636
|
+
/**
|
|
637
|
+
* Assembles the schedule object when any schedule-related option is provided.
|
|
638
|
+
*/
|
|
639
|
+
declare const resolveSchedule: (repeat: ScheduleRepeat, start?: ScheduleStart, interval?: unknown, advanced?: BuildAdvancedOptions) => {
|
|
640
|
+
maxExecutions: number;
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* Converts a Gwei value into Wei as a hex string. Returns 0x0 on invalid input.
|
|
644
|
+
*/
|
|
645
|
+
declare const convertGweiToWei: (gweiValue: number | string) => `0x${string}`;
|
|
646
|
+
/**
|
|
647
|
+
* Fee input required to resolve base fee configuration.
|
|
648
|
+
* Specifies the token and amount for instruction execution fees.
|
|
649
|
+
*/
|
|
650
|
+
interface BuildFeeInput {
|
|
651
|
+
token: Address;
|
|
652
|
+
executionFee?: number | string;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Builds the fee object including EIP-1559 caps and optional pricing controls.
|
|
656
|
+
*/
|
|
657
|
+
declare const resolveFee: (fee: BuildFeeInput, advanced?: BuildAdvancedOptions) => Record<string, unknown>;
|
|
658
|
+
/**
|
|
659
|
+
* Some actions allow an explicit gas limit. Returns { gasLimit: 0 } when
|
|
660
|
+
* needed, otherwise an empty object to keep payload minimal.
|
|
661
|
+
*/
|
|
662
|
+
declare const resolveGasLimitIfNeeded: (action: InstructionAction) => {
|
|
663
|
+
gasLimit: number;
|
|
664
|
+
} | {
|
|
665
|
+
gasLimit?: undefined;
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* Adds recipient field for Uniswap V3 exact input action when required.
|
|
669
|
+
*/
|
|
670
|
+
declare const resolveRecipientForUniswapV3ExactInputIfNeeded: (action: InstructionAction, recipientAddress: Address) => {
|
|
671
|
+
recipient: `0x${string}`;
|
|
672
|
+
} | {
|
|
673
|
+
recipient?: undefined;
|
|
674
|
+
};
|
|
675
|
+
//#endregion
|
|
676
|
+
//#region src/instructions/constants.d.ts
|
|
677
|
+
/**
|
|
678
|
+
* Default interval used when none is provided (in seconds).
|
|
679
|
+
*/
|
|
680
|
+
declare const DEFAULT_INTERVAL_SECONDS = 12;
|
|
681
|
+
/**
|
|
682
|
+
* Default API timeout for instruction operations (in milliseconds).
|
|
683
|
+
*/
|
|
684
|
+
declare const INSTRUCTION_DEFAULT_TIMEOUT = 30000;
|
|
685
|
+
//#endregion
|
|
686
|
+
export { type BaseInstructionBuildPayload, BuildAdvancedOptions, BuildFeeInput, CreateBuildPayloadParams, DEFAULT_INTERVAL_SECONDS, DepositERC4626BuildPayload, EIP712Types, type GasLimitConfigurablePayload, INSTRUCTION_DEFAULT_TIMEOUT, InstructionActionCamelCase, InstructionActivatePayload, InstructionEIP712TypedData, InstructionSignatureConfig, RefuelBuildPayload, ScheduleRepeat, ScheduleStart, type ScheduledInstructionBuildPayload, SweepDepositERC4626BuildPayload, SweepWithdrawERC4626BuildPayload, type TokenInstructionPayload, TransferBuildPayload, UniswapV3ExactInputBuildPayload, WithdrawERC4626BuildPayload, convertGweiToWei, createActivationPayload, createBuildPayload, createDepositERC4626BuildPayload, createInstructionDomain, createInstructionTypedData, createRefuelBuildPayload, createScheduleInterval, createScheduleIntervalLatencyLimit, createScheduleRepeat, createScheduleStart, createSweepDepositERC4626BuildPayload, createSweepWithdrawERC4626BuildPayload, createTransferBuildPayload, createUniswapV3ExactInputBuildPayload, createWithdrawERC4626BuildPayload, decodeInstructionParameters, eip712TypesMap, resolveFee, resolveGasLimitIfNeeded, resolveRecipientForUniswapV3ExactInputIfNeeded, resolveSchedule, toCamelCase };
|
|
687
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/instructions/types.ts","../../src/instructions/actions/refuel/index.ts","../../src/instructions/actions/swap/index.ts","../../src/instructions/actions/transfer/index.ts","../../src/instructions/actions/vault/index.ts","../../src/instructions/activate.ts","../../src/instructions/build.ts","../../src/instructions/constants.ts"],"sourcesContent":[],"mappings":";;;;;UAuBiB,WAAA;;mBAEE;;MAFF,IAAA,EAAW,MAAA;IAWf,CAAA,CAAA;IAuBI,WAAA,EA/BA,KA+BA,CAAA;MAsBA,IAAA,EAAA,MAAA;MAkBA,IAAA,EAAA,MAAA;IASA,CAAA,CAAA;;;;ACzFjB;;;AAGI,cDcS,cCdT,EAAA;EACA,SAAA,MAAA,EAAA;IAA2B,KAAA,EAAA;MASf,WAAA,EAAA;;;;MClBC,MAAA,EAAA;QAEN,IAAA,EAAA,MAAA;QAEC,IAAA,EAAA,MAAA;MAQC,CAAA,EAAA;MAZ4C,GAAA,EAAA;QAAgC,IAAA,EAAA,MA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