@swapkit/core 4.4.44 → 4.4.45

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @swapkit/core
2
2
 
3
+ ## 4.4.45
4
+
5
+ ### Patch Changes
6
+
7
+ - [#313](https://github.com/swapkit/sdk/pull/313) [`d800a41`](https://github.com/swapkit/sdk/commit/d800a41b60219f2e792fd9e68761b4ae87240d4c) Thanks [@towanTG](https://github.com/towanTG)! - Add support for Robinhood Chain (RBH) — an Ethereum-compatible Arbitrum Orbit L2 (chain ID 4663) with ETH as the native gas token. Includes chain config, EVM toolbox (RBHToolbox), gas asset resolution (RBH.ETH), wallet network params, and explorer URLs via Blockscout. Default RPC is the public endpoint; production apps should configure a provider endpoint (e.g. QuickNode robinhood-mainnet) via SKConfig.setRpcUrl. (via @swapkit/helpers@4.16.0)
8
+
3
9
  ## 4.4.44
4
10
 
5
11
  ### Patch Changes
@@ -3321,6 +3321,119 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3321
3321
  transfer: (params: GenericTransferParams) => Promise<string>;
3322
3322
  validateAddress: typeof import("@swapkit/toolboxes/ripple/index").validateRippleAddress;
3323
3323
  };
3324
+ RBH: ChainWallet<Chain.Robinhood> & {
3325
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@swapkit/toolboxes/evm").ApproveParams) => Promise<string>;
3326
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<bigint>;
3327
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
3328
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@swapkit/toolboxes/evm").CallParams) => Promise<T_1>;
3329
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@swapkit/toolboxes/evm").ApproveParams) => Promise<{
3330
+ value: string;
3331
+ to: string;
3332
+ data: string;
3333
+ from?: string;
3334
+ type?: number;
3335
+ nonce?: number;
3336
+ gasLimit?: bigint;
3337
+ gasPrice?: bigint;
3338
+ maxPriorityFeePerGas?: bigint;
3339
+ maxFeePerGas?: bigint;
3340
+ chainId?: bigint;
3341
+ accessList?: import("ethers").AccessList;
3342
+ authorizationList?: Array<import("ethers").Authorization>;
3343
+ customData?: any;
3344
+ blockTag?: import("ethers").BlockTag;
3345
+ enableCcipRead?: boolean;
3346
+ }>;
3347
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
3348
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@swapkit/toolboxes/evm").CallParams) => Promise<{
3349
+ value: string;
3350
+ to: string;
3351
+ data: string;
3352
+ from?: string;
3353
+ type?: number;
3354
+ nonce?: number;
3355
+ gasLimit?: bigint;
3356
+ gasPrice?: bigint;
3357
+ maxPriorityFeePerGas?: bigint;
3358
+ maxFeePerGas?: bigint;
3359
+ chainId?: bigint;
3360
+ accessList?: import("ethers").AccessList;
3361
+ authorizationList?: Array<import("ethers").Authorization>;
3362
+ customData?: any;
3363
+ blockTag?: import("ethers").BlockTag;
3364
+ enableCcipRead?: boolean;
3365
+ }>;
3366
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3367
+ value: string;
3368
+ to: string;
3369
+ data: string;
3370
+ from?: string;
3371
+ type?: number;
3372
+ nonce?: number;
3373
+ gasLimit?: bigint;
3374
+ gasPrice?: bigint;
3375
+ maxPriorityFeePerGas?: bigint;
3376
+ maxFeePerGas?: bigint;
3377
+ chainId?: bigint;
3378
+ accessList?: import("ethers").AccessList;
3379
+ authorizationList?: Array<import("ethers").Authorization>;
3380
+ customData?: any;
3381
+ blockTag?: import("ethers").BlockTag;
3382
+ enableCcipRead?: boolean;
3383
+ }>;
3384
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3385
+ value: string;
3386
+ to: string;
3387
+ data: string;
3388
+ from?: string;
3389
+ type?: number;
3390
+ nonce?: number;
3391
+ gasLimit?: bigint;
3392
+ gasPrice?: bigint;
3393
+ maxPriorityFeePerGas?: bigint;
3394
+ maxFeePerGas?: bigint;
3395
+ chainId?: bigint;
3396
+ accessList?: import("ethers").AccessList;
3397
+ authorizationList?: Array<import("ethers").Authorization>;
3398
+ customData?: any;
3399
+ blockTag?: import("ethers").BlockTag;
3400
+ enableCcipRead?: boolean;
3401
+ }>;
3402
+ EIP1193SendTransaction: ({ value, ...params }: import("@swapkit/toolboxes/evm").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
3403
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@swapkit/toolboxes/evm").EstimateCallParams) => Promise<bigint>;
3404
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@swapkit/toolboxes/evm").EVMTransferParams & {
3405
+ assetValue: import("@swapkit/helpers").AssetValue;
3406
+ funcName?: string;
3407
+ funcParams?: unknown[];
3408
+ txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
3409
+ data?: string;
3410
+ }) => Promise<bigint>;
3411
+ estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
3412
+ l1GasPrice?: bigint;
3413
+ gasPrice?: bigint;
3414
+ maxFeePerGas?: bigint;
3415
+ maxPriorityFeePerGas?: bigint;
3416
+ }; }>;
3417
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
3418
+ feeOption: FeeOption;
3419
+ }) => Promise<import("@swapkit/helpers").AssetValue>;
3420
+ getAddress: () => string | Promise<string> | undefined;
3421
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
3422
+ getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
3423
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
3424
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3425
+ feeOptionKey?: FeeOption;
3426
+ }) => Promise<string>;
3427
+ signAuthorization: ((params: {
3428
+ address: string;
3429
+ nonce?: number | bigint;
3430
+ chainId?: bigint;
3431
+ }) => Promise<import("ethers").Authorization>) | undefined;
3432
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
3433
+ signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
3434
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3435
+ validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
3436
+ };
3324
3437
  SOL: ChainWallet<Chain.Solana> & {
3325
3438
  broadcastTransaction: (transaction: import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction) => Promise<string>;
3326
3439
  createKeysForPath: typeof import("@swapkit/toolboxes/solana/toolbox").createKeysForPath;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "author": "swapkit-dev",
3
3
  "dependencies": {
4
- "@swapkit/helpers": "4.15.4",
5
- "@swapkit/plugins": "4.6.58",
6
- "@swapkit/toolboxes": "4.21.0",
7
- "@swapkit/wallet-core": "4.3.11"
4
+ "@swapkit/helpers": "4.16.0",
5
+ "@swapkit/plugins": "4.6.59",
6
+ "@swapkit/toolboxes": "4.22.0",
7
+ "@swapkit/wallet-core": "4.3.12"
8
8
  },
9
9
  "description": "SwapKit - Core",
10
10
  "devDependencies": {
@@ -36,5 +36,5 @@
36
36
  "type-check:go": "tsgo"
37
37
  },
38
38
  "type": "module",
39
- "version": "4.4.44"
39
+ "version": "4.4.45"
40
40
  }