@dzapio/sdk 2.0.41 → 2.0.42
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/index.d.mts +60 -15
- package/dist/index.d.ts +60 -15
- package/dist/index.js +49 -23
- package/dist/index.mjs +49 -24
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2119,6 +2119,52 @@ declare const astralisTestnet: {
|
|
|
2119
2119
|
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
2120
2120
|
};
|
|
2121
2121
|
|
|
2122
|
+
declare const citrea: {
|
|
2123
|
+
blockExplorers: {
|
|
2124
|
+
readonly default: {
|
|
2125
|
+
readonly name: "Citrea Explorer";
|
|
2126
|
+
readonly url: "https://explorer.mainnet.citrea.xyz";
|
|
2127
|
+
readonly apiUrl: "https://explorer.mainnet.citrea.xyz/api";
|
|
2128
|
+
};
|
|
2129
|
+
};
|
|
2130
|
+
blockTime?: number | undefined | undefined;
|
|
2131
|
+
contracts: {
|
|
2132
|
+
readonly multicall3: {
|
|
2133
|
+
readonly address: "0xA738e84fdE890Bc60b99AF7ccE43990E534304de";
|
|
2134
|
+
readonly blockCreated: 2450100;
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
ensTlds?: readonly string[] | undefined;
|
|
2138
|
+
id: 4114;
|
|
2139
|
+
name: "Citrea Mainnet";
|
|
2140
|
+
nativeCurrency: {
|
|
2141
|
+
readonly name: "Citrea Bitcoin";
|
|
2142
|
+
readonly symbol: "cBTC";
|
|
2143
|
+
readonly decimals: 18;
|
|
2144
|
+
};
|
|
2145
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2146
|
+
rpcUrls: {
|
|
2147
|
+
readonly default: {
|
|
2148
|
+
readonly http: readonly ["https://rpc.mainnet.citrea.xyz"];
|
|
2149
|
+
};
|
|
2150
|
+
};
|
|
2151
|
+
sourceId?: number | undefined | undefined;
|
|
2152
|
+
testnet: false;
|
|
2153
|
+
custom?: Record<string, unknown> | undefined;
|
|
2154
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
2155
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
2156
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
2157
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
2158
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
2159
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
2160
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
2161
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
2162
|
+
}] | undefined;
|
|
2163
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable<bigint, number>> | undefined;
|
|
2164
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
2165
|
+
formatters?: undefined | undefined;
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2122
2168
|
declare const fiveIre: {
|
|
2123
2169
|
blockExplorers: {
|
|
2124
2170
|
readonly default: {
|
|
@@ -2393,40 +2439,40 @@ declare const stableChain: {
|
|
|
2393
2439
|
|
|
2394
2440
|
declare const tempo: Chain$2;
|
|
2395
2441
|
|
|
2396
|
-
declare const
|
|
2442
|
+
declare const robinhood: {
|
|
2397
2443
|
blockExplorers: {
|
|
2398
2444
|
readonly default: {
|
|
2399
|
-
readonly name: "
|
|
2400
|
-
readonly url: "https://
|
|
2401
|
-
readonly apiUrl: "https://explorer.mainnet.citrea.xyz/api";
|
|
2445
|
+
readonly name: "Robinhood Scan";
|
|
2446
|
+
readonly url: "https://robinhoodchain.blockscout.com";
|
|
2402
2447
|
};
|
|
2403
2448
|
};
|
|
2404
2449
|
blockTime?: number | undefined | undefined;
|
|
2405
2450
|
contracts: {
|
|
2406
2451
|
readonly multicall3: {
|
|
2407
|
-
readonly address: "
|
|
2408
|
-
readonly blockCreated:
|
|
2452
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
2453
|
+
readonly blockCreated: 406;
|
|
2409
2454
|
};
|
|
2410
2455
|
};
|
|
2411
2456
|
ensTlds?: readonly string[] | undefined;
|
|
2412
|
-
id:
|
|
2413
|
-
name: "
|
|
2457
|
+
id: 4663;
|
|
2458
|
+
name: "Robinhood";
|
|
2414
2459
|
nativeCurrency: {
|
|
2415
|
-
readonly name: "Citrea Bitcoin";
|
|
2416
|
-
readonly symbol: "cBTC";
|
|
2417
2460
|
readonly decimals: 18;
|
|
2461
|
+
readonly name: "ETH";
|
|
2462
|
+
readonly symbol: "ETH";
|
|
2418
2463
|
};
|
|
2419
2464
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2420
2465
|
rpcUrls: {
|
|
2421
2466
|
readonly default: {
|
|
2422
|
-
readonly http: readonly ["https://rpc.mainnet.
|
|
2467
|
+
readonly http: readonly ["https://rpc.mainnet.chain.robinhood.com"];
|
|
2423
2468
|
};
|
|
2424
2469
|
};
|
|
2425
2470
|
sourceId?: number | undefined | undefined;
|
|
2426
|
-
testnet
|
|
2471
|
+
testnet?: boolean | undefined | undefined;
|
|
2427
2472
|
custom?: Record<string, unknown> | undefined;
|
|
2428
2473
|
extendSchema?: Record<string, unknown> | undefined;
|
|
2429
2474
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
2475
|
+
formatters?: undefined;
|
|
2430
2476
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
2431
2477
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
2432
2478
|
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -2434,12 +2480,11 @@ declare const citrea: {
|
|
|
2434
2480
|
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
2435
2481
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
2436
2482
|
}] | undefined;
|
|
2437
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable
|
|
2483
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
2438
2484
|
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
2439
|
-
formatters?: undefined | undefined;
|
|
2440
2485
|
};
|
|
2441
2486
|
|
|
2442
2487
|
declare const customViemChains: viemChains.Chain[];
|
|
2443
2488
|
declare const viemChainsById: Record<number, viemChains.Chain>;
|
|
2444
2489
|
|
|
2445
|
-
export { type AllowanceType, AllowanceTypes, type ApiRpcResponse, type ApprovalMode, ApprovalModes, type BatchPermitCallbackParams, type BtcTxData, type BtclnTxData, type Chain, type ChainData, type ContractErrorResponse, DZapClient, DZapPermitMode, type DZapTransactionResponse, type EvmTxData, type Fee, type FeeDetails, type GaslessTradeBuildTxnResponse, type HexString, type HyperLiquidTxData, OtherAbis, type ParamQuotes, type PermitMode, PermitTypes, type ProviderDetails, type PsbtInput, type PsbtOutput, type QuoteFilter, QuoteFilters, STATUS, type SVMTxnDetails, Services, type SignPermitResponse, type SignatureCallbackParams, SignatureExpiryInSecs, type SinglePermitCallbackParams, StatusCodes, type StepAction, type SvmTxData, type SwapInfo, SwapInputDataDecoder, type Token, type TokenInfo, type TokenPermitData, type TokenResponse, type TradeBuildTxnRequest, type TradeBuildTxnRequestData, type TradeBuildTxnResponse, type TradeGasBuildTxnResponse, type TradePath, type TradeQuotesRequest, type TradeQuotesRequestData, type TradeQuotesResponse, type TradeStatusResponse, type TradeStep, TxnStatus, type ZapBuildTxnRequest, type ZapBuildTxnResponse, type ZapBundleAction, type ZapBundleRequest, type ZapBundleSrcToken, type ZapBvmTxnDetails, type ZapChains, type ZapEvmTxnDetails, type ZapFee, type ZapIntegratorConfig, type ZapPath, type ZapPathAction, type ZapPathAsset, type ZapPool, type ZapPoolDetails, type ZapPoolDetailsRequest, type ZapPoolsRequest, type ZapPoolsResponse, type ZapPosition, type ZapPositionsRequest, type ZapPositionsResponse, type ZapProviders, type ZapQuoteRequest, type ZapQuoteResponse, type ZapRouteRequestPoolDetails, type ZapRouteRequestPositionDetails, type ZapStatus, type ZapStatusAsset, type ZapStatusRequest, type ZapStatusResponse, type ZapStatusStep, type ZapStep, type ZapTransactionStep, type ZapTxnDetails, type ZapUnderlyingToken, type ZapUnderlyingTokenWithAmount, arthera, astralisTestnet, checkEIP2612PermitSupport, citrea, classifyAddress, contractErrorActions, customViemChains, erc20Functions, extendViemChain, fiveIre, formatToken, getTokensPairKey, hemi, hyperEvm, hyperliquid, pushTestnet, stableChain, tempo, viemChainsById, zapPathAction, zapStepAction };
|
|
2490
|
+
export { type AllowanceType, AllowanceTypes, type ApiRpcResponse, type ApprovalMode, ApprovalModes, type BatchPermitCallbackParams, type BtcTxData, type BtclnTxData, type Chain, type ChainData, type ContractErrorResponse, DZapClient, DZapPermitMode, type DZapTransactionResponse, type EvmTxData, type Fee, type FeeDetails, type GaslessTradeBuildTxnResponse, type HexString, type HyperLiquidTxData, OtherAbis, type ParamQuotes, type PermitMode, PermitTypes, type ProviderDetails, type PsbtInput, type PsbtOutput, type QuoteFilter, QuoteFilters, STATUS, type SVMTxnDetails, Services, type SignPermitResponse, type SignatureCallbackParams, SignatureExpiryInSecs, type SinglePermitCallbackParams, StatusCodes, type StepAction, type SvmTxData, type SwapInfo, SwapInputDataDecoder, type Token, type TokenInfo, type TokenPermitData, type TokenResponse, type TradeBuildTxnRequest, type TradeBuildTxnRequestData, type TradeBuildTxnResponse, type TradeGasBuildTxnResponse, type TradePath, type TradeQuotesRequest, type TradeQuotesRequestData, type TradeQuotesResponse, type TradeStatusResponse, type TradeStep, TxnStatus, type ZapBuildTxnRequest, type ZapBuildTxnResponse, type ZapBundleAction, type ZapBundleRequest, type ZapBundleSrcToken, type ZapBvmTxnDetails, type ZapChains, type ZapEvmTxnDetails, type ZapFee, type ZapIntegratorConfig, type ZapPath, type ZapPathAction, type ZapPathAsset, type ZapPool, type ZapPoolDetails, type ZapPoolDetailsRequest, type ZapPoolsRequest, type ZapPoolsResponse, type ZapPosition, type ZapPositionsRequest, type ZapPositionsResponse, type ZapProviders, type ZapQuoteRequest, type ZapQuoteResponse, type ZapRouteRequestPoolDetails, type ZapRouteRequestPositionDetails, type ZapStatus, type ZapStatusAsset, type ZapStatusRequest, type ZapStatusResponse, type ZapStatusStep, type ZapStep, type ZapTransactionStep, type ZapTxnDetails, type ZapUnderlyingToken, type ZapUnderlyingTokenWithAmount, arthera, astralisTestnet, checkEIP2612PermitSupport, citrea, classifyAddress, contractErrorActions, customViemChains, erc20Functions, extendViemChain, fiveIre, formatToken, getTokensPairKey, hemi, hyperEvm, hyperliquid, pushTestnet, robinhood, stableChain, tempo, viemChainsById, zapPathAction, zapStepAction };
|
package/dist/index.d.ts
CHANGED
|
@@ -2119,6 +2119,52 @@ declare const astralisTestnet: {
|
|
|
2119
2119
|
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
2120
2120
|
};
|
|
2121
2121
|
|
|
2122
|
+
declare const citrea: {
|
|
2123
|
+
blockExplorers: {
|
|
2124
|
+
readonly default: {
|
|
2125
|
+
readonly name: "Citrea Explorer";
|
|
2126
|
+
readonly url: "https://explorer.mainnet.citrea.xyz";
|
|
2127
|
+
readonly apiUrl: "https://explorer.mainnet.citrea.xyz/api";
|
|
2128
|
+
};
|
|
2129
|
+
};
|
|
2130
|
+
blockTime?: number | undefined | undefined;
|
|
2131
|
+
contracts: {
|
|
2132
|
+
readonly multicall3: {
|
|
2133
|
+
readonly address: "0xA738e84fdE890Bc60b99AF7ccE43990E534304de";
|
|
2134
|
+
readonly blockCreated: 2450100;
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
ensTlds?: readonly string[] | undefined;
|
|
2138
|
+
id: 4114;
|
|
2139
|
+
name: "Citrea Mainnet";
|
|
2140
|
+
nativeCurrency: {
|
|
2141
|
+
readonly name: "Citrea Bitcoin";
|
|
2142
|
+
readonly symbol: "cBTC";
|
|
2143
|
+
readonly decimals: 18;
|
|
2144
|
+
};
|
|
2145
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2146
|
+
rpcUrls: {
|
|
2147
|
+
readonly default: {
|
|
2148
|
+
readonly http: readonly ["https://rpc.mainnet.citrea.xyz"];
|
|
2149
|
+
};
|
|
2150
|
+
};
|
|
2151
|
+
sourceId?: number | undefined | undefined;
|
|
2152
|
+
testnet: false;
|
|
2153
|
+
custom?: Record<string, unknown> | undefined;
|
|
2154
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
2155
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
2156
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
2157
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
2158
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
2159
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
2160
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
2161
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
2162
|
+
}] | undefined;
|
|
2163
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable<bigint, number>> | undefined;
|
|
2164
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
2165
|
+
formatters?: undefined | undefined;
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2122
2168
|
declare const fiveIre: {
|
|
2123
2169
|
blockExplorers: {
|
|
2124
2170
|
readonly default: {
|
|
@@ -2393,40 +2439,40 @@ declare const stableChain: {
|
|
|
2393
2439
|
|
|
2394
2440
|
declare const tempo: Chain$2;
|
|
2395
2441
|
|
|
2396
|
-
declare const
|
|
2442
|
+
declare const robinhood: {
|
|
2397
2443
|
blockExplorers: {
|
|
2398
2444
|
readonly default: {
|
|
2399
|
-
readonly name: "
|
|
2400
|
-
readonly url: "https://
|
|
2401
|
-
readonly apiUrl: "https://explorer.mainnet.citrea.xyz/api";
|
|
2445
|
+
readonly name: "Robinhood Scan";
|
|
2446
|
+
readonly url: "https://robinhoodchain.blockscout.com";
|
|
2402
2447
|
};
|
|
2403
2448
|
};
|
|
2404
2449
|
blockTime?: number | undefined | undefined;
|
|
2405
2450
|
contracts: {
|
|
2406
2451
|
readonly multicall3: {
|
|
2407
|
-
readonly address: "
|
|
2408
|
-
readonly blockCreated:
|
|
2452
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
2453
|
+
readonly blockCreated: 406;
|
|
2409
2454
|
};
|
|
2410
2455
|
};
|
|
2411
2456
|
ensTlds?: readonly string[] | undefined;
|
|
2412
|
-
id:
|
|
2413
|
-
name: "
|
|
2457
|
+
id: 4663;
|
|
2458
|
+
name: "Robinhood";
|
|
2414
2459
|
nativeCurrency: {
|
|
2415
|
-
readonly name: "Citrea Bitcoin";
|
|
2416
|
-
readonly symbol: "cBTC";
|
|
2417
2460
|
readonly decimals: 18;
|
|
2461
|
+
readonly name: "ETH";
|
|
2462
|
+
readonly symbol: "ETH";
|
|
2418
2463
|
};
|
|
2419
2464
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2420
2465
|
rpcUrls: {
|
|
2421
2466
|
readonly default: {
|
|
2422
|
-
readonly http: readonly ["https://rpc.mainnet.
|
|
2467
|
+
readonly http: readonly ["https://rpc.mainnet.chain.robinhood.com"];
|
|
2423
2468
|
};
|
|
2424
2469
|
};
|
|
2425
2470
|
sourceId?: number | undefined | undefined;
|
|
2426
|
-
testnet
|
|
2471
|
+
testnet?: boolean | undefined | undefined;
|
|
2427
2472
|
custom?: Record<string, unknown> | undefined;
|
|
2428
2473
|
extendSchema?: Record<string, unknown> | undefined;
|
|
2429
2474
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
2475
|
+
formatters?: undefined;
|
|
2430
2476
|
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
2431
2477
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
2432
2478
|
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
@@ -2434,12 +2480,11 @@ declare const citrea: {
|
|
|
2434
2480
|
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
2435
2481
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
2436
2482
|
}] | undefined;
|
|
2437
|
-
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable
|
|
2483
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
2438
2484
|
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
2439
|
-
formatters?: undefined | undefined;
|
|
2440
2485
|
};
|
|
2441
2486
|
|
|
2442
2487
|
declare const customViemChains: viemChains.Chain[];
|
|
2443
2488
|
declare const viemChainsById: Record<number, viemChains.Chain>;
|
|
2444
2489
|
|
|
2445
|
-
export { type AllowanceType, AllowanceTypes, type ApiRpcResponse, type ApprovalMode, ApprovalModes, type BatchPermitCallbackParams, type BtcTxData, type BtclnTxData, type Chain, type ChainData, type ContractErrorResponse, DZapClient, DZapPermitMode, type DZapTransactionResponse, type EvmTxData, type Fee, type FeeDetails, type GaslessTradeBuildTxnResponse, type HexString, type HyperLiquidTxData, OtherAbis, type ParamQuotes, type PermitMode, PermitTypes, type ProviderDetails, type PsbtInput, type PsbtOutput, type QuoteFilter, QuoteFilters, STATUS, type SVMTxnDetails, Services, type SignPermitResponse, type SignatureCallbackParams, SignatureExpiryInSecs, type SinglePermitCallbackParams, StatusCodes, type StepAction, type SvmTxData, type SwapInfo, SwapInputDataDecoder, type Token, type TokenInfo, type TokenPermitData, type TokenResponse, type TradeBuildTxnRequest, type TradeBuildTxnRequestData, type TradeBuildTxnResponse, type TradeGasBuildTxnResponse, type TradePath, type TradeQuotesRequest, type TradeQuotesRequestData, type TradeQuotesResponse, type TradeStatusResponse, type TradeStep, TxnStatus, type ZapBuildTxnRequest, type ZapBuildTxnResponse, type ZapBundleAction, type ZapBundleRequest, type ZapBundleSrcToken, type ZapBvmTxnDetails, type ZapChains, type ZapEvmTxnDetails, type ZapFee, type ZapIntegratorConfig, type ZapPath, type ZapPathAction, type ZapPathAsset, type ZapPool, type ZapPoolDetails, type ZapPoolDetailsRequest, type ZapPoolsRequest, type ZapPoolsResponse, type ZapPosition, type ZapPositionsRequest, type ZapPositionsResponse, type ZapProviders, type ZapQuoteRequest, type ZapQuoteResponse, type ZapRouteRequestPoolDetails, type ZapRouteRequestPositionDetails, type ZapStatus, type ZapStatusAsset, type ZapStatusRequest, type ZapStatusResponse, type ZapStatusStep, type ZapStep, type ZapTransactionStep, type ZapTxnDetails, type ZapUnderlyingToken, type ZapUnderlyingTokenWithAmount, arthera, astralisTestnet, checkEIP2612PermitSupport, citrea, classifyAddress, contractErrorActions, customViemChains, erc20Functions, extendViemChain, fiveIre, formatToken, getTokensPairKey, hemi, hyperEvm, hyperliquid, pushTestnet, stableChain, tempo, viemChainsById, zapPathAction, zapStepAction };
|
|
2490
|
+
export { type AllowanceType, AllowanceTypes, type ApiRpcResponse, type ApprovalMode, ApprovalModes, type BatchPermitCallbackParams, type BtcTxData, type BtclnTxData, type Chain, type ChainData, type ContractErrorResponse, DZapClient, DZapPermitMode, type DZapTransactionResponse, type EvmTxData, type Fee, type FeeDetails, type GaslessTradeBuildTxnResponse, type HexString, type HyperLiquidTxData, OtherAbis, type ParamQuotes, type PermitMode, PermitTypes, type ProviderDetails, type PsbtInput, type PsbtOutput, type QuoteFilter, QuoteFilters, STATUS, type SVMTxnDetails, Services, type SignPermitResponse, type SignatureCallbackParams, SignatureExpiryInSecs, type SinglePermitCallbackParams, StatusCodes, type StepAction, type SvmTxData, type SwapInfo, SwapInputDataDecoder, type Token, type TokenInfo, type TokenPermitData, type TokenResponse, type TradeBuildTxnRequest, type TradeBuildTxnRequestData, type TradeBuildTxnResponse, type TradeGasBuildTxnResponse, type TradePath, type TradeQuotesRequest, type TradeQuotesRequestData, type TradeQuotesResponse, type TradeStatusResponse, type TradeStep, TxnStatus, type ZapBuildTxnRequest, type ZapBuildTxnResponse, type ZapBundleAction, type ZapBundleRequest, type ZapBundleSrcToken, type ZapBvmTxnDetails, type ZapChains, type ZapEvmTxnDetails, type ZapFee, type ZapIntegratorConfig, type ZapPath, type ZapPathAction, type ZapPathAsset, type ZapPool, type ZapPoolDetails, type ZapPoolDetailsRequest, type ZapPoolsRequest, type ZapPoolsResponse, type ZapPosition, type ZapPositionsRequest, type ZapPositionsResponse, type ZapProviders, type ZapQuoteRequest, type ZapQuoteResponse, type ZapRouteRequestPoolDetails, type ZapRouteRequestPositionDetails, type ZapStatus, type ZapStatusAsset, type ZapStatusRequest, type ZapStatusResponse, type ZapStatusStep, type ZapStep, type ZapTransactionStep, type ZapTxnDetails, type ZapUnderlyingToken, type ZapUnderlyingTokenWithAmount, arthera, astralisTestnet, checkEIP2612PermitSupport, citrea, classifyAddress, contractErrorActions, customViemChains, erc20Functions, extendViemChain, fiveIre, formatToken, getTokensPairKey, hemi, hyperEvm, hyperliquid, pushTestnet, robinhood, stableChain, tempo, viemChainsById, zapPathAction, zapStepAction };
|
package/dist/index.js
CHANGED
|
@@ -10656,6 +10656,28 @@ var astralisTestnet = /* @__PURE__ */ viem.defineChain({
|
|
|
10656
10656
|
}
|
|
10657
10657
|
}
|
|
10658
10658
|
});
|
|
10659
|
+
|
|
10660
|
+
// src/utils/extendViemChain.ts
|
|
10661
|
+
function extendViemChain(base, extension) {
|
|
10662
|
+
const chain = {
|
|
10663
|
+
formatters: void 0,
|
|
10664
|
+
fees: void 0,
|
|
10665
|
+
serializers: void 0,
|
|
10666
|
+
...base,
|
|
10667
|
+
...extension
|
|
10668
|
+
};
|
|
10669
|
+
return chain;
|
|
10670
|
+
}
|
|
10671
|
+
|
|
10672
|
+
// src/chains/definitions/citrea.ts
|
|
10673
|
+
var citrea = extendViemChain(viemChains.citrea, {
|
|
10674
|
+
contracts: {
|
|
10675
|
+
multicall3: {
|
|
10676
|
+
address: "0xA738e84fdE890Bc60b99AF7ccE43990E534304de",
|
|
10677
|
+
blockCreated: 2450100
|
|
10678
|
+
}
|
|
10679
|
+
}
|
|
10680
|
+
});
|
|
10659
10681
|
var fiveIre = /* @__PURE__ */ viem.defineChain({
|
|
10660
10682
|
id: 995,
|
|
10661
10683
|
name: "5ire",
|
|
@@ -10680,20 +10702,6 @@ var fiveIre = /* @__PURE__ */ viem.defineChain({
|
|
|
10680
10702
|
}
|
|
10681
10703
|
}
|
|
10682
10704
|
});
|
|
10683
|
-
|
|
10684
|
-
// src/utils/extendViemChain.ts
|
|
10685
|
-
function extendViemChain(base, extension) {
|
|
10686
|
-
const chain = {
|
|
10687
|
-
formatters: void 0,
|
|
10688
|
-
fees: void 0,
|
|
10689
|
-
serializers: void 0,
|
|
10690
|
-
...base,
|
|
10691
|
-
...extension
|
|
10692
|
-
};
|
|
10693
|
-
return chain;
|
|
10694
|
-
}
|
|
10695
|
-
|
|
10696
|
-
// src/chains/definitions/hemi.ts
|
|
10697
10705
|
var hemi = extendViemChain(viemChains.hemi, {
|
|
10698
10706
|
contracts: {
|
|
10699
10707
|
multicall3: {
|
|
@@ -10770,6 +10778,30 @@ var pushTestnet = /* @__PURE__ */ viem.defineChain({
|
|
|
10770
10778
|
}
|
|
10771
10779
|
}
|
|
10772
10780
|
});
|
|
10781
|
+
var robinhood = /* @__PURE__ */ viem.defineChain({
|
|
10782
|
+
id: 4663,
|
|
10783
|
+
name: "Robinhood",
|
|
10784
|
+
nativeCurrency: {
|
|
10785
|
+
decimals: 18,
|
|
10786
|
+
name: "ETH",
|
|
10787
|
+
symbol: "ETH"
|
|
10788
|
+
},
|
|
10789
|
+
rpcUrls: {
|
|
10790
|
+
default: { http: ["https://rpc.mainnet.chain.robinhood.com"] }
|
|
10791
|
+
},
|
|
10792
|
+
blockExplorers: {
|
|
10793
|
+
default: {
|
|
10794
|
+
name: "Robinhood Scan",
|
|
10795
|
+
url: "https://robinhoodchain.blockscout.com"
|
|
10796
|
+
}
|
|
10797
|
+
},
|
|
10798
|
+
contracts: {
|
|
10799
|
+
multicall3: {
|
|
10800
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
10801
|
+
blockCreated: 406
|
|
10802
|
+
}
|
|
10803
|
+
}
|
|
10804
|
+
});
|
|
10773
10805
|
var stableChain = /* @__PURE__ */ viem.defineChain({
|
|
10774
10806
|
id: 988,
|
|
10775
10807
|
name: "Stable",
|
|
@@ -10806,14 +10838,6 @@ var tempo = viemChains.tempo.extend({
|
|
|
10806
10838
|
}
|
|
10807
10839
|
}
|
|
10808
10840
|
});
|
|
10809
|
-
var citrea = extendViemChain(viemChains.citrea, {
|
|
10810
|
-
contracts: {
|
|
10811
|
-
multicall3: {
|
|
10812
|
-
address: "0xA738e84fdE890Bc60b99AF7ccE43990E534304de",
|
|
10813
|
-
blockCreated: 2450100
|
|
10814
|
-
}
|
|
10815
|
-
}
|
|
10816
|
-
});
|
|
10817
10841
|
|
|
10818
10842
|
// src/chains/index.ts
|
|
10819
10843
|
var customViemChains = [
|
|
@@ -10826,7 +10850,8 @@ var customViemChains = [
|
|
|
10826
10850
|
astralisTestnet,
|
|
10827
10851
|
tempo,
|
|
10828
10852
|
hemi,
|
|
10829
|
-
citrea
|
|
10853
|
+
citrea,
|
|
10854
|
+
robinhood
|
|
10830
10855
|
];
|
|
10831
10856
|
var viemChainsById = [...Object.values(viemChains__namespace), ...customViemChains].reduce((acc, chainData) => {
|
|
10832
10857
|
return chainData.id ? {
|
|
@@ -17043,6 +17068,7 @@ exports.hemi = hemi;
|
|
|
17043
17068
|
exports.hyperEvm = hyperEvm;
|
|
17044
17069
|
exports.hyperliquid = hyperliquid;
|
|
17045
17070
|
exports.pushTestnet = pushTestnet;
|
|
17071
|
+
exports.robinhood = robinhood;
|
|
17046
17072
|
exports.stableChain = stableChain;
|
|
17047
17073
|
exports.tempo = tempo;
|
|
17048
17074
|
exports.viemChainsById = viemChainsById;
|
package/dist/index.mjs
CHANGED
|
@@ -10630,6 +10630,28 @@ var astralisTestnet = /* @__PURE__ */ defineChain({
|
|
|
10630
10630
|
}
|
|
10631
10631
|
}
|
|
10632
10632
|
});
|
|
10633
|
+
|
|
10634
|
+
// src/utils/extendViemChain.ts
|
|
10635
|
+
function extendViemChain(base, extension) {
|
|
10636
|
+
const chain = {
|
|
10637
|
+
formatters: void 0,
|
|
10638
|
+
fees: void 0,
|
|
10639
|
+
serializers: void 0,
|
|
10640
|
+
...base,
|
|
10641
|
+
...extension
|
|
10642
|
+
};
|
|
10643
|
+
return chain;
|
|
10644
|
+
}
|
|
10645
|
+
|
|
10646
|
+
// src/chains/definitions/citrea.ts
|
|
10647
|
+
var citrea = extendViemChain(citrea$1, {
|
|
10648
|
+
contracts: {
|
|
10649
|
+
multicall3: {
|
|
10650
|
+
address: "0xA738e84fdE890Bc60b99AF7ccE43990E534304de",
|
|
10651
|
+
blockCreated: 2450100
|
|
10652
|
+
}
|
|
10653
|
+
}
|
|
10654
|
+
});
|
|
10633
10655
|
var fiveIre = /* @__PURE__ */ defineChain({
|
|
10634
10656
|
id: 995,
|
|
10635
10657
|
name: "5ire",
|
|
@@ -10654,20 +10676,6 @@ var fiveIre = /* @__PURE__ */ defineChain({
|
|
|
10654
10676
|
}
|
|
10655
10677
|
}
|
|
10656
10678
|
});
|
|
10657
|
-
|
|
10658
|
-
// src/utils/extendViemChain.ts
|
|
10659
|
-
function extendViemChain(base, extension) {
|
|
10660
|
-
const chain = {
|
|
10661
|
-
formatters: void 0,
|
|
10662
|
-
fees: void 0,
|
|
10663
|
-
serializers: void 0,
|
|
10664
|
-
...base,
|
|
10665
|
-
...extension
|
|
10666
|
-
};
|
|
10667
|
-
return chain;
|
|
10668
|
-
}
|
|
10669
|
-
|
|
10670
|
-
// src/chains/definitions/hemi.ts
|
|
10671
10679
|
var hemi = extendViemChain(hemi$1, {
|
|
10672
10680
|
contracts: {
|
|
10673
10681
|
multicall3: {
|
|
@@ -10744,6 +10752,30 @@ var pushTestnet = /* @__PURE__ */ defineChain({
|
|
|
10744
10752
|
}
|
|
10745
10753
|
}
|
|
10746
10754
|
});
|
|
10755
|
+
var robinhood = /* @__PURE__ */ defineChain({
|
|
10756
|
+
id: 4663,
|
|
10757
|
+
name: "Robinhood",
|
|
10758
|
+
nativeCurrency: {
|
|
10759
|
+
decimals: 18,
|
|
10760
|
+
name: "ETH",
|
|
10761
|
+
symbol: "ETH"
|
|
10762
|
+
},
|
|
10763
|
+
rpcUrls: {
|
|
10764
|
+
default: { http: ["https://rpc.mainnet.chain.robinhood.com"] }
|
|
10765
|
+
},
|
|
10766
|
+
blockExplorers: {
|
|
10767
|
+
default: {
|
|
10768
|
+
name: "Robinhood Scan",
|
|
10769
|
+
url: "https://robinhoodchain.blockscout.com"
|
|
10770
|
+
}
|
|
10771
|
+
},
|
|
10772
|
+
contracts: {
|
|
10773
|
+
multicall3: {
|
|
10774
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
10775
|
+
blockCreated: 406
|
|
10776
|
+
}
|
|
10777
|
+
}
|
|
10778
|
+
});
|
|
10747
10779
|
var stableChain = /* @__PURE__ */ defineChain({
|
|
10748
10780
|
id: 988,
|
|
10749
10781
|
name: "Stable",
|
|
@@ -10780,14 +10812,6 @@ var tempo = tempo$1.extend({
|
|
|
10780
10812
|
}
|
|
10781
10813
|
}
|
|
10782
10814
|
});
|
|
10783
|
-
var citrea = extendViemChain(citrea$1, {
|
|
10784
|
-
contracts: {
|
|
10785
|
-
multicall3: {
|
|
10786
|
-
address: "0xA738e84fdE890Bc60b99AF7ccE43990E534304de",
|
|
10787
|
-
blockCreated: 2450100
|
|
10788
|
-
}
|
|
10789
|
-
}
|
|
10790
|
-
});
|
|
10791
10815
|
|
|
10792
10816
|
// src/chains/index.ts
|
|
10793
10817
|
var customViemChains = [
|
|
@@ -10800,7 +10824,8 @@ var customViemChains = [
|
|
|
10800
10824
|
astralisTestnet,
|
|
10801
10825
|
tempo,
|
|
10802
10826
|
hemi,
|
|
10803
|
-
citrea
|
|
10827
|
+
citrea,
|
|
10828
|
+
robinhood
|
|
10804
10829
|
];
|
|
10805
10830
|
var viemChainsById = [...Object.values(viemChains), ...customViemChains].reduce((acc, chainData) => {
|
|
10806
10831
|
return chainData.id ? {
|
|
@@ -16988,4 +17013,4 @@ var zapPathAction = {
|
|
|
16988
17013
|
harvest: "harvest"
|
|
16989
17014
|
};
|
|
16990
17015
|
|
|
16991
|
-
export { AllowanceTypes, ApprovalModes, dZapClient_default as DZapClient, DZapPermitMode, OtherAbis, PermitTypes, QuoteFilters, STATUS, Services, SignatureExpiryInSecs, StatusCodes, SwapInputDataDecoder, TxnStatus, arthera, astralisTestnet, checkEIP2612PermitSupport, citrea, classifyAddress, contractErrorActions, customViemChains, erc20Functions, extendViemChain, fiveIre, formatToken, getTokensPairKey, hemi, hyperEvm, hyperliquid, pushTestnet, stableChain, tempo, viemChainsById, zapPathAction, zapStepAction };
|
|
17016
|
+
export { AllowanceTypes, ApprovalModes, dZapClient_default as DZapClient, DZapPermitMode, OtherAbis, PermitTypes, QuoteFilters, STATUS, Services, SignatureExpiryInSecs, StatusCodes, SwapInputDataDecoder, TxnStatus, arthera, astralisTestnet, checkEIP2612PermitSupport, citrea, classifyAddress, contractErrorActions, customViemChains, erc20Functions, extendViemChain, fiveIre, formatToken, getTokensPairKey, hemi, hyperEvm, hyperliquid, pushTestnet, robinhood, stableChain, tempo, viemChainsById, zapPathAction, zapStepAction };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzapio/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.42",
|
|
4
4
|
"description": "A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|