@circle-fin/usdckit 0.23.1 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/cjs/actions/index.d.ts +1 -1
  2. package/dist/cjs/chains/ARC_TESTNET.d.ts +2 -2
  3. package/dist/cjs/chains/ARC_TESTNET.js +3 -36
  4. package/dist/cjs/chains/BASE.d.ts +6 -6
  5. package/dist/cjs/chains/BASE_SEPOLIA.d.ts +6 -6
  6. package/dist/cjs/chains/ETH_SEPOLIA.d.ts +1 -1
  7. package/dist/cjs/chains/MATIC.d.ts +1 -1
  8. package/dist/cjs/chains/MONAD.d.ts +184 -0
  9. package/dist/cjs/chains/MONAD.js +24 -0
  10. package/dist/cjs/chains/MONAD_TESTNET.d.ts +178 -0
  11. package/dist/cjs/chains/MONAD_TESTNET.js +24 -0
  12. package/dist/cjs/chains/NEAR.d.ts +1 -1
  13. package/dist/cjs/chains/NEAR_TESTNET.d.ts +1 -1
  14. package/dist/cjs/chains/OP.d.ts +6 -6
  15. package/dist/cjs/chains/OP_SEPOLIA.d.ts +6 -6
  16. package/dist/cjs/chains/UNI.d.ts +7 -7
  17. package/dist/cjs/chains/UNI_SEPOLIA.d.ts +7 -7
  18. package/dist/cjs/chains/index.d.ts +4 -2
  19. package/dist/cjs/chains/index.js +5 -1
  20. package/dist/cjs/chains/index.test.js +2 -0
  21. package/dist/cjs/chains.d.ts +2 -0
  22. package/dist/cjs/chains.js +12 -0
  23. package/dist/cjs/client.d.ts +1 -1
  24. package/dist/cjs/extractChain.d.ts +405 -45
  25. package/dist/cjs/extractChain.test.js +4 -0
  26. package/dist/cjs/index.d.ts +2 -2
  27. package/dist/cjs/index.js +1 -1
  28. package/dist/cjs/metadata.js +1 -1
  29. package/dist/cjs/providers/circle-wallets/actions/createAccount.d.ts +402 -42
  30. package/dist/cjs/providers/circle-wallets/actions/createAccount.js +0 -3
  31. package/dist/cjs/providers/circle-wallets/actions/getAccounts.d.ts +402 -42
  32. package/dist/cjs/providers/circle-wallets/index.d.ts +643 -106
  33. package/dist/cjs/providers/circle-wallets/index.js +3 -0
  34. package/dist/cjs/providers/circle-wallets/transports/index.js +0 -1
  35. package/dist/cjs/providers/cross-chain-transfer-protocol/chains/BASE.d.ts +6 -6
  36. package/dist/cjs/providers/cross-chain-transfer-protocol/chains/BASE_SEPOLIA.d.ts +6 -6
  37. package/dist/cjs/providers/cross-chain-transfer-protocol/chains/ETH_SEPOLIA.d.ts +1 -1
  38. package/dist/cjs/providers/cross-chain-transfer-protocol/chains/MATIC.d.ts +1 -1
  39. package/dist/cjs/providers/cross-chain-transfer-protocol/chains/OP.d.ts +6 -6
  40. package/dist/cjs/providers/cross-chain-transfer-protocol/chains/OP_SEPOLIA.d.ts +6 -6
  41. package/dist/cjs/providers/cross-chain-transfer-protocol/chains/UNI.d.ts +7 -7
  42. package/dist/cjs/providers/cross-chain-transfer-protocol/chains/UNI_SEPOLIA.d.ts +7 -7
  43. package/dist/cjs/providers/cross-chain-transfer-protocol/index.d.ts +40 -40
  44. package/dist/cjs/providers/uniswap/chains/BASE.d.ts +6 -6
  45. package/dist/cjs/providers/uniswap/chains/BASE_SEPOLIA.d.ts +6 -6
  46. package/dist/cjs/providers/uniswap/chains/ETH_SEPOLIA.d.ts +1 -1
  47. package/dist/cjs/providers/uniswap/chains/MATIC.d.ts +1 -1
  48. package/dist/cjs/providers/uniswap/chains/OP.d.ts +6 -6
  49. package/dist/cjs/providers/uniswap/chains/OP_SEPOLIA.d.ts +6 -6
  50. package/dist/cjs/providers/uniswap/chains/UNI.d.ts +7 -7
  51. package/dist/cjs/providers/uniswap/chains/UNI_SEPOLIA.d.ts +7 -7
  52. package/dist/cjs/providers/uniswap/index.d.ts +40 -40
  53. package/dist/cjs/utils/createConfig.d.ts +1 -1
  54. package/dist/cjs/utils/createCustomWalletClient.d.ts +1 -1
  55. package/dist/cjs/utils/getChainContractByAddress.d.ts +1 -1
  56. package/dist/cjs/utils/getClient.d.ts +26 -0
  57. package/dist/cjs/utils/getContract.d.ts +8 -8
  58. package/dist/esm/actions/index.d.ts +1 -1
  59. package/dist/esm/chains/ARC_TESTNET.d.ts +2 -2
  60. package/dist/esm/chains/ARC_TESTNET.js +1 -34
  61. package/dist/esm/chains/BASE.d.ts +6 -6
  62. package/dist/esm/chains/BASE_SEPOLIA.d.ts +6 -6
  63. package/dist/esm/chains/ETH_SEPOLIA.d.ts +1 -1
  64. package/dist/esm/chains/MATIC.d.ts +1 -1
  65. package/dist/esm/chains/MONAD.d.ts +184 -0
  66. package/dist/esm/chains/MONAD.js +21 -0
  67. package/dist/esm/chains/MONAD_TESTNET.d.ts +178 -0
  68. package/dist/esm/chains/MONAD_TESTNET.js +21 -0
  69. package/dist/esm/chains/NEAR.d.ts +1 -1
  70. package/dist/esm/chains/NEAR_TESTNET.d.ts +1 -1
  71. package/dist/esm/chains/OP.d.ts +6 -6
  72. package/dist/esm/chains/OP_SEPOLIA.d.ts +6 -6
  73. package/dist/esm/chains/UNI.d.ts +7 -7
  74. package/dist/esm/chains/UNI_SEPOLIA.d.ts +7 -7
  75. package/dist/esm/chains/index.d.ts +4 -2
  76. package/dist/esm/chains/index.js +3 -1
  77. package/dist/esm/chains/index.test.js +2 -0
  78. package/dist/esm/chains.d.ts +2 -0
  79. package/dist/esm/chains.js +11 -0
  80. package/dist/esm/client.d.ts +1 -1
  81. package/dist/esm/extractChain.d.ts +405 -45
  82. package/dist/esm/extractChain.test.js +6 -2
  83. package/dist/esm/index.d.ts +2 -2
  84. package/dist/esm/index.js +1 -1
  85. package/dist/esm/metadata.js +1 -1
  86. package/dist/esm/package.json +1 -0
  87. package/dist/esm/providers/circle-wallets/actions/createAccount.d.ts +402 -42
  88. package/dist/esm/providers/circle-wallets/actions/createAccount.js +0 -3
  89. package/dist/esm/providers/circle-wallets/actions/getAccounts.d.ts +402 -42
  90. package/dist/esm/providers/circle-wallets/index.d.ts +643 -106
  91. package/dist/esm/providers/circle-wallets/index.js +4 -1
  92. package/dist/esm/providers/circle-wallets/transports/index.js +0 -1
  93. package/dist/esm/providers/cross-chain-transfer-protocol/chains/BASE.d.ts +6 -6
  94. package/dist/esm/providers/cross-chain-transfer-protocol/chains/BASE_SEPOLIA.d.ts +6 -6
  95. package/dist/esm/providers/cross-chain-transfer-protocol/chains/ETH_SEPOLIA.d.ts +1 -1
  96. package/dist/esm/providers/cross-chain-transfer-protocol/chains/MATIC.d.ts +1 -1
  97. package/dist/esm/providers/cross-chain-transfer-protocol/chains/OP.d.ts +6 -6
  98. package/dist/esm/providers/cross-chain-transfer-protocol/chains/OP_SEPOLIA.d.ts +6 -6
  99. package/dist/esm/providers/cross-chain-transfer-protocol/chains/UNI.d.ts +7 -7
  100. package/dist/esm/providers/cross-chain-transfer-protocol/chains/UNI_SEPOLIA.d.ts +7 -7
  101. package/dist/esm/providers/cross-chain-transfer-protocol/index.d.ts +40 -40
  102. package/dist/esm/providers/uniswap/chains/BASE.d.ts +6 -6
  103. package/dist/esm/providers/uniswap/chains/BASE_SEPOLIA.d.ts +6 -6
  104. package/dist/esm/providers/uniswap/chains/ETH_SEPOLIA.d.ts +1 -1
  105. package/dist/esm/providers/uniswap/chains/MATIC.d.ts +1 -1
  106. package/dist/esm/providers/uniswap/chains/OP.d.ts +6 -6
  107. package/dist/esm/providers/uniswap/chains/OP_SEPOLIA.d.ts +6 -6
  108. package/dist/esm/providers/uniswap/chains/UNI.d.ts +7 -7
  109. package/dist/esm/providers/uniswap/chains/UNI_SEPOLIA.d.ts +7 -7
  110. package/dist/esm/providers/uniswap/index.d.ts +40 -40
  111. package/dist/esm/utils/createConfig.d.ts +1 -1
  112. package/dist/esm/utils/createCustomWalletClient.d.ts +1 -1
  113. package/dist/esm/utils/getChainContractByAddress.d.ts +1 -1
  114. package/dist/esm/utils/getClient.d.ts +26 -0
  115. package/dist/esm/utils/getContract.d.ts +8 -8
  116. package/package.json +17 -6
@@ -602,10 +602,10 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
602
602
  testnet: true;
603
603
  custom?: Record<string, unknown> | undefined;
604
604
  fees?: import("viem").ChainFees<undefined> | undefined;
605
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
605
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
606
606
  readonly blockchainId: "ARC-TESTNET";
607
607
  readonly blockchainVm: "EVM";
608
- readonly formatters?: undefined;
608
+ readonly formatters?: undefined | undefined;
609
609
  } | {
610
610
  blockExplorers: {
611
611
  readonly default: {
@@ -1743,7 +1743,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
1743
1743
  formatters: {
1744
1744
  readonly block: {
1745
1745
  exclude: [] | undefined;
1746
- format: (args: import("viem/chains").OpStackRpcBlock) => {
1746
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
1747
1747
  baseFeePerGas: bigint | null;
1748
1748
  blobGasUsed: bigint;
1749
1749
  difficulty: bigint;
@@ -1776,7 +1776,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
1776
1776
  };
1777
1777
  readonly transaction: {
1778
1778
  exclude: [] | undefined;
1779
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
1779
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
1780
1780
  blockHash: `0x${string}` | null;
1781
1781
  blockNumber: bigint | null;
1782
1782
  from: import("abitype").Address;
@@ -1804,16 +1804,16 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
1804
1804
  r: import("viem").Hex;
1805
1805
  s: import("viem").Hex;
1806
1806
  v: bigint;
1807
+ value: bigint;
1808
+ gas: bigint;
1807
1809
  to: import("abitype").Address | null;
1808
1810
  from: import("abitype").Address;
1809
- gas: bigint;
1810
1811
  nonce: number;
1811
- value: bigint;
1812
1812
  blockHash: `0x${string}` | null;
1813
1813
  blockNumber: bigint | null;
1814
+ transactionIndex: number | null;
1814
1815
  hash: import("viem").Hash;
1815
1816
  input: import("viem").Hex;
1816
- transactionIndex: number | null;
1817
1817
  typeHex: import("viem").Hex | null;
1818
1818
  accessList?: undefined | undefined;
1819
1819
  authorizationList?: undefined | undefined;
@@ -1945,7 +1945,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
1945
1945
  };
1946
1946
  readonly transactionReceipt: {
1947
1947
  exclude: [] | undefined;
1948
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
1948
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
1949
1949
  blobGasPrice?: bigint | undefined;
1950
1950
  blobGasUsed?: bigint | undefined;
1951
1951
  blockHash: import("viem").Hash;
@@ -2334,7 +2334,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
2334
2334
  formatters: {
2335
2335
  readonly block: {
2336
2336
  exclude: [] | undefined;
2337
- format: (args: import("viem/chains").OpStackRpcBlock) => {
2337
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
2338
2338
  baseFeePerGas: bigint | null;
2339
2339
  blobGasUsed: bigint;
2340
2340
  difficulty: bigint;
@@ -2367,7 +2367,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
2367
2367
  };
2368
2368
  readonly transaction: {
2369
2369
  exclude: [] | undefined;
2370
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
2370
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
2371
2371
  blockHash: `0x${string}` | null;
2372
2372
  blockNumber: bigint | null;
2373
2373
  from: import("abitype").Address;
@@ -2395,16 +2395,16 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
2395
2395
  r: import("viem").Hex;
2396
2396
  s: import("viem").Hex;
2397
2397
  v: bigint;
2398
+ value: bigint;
2399
+ gas: bigint;
2398
2400
  to: import("abitype").Address | null;
2399
2401
  from: import("abitype").Address;
2400
- gas: bigint;
2401
2402
  nonce: number;
2402
- value: bigint;
2403
2403
  blockHash: `0x${string}` | null;
2404
2404
  blockNumber: bigint | null;
2405
+ transactionIndex: number | null;
2405
2406
  hash: import("viem").Hash;
2406
2407
  input: import("viem").Hex;
2407
- transactionIndex: number | null;
2408
2408
  typeHex: import("viem").Hex | null;
2409
2409
  accessList?: undefined | undefined;
2410
2410
  authorizationList?: undefined | undefined;
@@ -2536,7 +2536,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
2536
2536
  };
2537
2537
  readonly transactionReceipt: {
2538
2538
  exclude: [] | undefined;
2539
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
2539
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
2540
2540
  blobGasPrice?: bigint | undefined;
2541
2541
  blobGasUsed?: bigint | undefined;
2542
2542
  blockHash: import("viem").Hash;
@@ -3344,7 +3344,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
3344
3344
  experimental_preconfirmationTime?: number | undefined | undefined;
3345
3345
  rpcUrls: {
3346
3346
  readonly default: {
3347
- readonly http: readonly ["https://sepolia.drpc.org"];
3347
+ readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
3348
3348
  };
3349
3349
  };
3350
3350
  sourceId?: number | undefined | undefined;
@@ -3363,7 +3363,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
3363
3363
  readonly apiUrl: "https://api.polygonscan.com/api";
3364
3364
  };
3365
3365
  };
3366
- blockTime?: number | undefined | undefined;
3366
+ blockTime: 2000;
3367
3367
  contracts: {
3368
3368
  readonly USDC: {
3369
3369
  readonly address: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359";
@@ -3711,6 +3711,366 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
3711
3711
  readonly blockchainId: "MATIC-AMOY";
3712
3712
  readonly blockchainVm: "EVM";
3713
3713
  readonly formatters?: undefined | undefined;
3714
+ } | {
3715
+ blockExplorers: {
3716
+ readonly default: {
3717
+ readonly name: "MonadVision";
3718
+ readonly url: "https://monadvision.com";
3719
+ };
3720
+ readonly monadscan: {
3721
+ readonly name: "Monadscan";
3722
+ readonly url: "https://monadscan.com";
3723
+ readonly apiUrl: "https://api.monadscan.com/api";
3724
+ };
3725
+ };
3726
+ blockTime: 400;
3727
+ contracts: {
3728
+ readonly USDC: {
3729
+ readonly address: "0x754704Bc059F8C67012fEd69BC8A327a5aafb603";
3730
+ readonly abi: readonly [{
3731
+ readonly type: "event";
3732
+ readonly name: "Approval";
3733
+ readonly inputs: readonly [{
3734
+ readonly indexed: true;
3735
+ readonly name: "owner";
3736
+ readonly type: "address";
3737
+ }, {
3738
+ readonly indexed: true;
3739
+ readonly name: "spender";
3740
+ readonly type: "address";
3741
+ }, {
3742
+ readonly indexed: false;
3743
+ readonly name: "value";
3744
+ readonly type: "uint256";
3745
+ }];
3746
+ }, {
3747
+ readonly type: "event";
3748
+ readonly name: "Transfer";
3749
+ readonly inputs: readonly [{
3750
+ readonly indexed: true;
3751
+ readonly name: "from";
3752
+ readonly type: "address";
3753
+ }, {
3754
+ readonly indexed: true;
3755
+ readonly name: "to";
3756
+ readonly type: "address";
3757
+ }, {
3758
+ readonly indexed: false;
3759
+ readonly name: "value";
3760
+ readonly type: "uint256";
3761
+ }];
3762
+ }, {
3763
+ readonly type: "function";
3764
+ readonly name: "allowance";
3765
+ readonly stateMutability: "view";
3766
+ readonly inputs: readonly [{
3767
+ readonly name: "owner";
3768
+ readonly type: "address";
3769
+ }, {
3770
+ readonly name: "spender";
3771
+ readonly type: "address";
3772
+ }];
3773
+ readonly outputs: readonly [{
3774
+ readonly type: "uint256";
3775
+ }];
3776
+ }, {
3777
+ readonly type: "function";
3778
+ readonly name: "approve";
3779
+ readonly stateMutability: "nonpayable";
3780
+ readonly inputs: readonly [{
3781
+ readonly name: "spender";
3782
+ readonly type: "address";
3783
+ }, {
3784
+ readonly name: "amount";
3785
+ readonly type: "uint256";
3786
+ }];
3787
+ readonly outputs: readonly [{
3788
+ readonly type: "bool";
3789
+ }];
3790
+ }, {
3791
+ readonly type: "function";
3792
+ readonly name: "balanceOf";
3793
+ readonly stateMutability: "view";
3794
+ readonly inputs: readonly [{
3795
+ readonly name: "account";
3796
+ readonly type: "address";
3797
+ }];
3798
+ readonly outputs: readonly [{
3799
+ readonly type: "uint256";
3800
+ }];
3801
+ }, {
3802
+ readonly type: "function";
3803
+ readonly name: "decimals";
3804
+ readonly stateMutability: "view";
3805
+ readonly inputs: readonly [];
3806
+ readonly outputs: readonly [{
3807
+ readonly type: "uint8";
3808
+ }];
3809
+ }, {
3810
+ readonly type: "function";
3811
+ readonly name: "name";
3812
+ readonly stateMutability: "view";
3813
+ readonly inputs: readonly [];
3814
+ readonly outputs: readonly [{
3815
+ readonly type: "string";
3816
+ }];
3817
+ }, {
3818
+ readonly type: "function";
3819
+ readonly name: "symbol";
3820
+ readonly stateMutability: "view";
3821
+ readonly inputs: readonly [];
3822
+ readonly outputs: readonly [{
3823
+ readonly type: "string";
3824
+ }];
3825
+ }, {
3826
+ readonly type: "function";
3827
+ readonly name: "totalSupply";
3828
+ readonly stateMutability: "view";
3829
+ readonly inputs: readonly [];
3830
+ readonly outputs: readonly [{
3831
+ readonly type: "uint256";
3832
+ }];
3833
+ }, {
3834
+ readonly type: "function";
3835
+ readonly name: "transfer";
3836
+ readonly stateMutability: "nonpayable";
3837
+ readonly inputs: readonly [{
3838
+ readonly name: "recipient";
3839
+ readonly type: "address";
3840
+ }, {
3841
+ readonly name: "amount";
3842
+ readonly type: "uint256";
3843
+ }];
3844
+ readonly outputs: readonly [{
3845
+ readonly type: "bool";
3846
+ }];
3847
+ }, {
3848
+ readonly type: "function";
3849
+ readonly name: "transferFrom";
3850
+ readonly stateMutability: "nonpayable";
3851
+ readonly inputs: readonly [{
3852
+ readonly name: "sender";
3853
+ readonly type: "address";
3854
+ }, {
3855
+ readonly name: "recipient";
3856
+ readonly type: "address";
3857
+ }, {
3858
+ readonly name: "amount";
3859
+ readonly type: "uint256";
3860
+ }];
3861
+ readonly outputs: readonly [{
3862
+ readonly type: "bool";
3863
+ }];
3864
+ }];
3865
+ readonly read: {
3866
+ readonly decimals: () => 6;
3867
+ };
3868
+ };
3869
+ readonly multicall3: {
3870
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
3871
+ readonly blockCreated: 9248132;
3872
+ };
3873
+ };
3874
+ ensTlds?: readonly string[] | undefined;
3875
+ id: 143;
3876
+ name: "Monad";
3877
+ nativeCurrency: {
3878
+ readonly name: "Monad";
3879
+ readonly symbol: "MON";
3880
+ readonly decimals: 18;
3881
+ };
3882
+ experimental_preconfirmationTime?: number | undefined | undefined;
3883
+ rpcUrls: {
3884
+ readonly default: {
3885
+ readonly http: readonly ["https://rpc.monad.xyz", "https://rpc1.monad.xyz"];
3886
+ readonly webSocket: readonly ["wss://rpc.monad.xyz", "wss://rpc1.monad.xyz"];
3887
+ };
3888
+ };
3889
+ sourceId?: number | undefined | undefined;
3890
+ testnet: false;
3891
+ custom?: Record<string, unknown> | undefined;
3892
+ fees?: import("viem").ChainFees<undefined> | undefined;
3893
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
3894
+ readonly blockchainId: "MONAD";
3895
+ readonly blockchainVm: "EVM";
3896
+ readonly formatters?: undefined | undefined;
3897
+ } | {
3898
+ blockExplorers: {
3899
+ readonly default: {
3900
+ readonly name: "Monad Testnet explorer";
3901
+ readonly url: "https://testnet.monadexplorer.com";
3902
+ };
3903
+ };
3904
+ blockTime: 400;
3905
+ contracts: {
3906
+ readonly USDC: {
3907
+ readonly address: "0x534b2f3A21130d7a60830c2Df862319e593943A3";
3908
+ readonly abi: readonly [{
3909
+ readonly type: "event";
3910
+ readonly name: "Approval";
3911
+ readonly inputs: readonly [{
3912
+ readonly indexed: true;
3913
+ readonly name: "owner";
3914
+ readonly type: "address";
3915
+ }, {
3916
+ readonly indexed: true;
3917
+ readonly name: "spender";
3918
+ readonly type: "address";
3919
+ }, {
3920
+ readonly indexed: false;
3921
+ readonly name: "value";
3922
+ readonly type: "uint256";
3923
+ }];
3924
+ }, {
3925
+ readonly type: "event";
3926
+ readonly name: "Transfer";
3927
+ readonly inputs: readonly [{
3928
+ readonly indexed: true;
3929
+ readonly name: "from";
3930
+ readonly type: "address";
3931
+ }, {
3932
+ readonly indexed: true;
3933
+ readonly name: "to";
3934
+ readonly type: "address";
3935
+ }, {
3936
+ readonly indexed: false;
3937
+ readonly name: "value";
3938
+ readonly type: "uint256";
3939
+ }];
3940
+ }, {
3941
+ readonly type: "function";
3942
+ readonly name: "allowance";
3943
+ readonly stateMutability: "view";
3944
+ readonly inputs: readonly [{
3945
+ readonly name: "owner";
3946
+ readonly type: "address";
3947
+ }, {
3948
+ readonly name: "spender";
3949
+ readonly type: "address";
3950
+ }];
3951
+ readonly outputs: readonly [{
3952
+ readonly type: "uint256";
3953
+ }];
3954
+ }, {
3955
+ readonly type: "function";
3956
+ readonly name: "approve";
3957
+ readonly stateMutability: "nonpayable";
3958
+ readonly inputs: readonly [{
3959
+ readonly name: "spender";
3960
+ readonly type: "address";
3961
+ }, {
3962
+ readonly name: "amount";
3963
+ readonly type: "uint256";
3964
+ }];
3965
+ readonly outputs: readonly [{
3966
+ readonly type: "bool";
3967
+ }];
3968
+ }, {
3969
+ readonly type: "function";
3970
+ readonly name: "balanceOf";
3971
+ readonly stateMutability: "view";
3972
+ readonly inputs: readonly [{
3973
+ readonly name: "account";
3974
+ readonly type: "address";
3975
+ }];
3976
+ readonly outputs: readonly [{
3977
+ readonly type: "uint256";
3978
+ }];
3979
+ }, {
3980
+ readonly type: "function";
3981
+ readonly name: "decimals";
3982
+ readonly stateMutability: "view";
3983
+ readonly inputs: readonly [];
3984
+ readonly outputs: readonly [{
3985
+ readonly type: "uint8";
3986
+ }];
3987
+ }, {
3988
+ readonly type: "function";
3989
+ readonly name: "name";
3990
+ readonly stateMutability: "view";
3991
+ readonly inputs: readonly [];
3992
+ readonly outputs: readonly [{
3993
+ readonly type: "string";
3994
+ }];
3995
+ }, {
3996
+ readonly type: "function";
3997
+ readonly name: "symbol";
3998
+ readonly stateMutability: "view";
3999
+ readonly inputs: readonly [];
4000
+ readonly outputs: readonly [{
4001
+ readonly type: "string";
4002
+ }];
4003
+ }, {
4004
+ readonly type: "function";
4005
+ readonly name: "totalSupply";
4006
+ readonly stateMutability: "view";
4007
+ readonly inputs: readonly [];
4008
+ readonly outputs: readonly [{
4009
+ readonly type: "uint256";
4010
+ }];
4011
+ }, {
4012
+ readonly type: "function";
4013
+ readonly name: "transfer";
4014
+ readonly stateMutability: "nonpayable";
4015
+ readonly inputs: readonly [{
4016
+ readonly name: "recipient";
4017
+ readonly type: "address";
4018
+ }, {
4019
+ readonly name: "amount";
4020
+ readonly type: "uint256";
4021
+ }];
4022
+ readonly outputs: readonly [{
4023
+ readonly type: "bool";
4024
+ }];
4025
+ }, {
4026
+ readonly type: "function";
4027
+ readonly name: "transferFrom";
4028
+ readonly stateMutability: "nonpayable";
4029
+ readonly inputs: readonly [{
4030
+ readonly name: "sender";
4031
+ readonly type: "address";
4032
+ }, {
4033
+ readonly name: "recipient";
4034
+ readonly type: "address";
4035
+ }, {
4036
+ readonly name: "amount";
4037
+ readonly type: "uint256";
4038
+ }];
4039
+ readonly outputs: readonly [{
4040
+ readonly type: "bool";
4041
+ }];
4042
+ }];
4043
+ readonly read: {
4044
+ readonly decimals: () => 6;
4045
+ };
4046
+ };
4047
+ readonly multicall3: {
4048
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
4049
+ readonly blockCreated: 251449;
4050
+ };
4051
+ };
4052
+ ensTlds?: readonly string[] | undefined;
4053
+ id: 10143;
4054
+ name: "Monad Testnet";
4055
+ nativeCurrency: {
4056
+ readonly name: "Testnet MON Token";
4057
+ readonly symbol: "MON";
4058
+ readonly decimals: 18;
4059
+ };
4060
+ experimental_preconfirmationTime?: number | undefined | undefined;
4061
+ rpcUrls: {
4062
+ readonly default: {
4063
+ readonly http: readonly ["https://testnet-rpc.monad.xyz"];
4064
+ };
4065
+ };
4066
+ sourceId?: number | undefined | undefined;
4067
+ testnet: true;
4068
+ custom?: Record<string, unknown> | undefined;
4069
+ fees?: import("viem").ChainFees<undefined> | undefined;
4070
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
4071
+ readonly blockchainId: "MONAD-TESTNET";
4072
+ readonly blockchainVm: "EVM";
4073
+ readonly formatters?: undefined | undefined;
3714
4074
  } | {
3715
4075
  blockExplorers: {
3716
4076
  readonly default: {
@@ -3926,7 +4286,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
3926
4286
  formatters: {
3927
4287
  readonly block: {
3928
4288
  exclude: [] | undefined;
3929
- format: (args: import("viem/chains").OpStackRpcBlock) => {
4289
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
3930
4290
  baseFeePerGas: bigint | null;
3931
4291
  blobGasUsed: bigint;
3932
4292
  difficulty: bigint;
@@ -3959,7 +4319,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
3959
4319
  };
3960
4320
  readonly transaction: {
3961
4321
  exclude: [] | undefined;
3962
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
4322
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
3963
4323
  blockHash: `0x${string}` | null;
3964
4324
  blockNumber: bigint | null;
3965
4325
  from: import("abitype").Address;
@@ -3987,16 +4347,16 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
3987
4347
  r: import("viem").Hex;
3988
4348
  s: import("viem").Hex;
3989
4349
  v: bigint;
4350
+ value: bigint;
4351
+ gas: bigint;
3990
4352
  to: import("abitype").Address | null;
3991
4353
  from: import("abitype").Address;
3992
- gas: bigint;
3993
4354
  nonce: number;
3994
- value: bigint;
3995
4355
  blockHash: `0x${string}` | null;
3996
4356
  blockNumber: bigint | null;
4357
+ transactionIndex: number | null;
3997
4358
  hash: import("viem").Hash;
3998
4359
  input: import("viem").Hex;
3999
- transactionIndex: number | null;
4000
4360
  typeHex: import("viem").Hex | null;
4001
4361
  accessList?: undefined | undefined;
4002
4362
  authorizationList?: undefined | undefined;
@@ -4128,7 +4488,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4128
4488
  };
4129
4489
  readonly transactionReceipt: {
4130
4490
  exclude: [] | undefined;
4131
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
4491
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
4132
4492
  blobGasPrice?: bigint | undefined;
4133
4493
  blobGasUsed?: bigint | undefined;
4134
4494
  blockHash: import("viem").Hash;
@@ -4374,7 +4734,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4374
4734
  formatters: {
4375
4735
  readonly block: {
4376
4736
  exclude: [] | undefined;
4377
- format: (args: import("viem/chains").OpStackRpcBlock) => {
4737
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
4378
4738
  baseFeePerGas: bigint | null;
4379
4739
  blobGasUsed: bigint;
4380
4740
  difficulty: bigint;
@@ -4407,7 +4767,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4407
4767
  };
4408
4768
  readonly transaction: {
4409
4769
  exclude: [] | undefined;
4410
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
4770
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
4411
4771
  blockHash: `0x${string}` | null;
4412
4772
  blockNumber: bigint | null;
4413
4773
  from: import("abitype").Address;
@@ -4435,16 +4795,16 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4435
4795
  r: import("viem").Hex;
4436
4796
  s: import("viem").Hex;
4437
4797
  v: bigint;
4798
+ value: bigint;
4799
+ gas: bigint;
4438
4800
  to: import("abitype").Address | null;
4439
4801
  from: import("abitype").Address;
4440
- gas: bigint;
4441
4802
  nonce: number;
4442
- value: bigint;
4443
4803
  blockHash: `0x${string}` | null;
4444
4804
  blockNumber: bigint | null;
4805
+ transactionIndex: number | null;
4445
4806
  hash: import("viem").Hash;
4446
4807
  input: import("viem").Hex;
4447
- transactionIndex: number | null;
4448
4808
  typeHex: import("viem").Hex | null;
4449
4809
  accessList?: undefined | undefined;
4450
4810
  authorizationList?: undefined | undefined;
@@ -4576,7 +4936,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4576
4936
  };
4577
4937
  readonly transactionReceipt: {
4578
4938
  exclude: [] | undefined;
4579
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
4939
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
4580
4940
  blobGasPrice?: bigint | undefined;
4581
4941
  blobGasUsed?: bigint | undefined;
4582
4942
  blockHash: import("viem").Hash;
@@ -4615,7 +4975,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4615
4975
  readonly apiUrl: "https://api.uniscan.xyz/api";
4616
4976
  };
4617
4977
  };
4618
- blockTime: 2000;
4978
+ blockTime: 1000;
4619
4979
  contracts: {
4620
4980
  readonly USDC: {
4621
4981
  readonly address: "0x078D782b760474a361dDA0AF3839290b0EF57AD6";
@@ -4817,7 +5177,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4817
5177
  formatters: {
4818
5178
  readonly block: {
4819
5179
  exclude: [] | undefined;
4820
- format: (args: import("viem/chains").OpStackRpcBlock) => {
5180
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
4821
5181
  baseFeePerGas: bigint | null;
4822
5182
  blobGasUsed: bigint;
4823
5183
  difficulty: bigint;
@@ -4850,7 +5210,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4850
5210
  };
4851
5211
  readonly transaction: {
4852
5212
  exclude: [] | undefined;
4853
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
5213
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
4854
5214
  blockHash: `0x${string}` | null;
4855
5215
  blockNumber: bigint | null;
4856
5216
  from: import("abitype").Address;
@@ -4878,16 +5238,16 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
4878
5238
  r: import("viem").Hex;
4879
5239
  s: import("viem").Hex;
4880
5240
  v: bigint;
5241
+ value: bigint;
5242
+ gas: bigint;
4881
5243
  to: import("abitype").Address | null;
4882
5244
  from: import("abitype").Address;
4883
- gas: bigint;
4884
5245
  nonce: number;
4885
- value: bigint;
4886
5246
  blockHash: `0x${string}` | null;
4887
5247
  blockNumber: bigint | null;
5248
+ transactionIndex: number | null;
4888
5249
  hash: import("viem").Hash;
4889
5250
  input: import("viem").Hex;
4890
- transactionIndex: number | null;
4891
5251
  typeHex: import("viem").Hex | null;
4892
5252
  accessList?: undefined | undefined;
4893
5253
  authorizationList?: undefined | undefined;
@@ -5019,7 +5379,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
5019
5379
  };
5020
5380
  readonly transactionReceipt: {
5021
5381
  exclude: [] | undefined;
5022
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
5382
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
5023
5383
  blobGasPrice?: bigint | undefined;
5024
5384
  blobGasUsed?: bigint | undefined;
5025
5385
  blockHash: import("viem").Hash;
@@ -5058,7 +5418,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
5058
5418
  readonly apiUrl: "https://api-sepolia.uniscan.xyz/api";
5059
5419
  };
5060
5420
  };
5061
- blockTime: 2000;
5421
+ blockTime: 1000;
5062
5422
  contracts: {
5063
5423
  readonly USDC: {
5064
5424
  readonly address: "0x31d0220469e10c4E71834a79b1f276d740d3768F";
@@ -5260,7 +5620,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
5260
5620
  formatters: {
5261
5621
  readonly block: {
5262
5622
  exclude: [] | undefined;
5263
- format: (args: import("viem/chains").OpStackRpcBlock) => {
5623
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
5264
5624
  baseFeePerGas: bigint | null;
5265
5625
  blobGasUsed: bigint;
5266
5626
  difficulty: bigint;
@@ -5293,7 +5653,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
5293
5653
  };
5294
5654
  readonly transaction: {
5295
5655
  exclude: [] | undefined;
5296
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
5656
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
5297
5657
  blockHash: `0x${string}` | null;
5298
5658
  blockNumber: bigint | null;
5299
5659
  from: import("abitype").Address;
@@ -5321,16 +5681,16 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
5321
5681
  r: import("viem").Hex;
5322
5682
  s: import("viem").Hex;
5323
5683
  v: bigint;
5684
+ value: bigint;
5685
+ gas: bigint;
5324
5686
  to: import("abitype").Address | null;
5325
5687
  from: import("abitype").Address;
5326
- gas: bigint;
5327
5688
  nonce: number;
5328
- value: bigint;
5329
5689
  blockHash: `0x${string}` | null;
5330
5690
  blockNumber: bigint | null;
5691
+ transactionIndex: number | null;
5331
5692
  hash: import("viem").Hash;
5332
5693
  input: import("viem").Hex;
5333
- transactionIndex: number | null;
5334
5694
  typeHex: import("viem").Hex | null;
5335
5695
  accessList?: undefined | undefined;
5336
5696
  authorizationList?: undefined | undefined;
@@ -5462,7 +5822,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
5462
5822
  };
5463
5823
  readonly transactionReceipt: {
5464
5824
  exclude: [] | undefined;
5465
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
5825
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
5466
5826
  blobGasPrice?: bigint | undefined;
5467
5827
  blobGasUsed?: bigint | undefined;
5468
5828
  blockHash: import("viem").Hash;