@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
@@ -541,10 +541,10 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
541
541
  testnet: true;
542
542
  custom?: Record<string, unknown> | undefined;
543
543
  fees?: import("viem").ChainFees<undefined> | undefined;
544
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
544
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
545
545
  readonly blockchainId: "ARC-TESTNET";
546
546
  readonly blockchainVm: "EVM";
547
- readonly formatters?: undefined;
547
+ readonly formatters?: undefined | undefined;
548
548
  } | {
549
549
  blockExplorers: {
550
550
  readonly default: {
@@ -1682,7 +1682,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
1682
1682
  formatters: {
1683
1683
  readonly block: {
1684
1684
  exclude: [] | undefined;
1685
- format: (args: import("viem/chains").OpStackRpcBlock) => {
1685
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
1686
1686
  baseFeePerGas: bigint | null;
1687
1687
  blobGasUsed: bigint;
1688
1688
  difficulty: bigint;
@@ -1715,7 +1715,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
1715
1715
  };
1716
1716
  readonly transaction: {
1717
1717
  exclude: [] | undefined;
1718
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
1718
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
1719
1719
  blockHash: `0x${string}` | null;
1720
1720
  blockNumber: bigint | null;
1721
1721
  from: import("abitype").Address;
@@ -1743,16 +1743,16 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
1743
1743
  r: import("viem").Hex;
1744
1744
  s: import("viem").Hex;
1745
1745
  v: bigint;
1746
+ value: bigint;
1747
+ gas: bigint;
1746
1748
  to: import("abitype").Address | null;
1747
1749
  from: import("abitype").Address;
1748
- gas: bigint;
1749
1750
  nonce: number;
1750
- value: bigint;
1751
1751
  blockHash: `0x${string}` | null;
1752
1752
  blockNumber: bigint | null;
1753
+ transactionIndex: number | null;
1753
1754
  hash: import("viem").Hash;
1754
1755
  input: import("viem").Hex;
1755
- transactionIndex: number | null;
1756
1756
  typeHex: import("viem").Hex | null;
1757
1757
  accessList?: undefined | undefined;
1758
1758
  authorizationList?: undefined | undefined;
@@ -1884,7 +1884,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
1884
1884
  };
1885
1885
  readonly transactionReceipt: {
1886
1886
  exclude: [] | undefined;
1887
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
1887
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
1888
1888
  blobGasPrice?: bigint | undefined;
1889
1889
  blobGasUsed?: bigint | undefined;
1890
1890
  blockHash: import("viem").Hash;
@@ -2273,7 +2273,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
2273
2273
  formatters: {
2274
2274
  readonly block: {
2275
2275
  exclude: [] | undefined;
2276
- format: (args: import("viem/chains").OpStackRpcBlock) => {
2276
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
2277
2277
  baseFeePerGas: bigint | null;
2278
2278
  blobGasUsed: bigint;
2279
2279
  difficulty: bigint;
@@ -2306,7 +2306,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
2306
2306
  };
2307
2307
  readonly transaction: {
2308
2308
  exclude: [] | undefined;
2309
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
2309
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
2310
2310
  blockHash: `0x${string}` | null;
2311
2311
  blockNumber: bigint | null;
2312
2312
  from: import("abitype").Address;
@@ -2334,16 +2334,16 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
2334
2334
  r: import("viem").Hex;
2335
2335
  s: import("viem").Hex;
2336
2336
  v: bigint;
2337
+ value: bigint;
2338
+ gas: bigint;
2337
2339
  to: import("abitype").Address | null;
2338
2340
  from: import("abitype").Address;
2339
- gas: bigint;
2340
2341
  nonce: number;
2341
- value: bigint;
2342
2342
  blockHash: `0x${string}` | null;
2343
2343
  blockNumber: bigint | null;
2344
+ transactionIndex: number | null;
2344
2345
  hash: import("viem").Hash;
2345
2346
  input: import("viem").Hex;
2346
- transactionIndex: number | null;
2347
2347
  typeHex: import("viem").Hex | null;
2348
2348
  accessList?: undefined | undefined;
2349
2349
  authorizationList?: undefined | undefined;
@@ -2475,7 +2475,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
2475
2475
  };
2476
2476
  readonly transactionReceipt: {
2477
2477
  exclude: [] | undefined;
2478
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
2478
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
2479
2479
  blobGasPrice?: bigint | undefined;
2480
2480
  blobGasUsed?: bigint | undefined;
2481
2481
  blockHash: import("viem").Hash;
@@ -3283,7 +3283,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
3283
3283
  experimental_preconfirmationTime?: number | undefined | undefined;
3284
3284
  rpcUrls: {
3285
3285
  readonly default: {
3286
- readonly http: readonly ["https://sepolia.drpc.org"];
3286
+ readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
3287
3287
  };
3288
3288
  };
3289
3289
  sourceId?: number | undefined | undefined;
@@ -3302,7 +3302,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
3302
3302
  readonly apiUrl: "https://api.polygonscan.com/api";
3303
3303
  };
3304
3304
  };
3305
- blockTime?: number | undefined | undefined;
3305
+ blockTime: 2000;
3306
3306
  contracts: {
3307
3307
  readonly USDC: {
3308
3308
  readonly address: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359";
@@ -3650,6 +3650,366 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
3650
3650
  readonly blockchainId: "MATIC-AMOY";
3651
3651
  readonly blockchainVm: "EVM";
3652
3652
  readonly formatters?: undefined | undefined;
3653
+ } | {
3654
+ blockExplorers: {
3655
+ readonly default: {
3656
+ readonly name: "MonadVision";
3657
+ readonly url: "https://monadvision.com";
3658
+ };
3659
+ readonly monadscan: {
3660
+ readonly name: "Monadscan";
3661
+ readonly url: "https://monadscan.com";
3662
+ readonly apiUrl: "https://api.monadscan.com/api";
3663
+ };
3664
+ };
3665
+ blockTime: 400;
3666
+ contracts: {
3667
+ readonly USDC: {
3668
+ readonly address: "0x754704Bc059F8C67012fEd69BC8A327a5aafb603";
3669
+ readonly abi: readonly [{
3670
+ readonly type: "event";
3671
+ readonly name: "Approval";
3672
+ readonly inputs: readonly [{
3673
+ readonly indexed: true;
3674
+ readonly name: "owner";
3675
+ readonly type: "address";
3676
+ }, {
3677
+ readonly indexed: true;
3678
+ readonly name: "spender";
3679
+ readonly type: "address";
3680
+ }, {
3681
+ readonly indexed: false;
3682
+ readonly name: "value";
3683
+ readonly type: "uint256";
3684
+ }];
3685
+ }, {
3686
+ readonly type: "event";
3687
+ readonly name: "Transfer";
3688
+ readonly inputs: readonly [{
3689
+ readonly indexed: true;
3690
+ readonly name: "from";
3691
+ readonly type: "address";
3692
+ }, {
3693
+ readonly indexed: true;
3694
+ readonly name: "to";
3695
+ readonly type: "address";
3696
+ }, {
3697
+ readonly indexed: false;
3698
+ readonly name: "value";
3699
+ readonly type: "uint256";
3700
+ }];
3701
+ }, {
3702
+ readonly type: "function";
3703
+ readonly name: "allowance";
3704
+ readonly stateMutability: "view";
3705
+ readonly inputs: readonly [{
3706
+ readonly name: "owner";
3707
+ readonly type: "address";
3708
+ }, {
3709
+ readonly name: "spender";
3710
+ readonly type: "address";
3711
+ }];
3712
+ readonly outputs: readonly [{
3713
+ readonly type: "uint256";
3714
+ }];
3715
+ }, {
3716
+ readonly type: "function";
3717
+ readonly name: "approve";
3718
+ readonly stateMutability: "nonpayable";
3719
+ readonly inputs: readonly [{
3720
+ readonly name: "spender";
3721
+ readonly type: "address";
3722
+ }, {
3723
+ readonly name: "amount";
3724
+ readonly type: "uint256";
3725
+ }];
3726
+ readonly outputs: readonly [{
3727
+ readonly type: "bool";
3728
+ }];
3729
+ }, {
3730
+ readonly type: "function";
3731
+ readonly name: "balanceOf";
3732
+ readonly stateMutability: "view";
3733
+ readonly inputs: readonly [{
3734
+ readonly name: "account";
3735
+ readonly type: "address";
3736
+ }];
3737
+ readonly outputs: readonly [{
3738
+ readonly type: "uint256";
3739
+ }];
3740
+ }, {
3741
+ readonly type: "function";
3742
+ readonly name: "decimals";
3743
+ readonly stateMutability: "view";
3744
+ readonly inputs: readonly [];
3745
+ readonly outputs: readonly [{
3746
+ readonly type: "uint8";
3747
+ }];
3748
+ }, {
3749
+ readonly type: "function";
3750
+ readonly name: "name";
3751
+ readonly stateMutability: "view";
3752
+ readonly inputs: readonly [];
3753
+ readonly outputs: readonly [{
3754
+ readonly type: "string";
3755
+ }];
3756
+ }, {
3757
+ readonly type: "function";
3758
+ readonly name: "symbol";
3759
+ readonly stateMutability: "view";
3760
+ readonly inputs: readonly [];
3761
+ readonly outputs: readonly [{
3762
+ readonly type: "string";
3763
+ }];
3764
+ }, {
3765
+ readonly type: "function";
3766
+ readonly name: "totalSupply";
3767
+ readonly stateMutability: "view";
3768
+ readonly inputs: readonly [];
3769
+ readonly outputs: readonly [{
3770
+ readonly type: "uint256";
3771
+ }];
3772
+ }, {
3773
+ readonly type: "function";
3774
+ readonly name: "transfer";
3775
+ readonly stateMutability: "nonpayable";
3776
+ readonly inputs: readonly [{
3777
+ readonly name: "recipient";
3778
+ readonly type: "address";
3779
+ }, {
3780
+ readonly name: "amount";
3781
+ readonly type: "uint256";
3782
+ }];
3783
+ readonly outputs: readonly [{
3784
+ readonly type: "bool";
3785
+ }];
3786
+ }, {
3787
+ readonly type: "function";
3788
+ readonly name: "transferFrom";
3789
+ readonly stateMutability: "nonpayable";
3790
+ readonly inputs: readonly [{
3791
+ readonly name: "sender";
3792
+ readonly type: "address";
3793
+ }, {
3794
+ readonly name: "recipient";
3795
+ readonly type: "address";
3796
+ }, {
3797
+ readonly name: "amount";
3798
+ readonly type: "uint256";
3799
+ }];
3800
+ readonly outputs: readonly [{
3801
+ readonly type: "bool";
3802
+ }];
3803
+ }];
3804
+ readonly read: {
3805
+ readonly decimals: () => 6;
3806
+ };
3807
+ };
3808
+ readonly multicall3: {
3809
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
3810
+ readonly blockCreated: 9248132;
3811
+ };
3812
+ };
3813
+ ensTlds?: readonly string[] | undefined;
3814
+ id: 143;
3815
+ name: "Monad";
3816
+ nativeCurrency: {
3817
+ readonly name: "Monad";
3818
+ readonly symbol: "MON";
3819
+ readonly decimals: 18;
3820
+ };
3821
+ experimental_preconfirmationTime?: number | undefined | undefined;
3822
+ rpcUrls: {
3823
+ readonly default: {
3824
+ readonly http: readonly ["https://rpc.monad.xyz", "https://rpc1.monad.xyz"];
3825
+ readonly webSocket: readonly ["wss://rpc.monad.xyz", "wss://rpc1.monad.xyz"];
3826
+ };
3827
+ };
3828
+ sourceId?: number | undefined | undefined;
3829
+ testnet: false;
3830
+ custom?: Record<string, unknown> | undefined;
3831
+ fees?: import("viem").ChainFees<undefined> | undefined;
3832
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
3833
+ readonly blockchainId: "MONAD";
3834
+ readonly blockchainVm: "EVM";
3835
+ readonly formatters?: undefined | undefined;
3836
+ } | {
3837
+ blockExplorers: {
3838
+ readonly default: {
3839
+ readonly name: "Monad Testnet explorer";
3840
+ readonly url: "https://testnet.monadexplorer.com";
3841
+ };
3842
+ };
3843
+ blockTime: 400;
3844
+ contracts: {
3845
+ readonly USDC: {
3846
+ readonly address: "0x534b2f3A21130d7a60830c2Df862319e593943A3";
3847
+ readonly abi: readonly [{
3848
+ readonly type: "event";
3849
+ readonly name: "Approval";
3850
+ readonly inputs: readonly [{
3851
+ readonly indexed: true;
3852
+ readonly name: "owner";
3853
+ readonly type: "address";
3854
+ }, {
3855
+ readonly indexed: true;
3856
+ readonly name: "spender";
3857
+ readonly type: "address";
3858
+ }, {
3859
+ readonly indexed: false;
3860
+ readonly name: "value";
3861
+ readonly type: "uint256";
3862
+ }];
3863
+ }, {
3864
+ readonly type: "event";
3865
+ readonly name: "Transfer";
3866
+ readonly inputs: readonly [{
3867
+ readonly indexed: true;
3868
+ readonly name: "from";
3869
+ readonly type: "address";
3870
+ }, {
3871
+ readonly indexed: true;
3872
+ readonly name: "to";
3873
+ readonly type: "address";
3874
+ }, {
3875
+ readonly indexed: false;
3876
+ readonly name: "value";
3877
+ readonly type: "uint256";
3878
+ }];
3879
+ }, {
3880
+ readonly type: "function";
3881
+ readonly name: "allowance";
3882
+ readonly stateMutability: "view";
3883
+ readonly inputs: readonly [{
3884
+ readonly name: "owner";
3885
+ readonly type: "address";
3886
+ }, {
3887
+ readonly name: "spender";
3888
+ readonly type: "address";
3889
+ }];
3890
+ readonly outputs: readonly [{
3891
+ readonly type: "uint256";
3892
+ }];
3893
+ }, {
3894
+ readonly type: "function";
3895
+ readonly name: "approve";
3896
+ readonly stateMutability: "nonpayable";
3897
+ readonly inputs: readonly [{
3898
+ readonly name: "spender";
3899
+ readonly type: "address";
3900
+ }, {
3901
+ readonly name: "amount";
3902
+ readonly type: "uint256";
3903
+ }];
3904
+ readonly outputs: readonly [{
3905
+ readonly type: "bool";
3906
+ }];
3907
+ }, {
3908
+ readonly type: "function";
3909
+ readonly name: "balanceOf";
3910
+ readonly stateMutability: "view";
3911
+ readonly inputs: readonly [{
3912
+ readonly name: "account";
3913
+ readonly type: "address";
3914
+ }];
3915
+ readonly outputs: readonly [{
3916
+ readonly type: "uint256";
3917
+ }];
3918
+ }, {
3919
+ readonly type: "function";
3920
+ readonly name: "decimals";
3921
+ readonly stateMutability: "view";
3922
+ readonly inputs: readonly [];
3923
+ readonly outputs: readonly [{
3924
+ readonly type: "uint8";
3925
+ }];
3926
+ }, {
3927
+ readonly type: "function";
3928
+ readonly name: "name";
3929
+ readonly stateMutability: "view";
3930
+ readonly inputs: readonly [];
3931
+ readonly outputs: readonly [{
3932
+ readonly type: "string";
3933
+ }];
3934
+ }, {
3935
+ readonly type: "function";
3936
+ readonly name: "symbol";
3937
+ readonly stateMutability: "view";
3938
+ readonly inputs: readonly [];
3939
+ readonly outputs: readonly [{
3940
+ readonly type: "string";
3941
+ }];
3942
+ }, {
3943
+ readonly type: "function";
3944
+ readonly name: "totalSupply";
3945
+ readonly stateMutability: "view";
3946
+ readonly inputs: readonly [];
3947
+ readonly outputs: readonly [{
3948
+ readonly type: "uint256";
3949
+ }];
3950
+ }, {
3951
+ readonly type: "function";
3952
+ readonly name: "transfer";
3953
+ readonly stateMutability: "nonpayable";
3954
+ readonly inputs: readonly [{
3955
+ readonly name: "recipient";
3956
+ readonly type: "address";
3957
+ }, {
3958
+ readonly name: "amount";
3959
+ readonly type: "uint256";
3960
+ }];
3961
+ readonly outputs: readonly [{
3962
+ readonly type: "bool";
3963
+ }];
3964
+ }, {
3965
+ readonly type: "function";
3966
+ readonly name: "transferFrom";
3967
+ readonly stateMutability: "nonpayable";
3968
+ readonly inputs: readonly [{
3969
+ readonly name: "sender";
3970
+ readonly type: "address";
3971
+ }, {
3972
+ readonly name: "recipient";
3973
+ readonly type: "address";
3974
+ }, {
3975
+ readonly name: "amount";
3976
+ readonly type: "uint256";
3977
+ }];
3978
+ readonly outputs: readonly [{
3979
+ readonly type: "bool";
3980
+ }];
3981
+ }];
3982
+ readonly read: {
3983
+ readonly decimals: () => 6;
3984
+ };
3985
+ };
3986
+ readonly multicall3: {
3987
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
3988
+ readonly blockCreated: 251449;
3989
+ };
3990
+ };
3991
+ ensTlds?: readonly string[] | undefined;
3992
+ id: 10143;
3993
+ name: "Monad Testnet";
3994
+ nativeCurrency: {
3995
+ readonly name: "Testnet MON Token";
3996
+ readonly symbol: "MON";
3997
+ readonly decimals: 18;
3998
+ };
3999
+ experimental_preconfirmationTime?: number | undefined | undefined;
4000
+ rpcUrls: {
4001
+ readonly default: {
4002
+ readonly http: readonly ["https://testnet-rpc.monad.xyz"];
4003
+ };
4004
+ };
4005
+ sourceId?: number | undefined | undefined;
4006
+ testnet: true;
4007
+ custom?: Record<string, unknown> | undefined;
4008
+ fees?: import("viem").ChainFees<undefined> | undefined;
4009
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
4010
+ readonly blockchainId: "MONAD-TESTNET";
4011
+ readonly blockchainVm: "EVM";
4012
+ readonly formatters?: undefined | undefined;
3653
4013
  } | {
3654
4014
  blockExplorers: {
3655
4015
  readonly default: {
@@ -3865,7 +4225,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
3865
4225
  formatters: {
3866
4226
  readonly block: {
3867
4227
  exclude: [] | undefined;
3868
- format: (args: import("viem/chains").OpStackRpcBlock) => {
4228
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
3869
4229
  baseFeePerGas: bigint | null;
3870
4230
  blobGasUsed: bigint;
3871
4231
  difficulty: bigint;
@@ -3898,7 +4258,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
3898
4258
  };
3899
4259
  readonly transaction: {
3900
4260
  exclude: [] | undefined;
3901
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
4261
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
3902
4262
  blockHash: `0x${string}` | null;
3903
4263
  blockNumber: bigint | null;
3904
4264
  from: import("abitype").Address;
@@ -3926,16 +4286,16 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
3926
4286
  r: import("viem").Hex;
3927
4287
  s: import("viem").Hex;
3928
4288
  v: bigint;
4289
+ value: bigint;
4290
+ gas: bigint;
3929
4291
  to: import("abitype").Address | null;
3930
4292
  from: import("abitype").Address;
3931
- gas: bigint;
3932
4293
  nonce: number;
3933
- value: bigint;
3934
4294
  blockHash: `0x${string}` | null;
3935
4295
  blockNumber: bigint | null;
4296
+ transactionIndex: number | null;
3936
4297
  hash: import("viem").Hash;
3937
4298
  input: import("viem").Hex;
3938
- transactionIndex: number | null;
3939
4299
  typeHex: import("viem").Hex | null;
3940
4300
  accessList?: undefined | undefined;
3941
4301
  authorizationList?: undefined | undefined;
@@ -4067,7 +4427,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4067
4427
  };
4068
4428
  readonly transactionReceipt: {
4069
4429
  exclude: [] | undefined;
4070
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
4430
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
4071
4431
  blobGasPrice?: bigint | undefined;
4072
4432
  blobGasUsed?: bigint | undefined;
4073
4433
  blockHash: import("viem").Hash;
@@ -4313,7 +4673,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4313
4673
  formatters: {
4314
4674
  readonly block: {
4315
4675
  exclude: [] | undefined;
4316
- format: (args: import("viem/chains").OpStackRpcBlock) => {
4676
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
4317
4677
  baseFeePerGas: bigint | null;
4318
4678
  blobGasUsed: bigint;
4319
4679
  difficulty: bigint;
@@ -4346,7 +4706,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4346
4706
  };
4347
4707
  readonly transaction: {
4348
4708
  exclude: [] | undefined;
4349
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
4709
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
4350
4710
  blockHash: `0x${string}` | null;
4351
4711
  blockNumber: bigint | null;
4352
4712
  from: import("abitype").Address;
@@ -4374,16 +4734,16 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4374
4734
  r: import("viem").Hex;
4375
4735
  s: import("viem").Hex;
4376
4736
  v: bigint;
4737
+ value: bigint;
4738
+ gas: bigint;
4377
4739
  to: import("abitype").Address | null;
4378
4740
  from: import("abitype").Address;
4379
- gas: bigint;
4380
4741
  nonce: number;
4381
- value: bigint;
4382
4742
  blockHash: `0x${string}` | null;
4383
4743
  blockNumber: bigint | null;
4744
+ transactionIndex: number | null;
4384
4745
  hash: import("viem").Hash;
4385
4746
  input: import("viem").Hex;
4386
- transactionIndex: number | null;
4387
4747
  typeHex: import("viem").Hex | null;
4388
4748
  accessList?: undefined | undefined;
4389
4749
  authorizationList?: undefined | undefined;
@@ -4515,7 +4875,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4515
4875
  };
4516
4876
  readonly transactionReceipt: {
4517
4877
  exclude: [] | undefined;
4518
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
4878
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
4519
4879
  blobGasPrice?: bigint | undefined;
4520
4880
  blobGasUsed?: bigint | undefined;
4521
4881
  blockHash: import("viem").Hash;
@@ -4554,7 +4914,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4554
4914
  readonly apiUrl: "https://api.uniscan.xyz/api";
4555
4915
  };
4556
4916
  };
4557
- blockTime: 2000;
4917
+ blockTime: 1000;
4558
4918
  contracts: {
4559
4919
  readonly USDC: {
4560
4920
  readonly address: "0x078D782b760474a361dDA0AF3839290b0EF57AD6";
@@ -4756,7 +5116,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4756
5116
  formatters: {
4757
5117
  readonly block: {
4758
5118
  exclude: [] | undefined;
4759
- format: (args: import("viem/chains").OpStackRpcBlock) => {
5119
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
4760
5120
  baseFeePerGas: bigint | null;
4761
5121
  blobGasUsed: bigint;
4762
5122
  difficulty: bigint;
@@ -4789,7 +5149,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4789
5149
  };
4790
5150
  readonly transaction: {
4791
5151
  exclude: [] | undefined;
4792
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
5152
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
4793
5153
  blockHash: `0x${string}` | null;
4794
5154
  blockNumber: bigint | null;
4795
5155
  from: import("abitype").Address;
@@ -4817,16 +5177,16 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4817
5177
  r: import("viem").Hex;
4818
5178
  s: import("viem").Hex;
4819
5179
  v: bigint;
5180
+ value: bigint;
5181
+ gas: bigint;
4820
5182
  to: import("abitype").Address | null;
4821
5183
  from: import("abitype").Address;
4822
- gas: bigint;
4823
5184
  nonce: number;
4824
- value: bigint;
4825
5185
  blockHash: `0x${string}` | null;
4826
5186
  blockNumber: bigint | null;
5187
+ transactionIndex: number | null;
4827
5188
  hash: import("viem").Hash;
4828
5189
  input: import("viem").Hex;
4829
- transactionIndex: number | null;
4830
5190
  typeHex: import("viem").Hex | null;
4831
5191
  accessList?: undefined | undefined;
4832
5192
  authorizationList?: undefined | undefined;
@@ -4958,7 +5318,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4958
5318
  };
4959
5319
  readonly transactionReceipt: {
4960
5320
  exclude: [] | undefined;
4961
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
5321
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
4962
5322
  blobGasPrice?: bigint | undefined;
4963
5323
  blobGasUsed?: bigint | undefined;
4964
5324
  blockHash: import("viem").Hash;
@@ -4997,7 +5357,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
4997
5357
  readonly apiUrl: "https://api-sepolia.uniscan.xyz/api";
4998
5358
  };
4999
5359
  };
5000
- blockTime: 2000;
5360
+ blockTime: 1000;
5001
5361
  contracts: {
5002
5362
  readonly USDC: {
5003
5363
  readonly address: "0x31d0220469e10c4E71834a79b1f276d740d3768F";
@@ -5199,7 +5559,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
5199
5559
  formatters: {
5200
5560
  readonly block: {
5201
5561
  exclude: [] | undefined;
5202
- format: (args: import("viem/chains").OpStackRpcBlock) => {
5562
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
5203
5563
  baseFeePerGas: bigint | null;
5204
5564
  blobGasUsed: bigint;
5205
5565
  difficulty: bigint;
@@ -5232,7 +5592,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
5232
5592
  };
5233
5593
  readonly transaction: {
5234
5594
  exclude: [] | undefined;
5235
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
5595
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
5236
5596
  blockHash: `0x${string}` | null;
5237
5597
  blockNumber: bigint | null;
5238
5598
  from: import("abitype").Address;
@@ -5260,16 +5620,16 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
5260
5620
  r: import("viem").Hex;
5261
5621
  s: import("viem").Hex;
5262
5622
  v: bigint;
5623
+ value: bigint;
5624
+ gas: bigint;
5263
5625
  to: import("abitype").Address | null;
5264
5626
  from: import("abitype").Address;
5265
- gas: bigint;
5266
5627
  nonce: number;
5267
- value: bigint;
5268
5628
  blockHash: `0x${string}` | null;
5269
5629
  blockNumber: bigint | null;
5630
+ transactionIndex: number | null;
5270
5631
  hash: import("viem").Hash;
5271
5632
  input: import("viem").Hex;
5272
- transactionIndex: number | null;
5273
5633
  typeHex: import("viem").Hex | null;
5274
5634
  accessList?: undefined | undefined;
5275
5635
  authorizationList?: undefined | undefined;
@@ -5401,7 +5761,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
5401
5761
  };
5402
5762
  readonly transactionReceipt: {
5403
5763
  exclude: [] | undefined;
5404
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
5764
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
5405
5765
  blobGasPrice?: bigint | undefined;
5406
5766
  blobGasUsed?: bigint | undefined;
5407
5767
  blockHash: import("viem").Hash;