@circle-fin/usdckit 0.23.0 → 0.23.2
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/cjs/actions/index.d.ts +1 -1
- package/dist/cjs/chains/index.d.ts +21 -19
- package/dist/cjs/chains/index.js +25 -25
- package/dist/cjs/client.d.ts +1 -1
- package/dist/cjs/extractChain.d.ts +1198 -1198
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/metadata.js +1 -1
- package/dist/cjs/providers/circle-wallets/actions/createAccount.d.ts +994 -994
- package/dist/cjs/providers/circle-wallets/actions/getAccounts.d.ts +994 -994
- package/dist/cjs/utils/createConfig.d.ts +1 -1
- package/dist/cjs/utils/createCustomWalletClient.d.ts +1 -1
- package/dist/cjs/utils/getChainContractByAddress.d.ts +1 -1
- package/dist/cjs/utils/getContract.d.ts +8 -8
- package/dist/esm/actions/index.d.ts +1 -1
- package/dist/esm/chains/index.d.ts +21 -19
- package/dist/esm/chains/index.js +20 -19
- package/dist/esm/client.d.ts +1 -1
- package/dist/esm/extractChain.d.ts +1198 -1198
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/metadata.js +1 -1
- package/dist/esm/package.json +1 -0
- package/dist/esm/providers/circle-wallets/actions/createAccount.d.ts +994 -994
- package/dist/esm/providers/circle-wallets/actions/getAccounts.d.ts +994 -994
- package/dist/esm/utils/createConfig.d.ts +1 -1
- package/dist/esm/utils/createCustomWalletClient.d.ts +1 -1
- package/dist/esm/utils/getChainContractByAddress.d.ts +1 -1
- package/dist/esm/utils/getContract.d.ts +8 -8
- package/package.json +13 -2
- package/dist/cjs/chains.d.ts +0 -2
- package/dist/cjs/chains.js +0 -12
- package/dist/esm/chains.d.ts +0 -2
- package/dist/esm/chains.js +0 -11
|
@@ -1388,15 +1388,15 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
1388
1388
|
} | {
|
|
1389
1389
|
blockExplorers: {
|
|
1390
1390
|
readonly default: {
|
|
1391
|
-
readonly name: "
|
|
1392
|
-
readonly url: "https://
|
|
1393
|
-
readonly apiUrl: "https://api.
|
|
1391
|
+
readonly name: "Basescan";
|
|
1392
|
+
readonly url: "https://basescan.org";
|
|
1393
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
1394
1394
|
};
|
|
1395
1395
|
};
|
|
1396
|
-
blockTime:
|
|
1396
|
+
blockTime: 2000;
|
|
1397
1397
|
contracts: {
|
|
1398
1398
|
readonly USDC: {
|
|
1399
|
-
readonly address: "
|
|
1399
|
+
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
1400
1400
|
readonly abi: readonly [{
|
|
1401
1401
|
readonly type: "event";
|
|
1402
1402
|
readonly name: "Approval";
|
|
@@ -1537,7 +1537,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
1537
1537
|
};
|
|
1538
1538
|
};
|
|
1539
1539
|
readonly EURC: {
|
|
1540
|
-
readonly address: "
|
|
1540
|
+
readonly address: "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42";
|
|
1541
1541
|
readonly abi: readonly [{
|
|
1542
1542
|
readonly type: "event";
|
|
1543
1543
|
readonly name: "Approval";
|
|
@@ -1677,159 +1677,54 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
1677
1677
|
readonly decimals: () => 6;
|
|
1678
1678
|
};
|
|
1679
1679
|
};
|
|
1680
|
-
readonly
|
|
1681
|
-
readonly
|
|
1682
|
-
|
|
1683
|
-
readonly type: "event";
|
|
1684
|
-
readonly name: "Approval";
|
|
1685
|
-
readonly inputs: readonly [{
|
|
1686
|
-
readonly indexed: true;
|
|
1687
|
-
readonly name: "owner";
|
|
1688
|
-
readonly type: "address";
|
|
1689
|
-
}, {
|
|
1690
|
-
readonly indexed: true;
|
|
1691
|
-
readonly name: "spender";
|
|
1692
|
-
readonly type: "address";
|
|
1693
|
-
}, {
|
|
1694
|
-
readonly indexed: false;
|
|
1695
|
-
readonly name: "value";
|
|
1696
|
-
readonly type: "uint256";
|
|
1697
|
-
}];
|
|
1698
|
-
}, {
|
|
1699
|
-
readonly type: "event";
|
|
1700
|
-
readonly name: "Transfer";
|
|
1701
|
-
readonly inputs: readonly [{
|
|
1702
|
-
readonly indexed: true;
|
|
1703
|
-
readonly name: "from";
|
|
1704
|
-
readonly type: "address";
|
|
1705
|
-
}, {
|
|
1706
|
-
readonly indexed: true;
|
|
1707
|
-
readonly name: "to";
|
|
1708
|
-
readonly type: "address";
|
|
1709
|
-
}, {
|
|
1710
|
-
readonly indexed: false;
|
|
1711
|
-
readonly name: "value";
|
|
1712
|
-
readonly type: "uint256";
|
|
1713
|
-
}];
|
|
1714
|
-
}, {
|
|
1715
|
-
readonly type: "function";
|
|
1716
|
-
readonly name: "allowance";
|
|
1717
|
-
readonly stateMutability: "view";
|
|
1718
|
-
readonly inputs: readonly [{
|
|
1719
|
-
readonly name: "owner";
|
|
1720
|
-
readonly type: "address";
|
|
1721
|
-
}, {
|
|
1722
|
-
readonly name: "spender";
|
|
1723
|
-
readonly type: "address";
|
|
1724
|
-
}];
|
|
1725
|
-
readonly outputs: readonly [{
|
|
1726
|
-
readonly type: "uint256";
|
|
1727
|
-
}];
|
|
1728
|
-
}, {
|
|
1729
|
-
readonly type: "function";
|
|
1730
|
-
readonly name: "approve";
|
|
1731
|
-
readonly stateMutability: "nonpayable";
|
|
1732
|
-
readonly inputs: readonly [{
|
|
1733
|
-
readonly name: "spender";
|
|
1734
|
-
readonly type: "address";
|
|
1735
|
-
}, {
|
|
1736
|
-
readonly name: "amount";
|
|
1737
|
-
readonly type: "uint256";
|
|
1738
|
-
}];
|
|
1739
|
-
readonly outputs: readonly [{
|
|
1740
|
-
readonly type: "bool";
|
|
1741
|
-
}];
|
|
1742
|
-
}, {
|
|
1743
|
-
readonly type: "function";
|
|
1744
|
-
readonly name: "balanceOf";
|
|
1745
|
-
readonly stateMutability: "view";
|
|
1746
|
-
readonly inputs: readonly [{
|
|
1747
|
-
readonly name: "account";
|
|
1748
|
-
readonly type: "address";
|
|
1749
|
-
}];
|
|
1750
|
-
readonly outputs: readonly [{
|
|
1751
|
-
readonly type: "uint256";
|
|
1752
|
-
}];
|
|
1753
|
-
}, {
|
|
1754
|
-
readonly type: "function";
|
|
1755
|
-
readonly name: "decimals";
|
|
1756
|
-
readonly stateMutability: "view";
|
|
1757
|
-
readonly inputs: readonly [];
|
|
1758
|
-
readonly outputs: readonly [{
|
|
1759
|
-
readonly type: "uint8";
|
|
1760
|
-
}];
|
|
1761
|
-
}, {
|
|
1762
|
-
readonly type: "function";
|
|
1763
|
-
readonly name: "name";
|
|
1764
|
-
readonly stateMutability: "view";
|
|
1765
|
-
readonly inputs: readonly [];
|
|
1766
|
-
readonly outputs: readonly [{
|
|
1767
|
-
readonly type: "string";
|
|
1768
|
-
}];
|
|
1769
|
-
}, {
|
|
1770
|
-
readonly type: "function";
|
|
1771
|
-
readonly name: "symbol";
|
|
1772
|
-
readonly stateMutability: "view";
|
|
1773
|
-
readonly inputs: readonly [];
|
|
1774
|
-
readonly outputs: readonly [{
|
|
1775
|
-
readonly type: "string";
|
|
1776
|
-
}];
|
|
1777
|
-
}, {
|
|
1778
|
-
readonly type: "function";
|
|
1779
|
-
readonly name: "totalSupply";
|
|
1780
|
-
readonly stateMutability: "view";
|
|
1781
|
-
readonly inputs: readonly [];
|
|
1782
|
-
readonly outputs: readonly [{
|
|
1783
|
-
readonly type: "uint256";
|
|
1784
|
-
}];
|
|
1785
|
-
}, {
|
|
1786
|
-
readonly type: "function";
|
|
1787
|
-
readonly name: "transfer";
|
|
1788
|
-
readonly stateMutability: "nonpayable";
|
|
1789
|
-
readonly inputs: readonly [{
|
|
1790
|
-
readonly name: "recipient";
|
|
1791
|
-
readonly type: "address";
|
|
1792
|
-
}, {
|
|
1793
|
-
readonly name: "amount";
|
|
1794
|
-
readonly type: "uint256";
|
|
1795
|
-
}];
|
|
1796
|
-
readonly outputs: readonly [{
|
|
1797
|
-
readonly type: "bool";
|
|
1798
|
-
}];
|
|
1799
|
-
}, {
|
|
1800
|
-
readonly type: "function";
|
|
1801
|
-
readonly name: "transferFrom";
|
|
1802
|
-
readonly stateMutability: "nonpayable";
|
|
1803
|
-
readonly inputs: readonly [{
|
|
1804
|
-
readonly name: "sender";
|
|
1805
|
-
readonly type: "address";
|
|
1806
|
-
}, {
|
|
1807
|
-
readonly name: "recipient";
|
|
1808
|
-
readonly type: "address";
|
|
1809
|
-
}, {
|
|
1810
|
-
readonly name: "amount";
|
|
1811
|
-
readonly type: "uint256";
|
|
1812
|
-
}];
|
|
1813
|
-
readonly outputs: readonly [{
|
|
1814
|
-
readonly type: "bool";
|
|
1815
|
-
}];
|
|
1816
|
-
}];
|
|
1817
|
-
readonly read: {
|
|
1818
|
-
readonly decimals: () => 6;
|
|
1680
|
+
readonly disputeGameFactory: {
|
|
1681
|
+
readonly 1: {
|
|
1682
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
1819
1683
|
};
|
|
1820
1684
|
};
|
|
1821
|
-
readonly
|
|
1822
|
-
readonly
|
|
1823
|
-
|
|
1685
|
+
readonly l2OutputOracle: {
|
|
1686
|
+
readonly 1: {
|
|
1687
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
1688
|
+
};
|
|
1824
1689
|
};
|
|
1825
1690
|
readonly multicall3: {
|
|
1826
1691
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1827
|
-
readonly blockCreated:
|
|
1692
|
+
readonly blockCreated: 5022;
|
|
1693
|
+
};
|
|
1694
|
+
readonly portal: {
|
|
1695
|
+
readonly 1: {
|
|
1696
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
1697
|
+
readonly blockCreated: 17482143;
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
readonly l1StandardBridge: {
|
|
1701
|
+
readonly 1: {
|
|
1702
|
+
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
1703
|
+
readonly blockCreated: 17482143;
|
|
1704
|
+
};
|
|
1705
|
+
};
|
|
1706
|
+
readonly gasPriceOracle: {
|
|
1707
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1708
|
+
};
|
|
1709
|
+
readonly l1Block: {
|
|
1710
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
1711
|
+
};
|
|
1712
|
+
readonly l2CrossDomainMessenger: {
|
|
1713
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
1714
|
+
};
|
|
1715
|
+
readonly l2Erc721Bridge: {
|
|
1716
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
1717
|
+
};
|
|
1718
|
+
readonly l2StandardBridge: {
|
|
1719
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
1720
|
+
};
|
|
1721
|
+
readonly l2ToL1MessagePasser: {
|
|
1722
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
1828
1723
|
};
|
|
1829
1724
|
};
|
|
1830
1725
|
ensTlds?: readonly string[] | undefined;
|
|
1831
|
-
id:
|
|
1832
|
-
name: "
|
|
1726
|
+
id: 8453;
|
|
1727
|
+
name: "Base";
|
|
1833
1728
|
nativeCurrency: {
|
|
1834
1729
|
readonly name: "Ether";
|
|
1835
1730
|
readonly symbol: "ETH";
|
|
@@ -1838,36 +1733,268 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
1838
1733
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1839
1734
|
rpcUrls: {
|
|
1840
1735
|
readonly default: {
|
|
1841
|
-
readonly http: readonly ["https://
|
|
1736
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
1842
1737
|
};
|
|
1843
1738
|
};
|
|
1844
|
-
sourceId
|
|
1739
|
+
sourceId: 1;
|
|
1845
1740
|
testnet?: boolean | undefined | undefined;
|
|
1846
1741
|
custom?: Record<string, unknown> | undefined;
|
|
1847
1742
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1743
|
+
formatters: {
|
|
1744
|
+
readonly block: {
|
|
1745
|
+
exclude: [] | undefined;
|
|
1746
|
+
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
1747
|
+
baseFeePerGas: bigint | null;
|
|
1748
|
+
blobGasUsed: bigint;
|
|
1749
|
+
difficulty: bigint;
|
|
1750
|
+
excessBlobGas: bigint;
|
|
1751
|
+
extraData: import("viem").Hex;
|
|
1752
|
+
gasLimit: bigint;
|
|
1753
|
+
gasUsed: bigint;
|
|
1754
|
+
hash: `0x${string}` | null;
|
|
1755
|
+
logsBloom: `0x${string}` | null;
|
|
1756
|
+
miner: import("abitype").Address;
|
|
1757
|
+
mixHash: import("viem").Hash;
|
|
1758
|
+
nonce: `0x${string}` | null;
|
|
1759
|
+
number: bigint | null;
|
|
1760
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
1761
|
+
parentHash: import("viem").Hash;
|
|
1762
|
+
receiptsRoot: import("viem").Hex;
|
|
1763
|
+
sealFields: import("viem").Hex[];
|
|
1764
|
+
sha3Uncles: import("viem").Hash;
|
|
1765
|
+
size: bigint;
|
|
1766
|
+
stateRoot: import("viem").Hash;
|
|
1767
|
+
timestamp: bigint;
|
|
1768
|
+
totalDifficulty: bigint | null;
|
|
1769
|
+
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
1770
|
+
transactionsRoot: import("viem").Hash;
|
|
1771
|
+
uncles: import("viem").Hash[];
|
|
1772
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
1773
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
1774
|
+
} & {};
|
|
1775
|
+
type: "block";
|
|
1858
1776
|
};
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1777
|
+
readonly transaction: {
|
|
1778
|
+
exclude: [] | undefined;
|
|
1779
|
+
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
1780
|
+
blockHash: `0x${string}` | null;
|
|
1781
|
+
blockNumber: bigint | null;
|
|
1782
|
+
from: import("abitype").Address;
|
|
1783
|
+
gas: bigint;
|
|
1784
|
+
hash: import("viem").Hash;
|
|
1785
|
+
input: import("viem").Hex;
|
|
1786
|
+
nonce: number;
|
|
1787
|
+
r: import("viem").Hex;
|
|
1788
|
+
s: import("viem").Hex;
|
|
1789
|
+
to: import("abitype").Address | null;
|
|
1790
|
+
transactionIndex: number | null;
|
|
1791
|
+
typeHex: import("viem").Hex | null;
|
|
1792
|
+
v: bigint;
|
|
1793
|
+
value: bigint;
|
|
1794
|
+
yParity: number;
|
|
1795
|
+
gasPrice?: undefined | undefined;
|
|
1796
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1797
|
+
maxFeePerGas: bigint;
|
|
1798
|
+
maxPriorityFeePerGas: bigint;
|
|
1799
|
+
isSystemTx?: boolean;
|
|
1800
|
+
mint?: bigint | undefined | undefined;
|
|
1801
|
+
sourceHash: import("viem").Hex;
|
|
1802
|
+
type: "deposit";
|
|
1803
|
+
} | {
|
|
1804
|
+
r: import("viem").Hex;
|
|
1805
|
+
s: import("viem").Hex;
|
|
1806
|
+
v: bigint;
|
|
1807
|
+
to: import("abitype").Address | null;
|
|
1808
|
+
from: import("abitype").Address;
|
|
1809
|
+
gas: bigint;
|
|
1810
|
+
nonce: number;
|
|
1811
|
+
value: bigint;
|
|
1812
|
+
blockHash: `0x${string}` | null;
|
|
1813
|
+
blockNumber: bigint | null;
|
|
1814
|
+
hash: import("viem").Hash;
|
|
1815
|
+
input: import("viem").Hex;
|
|
1816
|
+
transactionIndex: number | null;
|
|
1817
|
+
typeHex: import("viem").Hex | null;
|
|
1818
|
+
accessList?: undefined | undefined;
|
|
1819
|
+
authorizationList?: undefined | undefined;
|
|
1820
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1821
|
+
chainId?: number | undefined;
|
|
1822
|
+
yParity?: undefined | undefined;
|
|
1823
|
+
type: "legacy";
|
|
1824
|
+
gasPrice: bigint;
|
|
1825
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1826
|
+
maxFeePerGas?: undefined | undefined;
|
|
1827
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1828
|
+
isSystemTx?: undefined | undefined;
|
|
1829
|
+
mint?: undefined | undefined;
|
|
1830
|
+
sourceHash?: undefined | undefined;
|
|
1831
|
+
} | {
|
|
1832
|
+
blockHash: `0x${string}` | null;
|
|
1833
|
+
blockNumber: bigint | null;
|
|
1834
|
+
from: import("abitype").Address;
|
|
1835
|
+
gas: bigint;
|
|
1836
|
+
hash: import("viem").Hash;
|
|
1837
|
+
input: import("viem").Hex;
|
|
1838
|
+
nonce: number;
|
|
1839
|
+
r: import("viem").Hex;
|
|
1840
|
+
s: import("viem").Hex;
|
|
1841
|
+
to: import("abitype").Address | null;
|
|
1842
|
+
transactionIndex: number | null;
|
|
1843
|
+
typeHex: import("viem").Hex | null;
|
|
1844
|
+
v: bigint;
|
|
1845
|
+
value: bigint;
|
|
1846
|
+
yParity: number;
|
|
1847
|
+
accessList: import("viem").AccessList;
|
|
1848
|
+
authorizationList?: undefined | undefined;
|
|
1849
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1850
|
+
chainId: number;
|
|
1851
|
+
type: "eip2930";
|
|
1852
|
+
gasPrice: bigint;
|
|
1853
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1854
|
+
maxFeePerGas?: undefined | undefined;
|
|
1855
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1856
|
+
isSystemTx?: undefined | undefined;
|
|
1857
|
+
mint?: undefined | undefined;
|
|
1858
|
+
sourceHash?: undefined | undefined;
|
|
1859
|
+
} | {
|
|
1860
|
+
blockHash: `0x${string}` | null;
|
|
1861
|
+
blockNumber: bigint | null;
|
|
1862
|
+
from: import("abitype").Address;
|
|
1863
|
+
gas: bigint;
|
|
1864
|
+
hash: import("viem").Hash;
|
|
1865
|
+
input: import("viem").Hex;
|
|
1866
|
+
nonce: number;
|
|
1867
|
+
r: import("viem").Hex;
|
|
1868
|
+
s: import("viem").Hex;
|
|
1869
|
+
to: import("abitype").Address | null;
|
|
1870
|
+
transactionIndex: number | null;
|
|
1871
|
+
typeHex: import("viem").Hex | null;
|
|
1872
|
+
v: bigint;
|
|
1873
|
+
value: bigint;
|
|
1874
|
+
yParity: number;
|
|
1875
|
+
accessList: import("viem").AccessList;
|
|
1876
|
+
authorizationList?: undefined | undefined;
|
|
1877
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1878
|
+
chainId: number;
|
|
1879
|
+
type: "eip1559";
|
|
1880
|
+
gasPrice?: undefined | undefined;
|
|
1881
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1882
|
+
maxFeePerGas: bigint;
|
|
1883
|
+
maxPriorityFeePerGas: bigint;
|
|
1884
|
+
isSystemTx?: undefined | undefined;
|
|
1885
|
+
mint?: undefined | undefined;
|
|
1886
|
+
sourceHash?: undefined | undefined;
|
|
1887
|
+
} | {
|
|
1888
|
+
blockHash: `0x${string}` | null;
|
|
1889
|
+
blockNumber: bigint | null;
|
|
1890
|
+
from: import("abitype").Address;
|
|
1891
|
+
gas: bigint;
|
|
1892
|
+
hash: import("viem").Hash;
|
|
1893
|
+
input: import("viem").Hex;
|
|
1894
|
+
nonce: number;
|
|
1895
|
+
r: import("viem").Hex;
|
|
1896
|
+
s: import("viem").Hex;
|
|
1897
|
+
to: import("abitype").Address | null;
|
|
1898
|
+
transactionIndex: number | null;
|
|
1899
|
+
typeHex: import("viem").Hex | null;
|
|
1900
|
+
v: bigint;
|
|
1901
|
+
value: bigint;
|
|
1902
|
+
yParity: number;
|
|
1903
|
+
accessList: import("viem").AccessList;
|
|
1904
|
+
authorizationList?: undefined | undefined;
|
|
1905
|
+
blobVersionedHashes: readonly import("viem").Hex[];
|
|
1906
|
+
chainId: number;
|
|
1907
|
+
type: "eip4844";
|
|
1908
|
+
gasPrice?: undefined | undefined;
|
|
1909
|
+
maxFeePerBlobGas: bigint;
|
|
1910
|
+
maxFeePerGas: bigint;
|
|
1911
|
+
maxPriorityFeePerGas: bigint;
|
|
1912
|
+
isSystemTx?: undefined | undefined;
|
|
1913
|
+
mint?: undefined | undefined;
|
|
1914
|
+
sourceHash?: undefined | undefined;
|
|
1915
|
+
} | {
|
|
1916
|
+
blockHash: `0x${string}` | null;
|
|
1917
|
+
blockNumber: bigint | null;
|
|
1918
|
+
from: import("abitype").Address;
|
|
1919
|
+
gas: bigint;
|
|
1920
|
+
hash: import("viem").Hash;
|
|
1921
|
+
input: import("viem").Hex;
|
|
1922
|
+
nonce: number;
|
|
1923
|
+
r: import("viem").Hex;
|
|
1924
|
+
s: import("viem").Hex;
|
|
1925
|
+
to: import("abitype").Address | null;
|
|
1926
|
+
transactionIndex: number | null;
|
|
1927
|
+
typeHex: import("viem").Hex | null;
|
|
1928
|
+
v: bigint;
|
|
1929
|
+
value: bigint;
|
|
1930
|
+
yParity: number;
|
|
1931
|
+
accessList: import("viem").AccessList;
|
|
1932
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
1933
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1934
|
+
chainId: number;
|
|
1935
|
+
type: "eip7702";
|
|
1936
|
+
gasPrice?: undefined | undefined;
|
|
1937
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1938
|
+
maxFeePerGas: bigint;
|
|
1939
|
+
maxPriorityFeePerGas: bigint;
|
|
1940
|
+
isSystemTx?: undefined | undefined;
|
|
1941
|
+
mint?: undefined | undefined;
|
|
1942
|
+
sourceHash?: undefined | undefined;
|
|
1943
|
+
}) & {};
|
|
1944
|
+
type: "transaction";
|
|
1945
|
+
};
|
|
1946
|
+
readonly transactionReceipt: {
|
|
1947
|
+
exclude: [] | undefined;
|
|
1948
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
1949
|
+
blobGasPrice?: bigint | undefined;
|
|
1950
|
+
blobGasUsed?: bigint | undefined;
|
|
1951
|
+
blockHash: import("viem").Hash;
|
|
1952
|
+
blockNumber: bigint;
|
|
1953
|
+
contractAddress: import("abitype").Address | null | undefined;
|
|
1954
|
+
cumulativeGasUsed: bigint;
|
|
1955
|
+
effectiveGasPrice: bigint;
|
|
1956
|
+
from: import("abitype").Address;
|
|
1957
|
+
gasUsed: bigint;
|
|
1958
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
1959
|
+
logsBloom: import("viem").Hex;
|
|
1960
|
+
root?: `0x${string}` | undefined;
|
|
1961
|
+
status: "success" | "reverted";
|
|
1962
|
+
to: import("abitype").Address | null;
|
|
1963
|
+
transactionHash: import("viem").Hash;
|
|
1964
|
+
transactionIndex: number;
|
|
1965
|
+
type: import("viem").TransactionType;
|
|
1966
|
+
l1GasPrice: bigint | null;
|
|
1967
|
+
l1GasUsed: bigint | null;
|
|
1968
|
+
l1Fee: bigint | null;
|
|
1969
|
+
l1FeeScalar: number | null;
|
|
1970
|
+
} & {};
|
|
1971
|
+
type: "transactionReceipt";
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1974
|
+
serializers: {
|
|
1975
|
+
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
1976
|
+
};
|
|
1977
|
+
readonly blockchainId: "BASE";
|
|
1978
|
+
readonly blockchainVm: "EVM";
|
|
1979
|
+
} | {
|
|
1980
|
+
blockExplorers: {
|
|
1981
|
+
readonly default: {
|
|
1982
|
+
readonly name: "Basescan";
|
|
1983
|
+
readonly url: "https://sepolia.basescan.org";
|
|
1984
|
+
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
blockTime: 2000;
|
|
1988
|
+
contracts: {
|
|
1989
|
+
readonly USDC: {
|
|
1990
|
+
readonly address: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
1991
|
+
readonly abi: readonly [{
|
|
1992
|
+
readonly type: "event";
|
|
1993
|
+
readonly name: "Approval";
|
|
1994
|
+
readonly inputs: readonly [{
|
|
1995
|
+
readonly indexed: true;
|
|
1996
|
+
readonly name: "owner";
|
|
1997
|
+
readonly type: "address";
|
|
1871
1998
|
}, {
|
|
1872
1999
|
readonly indexed: true;
|
|
1873
2000
|
readonly name: "spender";
|
|
@@ -2001,7 +2128,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
2001
2128
|
};
|
|
2002
2129
|
};
|
|
2003
2130
|
readonly EURC: {
|
|
2004
|
-
readonly address: "
|
|
2131
|
+
readonly address: "0x808456652fdb597867f38412077A9182bf77359F";
|
|
2005
2132
|
readonly abi: readonly [{
|
|
2006
2133
|
readonly type: "event";
|
|
2007
2134
|
readonly name: "Approval";
|
|
@@ -2141,240 +2268,331 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
2141
2268
|
readonly decimals: () => 6;
|
|
2142
2269
|
};
|
|
2143
2270
|
};
|
|
2271
|
+
readonly disputeGameFactory: {
|
|
2272
|
+
readonly 11155111: {
|
|
2273
|
+
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
2274
|
+
};
|
|
2275
|
+
};
|
|
2276
|
+
readonly l2OutputOracle: {
|
|
2277
|
+
readonly 11155111: {
|
|
2278
|
+
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
2279
|
+
};
|
|
2280
|
+
};
|
|
2281
|
+
readonly portal: {
|
|
2282
|
+
readonly 11155111: {
|
|
2283
|
+
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
2284
|
+
readonly blockCreated: 4446677;
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2287
|
+
readonly l1StandardBridge: {
|
|
2288
|
+
readonly 11155111: {
|
|
2289
|
+
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
2290
|
+
readonly blockCreated: 4446677;
|
|
2291
|
+
};
|
|
2292
|
+
};
|
|
2144
2293
|
readonly multicall3: {
|
|
2145
2294
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2146
|
-
readonly blockCreated:
|
|
2295
|
+
readonly blockCreated: 1059647;
|
|
2147
2296
|
};
|
|
2148
|
-
readonly
|
|
2149
|
-
readonly address: "
|
|
2150
|
-
readonly blockCreated: 8928790;
|
|
2297
|
+
readonly gasPriceOracle: {
|
|
2298
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
2151
2299
|
};
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
id: 11155111;
|
|
2155
|
-
name: "Sepolia";
|
|
2156
|
-
nativeCurrency: {
|
|
2157
|
-
readonly name: "Sepolia Ether";
|
|
2158
|
-
readonly symbol: "ETH";
|
|
2159
|
-
readonly decimals: 18;
|
|
2160
|
-
};
|
|
2161
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2162
|
-
rpcUrls: {
|
|
2163
|
-
readonly default: {
|
|
2164
|
-
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
2300
|
+
readonly l1Block: {
|
|
2301
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
2165
2302
|
};
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
testnet: true;
|
|
2169
|
-
custom?: Record<string, unknown> | undefined;
|
|
2170
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2171
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
2172
|
-
readonly blockchainId: "ETH-SEPOLIA";
|
|
2173
|
-
readonly blockchainVm: "EVM";
|
|
2174
|
-
readonly formatters?: undefined | undefined;
|
|
2175
|
-
} | {
|
|
2176
|
-
blockExplorers: {
|
|
2177
|
-
readonly default: {
|
|
2178
|
-
readonly name: "PolygonScan";
|
|
2179
|
-
readonly url: "https://polygonscan.com";
|
|
2180
|
-
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
2303
|
+
readonly l2CrossDomainMessenger: {
|
|
2304
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
2181
2305
|
};
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
contracts: {
|
|
2185
|
-
readonly USDC: {
|
|
2186
|
-
readonly address: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359";
|
|
2187
|
-
readonly abi: readonly [{
|
|
2188
|
-
readonly type: "event";
|
|
2189
|
-
readonly name: "Approval";
|
|
2190
|
-
readonly inputs: readonly [{
|
|
2191
|
-
readonly indexed: true;
|
|
2192
|
-
readonly name: "owner";
|
|
2193
|
-
readonly type: "address";
|
|
2194
|
-
}, {
|
|
2195
|
-
readonly indexed: true;
|
|
2196
|
-
readonly name: "spender";
|
|
2197
|
-
readonly type: "address";
|
|
2198
|
-
}, {
|
|
2199
|
-
readonly indexed: false;
|
|
2200
|
-
readonly name: "value";
|
|
2201
|
-
readonly type: "uint256";
|
|
2202
|
-
}];
|
|
2203
|
-
}, {
|
|
2204
|
-
readonly type: "event";
|
|
2205
|
-
readonly name: "Transfer";
|
|
2206
|
-
readonly inputs: readonly [{
|
|
2207
|
-
readonly indexed: true;
|
|
2208
|
-
readonly name: "from";
|
|
2209
|
-
readonly type: "address";
|
|
2210
|
-
}, {
|
|
2211
|
-
readonly indexed: true;
|
|
2212
|
-
readonly name: "to";
|
|
2213
|
-
readonly type: "address";
|
|
2214
|
-
}, {
|
|
2215
|
-
readonly indexed: false;
|
|
2216
|
-
readonly name: "value";
|
|
2217
|
-
readonly type: "uint256";
|
|
2218
|
-
}];
|
|
2219
|
-
}, {
|
|
2220
|
-
readonly type: "function";
|
|
2221
|
-
readonly name: "allowance";
|
|
2222
|
-
readonly stateMutability: "view";
|
|
2223
|
-
readonly inputs: readonly [{
|
|
2224
|
-
readonly name: "owner";
|
|
2225
|
-
readonly type: "address";
|
|
2226
|
-
}, {
|
|
2227
|
-
readonly name: "spender";
|
|
2228
|
-
readonly type: "address";
|
|
2229
|
-
}];
|
|
2230
|
-
readonly outputs: readonly [{
|
|
2231
|
-
readonly type: "uint256";
|
|
2232
|
-
}];
|
|
2233
|
-
}, {
|
|
2234
|
-
readonly type: "function";
|
|
2235
|
-
readonly name: "approve";
|
|
2236
|
-
readonly stateMutability: "nonpayable";
|
|
2237
|
-
readonly inputs: readonly [{
|
|
2238
|
-
readonly name: "spender";
|
|
2239
|
-
readonly type: "address";
|
|
2240
|
-
}, {
|
|
2241
|
-
readonly name: "amount";
|
|
2242
|
-
readonly type: "uint256";
|
|
2243
|
-
}];
|
|
2244
|
-
readonly outputs: readonly [{
|
|
2245
|
-
readonly type: "bool";
|
|
2246
|
-
}];
|
|
2247
|
-
}, {
|
|
2248
|
-
readonly type: "function";
|
|
2249
|
-
readonly name: "balanceOf";
|
|
2250
|
-
readonly stateMutability: "view";
|
|
2251
|
-
readonly inputs: readonly [{
|
|
2252
|
-
readonly name: "account";
|
|
2253
|
-
readonly type: "address";
|
|
2254
|
-
}];
|
|
2255
|
-
readonly outputs: readonly [{
|
|
2256
|
-
readonly type: "uint256";
|
|
2257
|
-
}];
|
|
2258
|
-
}, {
|
|
2259
|
-
readonly type: "function";
|
|
2260
|
-
readonly name: "decimals";
|
|
2261
|
-
readonly stateMutability: "view";
|
|
2262
|
-
readonly inputs: readonly [];
|
|
2263
|
-
readonly outputs: readonly [{
|
|
2264
|
-
readonly type: "uint8";
|
|
2265
|
-
}];
|
|
2266
|
-
}, {
|
|
2267
|
-
readonly type: "function";
|
|
2268
|
-
readonly name: "name";
|
|
2269
|
-
readonly stateMutability: "view";
|
|
2270
|
-
readonly inputs: readonly [];
|
|
2271
|
-
readonly outputs: readonly [{
|
|
2272
|
-
readonly type: "string";
|
|
2273
|
-
}];
|
|
2274
|
-
}, {
|
|
2275
|
-
readonly type: "function";
|
|
2276
|
-
readonly name: "symbol";
|
|
2277
|
-
readonly stateMutability: "view";
|
|
2278
|
-
readonly inputs: readonly [];
|
|
2279
|
-
readonly outputs: readonly [{
|
|
2280
|
-
readonly type: "string";
|
|
2281
|
-
}];
|
|
2282
|
-
}, {
|
|
2283
|
-
readonly type: "function";
|
|
2284
|
-
readonly name: "totalSupply";
|
|
2285
|
-
readonly stateMutability: "view";
|
|
2286
|
-
readonly inputs: readonly [];
|
|
2287
|
-
readonly outputs: readonly [{
|
|
2288
|
-
readonly type: "uint256";
|
|
2289
|
-
}];
|
|
2290
|
-
}, {
|
|
2291
|
-
readonly type: "function";
|
|
2292
|
-
readonly name: "transfer";
|
|
2293
|
-
readonly stateMutability: "nonpayable";
|
|
2294
|
-
readonly inputs: readonly [{
|
|
2295
|
-
readonly name: "recipient";
|
|
2296
|
-
readonly type: "address";
|
|
2297
|
-
}, {
|
|
2298
|
-
readonly name: "amount";
|
|
2299
|
-
readonly type: "uint256";
|
|
2300
|
-
}];
|
|
2301
|
-
readonly outputs: readonly [{
|
|
2302
|
-
readonly type: "bool";
|
|
2303
|
-
}];
|
|
2304
|
-
}, {
|
|
2305
|
-
readonly type: "function";
|
|
2306
|
-
readonly name: "transferFrom";
|
|
2307
|
-
readonly stateMutability: "nonpayable";
|
|
2308
|
-
readonly inputs: readonly [{
|
|
2309
|
-
readonly name: "sender";
|
|
2310
|
-
readonly type: "address";
|
|
2311
|
-
}, {
|
|
2312
|
-
readonly name: "recipient";
|
|
2313
|
-
readonly type: "address";
|
|
2314
|
-
}, {
|
|
2315
|
-
readonly name: "amount";
|
|
2316
|
-
readonly type: "uint256";
|
|
2317
|
-
}];
|
|
2318
|
-
readonly outputs: readonly [{
|
|
2319
|
-
readonly type: "bool";
|
|
2320
|
-
}];
|
|
2321
|
-
}];
|
|
2322
|
-
readonly read: {
|
|
2323
|
-
readonly decimals: () => 6;
|
|
2324
|
-
};
|
|
2306
|
+
readonly l2Erc721Bridge: {
|
|
2307
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
2325
2308
|
};
|
|
2326
|
-
readonly
|
|
2327
|
-
readonly address: "
|
|
2328
|
-
|
|
2309
|
+
readonly l2StandardBridge: {
|
|
2310
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
2311
|
+
};
|
|
2312
|
+
readonly l2ToL1MessagePasser: {
|
|
2313
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
2329
2314
|
};
|
|
2330
2315
|
};
|
|
2331
2316
|
ensTlds?: readonly string[] | undefined;
|
|
2332
|
-
id:
|
|
2333
|
-
name: "
|
|
2317
|
+
id: 84532;
|
|
2318
|
+
name: "Base Sepolia";
|
|
2334
2319
|
nativeCurrency: {
|
|
2335
|
-
readonly name: "
|
|
2336
|
-
readonly symbol: "
|
|
2320
|
+
readonly name: "Sepolia Ether";
|
|
2321
|
+
readonly symbol: "ETH";
|
|
2337
2322
|
readonly decimals: 18;
|
|
2338
2323
|
};
|
|
2339
2324
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2340
2325
|
rpcUrls: {
|
|
2341
2326
|
readonly default: {
|
|
2342
|
-
readonly http: readonly ["https://
|
|
2327
|
+
readonly http: readonly ["https://sepolia.base.org"];
|
|
2343
2328
|
};
|
|
2344
2329
|
};
|
|
2345
|
-
sourceId
|
|
2346
|
-
testnet
|
|
2330
|
+
sourceId: 11155111;
|
|
2331
|
+
testnet: true;
|
|
2347
2332
|
custom?: Record<string, unknown> | undefined;
|
|
2348
2333
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2334
|
+
formatters: {
|
|
2335
|
+
readonly block: {
|
|
2336
|
+
exclude: [] | undefined;
|
|
2337
|
+
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
2338
|
+
baseFeePerGas: bigint | null;
|
|
2339
|
+
blobGasUsed: bigint;
|
|
2340
|
+
difficulty: bigint;
|
|
2341
|
+
excessBlobGas: bigint;
|
|
2342
|
+
extraData: import("viem").Hex;
|
|
2343
|
+
gasLimit: bigint;
|
|
2344
|
+
gasUsed: bigint;
|
|
2345
|
+
hash: `0x${string}` | null;
|
|
2346
|
+
logsBloom: `0x${string}` | null;
|
|
2347
|
+
miner: import("abitype").Address;
|
|
2348
|
+
mixHash: import("viem").Hash;
|
|
2349
|
+
nonce: `0x${string}` | null;
|
|
2350
|
+
number: bigint | null;
|
|
2351
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
2352
|
+
parentHash: import("viem").Hash;
|
|
2353
|
+
receiptsRoot: import("viem").Hex;
|
|
2354
|
+
sealFields: import("viem").Hex[];
|
|
2355
|
+
sha3Uncles: import("viem").Hash;
|
|
2356
|
+
size: bigint;
|
|
2357
|
+
stateRoot: import("viem").Hash;
|
|
2358
|
+
timestamp: bigint;
|
|
2359
|
+
totalDifficulty: bigint | null;
|
|
2360
|
+
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
2361
|
+
transactionsRoot: import("viem").Hash;
|
|
2362
|
+
uncles: import("viem").Hash[];
|
|
2363
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
2364
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
2365
|
+
} & {};
|
|
2366
|
+
type: "block";
|
|
2359
2367
|
};
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2368
|
+
readonly transaction: {
|
|
2369
|
+
exclude: [] | undefined;
|
|
2370
|
+
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
2371
|
+
blockHash: `0x${string}` | null;
|
|
2372
|
+
blockNumber: bigint | null;
|
|
2373
|
+
from: import("abitype").Address;
|
|
2374
|
+
gas: bigint;
|
|
2375
|
+
hash: import("viem").Hash;
|
|
2376
|
+
input: import("viem").Hex;
|
|
2377
|
+
nonce: number;
|
|
2378
|
+
r: import("viem").Hex;
|
|
2379
|
+
s: import("viem").Hex;
|
|
2380
|
+
to: import("abitype").Address | null;
|
|
2381
|
+
transactionIndex: number | null;
|
|
2382
|
+
typeHex: import("viem").Hex | null;
|
|
2383
|
+
v: bigint;
|
|
2384
|
+
value: bigint;
|
|
2385
|
+
yParity: number;
|
|
2386
|
+
gasPrice?: undefined | undefined;
|
|
2387
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2388
|
+
maxFeePerGas: bigint;
|
|
2389
|
+
maxPriorityFeePerGas: bigint;
|
|
2390
|
+
isSystemTx?: boolean;
|
|
2391
|
+
mint?: bigint | undefined | undefined;
|
|
2392
|
+
sourceHash: import("viem").Hex;
|
|
2393
|
+
type: "deposit";
|
|
2394
|
+
} | {
|
|
2395
|
+
r: import("viem").Hex;
|
|
2396
|
+
s: import("viem").Hex;
|
|
2397
|
+
v: bigint;
|
|
2398
|
+
to: import("abitype").Address | null;
|
|
2399
|
+
from: import("abitype").Address;
|
|
2400
|
+
gas: bigint;
|
|
2401
|
+
nonce: number;
|
|
2402
|
+
value: bigint;
|
|
2403
|
+
blockHash: `0x${string}` | null;
|
|
2404
|
+
blockNumber: bigint | null;
|
|
2405
|
+
hash: import("viem").Hash;
|
|
2406
|
+
input: import("viem").Hex;
|
|
2407
|
+
transactionIndex: number | null;
|
|
2408
|
+
typeHex: import("viem").Hex | null;
|
|
2409
|
+
accessList?: undefined | undefined;
|
|
2410
|
+
authorizationList?: undefined | undefined;
|
|
2411
|
+
blobVersionedHashes?: undefined | undefined;
|
|
2412
|
+
chainId?: number | undefined;
|
|
2413
|
+
yParity?: undefined | undefined;
|
|
2414
|
+
type: "legacy";
|
|
2415
|
+
gasPrice: bigint;
|
|
2416
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2417
|
+
maxFeePerGas?: undefined | undefined;
|
|
2418
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
2419
|
+
isSystemTx?: undefined | undefined;
|
|
2420
|
+
mint?: undefined | undefined;
|
|
2421
|
+
sourceHash?: undefined | undefined;
|
|
2422
|
+
} | {
|
|
2423
|
+
blockHash: `0x${string}` | null;
|
|
2424
|
+
blockNumber: bigint | null;
|
|
2425
|
+
from: import("abitype").Address;
|
|
2426
|
+
gas: bigint;
|
|
2427
|
+
hash: import("viem").Hash;
|
|
2428
|
+
input: import("viem").Hex;
|
|
2429
|
+
nonce: number;
|
|
2430
|
+
r: import("viem").Hex;
|
|
2431
|
+
s: import("viem").Hex;
|
|
2432
|
+
to: import("abitype").Address | null;
|
|
2433
|
+
transactionIndex: number | null;
|
|
2434
|
+
typeHex: import("viem").Hex | null;
|
|
2435
|
+
v: bigint;
|
|
2436
|
+
value: bigint;
|
|
2437
|
+
yParity: number;
|
|
2438
|
+
accessList: import("viem").AccessList;
|
|
2439
|
+
authorizationList?: undefined | undefined;
|
|
2440
|
+
blobVersionedHashes?: undefined | undefined;
|
|
2441
|
+
chainId: number;
|
|
2442
|
+
type: "eip2930";
|
|
2443
|
+
gasPrice: bigint;
|
|
2444
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2445
|
+
maxFeePerGas?: undefined | undefined;
|
|
2446
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
2447
|
+
isSystemTx?: undefined | undefined;
|
|
2448
|
+
mint?: undefined | undefined;
|
|
2449
|
+
sourceHash?: undefined | undefined;
|
|
2450
|
+
} | {
|
|
2451
|
+
blockHash: `0x${string}` | null;
|
|
2452
|
+
blockNumber: bigint | null;
|
|
2453
|
+
from: import("abitype").Address;
|
|
2454
|
+
gas: bigint;
|
|
2455
|
+
hash: import("viem").Hash;
|
|
2456
|
+
input: import("viem").Hex;
|
|
2457
|
+
nonce: number;
|
|
2458
|
+
r: import("viem").Hex;
|
|
2459
|
+
s: import("viem").Hex;
|
|
2460
|
+
to: import("abitype").Address | null;
|
|
2461
|
+
transactionIndex: number | null;
|
|
2462
|
+
typeHex: import("viem").Hex | null;
|
|
2463
|
+
v: bigint;
|
|
2464
|
+
value: bigint;
|
|
2465
|
+
yParity: number;
|
|
2466
|
+
accessList: import("viem").AccessList;
|
|
2467
|
+
authorizationList?: undefined | undefined;
|
|
2468
|
+
blobVersionedHashes?: undefined | undefined;
|
|
2469
|
+
chainId: number;
|
|
2470
|
+
type: "eip1559";
|
|
2471
|
+
gasPrice?: undefined | undefined;
|
|
2472
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2473
|
+
maxFeePerGas: bigint;
|
|
2474
|
+
maxPriorityFeePerGas: bigint;
|
|
2475
|
+
isSystemTx?: undefined | undefined;
|
|
2476
|
+
mint?: undefined | undefined;
|
|
2477
|
+
sourceHash?: undefined | undefined;
|
|
2478
|
+
} | {
|
|
2479
|
+
blockHash: `0x${string}` | null;
|
|
2480
|
+
blockNumber: bigint | null;
|
|
2481
|
+
from: import("abitype").Address;
|
|
2482
|
+
gas: bigint;
|
|
2483
|
+
hash: import("viem").Hash;
|
|
2484
|
+
input: import("viem").Hex;
|
|
2485
|
+
nonce: number;
|
|
2486
|
+
r: import("viem").Hex;
|
|
2487
|
+
s: import("viem").Hex;
|
|
2488
|
+
to: import("abitype").Address | null;
|
|
2489
|
+
transactionIndex: number | null;
|
|
2490
|
+
typeHex: import("viem").Hex | null;
|
|
2491
|
+
v: bigint;
|
|
2492
|
+
value: bigint;
|
|
2493
|
+
yParity: number;
|
|
2494
|
+
accessList: import("viem").AccessList;
|
|
2495
|
+
authorizationList?: undefined | undefined;
|
|
2496
|
+
blobVersionedHashes: readonly import("viem").Hex[];
|
|
2497
|
+
chainId: number;
|
|
2498
|
+
type: "eip4844";
|
|
2499
|
+
gasPrice?: undefined | undefined;
|
|
2500
|
+
maxFeePerBlobGas: bigint;
|
|
2501
|
+
maxFeePerGas: bigint;
|
|
2502
|
+
maxPriorityFeePerGas: bigint;
|
|
2503
|
+
isSystemTx?: undefined | undefined;
|
|
2504
|
+
mint?: undefined | undefined;
|
|
2505
|
+
sourceHash?: undefined | undefined;
|
|
2506
|
+
} | {
|
|
2507
|
+
blockHash: `0x${string}` | null;
|
|
2508
|
+
blockNumber: bigint | null;
|
|
2509
|
+
from: import("abitype").Address;
|
|
2510
|
+
gas: bigint;
|
|
2511
|
+
hash: import("viem").Hash;
|
|
2512
|
+
input: import("viem").Hex;
|
|
2513
|
+
nonce: number;
|
|
2514
|
+
r: import("viem").Hex;
|
|
2515
|
+
s: import("viem").Hex;
|
|
2516
|
+
to: import("abitype").Address | null;
|
|
2517
|
+
transactionIndex: number | null;
|
|
2518
|
+
typeHex: import("viem").Hex | null;
|
|
2519
|
+
v: bigint;
|
|
2520
|
+
value: bigint;
|
|
2521
|
+
yParity: number;
|
|
2522
|
+
accessList: import("viem").AccessList;
|
|
2523
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
2524
|
+
blobVersionedHashes?: undefined | undefined;
|
|
2525
|
+
chainId: number;
|
|
2526
|
+
type: "eip7702";
|
|
2527
|
+
gasPrice?: undefined | undefined;
|
|
2528
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2529
|
+
maxFeePerGas: bigint;
|
|
2530
|
+
maxPriorityFeePerGas: bigint;
|
|
2531
|
+
isSystemTx?: undefined | undefined;
|
|
2532
|
+
mint?: undefined | undefined;
|
|
2533
|
+
sourceHash?: undefined | undefined;
|
|
2534
|
+
}) & {};
|
|
2535
|
+
type: "transaction";
|
|
2536
|
+
};
|
|
2537
|
+
readonly transactionReceipt: {
|
|
2538
|
+
exclude: [] | undefined;
|
|
2539
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
2540
|
+
blobGasPrice?: bigint | undefined;
|
|
2541
|
+
blobGasUsed?: bigint | undefined;
|
|
2542
|
+
blockHash: import("viem").Hash;
|
|
2543
|
+
blockNumber: bigint;
|
|
2544
|
+
contractAddress: import("abitype").Address | null | undefined;
|
|
2545
|
+
cumulativeGasUsed: bigint;
|
|
2546
|
+
effectiveGasPrice: bigint;
|
|
2547
|
+
from: import("abitype").Address;
|
|
2548
|
+
gasUsed: bigint;
|
|
2549
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
2550
|
+
logsBloom: import("viem").Hex;
|
|
2551
|
+
root?: `0x${string}` | undefined;
|
|
2552
|
+
status: "success" | "reverted";
|
|
2553
|
+
to: import("abitype").Address | null;
|
|
2554
|
+
transactionHash: import("viem").Hash;
|
|
2555
|
+
transactionIndex: number;
|
|
2556
|
+
type: import("viem").TransactionType;
|
|
2557
|
+
l1GasPrice: bigint | null;
|
|
2558
|
+
l1GasUsed: bigint | null;
|
|
2559
|
+
l1Fee: bigint | null;
|
|
2560
|
+
l1FeeScalar: number | null;
|
|
2561
|
+
} & {};
|
|
2562
|
+
type: "transactionReceipt";
|
|
2563
|
+
};
|
|
2564
|
+
};
|
|
2565
|
+
serializers: {
|
|
2566
|
+
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
2567
|
+
};
|
|
2568
|
+
readonly blockchainId: "BASE-SEPOLIA";
|
|
2569
|
+
readonly blockchainVm: "EVM";
|
|
2570
|
+
readonly network: "base-sepolia";
|
|
2571
|
+
} | {
|
|
2572
|
+
blockExplorers: {
|
|
2573
|
+
readonly default: {
|
|
2574
|
+
readonly name: "Etherscan";
|
|
2575
|
+
readonly url: "https://etherscan.io";
|
|
2576
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
2577
|
+
};
|
|
2578
|
+
};
|
|
2579
|
+
blockTime: 12000;
|
|
2580
|
+
contracts: {
|
|
2581
|
+
readonly USDC: {
|
|
2582
|
+
readonly address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48";
|
|
2583
|
+
readonly abi: readonly [{
|
|
2584
|
+
readonly type: "event";
|
|
2585
|
+
readonly name: "Approval";
|
|
2586
|
+
readonly inputs: readonly [{
|
|
2587
|
+
readonly indexed: true;
|
|
2588
|
+
readonly name: "owner";
|
|
2589
|
+
readonly type: "address";
|
|
2590
|
+
}, {
|
|
2591
|
+
readonly indexed: true;
|
|
2592
|
+
readonly name: "spender";
|
|
2593
|
+
readonly type: "address";
|
|
2594
|
+
}, {
|
|
2595
|
+
readonly indexed: false;
|
|
2378
2596
|
readonly name: "value";
|
|
2379
2597
|
readonly type: "uint256";
|
|
2380
2598
|
}];
|
|
@@ -2501,45 +2719,8 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
2501
2719
|
readonly decimals: () => 6;
|
|
2502
2720
|
};
|
|
2503
2721
|
};
|
|
2504
|
-
readonly
|
|
2505
|
-
readonly address: "
|
|
2506
|
-
readonly blockCreated: 3127388;
|
|
2507
|
-
};
|
|
2508
|
-
};
|
|
2509
|
-
ensTlds?: readonly string[] | undefined;
|
|
2510
|
-
id: 80002;
|
|
2511
|
-
name: "Polygon Amoy";
|
|
2512
|
-
nativeCurrency: {
|
|
2513
|
-
readonly name: "POL";
|
|
2514
|
-
readonly symbol: "POL";
|
|
2515
|
-
readonly decimals: 18;
|
|
2516
|
-
};
|
|
2517
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2518
|
-
rpcUrls: {
|
|
2519
|
-
readonly default: {
|
|
2520
|
-
readonly http: readonly ["https://rpc-amoy.polygon.technology"];
|
|
2521
|
-
};
|
|
2522
|
-
};
|
|
2523
|
-
sourceId?: number | undefined | undefined;
|
|
2524
|
-
testnet: true;
|
|
2525
|
-
custom?: Record<string, unknown> | undefined;
|
|
2526
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2527
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
2528
|
-
readonly blockchainId: "MATIC-AMOY";
|
|
2529
|
-
readonly blockchainVm: "EVM";
|
|
2530
|
-
readonly formatters?: undefined | undefined;
|
|
2531
|
-
} | {
|
|
2532
|
-
blockExplorers: {
|
|
2533
|
-
readonly default: {
|
|
2534
|
-
readonly name: "Basescan";
|
|
2535
|
-
readonly url: "https://basescan.org";
|
|
2536
|
-
readonly apiUrl: "https://api.basescan.org/api";
|
|
2537
|
-
};
|
|
2538
|
-
};
|
|
2539
|
-
blockTime: 2000;
|
|
2540
|
-
contracts: {
|
|
2541
|
-
readonly USDC: {
|
|
2542
|
-
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
2722
|
+
readonly EURC: {
|
|
2723
|
+
readonly address: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c";
|
|
2543
2724
|
readonly abi: readonly [{
|
|
2544
2725
|
readonly type: "event";
|
|
2545
2726
|
readonly name: "Approval";
|
|
@@ -2679,8 +2860,8 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
2679
2860
|
readonly decimals: () => 6;
|
|
2680
2861
|
};
|
|
2681
2862
|
};
|
|
2682
|
-
readonly
|
|
2683
|
-
readonly address: "
|
|
2863
|
+
readonly USDT: {
|
|
2864
|
+
readonly address: "0xdac17f958d2ee523a2206206994597c13d831ec7";
|
|
2684
2865
|
readonly abi: readonly [{
|
|
2685
2866
|
readonly type: "event";
|
|
2686
2867
|
readonly name: "Approval";
|
|
@@ -2820,54 +3001,18 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
2820
3001
|
readonly decimals: () => 6;
|
|
2821
3002
|
};
|
|
2822
3003
|
};
|
|
2823
|
-
readonly
|
|
2824
|
-
readonly
|
|
2825
|
-
|
|
2826
|
-
};
|
|
2827
|
-
};
|
|
2828
|
-
readonly l2OutputOracle: {
|
|
2829
|
-
readonly 1: {
|
|
2830
|
-
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
2831
|
-
};
|
|
3004
|
+
readonly ensUniversalResolver: {
|
|
3005
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
3006
|
+
readonly blockCreated: 23085558;
|
|
2832
3007
|
};
|
|
2833
3008
|
readonly multicall3: {
|
|
2834
3009
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2835
|
-
readonly blockCreated:
|
|
2836
|
-
};
|
|
2837
|
-
readonly portal: {
|
|
2838
|
-
readonly 1: {
|
|
2839
|
-
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
2840
|
-
readonly blockCreated: 17482143;
|
|
2841
|
-
};
|
|
2842
|
-
};
|
|
2843
|
-
readonly l1StandardBridge: {
|
|
2844
|
-
readonly 1: {
|
|
2845
|
-
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
2846
|
-
readonly blockCreated: 17482143;
|
|
2847
|
-
};
|
|
2848
|
-
};
|
|
2849
|
-
readonly gasPriceOracle: {
|
|
2850
|
-
readonly address: "0x420000000000000000000000000000000000000F";
|
|
2851
|
-
};
|
|
2852
|
-
readonly l1Block: {
|
|
2853
|
-
readonly address: "0x4200000000000000000000000000000000000015";
|
|
2854
|
-
};
|
|
2855
|
-
readonly l2CrossDomainMessenger: {
|
|
2856
|
-
readonly address: "0x4200000000000000000000000000000000000007";
|
|
2857
|
-
};
|
|
2858
|
-
readonly l2Erc721Bridge: {
|
|
2859
|
-
readonly address: "0x4200000000000000000000000000000000000014";
|
|
2860
|
-
};
|
|
2861
|
-
readonly l2StandardBridge: {
|
|
2862
|
-
readonly address: "0x4200000000000000000000000000000000000010";
|
|
2863
|
-
};
|
|
2864
|
-
readonly l2ToL1MessagePasser: {
|
|
2865
|
-
readonly address: "0x4200000000000000000000000000000000000016";
|
|
3010
|
+
readonly blockCreated: 14353601;
|
|
2866
3011
|
};
|
|
2867
3012
|
};
|
|
2868
3013
|
ensTlds?: readonly string[] | undefined;
|
|
2869
|
-
id:
|
|
2870
|
-
name: "
|
|
3014
|
+
id: 1;
|
|
3015
|
+
name: "Ethereum";
|
|
2871
3016
|
nativeCurrency: {
|
|
2872
3017
|
readonly name: "Ether";
|
|
2873
3018
|
readonly symbol: "ETH";
|
|
@@ -2876,261 +3021,29 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
2876
3021
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2877
3022
|
rpcUrls: {
|
|
2878
3023
|
readonly default: {
|
|
2879
|
-
readonly http: readonly ["https://
|
|
3024
|
+
readonly http: readonly ["https://eth.merkle.io"];
|
|
2880
3025
|
};
|
|
2881
3026
|
};
|
|
2882
|
-
sourceId
|
|
3027
|
+
sourceId?: number | undefined | undefined;
|
|
2883
3028
|
testnet?: boolean | undefined | undefined;
|
|
2884
3029
|
custom?: Record<string, unknown> | undefined;
|
|
2885
3030
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
gasUsed: bigint;
|
|
2897
|
-
hash: `0x${string}` | null;
|
|
2898
|
-
logsBloom: `0x${string}` | null;
|
|
2899
|
-
miner: import("abitype").Address;
|
|
2900
|
-
mixHash: import("viem").Hash;
|
|
2901
|
-
nonce: `0x${string}` | null;
|
|
2902
|
-
number: bigint | null;
|
|
2903
|
-
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
2904
|
-
parentHash: import("viem").Hash;
|
|
2905
|
-
receiptsRoot: import("viem").Hex;
|
|
2906
|
-
sealFields: import("viem").Hex[];
|
|
2907
|
-
sha3Uncles: import("viem").Hash;
|
|
2908
|
-
size: bigint;
|
|
2909
|
-
stateRoot: import("viem").Hash;
|
|
2910
|
-
timestamp: bigint;
|
|
2911
|
-
totalDifficulty: bigint | null;
|
|
2912
|
-
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
2913
|
-
transactionsRoot: import("viem").Hash;
|
|
2914
|
-
uncles: import("viem").Hash[];
|
|
2915
|
-
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
2916
|
-
withdrawalsRoot?: `0x${string}` | undefined;
|
|
2917
|
-
} & {};
|
|
2918
|
-
type: "block";
|
|
2919
|
-
};
|
|
2920
|
-
readonly transaction: {
|
|
2921
|
-
exclude: [] | undefined;
|
|
2922
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
2923
|
-
blockHash: `0x${string}` | null;
|
|
2924
|
-
blockNumber: bigint | null;
|
|
2925
|
-
from: import("abitype").Address;
|
|
2926
|
-
gas: bigint;
|
|
2927
|
-
hash: import("viem").Hash;
|
|
2928
|
-
input: import("viem").Hex;
|
|
2929
|
-
nonce: number;
|
|
2930
|
-
r: import("viem").Hex;
|
|
2931
|
-
s: import("viem").Hex;
|
|
2932
|
-
to: import("abitype").Address | null;
|
|
2933
|
-
transactionIndex: number | null;
|
|
2934
|
-
typeHex: import("viem").Hex | null;
|
|
2935
|
-
v: bigint;
|
|
2936
|
-
value: bigint;
|
|
2937
|
-
yParity: number;
|
|
2938
|
-
gasPrice?: undefined | undefined;
|
|
2939
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
2940
|
-
maxFeePerGas: bigint;
|
|
2941
|
-
maxPriorityFeePerGas: bigint;
|
|
2942
|
-
isSystemTx?: boolean;
|
|
2943
|
-
mint?: bigint | undefined | undefined;
|
|
2944
|
-
sourceHash: import("viem").Hex;
|
|
2945
|
-
type: "deposit";
|
|
2946
|
-
} | {
|
|
2947
|
-
r: import("viem").Hex;
|
|
2948
|
-
s: import("viem").Hex;
|
|
2949
|
-
v: bigint;
|
|
2950
|
-
to: import("abitype").Address | null;
|
|
2951
|
-
from: import("abitype").Address;
|
|
2952
|
-
gas: bigint;
|
|
2953
|
-
nonce: number;
|
|
2954
|
-
value: bigint;
|
|
2955
|
-
blockHash: `0x${string}` | null;
|
|
2956
|
-
blockNumber: bigint | null;
|
|
2957
|
-
hash: import("viem").Hash;
|
|
2958
|
-
input: import("viem").Hex;
|
|
2959
|
-
transactionIndex: number | null;
|
|
2960
|
-
typeHex: import("viem").Hex | null;
|
|
2961
|
-
accessList?: undefined | undefined;
|
|
2962
|
-
authorizationList?: undefined | undefined;
|
|
2963
|
-
blobVersionedHashes?: undefined | undefined;
|
|
2964
|
-
chainId?: number | undefined;
|
|
2965
|
-
yParity?: undefined | undefined;
|
|
2966
|
-
type: "legacy";
|
|
2967
|
-
gasPrice: bigint;
|
|
2968
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
2969
|
-
maxFeePerGas?: undefined | undefined;
|
|
2970
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
2971
|
-
isSystemTx?: undefined | undefined;
|
|
2972
|
-
mint?: undefined | undefined;
|
|
2973
|
-
sourceHash?: undefined | undefined;
|
|
2974
|
-
} | {
|
|
2975
|
-
blockHash: `0x${string}` | null;
|
|
2976
|
-
blockNumber: bigint | null;
|
|
2977
|
-
from: import("abitype").Address;
|
|
2978
|
-
gas: bigint;
|
|
2979
|
-
hash: import("viem").Hash;
|
|
2980
|
-
input: import("viem").Hex;
|
|
2981
|
-
nonce: number;
|
|
2982
|
-
r: import("viem").Hex;
|
|
2983
|
-
s: import("viem").Hex;
|
|
2984
|
-
to: import("abitype").Address | null;
|
|
2985
|
-
transactionIndex: number | null;
|
|
2986
|
-
typeHex: import("viem").Hex | null;
|
|
2987
|
-
v: bigint;
|
|
2988
|
-
value: bigint;
|
|
2989
|
-
yParity: number;
|
|
2990
|
-
accessList: import("viem").AccessList;
|
|
2991
|
-
authorizationList?: undefined | undefined;
|
|
2992
|
-
blobVersionedHashes?: undefined | undefined;
|
|
2993
|
-
chainId: number;
|
|
2994
|
-
type: "eip2930";
|
|
2995
|
-
gasPrice: bigint;
|
|
2996
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
2997
|
-
maxFeePerGas?: undefined | undefined;
|
|
2998
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
2999
|
-
isSystemTx?: undefined | undefined;
|
|
3000
|
-
mint?: undefined | undefined;
|
|
3001
|
-
sourceHash?: undefined | undefined;
|
|
3002
|
-
} | {
|
|
3003
|
-
blockHash: `0x${string}` | null;
|
|
3004
|
-
blockNumber: bigint | null;
|
|
3005
|
-
from: import("abitype").Address;
|
|
3006
|
-
gas: bigint;
|
|
3007
|
-
hash: import("viem").Hash;
|
|
3008
|
-
input: import("viem").Hex;
|
|
3009
|
-
nonce: number;
|
|
3010
|
-
r: import("viem").Hex;
|
|
3011
|
-
s: import("viem").Hex;
|
|
3012
|
-
to: import("abitype").Address | null;
|
|
3013
|
-
transactionIndex: number | null;
|
|
3014
|
-
typeHex: import("viem").Hex | null;
|
|
3015
|
-
v: bigint;
|
|
3016
|
-
value: bigint;
|
|
3017
|
-
yParity: number;
|
|
3018
|
-
accessList: import("viem").AccessList;
|
|
3019
|
-
authorizationList?: undefined | undefined;
|
|
3020
|
-
blobVersionedHashes?: undefined | undefined;
|
|
3021
|
-
chainId: number;
|
|
3022
|
-
type: "eip1559";
|
|
3023
|
-
gasPrice?: undefined | undefined;
|
|
3024
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
3025
|
-
maxFeePerGas: bigint;
|
|
3026
|
-
maxPriorityFeePerGas: bigint;
|
|
3027
|
-
isSystemTx?: undefined | undefined;
|
|
3028
|
-
mint?: undefined | undefined;
|
|
3029
|
-
sourceHash?: undefined | undefined;
|
|
3030
|
-
} | {
|
|
3031
|
-
blockHash: `0x${string}` | null;
|
|
3032
|
-
blockNumber: bigint | null;
|
|
3033
|
-
from: import("abitype").Address;
|
|
3034
|
-
gas: bigint;
|
|
3035
|
-
hash: import("viem").Hash;
|
|
3036
|
-
input: import("viem").Hex;
|
|
3037
|
-
nonce: number;
|
|
3038
|
-
r: import("viem").Hex;
|
|
3039
|
-
s: import("viem").Hex;
|
|
3040
|
-
to: import("abitype").Address | null;
|
|
3041
|
-
transactionIndex: number | null;
|
|
3042
|
-
typeHex: import("viem").Hex | null;
|
|
3043
|
-
v: bigint;
|
|
3044
|
-
value: bigint;
|
|
3045
|
-
yParity: number;
|
|
3046
|
-
accessList: import("viem").AccessList;
|
|
3047
|
-
authorizationList?: undefined | undefined;
|
|
3048
|
-
blobVersionedHashes: readonly import("viem").Hex[];
|
|
3049
|
-
chainId: number;
|
|
3050
|
-
type: "eip4844";
|
|
3051
|
-
gasPrice?: undefined | undefined;
|
|
3052
|
-
maxFeePerBlobGas: bigint;
|
|
3053
|
-
maxFeePerGas: bigint;
|
|
3054
|
-
maxPriorityFeePerGas: bigint;
|
|
3055
|
-
isSystemTx?: undefined | undefined;
|
|
3056
|
-
mint?: undefined | undefined;
|
|
3057
|
-
sourceHash?: undefined | undefined;
|
|
3058
|
-
} | {
|
|
3059
|
-
blockHash: `0x${string}` | null;
|
|
3060
|
-
blockNumber: bigint | null;
|
|
3061
|
-
from: import("abitype").Address;
|
|
3062
|
-
gas: bigint;
|
|
3063
|
-
hash: import("viem").Hash;
|
|
3064
|
-
input: import("viem").Hex;
|
|
3065
|
-
nonce: number;
|
|
3066
|
-
r: import("viem").Hex;
|
|
3067
|
-
s: import("viem").Hex;
|
|
3068
|
-
to: import("abitype").Address | null;
|
|
3069
|
-
transactionIndex: number | null;
|
|
3070
|
-
typeHex: import("viem").Hex | null;
|
|
3071
|
-
v: bigint;
|
|
3072
|
-
value: bigint;
|
|
3073
|
-
yParity: number;
|
|
3074
|
-
accessList: import("viem").AccessList;
|
|
3075
|
-
authorizationList: import("viem").SignedAuthorizationList;
|
|
3076
|
-
blobVersionedHashes?: undefined | undefined;
|
|
3077
|
-
chainId: number;
|
|
3078
|
-
type: "eip7702";
|
|
3079
|
-
gasPrice?: undefined | undefined;
|
|
3080
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
3081
|
-
maxFeePerGas: bigint;
|
|
3082
|
-
maxPriorityFeePerGas: bigint;
|
|
3083
|
-
isSystemTx?: undefined | undefined;
|
|
3084
|
-
mint?: undefined | undefined;
|
|
3085
|
-
sourceHash?: undefined | undefined;
|
|
3086
|
-
}) & {};
|
|
3087
|
-
type: "transaction";
|
|
3088
|
-
};
|
|
3089
|
-
readonly transactionReceipt: {
|
|
3090
|
-
exclude: [] | undefined;
|
|
3091
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
3092
|
-
blobGasPrice?: bigint | undefined;
|
|
3093
|
-
blobGasUsed?: bigint | undefined;
|
|
3094
|
-
blockHash: import("viem").Hash;
|
|
3095
|
-
blockNumber: bigint;
|
|
3096
|
-
contractAddress: import("abitype").Address | null | undefined;
|
|
3097
|
-
cumulativeGasUsed: bigint;
|
|
3098
|
-
effectiveGasPrice: bigint;
|
|
3099
|
-
from: import("abitype").Address;
|
|
3100
|
-
gasUsed: bigint;
|
|
3101
|
-
logs: import("viem").Log<bigint, number, false>[];
|
|
3102
|
-
logsBloom: import("viem").Hex;
|
|
3103
|
-
root?: `0x${string}` | undefined;
|
|
3104
|
-
status: "success" | "reverted";
|
|
3105
|
-
to: import("abitype").Address | null;
|
|
3106
|
-
transactionHash: import("viem").Hash;
|
|
3107
|
-
transactionIndex: number;
|
|
3108
|
-
type: import("viem").TransactionType;
|
|
3109
|
-
l1GasPrice: bigint | null;
|
|
3110
|
-
l1GasUsed: bigint | null;
|
|
3111
|
-
l1Fee: bigint | null;
|
|
3112
|
-
l1FeeScalar: number | null;
|
|
3113
|
-
} & {};
|
|
3114
|
-
type: "transactionReceipt";
|
|
3115
|
-
};
|
|
3116
|
-
};
|
|
3117
|
-
serializers: {
|
|
3118
|
-
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
3119
|
-
};
|
|
3120
|
-
readonly blockchainId: "BASE";
|
|
3121
|
-
readonly blockchainVm: "EVM";
|
|
3122
|
-
} | {
|
|
3123
|
-
blockExplorers: {
|
|
3124
|
-
readonly default: {
|
|
3125
|
-
readonly name: "Basescan";
|
|
3126
|
-
readonly url: "https://sepolia.basescan.org";
|
|
3127
|
-
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
3031
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
3032
|
+
readonly blockchainId: "ETH";
|
|
3033
|
+
readonly blockchainVm: "EVM";
|
|
3034
|
+
readonly formatters?: undefined | undefined;
|
|
3035
|
+
} | {
|
|
3036
|
+
blockExplorers: {
|
|
3037
|
+
readonly default: {
|
|
3038
|
+
readonly name: "Etherscan";
|
|
3039
|
+
readonly url: "https://sepolia.etherscan.io";
|
|
3040
|
+
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
3128
3041
|
};
|
|
3129
3042
|
};
|
|
3130
|
-
blockTime
|
|
3043
|
+
blockTime?: number | undefined | undefined;
|
|
3131
3044
|
contracts: {
|
|
3132
3045
|
readonly USDC: {
|
|
3133
|
-
readonly address: "
|
|
3046
|
+
readonly address: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
3134
3047
|
readonly abi: readonly [{
|
|
3135
3048
|
readonly type: "event";
|
|
3136
3049
|
readonly name: "Approval";
|
|
@@ -3271,7 +3184,7 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
3271
3184
|
};
|
|
3272
3185
|
};
|
|
3273
3186
|
readonly EURC: {
|
|
3274
|
-
readonly address: "
|
|
3187
|
+
readonly address: "0x08210F9170F89Ab7658F0B5E3fF39b0E03C594D4";
|
|
3275
3188
|
readonly abi: readonly [{
|
|
3276
3189
|
readonly type: "event";
|
|
3277
3190
|
readonly name: "Approval";
|
|
@@ -3411,54 +3324,18 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
3411
3324
|
readonly decimals: () => 6;
|
|
3412
3325
|
};
|
|
3413
3326
|
};
|
|
3414
|
-
readonly disputeGameFactory: {
|
|
3415
|
-
readonly 11155111: {
|
|
3416
|
-
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
3417
|
-
};
|
|
3418
|
-
};
|
|
3419
|
-
readonly l2OutputOracle: {
|
|
3420
|
-
readonly 11155111: {
|
|
3421
|
-
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
3422
|
-
};
|
|
3423
|
-
};
|
|
3424
|
-
readonly portal: {
|
|
3425
|
-
readonly 11155111: {
|
|
3426
|
-
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
3427
|
-
readonly blockCreated: 4446677;
|
|
3428
|
-
};
|
|
3429
|
-
};
|
|
3430
|
-
readonly l1StandardBridge: {
|
|
3431
|
-
readonly 11155111: {
|
|
3432
|
-
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
3433
|
-
readonly blockCreated: 4446677;
|
|
3434
|
-
};
|
|
3435
|
-
};
|
|
3436
3327
|
readonly multicall3: {
|
|
3437
3328
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3438
|
-
readonly blockCreated:
|
|
3439
|
-
};
|
|
3440
|
-
readonly gasPriceOracle: {
|
|
3441
|
-
readonly address: "0x420000000000000000000000000000000000000F";
|
|
3442
|
-
};
|
|
3443
|
-
readonly l1Block: {
|
|
3444
|
-
readonly address: "0x4200000000000000000000000000000000000015";
|
|
3445
|
-
};
|
|
3446
|
-
readonly l2CrossDomainMessenger: {
|
|
3447
|
-
readonly address: "0x4200000000000000000000000000000000000007";
|
|
3448
|
-
};
|
|
3449
|
-
readonly l2Erc721Bridge: {
|
|
3450
|
-
readonly address: "0x4200000000000000000000000000000000000014";
|
|
3451
|
-
};
|
|
3452
|
-
readonly l2StandardBridge: {
|
|
3453
|
-
readonly address: "0x4200000000000000000000000000000000000010";
|
|
3329
|
+
readonly blockCreated: 751532;
|
|
3454
3330
|
};
|
|
3455
|
-
readonly
|
|
3456
|
-
readonly address: "
|
|
3331
|
+
readonly ensUniversalResolver: {
|
|
3332
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
3333
|
+
readonly blockCreated: 8928790;
|
|
3457
3334
|
};
|
|
3458
3335
|
};
|
|
3459
3336
|
ensTlds?: readonly string[] | undefined;
|
|
3460
|
-
id:
|
|
3461
|
-
name: "
|
|
3337
|
+
id: 11155111;
|
|
3338
|
+
name: "Sepolia";
|
|
3462
3339
|
nativeCurrency: {
|
|
3463
3340
|
readonly name: "Sepolia Ether";
|
|
3464
3341
|
readonly symbol: "ETH";
|
|
@@ -3467,250 +3344,373 @@ export declare function createAccount(client: ExtendedViemClient, params?: Creat
|
|
|
3467
3344
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3468
3345
|
rpcUrls: {
|
|
3469
3346
|
readonly default: {
|
|
3470
|
-
readonly http: readonly ["https://sepolia.
|
|
3347
|
+
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
3471
3348
|
};
|
|
3472
3349
|
};
|
|
3473
|
-
sourceId
|
|
3350
|
+
sourceId?: number | undefined | undefined;
|
|
3474
3351
|
testnet: true;
|
|
3475
3352
|
custom?: Record<string, unknown> | undefined;
|
|
3476
3353
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
gasUsed: bigint;
|
|
3488
|
-
hash: `0x${string}` | null;
|
|
3489
|
-
logsBloom: `0x${string}` | null;
|
|
3490
|
-
miner: import("abitype").Address;
|
|
3491
|
-
mixHash: import("viem").Hash;
|
|
3492
|
-
nonce: `0x${string}` | null;
|
|
3493
|
-
number: bigint | null;
|
|
3494
|
-
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
3495
|
-
parentHash: import("viem").Hash;
|
|
3496
|
-
receiptsRoot: import("viem").Hex;
|
|
3497
|
-
sealFields: import("viem").Hex[];
|
|
3498
|
-
sha3Uncles: import("viem").Hash;
|
|
3499
|
-
size: bigint;
|
|
3500
|
-
stateRoot: import("viem").Hash;
|
|
3501
|
-
timestamp: bigint;
|
|
3502
|
-
totalDifficulty: bigint | null;
|
|
3503
|
-
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
3504
|
-
transactionsRoot: import("viem").Hash;
|
|
3505
|
-
uncles: import("viem").Hash[];
|
|
3506
|
-
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
3507
|
-
withdrawalsRoot?: `0x${string}` | undefined;
|
|
3508
|
-
} & {};
|
|
3509
|
-
type: "block";
|
|
3354
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
3355
|
+
readonly blockchainId: "ETH-SEPOLIA";
|
|
3356
|
+
readonly blockchainVm: "EVM";
|
|
3357
|
+
readonly formatters?: undefined | undefined;
|
|
3358
|
+
} | {
|
|
3359
|
+
blockExplorers: {
|
|
3360
|
+
readonly default: {
|
|
3361
|
+
readonly name: "PolygonScan";
|
|
3362
|
+
readonly url: "https://polygonscan.com";
|
|
3363
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
3510
3364
|
};
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
hash: import("viem").Hash;
|
|
3655
|
-
input: import("viem").Hex;
|
|
3656
|
-
nonce: number;
|
|
3657
|
-
r: import("viem").Hex;
|
|
3658
|
-
s: import("viem").Hex;
|
|
3659
|
-
to: import("abitype").Address | null;
|
|
3660
|
-
transactionIndex: number | null;
|
|
3661
|
-
typeHex: import("viem").Hex | null;
|
|
3662
|
-
v: bigint;
|
|
3663
|
-
value: bigint;
|
|
3664
|
-
yParity: number;
|
|
3665
|
-
accessList: import("viem").AccessList;
|
|
3666
|
-
authorizationList: import("viem").SignedAuthorizationList;
|
|
3667
|
-
blobVersionedHashes?: undefined | undefined;
|
|
3668
|
-
chainId: number;
|
|
3669
|
-
type: "eip7702";
|
|
3670
|
-
gasPrice?: undefined | undefined;
|
|
3671
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
3672
|
-
maxFeePerGas: bigint;
|
|
3673
|
-
maxPriorityFeePerGas: bigint;
|
|
3674
|
-
isSystemTx?: undefined | undefined;
|
|
3675
|
-
mint?: undefined | undefined;
|
|
3676
|
-
sourceHash?: undefined | undefined;
|
|
3677
|
-
}) & {};
|
|
3678
|
-
type: "transaction";
|
|
3365
|
+
};
|
|
3366
|
+
blockTime?: number | undefined | undefined;
|
|
3367
|
+
contracts: {
|
|
3368
|
+
readonly USDC: {
|
|
3369
|
+
readonly address: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359";
|
|
3370
|
+
readonly abi: readonly [{
|
|
3371
|
+
readonly type: "event";
|
|
3372
|
+
readonly name: "Approval";
|
|
3373
|
+
readonly inputs: readonly [{
|
|
3374
|
+
readonly indexed: true;
|
|
3375
|
+
readonly name: "owner";
|
|
3376
|
+
readonly type: "address";
|
|
3377
|
+
}, {
|
|
3378
|
+
readonly indexed: true;
|
|
3379
|
+
readonly name: "spender";
|
|
3380
|
+
readonly type: "address";
|
|
3381
|
+
}, {
|
|
3382
|
+
readonly indexed: false;
|
|
3383
|
+
readonly name: "value";
|
|
3384
|
+
readonly type: "uint256";
|
|
3385
|
+
}];
|
|
3386
|
+
}, {
|
|
3387
|
+
readonly type: "event";
|
|
3388
|
+
readonly name: "Transfer";
|
|
3389
|
+
readonly inputs: readonly [{
|
|
3390
|
+
readonly indexed: true;
|
|
3391
|
+
readonly name: "from";
|
|
3392
|
+
readonly type: "address";
|
|
3393
|
+
}, {
|
|
3394
|
+
readonly indexed: true;
|
|
3395
|
+
readonly name: "to";
|
|
3396
|
+
readonly type: "address";
|
|
3397
|
+
}, {
|
|
3398
|
+
readonly indexed: false;
|
|
3399
|
+
readonly name: "value";
|
|
3400
|
+
readonly type: "uint256";
|
|
3401
|
+
}];
|
|
3402
|
+
}, {
|
|
3403
|
+
readonly type: "function";
|
|
3404
|
+
readonly name: "allowance";
|
|
3405
|
+
readonly stateMutability: "view";
|
|
3406
|
+
readonly inputs: readonly [{
|
|
3407
|
+
readonly name: "owner";
|
|
3408
|
+
readonly type: "address";
|
|
3409
|
+
}, {
|
|
3410
|
+
readonly name: "spender";
|
|
3411
|
+
readonly type: "address";
|
|
3412
|
+
}];
|
|
3413
|
+
readonly outputs: readonly [{
|
|
3414
|
+
readonly type: "uint256";
|
|
3415
|
+
}];
|
|
3416
|
+
}, {
|
|
3417
|
+
readonly type: "function";
|
|
3418
|
+
readonly name: "approve";
|
|
3419
|
+
readonly stateMutability: "nonpayable";
|
|
3420
|
+
readonly inputs: readonly [{
|
|
3421
|
+
readonly name: "spender";
|
|
3422
|
+
readonly type: "address";
|
|
3423
|
+
}, {
|
|
3424
|
+
readonly name: "amount";
|
|
3425
|
+
readonly type: "uint256";
|
|
3426
|
+
}];
|
|
3427
|
+
readonly outputs: readonly [{
|
|
3428
|
+
readonly type: "bool";
|
|
3429
|
+
}];
|
|
3430
|
+
}, {
|
|
3431
|
+
readonly type: "function";
|
|
3432
|
+
readonly name: "balanceOf";
|
|
3433
|
+
readonly stateMutability: "view";
|
|
3434
|
+
readonly inputs: readonly [{
|
|
3435
|
+
readonly name: "account";
|
|
3436
|
+
readonly type: "address";
|
|
3437
|
+
}];
|
|
3438
|
+
readonly outputs: readonly [{
|
|
3439
|
+
readonly type: "uint256";
|
|
3440
|
+
}];
|
|
3441
|
+
}, {
|
|
3442
|
+
readonly type: "function";
|
|
3443
|
+
readonly name: "decimals";
|
|
3444
|
+
readonly stateMutability: "view";
|
|
3445
|
+
readonly inputs: readonly [];
|
|
3446
|
+
readonly outputs: readonly [{
|
|
3447
|
+
readonly type: "uint8";
|
|
3448
|
+
}];
|
|
3449
|
+
}, {
|
|
3450
|
+
readonly type: "function";
|
|
3451
|
+
readonly name: "name";
|
|
3452
|
+
readonly stateMutability: "view";
|
|
3453
|
+
readonly inputs: readonly [];
|
|
3454
|
+
readonly outputs: readonly [{
|
|
3455
|
+
readonly type: "string";
|
|
3456
|
+
}];
|
|
3457
|
+
}, {
|
|
3458
|
+
readonly type: "function";
|
|
3459
|
+
readonly name: "symbol";
|
|
3460
|
+
readonly stateMutability: "view";
|
|
3461
|
+
readonly inputs: readonly [];
|
|
3462
|
+
readonly outputs: readonly [{
|
|
3463
|
+
readonly type: "string";
|
|
3464
|
+
}];
|
|
3465
|
+
}, {
|
|
3466
|
+
readonly type: "function";
|
|
3467
|
+
readonly name: "totalSupply";
|
|
3468
|
+
readonly stateMutability: "view";
|
|
3469
|
+
readonly inputs: readonly [];
|
|
3470
|
+
readonly outputs: readonly [{
|
|
3471
|
+
readonly type: "uint256";
|
|
3472
|
+
}];
|
|
3473
|
+
}, {
|
|
3474
|
+
readonly type: "function";
|
|
3475
|
+
readonly name: "transfer";
|
|
3476
|
+
readonly stateMutability: "nonpayable";
|
|
3477
|
+
readonly inputs: readonly [{
|
|
3478
|
+
readonly name: "recipient";
|
|
3479
|
+
readonly type: "address";
|
|
3480
|
+
}, {
|
|
3481
|
+
readonly name: "amount";
|
|
3482
|
+
readonly type: "uint256";
|
|
3483
|
+
}];
|
|
3484
|
+
readonly outputs: readonly [{
|
|
3485
|
+
readonly type: "bool";
|
|
3486
|
+
}];
|
|
3487
|
+
}, {
|
|
3488
|
+
readonly type: "function";
|
|
3489
|
+
readonly name: "transferFrom";
|
|
3490
|
+
readonly stateMutability: "nonpayable";
|
|
3491
|
+
readonly inputs: readonly [{
|
|
3492
|
+
readonly name: "sender";
|
|
3493
|
+
readonly type: "address";
|
|
3494
|
+
}, {
|
|
3495
|
+
readonly name: "recipient";
|
|
3496
|
+
readonly type: "address";
|
|
3497
|
+
}, {
|
|
3498
|
+
readonly name: "amount";
|
|
3499
|
+
readonly type: "uint256";
|
|
3500
|
+
}];
|
|
3501
|
+
readonly outputs: readonly [{
|
|
3502
|
+
readonly type: "bool";
|
|
3503
|
+
}];
|
|
3504
|
+
}];
|
|
3505
|
+
readonly read: {
|
|
3506
|
+
readonly decimals: () => 6;
|
|
3507
|
+
};
|
|
3679
3508
|
};
|
|
3680
|
-
readonly
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
blobGasPrice?: bigint | undefined;
|
|
3684
|
-
blobGasUsed?: bigint | undefined;
|
|
3685
|
-
blockHash: import("viem").Hash;
|
|
3686
|
-
blockNumber: bigint;
|
|
3687
|
-
contractAddress: import("abitype").Address | null | undefined;
|
|
3688
|
-
cumulativeGasUsed: bigint;
|
|
3689
|
-
effectiveGasPrice: bigint;
|
|
3690
|
-
from: import("abitype").Address;
|
|
3691
|
-
gasUsed: bigint;
|
|
3692
|
-
logs: import("viem").Log<bigint, number, false>[];
|
|
3693
|
-
logsBloom: import("viem").Hex;
|
|
3694
|
-
root?: `0x${string}` | undefined;
|
|
3695
|
-
status: "success" | "reverted";
|
|
3696
|
-
to: import("abitype").Address | null;
|
|
3697
|
-
transactionHash: import("viem").Hash;
|
|
3698
|
-
transactionIndex: number;
|
|
3699
|
-
type: import("viem").TransactionType;
|
|
3700
|
-
l1GasPrice: bigint | null;
|
|
3701
|
-
l1GasUsed: bigint | null;
|
|
3702
|
-
l1Fee: bigint | null;
|
|
3703
|
-
l1FeeScalar: number | null;
|
|
3704
|
-
} & {};
|
|
3705
|
-
type: "transactionReceipt";
|
|
3509
|
+
readonly multicall3: {
|
|
3510
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3511
|
+
readonly blockCreated: 25770160;
|
|
3706
3512
|
};
|
|
3707
3513
|
};
|
|
3708
|
-
|
|
3709
|
-
|
|
3514
|
+
ensTlds?: readonly string[] | undefined;
|
|
3515
|
+
id: 137;
|
|
3516
|
+
name: "Polygon";
|
|
3517
|
+
nativeCurrency: {
|
|
3518
|
+
readonly name: "POL";
|
|
3519
|
+
readonly symbol: "POL";
|
|
3520
|
+
readonly decimals: 18;
|
|
3710
3521
|
};
|
|
3711
|
-
|
|
3522
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3523
|
+
rpcUrls: {
|
|
3524
|
+
readonly default: {
|
|
3525
|
+
readonly http: readonly ["https://polygon-rpc.com"];
|
|
3526
|
+
};
|
|
3527
|
+
};
|
|
3528
|
+
sourceId?: number | undefined | undefined;
|
|
3529
|
+
testnet?: boolean | undefined | undefined;
|
|
3530
|
+
custom?: Record<string, unknown> | undefined;
|
|
3531
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3532
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
3533
|
+
readonly blockchainId: "MATIC";
|
|
3712
3534
|
readonly blockchainVm: "EVM";
|
|
3713
|
-
readonly
|
|
3535
|
+
readonly formatters?: undefined | undefined;
|
|
3536
|
+
} | {
|
|
3537
|
+
blockExplorers: {
|
|
3538
|
+
readonly default: {
|
|
3539
|
+
readonly name: "PolygonScan";
|
|
3540
|
+
readonly url: "https://amoy.polygonscan.com";
|
|
3541
|
+
readonly apiUrl: "https://api-amoy.polygonscan.com/api";
|
|
3542
|
+
};
|
|
3543
|
+
};
|
|
3544
|
+
blockTime?: number | undefined | undefined;
|
|
3545
|
+
contracts: {
|
|
3546
|
+
readonly USDC: {
|
|
3547
|
+
readonly address: "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582";
|
|
3548
|
+
readonly abi: readonly [{
|
|
3549
|
+
readonly type: "event";
|
|
3550
|
+
readonly name: "Approval";
|
|
3551
|
+
readonly inputs: readonly [{
|
|
3552
|
+
readonly indexed: true;
|
|
3553
|
+
readonly name: "owner";
|
|
3554
|
+
readonly type: "address";
|
|
3555
|
+
}, {
|
|
3556
|
+
readonly indexed: true;
|
|
3557
|
+
readonly name: "spender";
|
|
3558
|
+
readonly type: "address";
|
|
3559
|
+
}, {
|
|
3560
|
+
readonly indexed: false;
|
|
3561
|
+
readonly name: "value";
|
|
3562
|
+
readonly type: "uint256";
|
|
3563
|
+
}];
|
|
3564
|
+
}, {
|
|
3565
|
+
readonly type: "event";
|
|
3566
|
+
readonly name: "Transfer";
|
|
3567
|
+
readonly inputs: readonly [{
|
|
3568
|
+
readonly indexed: true;
|
|
3569
|
+
readonly name: "from";
|
|
3570
|
+
readonly type: "address";
|
|
3571
|
+
}, {
|
|
3572
|
+
readonly indexed: true;
|
|
3573
|
+
readonly name: "to";
|
|
3574
|
+
readonly type: "address";
|
|
3575
|
+
}, {
|
|
3576
|
+
readonly indexed: false;
|
|
3577
|
+
readonly name: "value";
|
|
3578
|
+
readonly type: "uint256";
|
|
3579
|
+
}];
|
|
3580
|
+
}, {
|
|
3581
|
+
readonly type: "function";
|
|
3582
|
+
readonly name: "allowance";
|
|
3583
|
+
readonly stateMutability: "view";
|
|
3584
|
+
readonly inputs: readonly [{
|
|
3585
|
+
readonly name: "owner";
|
|
3586
|
+
readonly type: "address";
|
|
3587
|
+
}, {
|
|
3588
|
+
readonly name: "spender";
|
|
3589
|
+
readonly type: "address";
|
|
3590
|
+
}];
|
|
3591
|
+
readonly outputs: readonly [{
|
|
3592
|
+
readonly type: "uint256";
|
|
3593
|
+
}];
|
|
3594
|
+
}, {
|
|
3595
|
+
readonly type: "function";
|
|
3596
|
+
readonly name: "approve";
|
|
3597
|
+
readonly stateMutability: "nonpayable";
|
|
3598
|
+
readonly inputs: readonly [{
|
|
3599
|
+
readonly name: "spender";
|
|
3600
|
+
readonly type: "address";
|
|
3601
|
+
}, {
|
|
3602
|
+
readonly name: "amount";
|
|
3603
|
+
readonly type: "uint256";
|
|
3604
|
+
}];
|
|
3605
|
+
readonly outputs: readonly [{
|
|
3606
|
+
readonly type: "bool";
|
|
3607
|
+
}];
|
|
3608
|
+
}, {
|
|
3609
|
+
readonly type: "function";
|
|
3610
|
+
readonly name: "balanceOf";
|
|
3611
|
+
readonly stateMutability: "view";
|
|
3612
|
+
readonly inputs: readonly [{
|
|
3613
|
+
readonly name: "account";
|
|
3614
|
+
readonly type: "address";
|
|
3615
|
+
}];
|
|
3616
|
+
readonly outputs: readonly [{
|
|
3617
|
+
readonly type: "uint256";
|
|
3618
|
+
}];
|
|
3619
|
+
}, {
|
|
3620
|
+
readonly type: "function";
|
|
3621
|
+
readonly name: "decimals";
|
|
3622
|
+
readonly stateMutability: "view";
|
|
3623
|
+
readonly inputs: readonly [];
|
|
3624
|
+
readonly outputs: readonly [{
|
|
3625
|
+
readonly type: "uint8";
|
|
3626
|
+
}];
|
|
3627
|
+
}, {
|
|
3628
|
+
readonly type: "function";
|
|
3629
|
+
readonly name: "name";
|
|
3630
|
+
readonly stateMutability: "view";
|
|
3631
|
+
readonly inputs: readonly [];
|
|
3632
|
+
readonly outputs: readonly [{
|
|
3633
|
+
readonly type: "string";
|
|
3634
|
+
}];
|
|
3635
|
+
}, {
|
|
3636
|
+
readonly type: "function";
|
|
3637
|
+
readonly name: "symbol";
|
|
3638
|
+
readonly stateMutability: "view";
|
|
3639
|
+
readonly inputs: readonly [];
|
|
3640
|
+
readonly outputs: readonly [{
|
|
3641
|
+
readonly type: "string";
|
|
3642
|
+
}];
|
|
3643
|
+
}, {
|
|
3644
|
+
readonly type: "function";
|
|
3645
|
+
readonly name: "totalSupply";
|
|
3646
|
+
readonly stateMutability: "view";
|
|
3647
|
+
readonly inputs: readonly [];
|
|
3648
|
+
readonly outputs: readonly [{
|
|
3649
|
+
readonly type: "uint256";
|
|
3650
|
+
}];
|
|
3651
|
+
}, {
|
|
3652
|
+
readonly type: "function";
|
|
3653
|
+
readonly name: "transfer";
|
|
3654
|
+
readonly stateMutability: "nonpayable";
|
|
3655
|
+
readonly inputs: readonly [{
|
|
3656
|
+
readonly name: "recipient";
|
|
3657
|
+
readonly type: "address";
|
|
3658
|
+
}, {
|
|
3659
|
+
readonly name: "amount";
|
|
3660
|
+
readonly type: "uint256";
|
|
3661
|
+
}];
|
|
3662
|
+
readonly outputs: readonly [{
|
|
3663
|
+
readonly type: "bool";
|
|
3664
|
+
}];
|
|
3665
|
+
}, {
|
|
3666
|
+
readonly type: "function";
|
|
3667
|
+
readonly name: "transferFrom";
|
|
3668
|
+
readonly stateMutability: "nonpayable";
|
|
3669
|
+
readonly inputs: readonly [{
|
|
3670
|
+
readonly name: "sender";
|
|
3671
|
+
readonly type: "address";
|
|
3672
|
+
}, {
|
|
3673
|
+
readonly name: "recipient";
|
|
3674
|
+
readonly type: "address";
|
|
3675
|
+
}, {
|
|
3676
|
+
readonly name: "amount";
|
|
3677
|
+
readonly type: "uint256";
|
|
3678
|
+
}];
|
|
3679
|
+
readonly outputs: readonly [{
|
|
3680
|
+
readonly type: "bool";
|
|
3681
|
+
}];
|
|
3682
|
+
}];
|
|
3683
|
+
readonly read: {
|
|
3684
|
+
readonly decimals: () => 6;
|
|
3685
|
+
};
|
|
3686
|
+
};
|
|
3687
|
+
readonly multicall3: {
|
|
3688
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3689
|
+
readonly blockCreated: 3127388;
|
|
3690
|
+
};
|
|
3691
|
+
};
|
|
3692
|
+
ensTlds?: readonly string[] | undefined;
|
|
3693
|
+
id: 80002;
|
|
3694
|
+
name: "Polygon Amoy";
|
|
3695
|
+
nativeCurrency: {
|
|
3696
|
+
readonly name: "POL";
|
|
3697
|
+
readonly symbol: "POL";
|
|
3698
|
+
readonly decimals: 18;
|
|
3699
|
+
};
|
|
3700
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3701
|
+
rpcUrls: {
|
|
3702
|
+
readonly default: {
|
|
3703
|
+
readonly http: readonly ["https://rpc-amoy.polygon.technology"];
|
|
3704
|
+
};
|
|
3705
|
+
};
|
|
3706
|
+
sourceId?: number | undefined | undefined;
|
|
3707
|
+
testnet: true;
|
|
3708
|
+
custom?: Record<string, unknown> | undefined;
|
|
3709
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3710
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
3711
|
+
readonly blockchainId: "MATIC-AMOY";
|
|
3712
|
+
readonly blockchainVm: "EVM";
|
|
3713
|
+
readonly formatters?: undefined | undefined;
|
|
3714
3714
|
} | {
|
|
3715
3715
|
blockExplorers: {
|
|
3716
3716
|
readonly default: {
|