@circle-fin/usdckit 0.23.0 → 0.23.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.
- 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/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 +1 -1
- 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
|
@@ -1327,15 +1327,15 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
1327
1327
|
} | {
|
|
1328
1328
|
blockExplorers: {
|
|
1329
1329
|
readonly default: {
|
|
1330
|
-
readonly name: "
|
|
1331
|
-
readonly url: "https://
|
|
1332
|
-
readonly apiUrl: "https://api.
|
|
1330
|
+
readonly name: "Basescan";
|
|
1331
|
+
readonly url: "https://basescan.org";
|
|
1332
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
1333
1333
|
};
|
|
1334
1334
|
};
|
|
1335
|
-
blockTime:
|
|
1335
|
+
blockTime: 2000;
|
|
1336
1336
|
contracts: {
|
|
1337
1337
|
readonly USDC: {
|
|
1338
|
-
readonly address: "
|
|
1338
|
+
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
1339
1339
|
readonly abi: readonly [{
|
|
1340
1340
|
readonly type: "event";
|
|
1341
1341
|
readonly name: "Approval";
|
|
@@ -1476,7 +1476,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
1476
1476
|
};
|
|
1477
1477
|
};
|
|
1478
1478
|
readonly EURC: {
|
|
1479
|
-
readonly address: "
|
|
1479
|
+
readonly address: "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42";
|
|
1480
1480
|
readonly abi: readonly [{
|
|
1481
1481
|
readonly type: "event";
|
|
1482
1482
|
readonly name: "Approval";
|
|
@@ -1616,159 +1616,54 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
1616
1616
|
readonly decimals: () => 6;
|
|
1617
1617
|
};
|
|
1618
1618
|
};
|
|
1619
|
-
readonly
|
|
1620
|
-
readonly
|
|
1621
|
-
|
|
1622
|
-
readonly type: "event";
|
|
1623
|
-
readonly name: "Approval";
|
|
1624
|
-
readonly inputs: readonly [{
|
|
1625
|
-
readonly indexed: true;
|
|
1626
|
-
readonly name: "owner";
|
|
1627
|
-
readonly type: "address";
|
|
1628
|
-
}, {
|
|
1629
|
-
readonly indexed: true;
|
|
1630
|
-
readonly name: "spender";
|
|
1631
|
-
readonly type: "address";
|
|
1632
|
-
}, {
|
|
1633
|
-
readonly indexed: false;
|
|
1634
|
-
readonly name: "value";
|
|
1635
|
-
readonly type: "uint256";
|
|
1636
|
-
}];
|
|
1637
|
-
}, {
|
|
1638
|
-
readonly type: "event";
|
|
1639
|
-
readonly name: "Transfer";
|
|
1640
|
-
readonly inputs: readonly [{
|
|
1641
|
-
readonly indexed: true;
|
|
1642
|
-
readonly name: "from";
|
|
1643
|
-
readonly type: "address";
|
|
1644
|
-
}, {
|
|
1645
|
-
readonly indexed: true;
|
|
1646
|
-
readonly name: "to";
|
|
1647
|
-
readonly type: "address";
|
|
1648
|
-
}, {
|
|
1649
|
-
readonly indexed: false;
|
|
1650
|
-
readonly name: "value";
|
|
1651
|
-
readonly type: "uint256";
|
|
1652
|
-
}];
|
|
1653
|
-
}, {
|
|
1654
|
-
readonly type: "function";
|
|
1655
|
-
readonly name: "allowance";
|
|
1656
|
-
readonly stateMutability: "view";
|
|
1657
|
-
readonly inputs: readonly [{
|
|
1658
|
-
readonly name: "owner";
|
|
1659
|
-
readonly type: "address";
|
|
1660
|
-
}, {
|
|
1661
|
-
readonly name: "spender";
|
|
1662
|
-
readonly type: "address";
|
|
1663
|
-
}];
|
|
1664
|
-
readonly outputs: readonly [{
|
|
1665
|
-
readonly type: "uint256";
|
|
1666
|
-
}];
|
|
1667
|
-
}, {
|
|
1668
|
-
readonly type: "function";
|
|
1669
|
-
readonly name: "approve";
|
|
1670
|
-
readonly stateMutability: "nonpayable";
|
|
1671
|
-
readonly inputs: readonly [{
|
|
1672
|
-
readonly name: "spender";
|
|
1673
|
-
readonly type: "address";
|
|
1674
|
-
}, {
|
|
1675
|
-
readonly name: "amount";
|
|
1676
|
-
readonly type: "uint256";
|
|
1677
|
-
}];
|
|
1678
|
-
readonly outputs: readonly [{
|
|
1679
|
-
readonly type: "bool";
|
|
1680
|
-
}];
|
|
1681
|
-
}, {
|
|
1682
|
-
readonly type: "function";
|
|
1683
|
-
readonly name: "balanceOf";
|
|
1684
|
-
readonly stateMutability: "view";
|
|
1685
|
-
readonly inputs: readonly [{
|
|
1686
|
-
readonly name: "account";
|
|
1687
|
-
readonly type: "address";
|
|
1688
|
-
}];
|
|
1689
|
-
readonly outputs: readonly [{
|
|
1690
|
-
readonly type: "uint256";
|
|
1691
|
-
}];
|
|
1692
|
-
}, {
|
|
1693
|
-
readonly type: "function";
|
|
1694
|
-
readonly name: "decimals";
|
|
1695
|
-
readonly stateMutability: "view";
|
|
1696
|
-
readonly inputs: readonly [];
|
|
1697
|
-
readonly outputs: readonly [{
|
|
1698
|
-
readonly type: "uint8";
|
|
1699
|
-
}];
|
|
1700
|
-
}, {
|
|
1701
|
-
readonly type: "function";
|
|
1702
|
-
readonly name: "name";
|
|
1703
|
-
readonly stateMutability: "view";
|
|
1704
|
-
readonly inputs: readonly [];
|
|
1705
|
-
readonly outputs: readonly [{
|
|
1706
|
-
readonly type: "string";
|
|
1707
|
-
}];
|
|
1708
|
-
}, {
|
|
1709
|
-
readonly type: "function";
|
|
1710
|
-
readonly name: "symbol";
|
|
1711
|
-
readonly stateMutability: "view";
|
|
1712
|
-
readonly inputs: readonly [];
|
|
1713
|
-
readonly outputs: readonly [{
|
|
1714
|
-
readonly type: "string";
|
|
1715
|
-
}];
|
|
1716
|
-
}, {
|
|
1717
|
-
readonly type: "function";
|
|
1718
|
-
readonly name: "totalSupply";
|
|
1719
|
-
readonly stateMutability: "view";
|
|
1720
|
-
readonly inputs: readonly [];
|
|
1721
|
-
readonly outputs: readonly [{
|
|
1722
|
-
readonly type: "uint256";
|
|
1723
|
-
}];
|
|
1724
|
-
}, {
|
|
1725
|
-
readonly type: "function";
|
|
1726
|
-
readonly name: "transfer";
|
|
1727
|
-
readonly stateMutability: "nonpayable";
|
|
1728
|
-
readonly inputs: readonly [{
|
|
1729
|
-
readonly name: "recipient";
|
|
1730
|
-
readonly type: "address";
|
|
1731
|
-
}, {
|
|
1732
|
-
readonly name: "amount";
|
|
1733
|
-
readonly type: "uint256";
|
|
1734
|
-
}];
|
|
1735
|
-
readonly outputs: readonly [{
|
|
1736
|
-
readonly type: "bool";
|
|
1737
|
-
}];
|
|
1738
|
-
}, {
|
|
1739
|
-
readonly type: "function";
|
|
1740
|
-
readonly name: "transferFrom";
|
|
1741
|
-
readonly stateMutability: "nonpayable";
|
|
1742
|
-
readonly inputs: readonly [{
|
|
1743
|
-
readonly name: "sender";
|
|
1744
|
-
readonly type: "address";
|
|
1745
|
-
}, {
|
|
1746
|
-
readonly name: "recipient";
|
|
1747
|
-
readonly type: "address";
|
|
1748
|
-
}, {
|
|
1749
|
-
readonly name: "amount";
|
|
1750
|
-
readonly type: "uint256";
|
|
1751
|
-
}];
|
|
1752
|
-
readonly outputs: readonly [{
|
|
1753
|
-
readonly type: "bool";
|
|
1754
|
-
}];
|
|
1755
|
-
}];
|
|
1756
|
-
readonly read: {
|
|
1757
|
-
readonly decimals: () => 6;
|
|
1619
|
+
readonly disputeGameFactory: {
|
|
1620
|
+
readonly 1: {
|
|
1621
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
1758
1622
|
};
|
|
1759
1623
|
};
|
|
1760
|
-
readonly
|
|
1761
|
-
readonly
|
|
1762
|
-
|
|
1624
|
+
readonly l2OutputOracle: {
|
|
1625
|
+
readonly 1: {
|
|
1626
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
1627
|
+
};
|
|
1763
1628
|
};
|
|
1764
1629
|
readonly multicall3: {
|
|
1765
1630
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
1766
|
-
readonly blockCreated:
|
|
1631
|
+
readonly blockCreated: 5022;
|
|
1632
|
+
};
|
|
1633
|
+
readonly portal: {
|
|
1634
|
+
readonly 1: {
|
|
1635
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
1636
|
+
readonly blockCreated: 17482143;
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
readonly l1StandardBridge: {
|
|
1640
|
+
readonly 1: {
|
|
1641
|
+
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
1642
|
+
readonly blockCreated: 17482143;
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
readonly gasPriceOracle: {
|
|
1646
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
1647
|
+
};
|
|
1648
|
+
readonly l1Block: {
|
|
1649
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
1650
|
+
};
|
|
1651
|
+
readonly l2CrossDomainMessenger: {
|
|
1652
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
1653
|
+
};
|
|
1654
|
+
readonly l2Erc721Bridge: {
|
|
1655
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
1656
|
+
};
|
|
1657
|
+
readonly l2StandardBridge: {
|
|
1658
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
1659
|
+
};
|
|
1660
|
+
readonly l2ToL1MessagePasser: {
|
|
1661
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
1767
1662
|
};
|
|
1768
1663
|
};
|
|
1769
1664
|
ensTlds?: readonly string[] | undefined;
|
|
1770
|
-
id:
|
|
1771
|
-
name: "
|
|
1665
|
+
id: 8453;
|
|
1666
|
+
name: "Base";
|
|
1772
1667
|
nativeCurrency: {
|
|
1773
1668
|
readonly name: "Ether";
|
|
1774
1669
|
readonly symbol: "ETH";
|
|
@@ -1777,36 +1672,268 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
1777
1672
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1778
1673
|
rpcUrls: {
|
|
1779
1674
|
readonly default: {
|
|
1780
|
-
readonly http: readonly ["https://
|
|
1675
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
1781
1676
|
};
|
|
1782
1677
|
};
|
|
1783
|
-
sourceId
|
|
1678
|
+
sourceId: 1;
|
|
1784
1679
|
testnet?: boolean | undefined | undefined;
|
|
1785
1680
|
custom?: Record<string, unknown> | undefined;
|
|
1786
1681
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1682
|
+
formatters: {
|
|
1683
|
+
readonly block: {
|
|
1684
|
+
exclude: [] | undefined;
|
|
1685
|
+
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
1686
|
+
baseFeePerGas: bigint | null;
|
|
1687
|
+
blobGasUsed: bigint;
|
|
1688
|
+
difficulty: bigint;
|
|
1689
|
+
excessBlobGas: bigint;
|
|
1690
|
+
extraData: import("viem").Hex;
|
|
1691
|
+
gasLimit: bigint;
|
|
1692
|
+
gasUsed: bigint;
|
|
1693
|
+
hash: `0x${string}` | null;
|
|
1694
|
+
logsBloom: `0x${string}` | null;
|
|
1695
|
+
miner: import("abitype").Address;
|
|
1696
|
+
mixHash: import("viem").Hash;
|
|
1697
|
+
nonce: `0x${string}` | null;
|
|
1698
|
+
number: bigint | null;
|
|
1699
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
1700
|
+
parentHash: import("viem").Hash;
|
|
1701
|
+
receiptsRoot: import("viem").Hex;
|
|
1702
|
+
sealFields: import("viem").Hex[];
|
|
1703
|
+
sha3Uncles: import("viem").Hash;
|
|
1704
|
+
size: bigint;
|
|
1705
|
+
stateRoot: import("viem").Hash;
|
|
1706
|
+
timestamp: bigint;
|
|
1707
|
+
totalDifficulty: bigint | null;
|
|
1708
|
+
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
1709
|
+
transactionsRoot: import("viem").Hash;
|
|
1710
|
+
uncles: import("viem").Hash[];
|
|
1711
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
1712
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
1713
|
+
} & {};
|
|
1714
|
+
type: "block";
|
|
1797
1715
|
};
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1716
|
+
readonly transaction: {
|
|
1717
|
+
exclude: [] | undefined;
|
|
1718
|
+
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
1719
|
+
blockHash: `0x${string}` | null;
|
|
1720
|
+
blockNumber: bigint | null;
|
|
1721
|
+
from: import("abitype").Address;
|
|
1722
|
+
gas: bigint;
|
|
1723
|
+
hash: import("viem").Hash;
|
|
1724
|
+
input: import("viem").Hex;
|
|
1725
|
+
nonce: number;
|
|
1726
|
+
r: import("viem").Hex;
|
|
1727
|
+
s: import("viem").Hex;
|
|
1728
|
+
to: import("abitype").Address | null;
|
|
1729
|
+
transactionIndex: number | null;
|
|
1730
|
+
typeHex: import("viem").Hex | null;
|
|
1731
|
+
v: bigint;
|
|
1732
|
+
value: bigint;
|
|
1733
|
+
yParity: number;
|
|
1734
|
+
gasPrice?: undefined | undefined;
|
|
1735
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1736
|
+
maxFeePerGas: bigint;
|
|
1737
|
+
maxPriorityFeePerGas: bigint;
|
|
1738
|
+
isSystemTx?: boolean;
|
|
1739
|
+
mint?: bigint | undefined | undefined;
|
|
1740
|
+
sourceHash: import("viem").Hex;
|
|
1741
|
+
type: "deposit";
|
|
1742
|
+
} | {
|
|
1743
|
+
r: import("viem").Hex;
|
|
1744
|
+
s: import("viem").Hex;
|
|
1745
|
+
v: bigint;
|
|
1746
|
+
to: import("abitype").Address | null;
|
|
1747
|
+
from: import("abitype").Address;
|
|
1748
|
+
gas: bigint;
|
|
1749
|
+
nonce: number;
|
|
1750
|
+
value: bigint;
|
|
1751
|
+
blockHash: `0x${string}` | null;
|
|
1752
|
+
blockNumber: bigint | null;
|
|
1753
|
+
hash: import("viem").Hash;
|
|
1754
|
+
input: import("viem").Hex;
|
|
1755
|
+
transactionIndex: number | null;
|
|
1756
|
+
typeHex: import("viem").Hex | null;
|
|
1757
|
+
accessList?: undefined | undefined;
|
|
1758
|
+
authorizationList?: undefined | undefined;
|
|
1759
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1760
|
+
chainId?: number | undefined;
|
|
1761
|
+
yParity?: undefined | undefined;
|
|
1762
|
+
type: "legacy";
|
|
1763
|
+
gasPrice: bigint;
|
|
1764
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1765
|
+
maxFeePerGas?: undefined | undefined;
|
|
1766
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1767
|
+
isSystemTx?: undefined | undefined;
|
|
1768
|
+
mint?: undefined | undefined;
|
|
1769
|
+
sourceHash?: undefined | undefined;
|
|
1770
|
+
} | {
|
|
1771
|
+
blockHash: `0x${string}` | null;
|
|
1772
|
+
blockNumber: bigint | null;
|
|
1773
|
+
from: import("abitype").Address;
|
|
1774
|
+
gas: bigint;
|
|
1775
|
+
hash: import("viem").Hash;
|
|
1776
|
+
input: import("viem").Hex;
|
|
1777
|
+
nonce: number;
|
|
1778
|
+
r: import("viem").Hex;
|
|
1779
|
+
s: import("viem").Hex;
|
|
1780
|
+
to: import("abitype").Address | null;
|
|
1781
|
+
transactionIndex: number | null;
|
|
1782
|
+
typeHex: import("viem").Hex | null;
|
|
1783
|
+
v: bigint;
|
|
1784
|
+
value: bigint;
|
|
1785
|
+
yParity: number;
|
|
1786
|
+
accessList: import("viem").AccessList;
|
|
1787
|
+
authorizationList?: undefined | undefined;
|
|
1788
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1789
|
+
chainId: number;
|
|
1790
|
+
type: "eip2930";
|
|
1791
|
+
gasPrice: bigint;
|
|
1792
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1793
|
+
maxFeePerGas?: undefined | undefined;
|
|
1794
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1795
|
+
isSystemTx?: undefined | undefined;
|
|
1796
|
+
mint?: undefined | undefined;
|
|
1797
|
+
sourceHash?: undefined | undefined;
|
|
1798
|
+
} | {
|
|
1799
|
+
blockHash: `0x${string}` | null;
|
|
1800
|
+
blockNumber: bigint | null;
|
|
1801
|
+
from: import("abitype").Address;
|
|
1802
|
+
gas: bigint;
|
|
1803
|
+
hash: import("viem").Hash;
|
|
1804
|
+
input: import("viem").Hex;
|
|
1805
|
+
nonce: number;
|
|
1806
|
+
r: import("viem").Hex;
|
|
1807
|
+
s: import("viem").Hex;
|
|
1808
|
+
to: import("abitype").Address | null;
|
|
1809
|
+
transactionIndex: number | null;
|
|
1810
|
+
typeHex: import("viem").Hex | null;
|
|
1811
|
+
v: bigint;
|
|
1812
|
+
value: bigint;
|
|
1813
|
+
yParity: number;
|
|
1814
|
+
accessList: import("viem").AccessList;
|
|
1815
|
+
authorizationList?: undefined | undefined;
|
|
1816
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1817
|
+
chainId: number;
|
|
1818
|
+
type: "eip1559";
|
|
1819
|
+
gasPrice?: undefined | undefined;
|
|
1820
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1821
|
+
maxFeePerGas: bigint;
|
|
1822
|
+
maxPriorityFeePerGas: bigint;
|
|
1823
|
+
isSystemTx?: undefined | undefined;
|
|
1824
|
+
mint?: undefined | undefined;
|
|
1825
|
+
sourceHash?: undefined | undefined;
|
|
1826
|
+
} | {
|
|
1827
|
+
blockHash: `0x${string}` | null;
|
|
1828
|
+
blockNumber: bigint | null;
|
|
1829
|
+
from: import("abitype").Address;
|
|
1830
|
+
gas: bigint;
|
|
1831
|
+
hash: import("viem").Hash;
|
|
1832
|
+
input: import("viem").Hex;
|
|
1833
|
+
nonce: number;
|
|
1834
|
+
r: import("viem").Hex;
|
|
1835
|
+
s: import("viem").Hex;
|
|
1836
|
+
to: import("abitype").Address | null;
|
|
1837
|
+
transactionIndex: number | null;
|
|
1838
|
+
typeHex: import("viem").Hex | null;
|
|
1839
|
+
v: bigint;
|
|
1840
|
+
value: bigint;
|
|
1841
|
+
yParity: number;
|
|
1842
|
+
accessList: import("viem").AccessList;
|
|
1843
|
+
authorizationList?: undefined | undefined;
|
|
1844
|
+
blobVersionedHashes: readonly import("viem").Hex[];
|
|
1845
|
+
chainId: number;
|
|
1846
|
+
type: "eip4844";
|
|
1847
|
+
gasPrice?: undefined | undefined;
|
|
1848
|
+
maxFeePerBlobGas: bigint;
|
|
1849
|
+
maxFeePerGas: bigint;
|
|
1850
|
+
maxPriorityFeePerGas: bigint;
|
|
1851
|
+
isSystemTx?: undefined | undefined;
|
|
1852
|
+
mint?: undefined | undefined;
|
|
1853
|
+
sourceHash?: undefined | undefined;
|
|
1854
|
+
} | {
|
|
1855
|
+
blockHash: `0x${string}` | null;
|
|
1856
|
+
blockNumber: bigint | null;
|
|
1857
|
+
from: import("abitype").Address;
|
|
1858
|
+
gas: bigint;
|
|
1859
|
+
hash: import("viem").Hash;
|
|
1860
|
+
input: import("viem").Hex;
|
|
1861
|
+
nonce: number;
|
|
1862
|
+
r: import("viem").Hex;
|
|
1863
|
+
s: import("viem").Hex;
|
|
1864
|
+
to: import("abitype").Address | null;
|
|
1865
|
+
transactionIndex: number | null;
|
|
1866
|
+
typeHex: import("viem").Hex | null;
|
|
1867
|
+
v: bigint;
|
|
1868
|
+
value: bigint;
|
|
1869
|
+
yParity: number;
|
|
1870
|
+
accessList: import("viem").AccessList;
|
|
1871
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
1872
|
+
blobVersionedHashes?: undefined | undefined;
|
|
1873
|
+
chainId: number;
|
|
1874
|
+
type: "eip7702";
|
|
1875
|
+
gasPrice?: undefined | undefined;
|
|
1876
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1877
|
+
maxFeePerGas: bigint;
|
|
1878
|
+
maxPriorityFeePerGas: bigint;
|
|
1879
|
+
isSystemTx?: undefined | undefined;
|
|
1880
|
+
mint?: undefined | undefined;
|
|
1881
|
+
sourceHash?: undefined | undefined;
|
|
1882
|
+
}) & {};
|
|
1883
|
+
type: "transaction";
|
|
1884
|
+
};
|
|
1885
|
+
readonly transactionReceipt: {
|
|
1886
|
+
exclude: [] | undefined;
|
|
1887
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
1888
|
+
blobGasPrice?: bigint | undefined;
|
|
1889
|
+
blobGasUsed?: bigint | undefined;
|
|
1890
|
+
blockHash: import("viem").Hash;
|
|
1891
|
+
blockNumber: bigint;
|
|
1892
|
+
contractAddress: import("abitype").Address | null | undefined;
|
|
1893
|
+
cumulativeGasUsed: bigint;
|
|
1894
|
+
effectiveGasPrice: bigint;
|
|
1895
|
+
from: import("abitype").Address;
|
|
1896
|
+
gasUsed: bigint;
|
|
1897
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
1898
|
+
logsBloom: import("viem").Hex;
|
|
1899
|
+
root?: `0x${string}` | undefined;
|
|
1900
|
+
status: "success" | "reverted";
|
|
1901
|
+
to: import("abitype").Address | null;
|
|
1902
|
+
transactionHash: import("viem").Hash;
|
|
1903
|
+
transactionIndex: number;
|
|
1904
|
+
type: import("viem").TransactionType;
|
|
1905
|
+
l1GasPrice: bigint | null;
|
|
1906
|
+
l1GasUsed: bigint | null;
|
|
1907
|
+
l1Fee: bigint | null;
|
|
1908
|
+
l1FeeScalar: number | null;
|
|
1909
|
+
} & {};
|
|
1910
|
+
type: "transactionReceipt";
|
|
1911
|
+
};
|
|
1912
|
+
};
|
|
1913
|
+
serializers: {
|
|
1914
|
+
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
1915
|
+
};
|
|
1916
|
+
readonly blockchainId: "BASE";
|
|
1917
|
+
readonly blockchainVm: "EVM";
|
|
1918
|
+
} | {
|
|
1919
|
+
blockExplorers: {
|
|
1920
|
+
readonly default: {
|
|
1921
|
+
readonly name: "Basescan";
|
|
1922
|
+
readonly url: "https://sepolia.basescan.org";
|
|
1923
|
+
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
1924
|
+
};
|
|
1925
|
+
};
|
|
1926
|
+
blockTime: 2000;
|
|
1927
|
+
contracts: {
|
|
1928
|
+
readonly USDC: {
|
|
1929
|
+
readonly address: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
1930
|
+
readonly abi: readonly [{
|
|
1931
|
+
readonly type: "event";
|
|
1932
|
+
readonly name: "Approval";
|
|
1933
|
+
readonly inputs: readonly [{
|
|
1934
|
+
readonly indexed: true;
|
|
1935
|
+
readonly name: "owner";
|
|
1936
|
+
readonly type: "address";
|
|
1810
1937
|
}, {
|
|
1811
1938
|
readonly indexed: true;
|
|
1812
1939
|
readonly name: "spender";
|
|
@@ -1940,7 +2067,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
1940
2067
|
};
|
|
1941
2068
|
};
|
|
1942
2069
|
readonly EURC: {
|
|
1943
|
-
readonly address: "
|
|
2070
|
+
readonly address: "0x808456652fdb597867f38412077A9182bf77359F";
|
|
1944
2071
|
readonly abi: readonly [{
|
|
1945
2072
|
readonly type: "event";
|
|
1946
2073
|
readonly name: "Approval";
|
|
@@ -2080,240 +2207,331 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
2080
2207
|
readonly decimals: () => 6;
|
|
2081
2208
|
};
|
|
2082
2209
|
};
|
|
2210
|
+
readonly disputeGameFactory: {
|
|
2211
|
+
readonly 11155111: {
|
|
2212
|
+
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
2213
|
+
};
|
|
2214
|
+
};
|
|
2215
|
+
readonly l2OutputOracle: {
|
|
2216
|
+
readonly 11155111: {
|
|
2217
|
+
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
2218
|
+
};
|
|
2219
|
+
};
|
|
2220
|
+
readonly portal: {
|
|
2221
|
+
readonly 11155111: {
|
|
2222
|
+
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
2223
|
+
readonly blockCreated: 4446677;
|
|
2224
|
+
};
|
|
2225
|
+
};
|
|
2226
|
+
readonly l1StandardBridge: {
|
|
2227
|
+
readonly 11155111: {
|
|
2228
|
+
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
2229
|
+
readonly blockCreated: 4446677;
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2083
2232
|
readonly multicall3: {
|
|
2084
2233
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2085
|
-
readonly blockCreated:
|
|
2234
|
+
readonly blockCreated: 1059647;
|
|
2086
2235
|
};
|
|
2087
|
-
readonly
|
|
2088
|
-
readonly address: "
|
|
2089
|
-
readonly blockCreated: 8928790;
|
|
2236
|
+
readonly gasPriceOracle: {
|
|
2237
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
2090
2238
|
};
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
id: 11155111;
|
|
2094
|
-
name: "Sepolia";
|
|
2095
|
-
nativeCurrency: {
|
|
2096
|
-
readonly name: "Sepolia Ether";
|
|
2097
|
-
readonly symbol: "ETH";
|
|
2098
|
-
readonly decimals: 18;
|
|
2099
|
-
};
|
|
2100
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2101
|
-
rpcUrls: {
|
|
2102
|
-
readonly default: {
|
|
2103
|
-
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
2239
|
+
readonly l1Block: {
|
|
2240
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
2104
2241
|
};
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
testnet: true;
|
|
2108
|
-
custom?: Record<string, unknown> | undefined;
|
|
2109
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2110
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
2111
|
-
readonly blockchainId: "ETH-SEPOLIA";
|
|
2112
|
-
readonly blockchainVm: "EVM";
|
|
2113
|
-
readonly formatters?: undefined | undefined;
|
|
2114
|
-
} | {
|
|
2115
|
-
blockExplorers: {
|
|
2116
|
-
readonly default: {
|
|
2117
|
-
readonly name: "PolygonScan";
|
|
2118
|
-
readonly url: "https://polygonscan.com";
|
|
2119
|
-
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
2242
|
+
readonly l2CrossDomainMessenger: {
|
|
2243
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
2120
2244
|
};
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
contracts: {
|
|
2124
|
-
readonly USDC: {
|
|
2125
|
-
readonly address: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359";
|
|
2126
|
-
readonly abi: readonly [{
|
|
2127
|
-
readonly type: "event";
|
|
2128
|
-
readonly name: "Approval";
|
|
2129
|
-
readonly inputs: readonly [{
|
|
2130
|
-
readonly indexed: true;
|
|
2131
|
-
readonly name: "owner";
|
|
2132
|
-
readonly type: "address";
|
|
2133
|
-
}, {
|
|
2134
|
-
readonly indexed: true;
|
|
2135
|
-
readonly name: "spender";
|
|
2136
|
-
readonly type: "address";
|
|
2137
|
-
}, {
|
|
2138
|
-
readonly indexed: false;
|
|
2139
|
-
readonly name: "value";
|
|
2140
|
-
readonly type: "uint256";
|
|
2141
|
-
}];
|
|
2142
|
-
}, {
|
|
2143
|
-
readonly type: "event";
|
|
2144
|
-
readonly name: "Transfer";
|
|
2145
|
-
readonly inputs: readonly [{
|
|
2146
|
-
readonly indexed: true;
|
|
2147
|
-
readonly name: "from";
|
|
2148
|
-
readonly type: "address";
|
|
2149
|
-
}, {
|
|
2150
|
-
readonly indexed: true;
|
|
2151
|
-
readonly name: "to";
|
|
2152
|
-
readonly type: "address";
|
|
2153
|
-
}, {
|
|
2154
|
-
readonly indexed: false;
|
|
2155
|
-
readonly name: "value";
|
|
2156
|
-
readonly type: "uint256";
|
|
2157
|
-
}];
|
|
2158
|
-
}, {
|
|
2159
|
-
readonly type: "function";
|
|
2160
|
-
readonly name: "allowance";
|
|
2161
|
-
readonly stateMutability: "view";
|
|
2162
|
-
readonly inputs: readonly [{
|
|
2163
|
-
readonly name: "owner";
|
|
2164
|
-
readonly type: "address";
|
|
2165
|
-
}, {
|
|
2166
|
-
readonly name: "spender";
|
|
2167
|
-
readonly type: "address";
|
|
2168
|
-
}];
|
|
2169
|
-
readonly outputs: readonly [{
|
|
2170
|
-
readonly type: "uint256";
|
|
2171
|
-
}];
|
|
2172
|
-
}, {
|
|
2173
|
-
readonly type: "function";
|
|
2174
|
-
readonly name: "approve";
|
|
2175
|
-
readonly stateMutability: "nonpayable";
|
|
2176
|
-
readonly inputs: readonly [{
|
|
2177
|
-
readonly name: "spender";
|
|
2178
|
-
readonly type: "address";
|
|
2179
|
-
}, {
|
|
2180
|
-
readonly name: "amount";
|
|
2181
|
-
readonly type: "uint256";
|
|
2182
|
-
}];
|
|
2183
|
-
readonly outputs: readonly [{
|
|
2184
|
-
readonly type: "bool";
|
|
2185
|
-
}];
|
|
2186
|
-
}, {
|
|
2187
|
-
readonly type: "function";
|
|
2188
|
-
readonly name: "balanceOf";
|
|
2189
|
-
readonly stateMutability: "view";
|
|
2190
|
-
readonly inputs: readonly [{
|
|
2191
|
-
readonly name: "account";
|
|
2192
|
-
readonly type: "address";
|
|
2193
|
-
}];
|
|
2194
|
-
readonly outputs: readonly [{
|
|
2195
|
-
readonly type: "uint256";
|
|
2196
|
-
}];
|
|
2197
|
-
}, {
|
|
2198
|
-
readonly type: "function";
|
|
2199
|
-
readonly name: "decimals";
|
|
2200
|
-
readonly stateMutability: "view";
|
|
2201
|
-
readonly inputs: readonly [];
|
|
2202
|
-
readonly outputs: readonly [{
|
|
2203
|
-
readonly type: "uint8";
|
|
2204
|
-
}];
|
|
2205
|
-
}, {
|
|
2206
|
-
readonly type: "function";
|
|
2207
|
-
readonly name: "name";
|
|
2208
|
-
readonly stateMutability: "view";
|
|
2209
|
-
readonly inputs: readonly [];
|
|
2210
|
-
readonly outputs: readonly [{
|
|
2211
|
-
readonly type: "string";
|
|
2212
|
-
}];
|
|
2213
|
-
}, {
|
|
2214
|
-
readonly type: "function";
|
|
2215
|
-
readonly name: "symbol";
|
|
2216
|
-
readonly stateMutability: "view";
|
|
2217
|
-
readonly inputs: readonly [];
|
|
2218
|
-
readonly outputs: readonly [{
|
|
2219
|
-
readonly type: "string";
|
|
2220
|
-
}];
|
|
2221
|
-
}, {
|
|
2222
|
-
readonly type: "function";
|
|
2223
|
-
readonly name: "totalSupply";
|
|
2224
|
-
readonly stateMutability: "view";
|
|
2225
|
-
readonly inputs: readonly [];
|
|
2226
|
-
readonly outputs: readonly [{
|
|
2227
|
-
readonly type: "uint256";
|
|
2228
|
-
}];
|
|
2229
|
-
}, {
|
|
2230
|
-
readonly type: "function";
|
|
2231
|
-
readonly name: "transfer";
|
|
2232
|
-
readonly stateMutability: "nonpayable";
|
|
2233
|
-
readonly inputs: readonly [{
|
|
2234
|
-
readonly name: "recipient";
|
|
2235
|
-
readonly type: "address";
|
|
2236
|
-
}, {
|
|
2237
|
-
readonly name: "amount";
|
|
2238
|
-
readonly type: "uint256";
|
|
2239
|
-
}];
|
|
2240
|
-
readonly outputs: readonly [{
|
|
2241
|
-
readonly type: "bool";
|
|
2242
|
-
}];
|
|
2243
|
-
}, {
|
|
2244
|
-
readonly type: "function";
|
|
2245
|
-
readonly name: "transferFrom";
|
|
2246
|
-
readonly stateMutability: "nonpayable";
|
|
2247
|
-
readonly inputs: readonly [{
|
|
2248
|
-
readonly name: "sender";
|
|
2249
|
-
readonly type: "address";
|
|
2250
|
-
}, {
|
|
2251
|
-
readonly name: "recipient";
|
|
2252
|
-
readonly type: "address";
|
|
2253
|
-
}, {
|
|
2254
|
-
readonly name: "amount";
|
|
2255
|
-
readonly type: "uint256";
|
|
2256
|
-
}];
|
|
2257
|
-
readonly outputs: readonly [{
|
|
2258
|
-
readonly type: "bool";
|
|
2259
|
-
}];
|
|
2260
|
-
}];
|
|
2261
|
-
readonly read: {
|
|
2262
|
-
readonly decimals: () => 6;
|
|
2263
|
-
};
|
|
2245
|
+
readonly l2Erc721Bridge: {
|
|
2246
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
2264
2247
|
};
|
|
2265
|
-
readonly
|
|
2266
|
-
readonly address: "
|
|
2267
|
-
|
|
2248
|
+
readonly l2StandardBridge: {
|
|
2249
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
2250
|
+
};
|
|
2251
|
+
readonly l2ToL1MessagePasser: {
|
|
2252
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
2268
2253
|
};
|
|
2269
2254
|
};
|
|
2270
2255
|
ensTlds?: readonly string[] | undefined;
|
|
2271
|
-
id:
|
|
2272
|
-
name: "
|
|
2256
|
+
id: 84532;
|
|
2257
|
+
name: "Base Sepolia";
|
|
2273
2258
|
nativeCurrency: {
|
|
2274
|
-
readonly name: "
|
|
2275
|
-
readonly symbol: "
|
|
2259
|
+
readonly name: "Sepolia Ether";
|
|
2260
|
+
readonly symbol: "ETH";
|
|
2276
2261
|
readonly decimals: 18;
|
|
2277
2262
|
};
|
|
2278
2263
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2279
2264
|
rpcUrls: {
|
|
2280
2265
|
readonly default: {
|
|
2281
|
-
readonly http: readonly ["https://
|
|
2266
|
+
readonly http: readonly ["https://sepolia.base.org"];
|
|
2282
2267
|
};
|
|
2283
2268
|
};
|
|
2284
|
-
sourceId
|
|
2285
|
-
testnet
|
|
2269
|
+
sourceId: 11155111;
|
|
2270
|
+
testnet: true;
|
|
2286
2271
|
custom?: Record<string, unknown> | undefined;
|
|
2287
2272
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2273
|
+
formatters: {
|
|
2274
|
+
readonly block: {
|
|
2275
|
+
exclude: [] | undefined;
|
|
2276
|
+
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
2277
|
+
baseFeePerGas: bigint | null;
|
|
2278
|
+
blobGasUsed: bigint;
|
|
2279
|
+
difficulty: bigint;
|
|
2280
|
+
excessBlobGas: bigint;
|
|
2281
|
+
extraData: import("viem").Hex;
|
|
2282
|
+
gasLimit: bigint;
|
|
2283
|
+
gasUsed: bigint;
|
|
2284
|
+
hash: `0x${string}` | null;
|
|
2285
|
+
logsBloom: `0x${string}` | null;
|
|
2286
|
+
miner: import("abitype").Address;
|
|
2287
|
+
mixHash: import("viem").Hash;
|
|
2288
|
+
nonce: `0x${string}` | null;
|
|
2289
|
+
number: bigint | null;
|
|
2290
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
2291
|
+
parentHash: import("viem").Hash;
|
|
2292
|
+
receiptsRoot: import("viem").Hex;
|
|
2293
|
+
sealFields: import("viem").Hex[];
|
|
2294
|
+
sha3Uncles: import("viem").Hash;
|
|
2295
|
+
size: bigint;
|
|
2296
|
+
stateRoot: import("viem").Hash;
|
|
2297
|
+
timestamp: bigint;
|
|
2298
|
+
totalDifficulty: bigint | null;
|
|
2299
|
+
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
2300
|
+
transactionsRoot: import("viem").Hash;
|
|
2301
|
+
uncles: import("viem").Hash[];
|
|
2302
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
2303
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
2304
|
+
} & {};
|
|
2305
|
+
type: "block";
|
|
2298
2306
|
};
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2307
|
+
readonly transaction: {
|
|
2308
|
+
exclude: [] | undefined;
|
|
2309
|
+
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
2310
|
+
blockHash: `0x${string}` | null;
|
|
2311
|
+
blockNumber: bigint | null;
|
|
2312
|
+
from: import("abitype").Address;
|
|
2313
|
+
gas: bigint;
|
|
2314
|
+
hash: import("viem").Hash;
|
|
2315
|
+
input: import("viem").Hex;
|
|
2316
|
+
nonce: number;
|
|
2317
|
+
r: import("viem").Hex;
|
|
2318
|
+
s: import("viem").Hex;
|
|
2319
|
+
to: import("abitype").Address | null;
|
|
2320
|
+
transactionIndex: number | null;
|
|
2321
|
+
typeHex: import("viem").Hex | null;
|
|
2322
|
+
v: bigint;
|
|
2323
|
+
value: bigint;
|
|
2324
|
+
yParity: number;
|
|
2325
|
+
gasPrice?: undefined | undefined;
|
|
2326
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2327
|
+
maxFeePerGas: bigint;
|
|
2328
|
+
maxPriorityFeePerGas: bigint;
|
|
2329
|
+
isSystemTx?: boolean;
|
|
2330
|
+
mint?: bigint | undefined | undefined;
|
|
2331
|
+
sourceHash: import("viem").Hex;
|
|
2332
|
+
type: "deposit";
|
|
2333
|
+
} | {
|
|
2334
|
+
r: import("viem").Hex;
|
|
2335
|
+
s: import("viem").Hex;
|
|
2336
|
+
v: bigint;
|
|
2337
|
+
to: import("abitype").Address | null;
|
|
2338
|
+
from: import("abitype").Address;
|
|
2339
|
+
gas: bigint;
|
|
2340
|
+
nonce: number;
|
|
2341
|
+
value: bigint;
|
|
2342
|
+
blockHash: `0x${string}` | null;
|
|
2343
|
+
blockNumber: bigint | null;
|
|
2344
|
+
hash: import("viem").Hash;
|
|
2345
|
+
input: import("viem").Hex;
|
|
2346
|
+
transactionIndex: number | null;
|
|
2347
|
+
typeHex: import("viem").Hex | null;
|
|
2348
|
+
accessList?: undefined | undefined;
|
|
2349
|
+
authorizationList?: undefined | undefined;
|
|
2350
|
+
blobVersionedHashes?: undefined | undefined;
|
|
2351
|
+
chainId?: number | undefined;
|
|
2352
|
+
yParity?: undefined | undefined;
|
|
2353
|
+
type: "legacy";
|
|
2354
|
+
gasPrice: bigint;
|
|
2355
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2356
|
+
maxFeePerGas?: undefined | undefined;
|
|
2357
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
2358
|
+
isSystemTx?: undefined | undefined;
|
|
2359
|
+
mint?: undefined | undefined;
|
|
2360
|
+
sourceHash?: undefined | undefined;
|
|
2361
|
+
} | {
|
|
2362
|
+
blockHash: `0x${string}` | null;
|
|
2363
|
+
blockNumber: bigint | null;
|
|
2364
|
+
from: import("abitype").Address;
|
|
2365
|
+
gas: bigint;
|
|
2366
|
+
hash: import("viem").Hash;
|
|
2367
|
+
input: import("viem").Hex;
|
|
2368
|
+
nonce: number;
|
|
2369
|
+
r: import("viem").Hex;
|
|
2370
|
+
s: import("viem").Hex;
|
|
2371
|
+
to: import("abitype").Address | null;
|
|
2372
|
+
transactionIndex: number | null;
|
|
2373
|
+
typeHex: import("viem").Hex | null;
|
|
2374
|
+
v: bigint;
|
|
2375
|
+
value: bigint;
|
|
2376
|
+
yParity: number;
|
|
2377
|
+
accessList: import("viem").AccessList;
|
|
2378
|
+
authorizationList?: undefined | undefined;
|
|
2379
|
+
blobVersionedHashes?: undefined | undefined;
|
|
2380
|
+
chainId: number;
|
|
2381
|
+
type: "eip2930";
|
|
2382
|
+
gasPrice: bigint;
|
|
2383
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2384
|
+
maxFeePerGas?: undefined | undefined;
|
|
2385
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
2386
|
+
isSystemTx?: undefined | undefined;
|
|
2387
|
+
mint?: undefined | undefined;
|
|
2388
|
+
sourceHash?: undefined | undefined;
|
|
2389
|
+
} | {
|
|
2390
|
+
blockHash: `0x${string}` | null;
|
|
2391
|
+
blockNumber: bigint | null;
|
|
2392
|
+
from: import("abitype").Address;
|
|
2393
|
+
gas: bigint;
|
|
2394
|
+
hash: import("viem").Hash;
|
|
2395
|
+
input: import("viem").Hex;
|
|
2396
|
+
nonce: number;
|
|
2397
|
+
r: import("viem").Hex;
|
|
2398
|
+
s: import("viem").Hex;
|
|
2399
|
+
to: import("abitype").Address | null;
|
|
2400
|
+
transactionIndex: number | null;
|
|
2401
|
+
typeHex: import("viem").Hex | null;
|
|
2402
|
+
v: bigint;
|
|
2403
|
+
value: bigint;
|
|
2404
|
+
yParity: number;
|
|
2405
|
+
accessList: import("viem").AccessList;
|
|
2406
|
+
authorizationList?: undefined | undefined;
|
|
2407
|
+
blobVersionedHashes?: undefined | undefined;
|
|
2408
|
+
chainId: number;
|
|
2409
|
+
type: "eip1559";
|
|
2410
|
+
gasPrice?: undefined | undefined;
|
|
2411
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2412
|
+
maxFeePerGas: bigint;
|
|
2413
|
+
maxPriorityFeePerGas: bigint;
|
|
2414
|
+
isSystemTx?: undefined | undefined;
|
|
2415
|
+
mint?: undefined | undefined;
|
|
2416
|
+
sourceHash?: undefined | undefined;
|
|
2417
|
+
} | {
|
|
2418
|
+
blockHash: `0x${string}` | null;
|
|
2419
|
+
blockNumber: bigint | null;
|
|
2420
|
+
from: import("abitype").Address;
|
|
2421
|
+
gas: bigint;
|
|
2422
|
+
hash: import("viem").Hash;
|
|
2423
|
+
input: import("viem").Hex;
|
|
2424
|
+
nonce: number;
|
|
2425
|
+
r: import("viem").Hex;
|
|
2426
|
+
s: import("viem").Hex;
|
|
2427
|
+
to: import("abitype").Address | null;
|
|
2428
|
+
transactionIndex: number | null;
|
|
2429
|
+
typeHex: import("viem").Hex | null;
|
|
2430
|
+
v: bigint;
|
|
2431
|
+
value: bigint;
|
|
2432
|
+
yParity: number;
|
|
2433
|
+
accessList: import("viem").AccessList;
|
|
2434
|
+
authorizationList?: undefined | undefined;
|
|
2435
|
+
blobVersionedHashes: readonly import("viem").Hex[];
|
|
2436
|
+
chainId: number;
|
|
2437
|
+
type: "eip4844";
|
|
2438
|
+
gasPrice?: undefined | undefined;
|
|
2439
|
+
maxFeePerBlobGas: bigint;
|
|
2440
|
+
maxFeePerGas: bigint;
|
|
2441
|
+
maxPriorityFeePerGas: bigint;
|
|
2442
|
+
isSystemTx?: undefined | undefined;
|
|
2443
|
+
mint?: undefined | undefined;
|
|
2444
|
+
sourceHash?: undefined | undefined;
|
|
2445
|
+
} | {
|
|
2446
|
+
blockHash: `0x${string}` | null;
|
|
2447
|
+
blockNumber: bigint | null;
|
|
2448
|
+
from: import("abitype").Address;
|
|
2449
|
+
gas: bigint;
|
|
2450
|
+
hash: import("viem").Hash;
|
|
2451
|
+
input: import("viem").Hex;
|
|
2452
|
+
nonce: number;
|
|
2453
|
+
r: import("viem").Hex;
|
|
2454
|
+
s: import("viem").Hex;
|
|
2455
|
+
to: import("abitype").Address | null;
|
|
2456
|
+
transactionIndex: number | null;
|
|
2457
|
+
typeHex: import("viem").Hex | null;
|
|
2458
|
+
v: bigint;
|
|
2459
|
+
value: bigint;
|
|
2460
|
+
yParity: number;
|
|
2461
|
+
accessList: import("viem").AccessList;
|
|
2462
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
2463
|
+
blobVersionedHashes?: undefined | undefined;
|
|
2464
|
+
chainId: number;
|
|
2465
|
+
type: "eip7702";
|
|
2466
|
+
gasPrice?: undefined | undefined;
|
|
2467
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
2468
|
+
maxFeePerGas: bigint;
|
|
2469
|
+
maxPriorityFeePerGas: bigint;
|
|
2470
|
+
isSystemTx?: undefined | undefined;
|
|
2471
|
+
mint?: undefined | undefined;
|
|
2472
|
+
sourceHash?: undefined | undefined;
|
|
2473
|
+
}) & {};
|
|
2474
|
+
type: "transaction";
|
|
2475
|
+
};
|
|
2476
|
+
readonly transactionReceipt: {
|
|
2477
|
+
exclude: [] | undefined;
|
|
2478
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
2479
|
+
blobGasPrice?: bigint | undefined;
|
|
2480
|
+
blobGasUsed?: bigint | undefined;
|
|
2481
|
+
blockHash: import("viem").Hash;
|
|
2482
|
+
blockNumber: bigint;
|
|
2483
|
+
contractAddress: import("abitype").Address | null | undefined;
|
|
2484
|
+
cumulativeGasUsed: bigint;
|
|
2485
|
+
effectiveGasPrice: bigint;
|
|
2486
|
+
from: import("abitype").Address;
|
|
2487
|
+
gasUsed: bigint;
|
|
2488
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
2489
|
+
logsBloom: import("viem").Hex;
|
|
2490
|
+
root?: `0x${string}` | undefined;
|
|
2491
|
+
status: "success" | "reverted";
|
|
2492
|
+
to: import("abitype").Address | null;
|
|
2493
|
+
transactionHash: import("viem").Hash;
|
|
2494
|
+
transactionIndex: number;
|
|
2495
|
+
type: import("viem").TransactionType;
|
|
2496
|
+
l1GasPrice: bigint | null;
|
|
2497
|
+
l1GasUsed: bigint | null;
|
|
2498
|
+
l1Fee: bigint | null;
|
|
2499
|
+
l1FeeScalar: number | null;
|
|
2500
|
+
} & {};
|
|
2501
|
+
type: "transactionReceipt";
|
|
2502
|
+
};
|
|
2503
|
+
};
|
|
2504
|
+
serializers: {
|
|
2505
|
+
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
2506
|
+
};
|
|
2507
|
+
readonly blockchainId: "BASE-SEPOLIA";
|
|
2508
|
+
readonly blockchainVm: "EVM";
|
|
2509
|
+
readonly network: "base-sepolia";
|
|
2510
|
+
} | {
|
|
2511
|
+
blockExplorers: {
|
|
2512
|
+
readonly default: {
|
|
2513
|
+
readonly name: "Etherscan";
|
|
2514
|
+
readonly url: "https://etherscan.io";
|
|
2515
|
+
readonly apiUrl: "https://api.etherscan.io/api";
|
|
2516
|
+
};
|
|
2517
|
+
};
|
|
2518
|
+
blockTime: 12000;
|
|
2519
|
+
contracts: {
|
|
2520
|
+
readonly USDC: {
|
|
2521
|
+
readonly address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48";
|
|
2522
|
+
readonly abi: readonly [{
|
|
2523
|
+
readonly type: "event";
|
|
2524
|
+
readonly name: "Approval";
|
|
2525
|
+
readonly inputs: readonly [{
|
|
2526
|
+
readonly indexed: true;
|
|
2527
|
+
readonly name: "owner";
|
|
2528
|
+
readonly type: "address";
|
|
2529
|
+
}, {
|
|
2530
|
+
readonly indexed: true;
|
|
2531
|
+
readonly name: "spender";
|
|
2532
|
+
readonly type: "address";
|
|
2533
|
+
}, {
|
|
2534
|
+
readonly indexed: false;
|
|
2317
2535
|
readonly name: "value";
|
|
2318
2536
|
readonly type: "uint256";
|
|
2319
2537
|
}];
|
|
@@ -2440,45 +2658,8 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
2440
2658
|
readonly decimals: () => 6;
|
|
2441
2659
|
};
|
|
2442
2660
|
};
|
|
2443
|
-
readonly
|
|
2444
|
-
readonly address: "
|
|
2445
|
-
readonly blockCreated: 3127388;
|
|
2446
|
-
};
|
|
2447
|
-
};
|
|
2448
|
-
ensTlds?: readonly string[] | undefined;
|
|
2449
|
-
id: 80002;
|
|
2450
|
-
name: "Polygon Amoy";
|
|
2451
|
-
nativeCurrency: {
|
|
2452
|
-
readonly name: "POL";
|
|
2453
|
-
readonly symbol: "POL";
|
|
2454
|
-
readonly decimals: 18;
|
|
2455
|
-
};
|
|
2456
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2457
|
-
rpcUrls: {
|
|
2458
|
-
readonly default: {
|
|
2459
|
-
readonly http: readonly ["https://rpc-amoy.polygon.technology"];
|
|
2460
|
-
};
|
|
2461
|
-
};
|
|
2462
|
-
sourceId?: number | undefined | undefined;
|
|
2463
|
-
testnet: true;
|
|
2464
|
-
custom?: Record<string, unknown> | undefined;
|
|
2465
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2466
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
2467
|
-
readonly blockchainId: "MATIC-AMOY";
|
|
2468
|
-
readonly blockchainVm: "EVM";
|
|
2469
|
-
readonly formatters?: undefined | undefined;
|
|
2470
|
-
} | {
|
|
2471
|
-
blockExplorers: {
|
|
2472
|
-
readonly default: {
|
|
2473
|
-
readonly name: "Basescan";
|
|
2474
|
-
readonly url: "https://basescan.org";
|
|
2475
|
-
readonly apiUrl: "https://api.basescan.org/api";
|
|
2476
|
-
};
|
|
2477
|
-
};
|
|
2478
|
-
blockTime: 2000;
|
|
2479
|
-
contracts: {
|
|
2480
|
-
readonly USDC: {
|
|
2481
|
-
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
2661
|
+
readonly EURC: {
|
|
2662
|
+
readonly address: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c";
|
|
2482
2663
|
readonly abi: readonly [{
|
|
2483
2664
|
readonly type: "event";
|
|
2484
2665
|
readonly name: "Approval";
|
|
@@ -2618,8 +2799,8 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
2618
2799
|
readonly decimals: () => 6;
|
|
2619
2800
|
};
|
|
2620
2801
|
};
|
|
2621
|
-
readonly
|
|
2622
|
-
readonly address: "
|
|
2802
|
+
readonly USDT: {
|
|
2803
|
+
readonly address: "0xdac17f958d2ee523a2206206994597c13d831ec7";
|
|
2623
2804
|
readonly abi: readonly [{
|
|
2624
2805
|
readonly type: "event";
|
|
2625
2806
|
readonly name: "Approval";
|
|
@@ -2759,54 +2940,18 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
2759
2940
|
readonly decimals: () => 6;
|
|
2760
2941
|
};
|
|
2761
2942
|
};
|
|
2762
|
-
readonly
|
|
2763
|
-
readonly
|
|
2764
|
-
|
|
2765
|
-
};
|
|
2766
|
-
};
|
|
2767
|
-
readonly l2OutputOracle: {
|
|
2768
|
-
readonly 1: {
|
|
2769
|
-
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
2770
|
-
};
|
|
2943
|
+
readonly ensUniversalResolver: {
|
|
2944
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
2945
|
+
readonly blockCreated: 23085558;
|
|
2771
2946
|
};
|
|
2772
2947
|
readonly multicall3: {
|
|
2773
2948
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
2774
|
-
readonly blockCreated:
|
|
2775
|
-
};
|
|
2776
|
-
readonly portal: {
|
|
2777
|
-
readonly 1: {
|
|
2778
|
-
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
2779
|
-
readonly blockCreated: 17482143;
|
|
2780
|
-
};
|
|
2781
|
-
};
|
|
2782
|
-
readonly l1StandardBridge: {
|
|
2783
|
-
readonly 1: {
|
|
2784
|
-
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
2785
|
-
readonly blockCreated: 17482143;
|
|
2786
|
-
};
|
|
2787
|
-
};
|
|
2788
|
-
readonly gasPriceOracle: {
|
|
2789
|
-
readonly address: "0x420000000000000000000000000000000000000F";
|
|
2790
|
-
};
|
|
2791
|
-
readonly l1Block: {
|
|
2792
|
-
readonly address: "0x4200000000000000000000000000000000000015";
|
|
2793
|
-
};
|
|
2794
|
-
readonly l2CrossDomainMessenger: {
|
|
2795
|
-
readonly address: "0x4200000000000000000000000000000000000007";
|
|
2796
|
-
};
|
|
2797
|
-
readonly l2Erc721Bridge: {
|
|
2798
|
-
readonly address: "0x4200000000000000000000000000000000000014";
|
|
2799
|
-
};
|
|
2800
|
-
readonly l2StandardBridge: {
|
|
2801
|
-
readonly address: "0x4200000000000000000000000000000000000010";
|
|
2802
|
-
};
|
|
2803
|
-
readonly l2ToL1MessagePasser: {
|
|
2804
|
-
readonly address: "0x4200000000000000000000000000000000000016";
|
|
2949
|
+
readonly blockCreated: 14353601;
|
|
2805
2950
|
};
|
|
2806
2951
|
};
|
|
2807
2952
|
ensTlds?: readonly string[] | undefined;
|
|
2808
|
-
id:
|
|
2809
|
-
name: "
|
|
2953
|
+
id: 1;
|
|
2954
|
+
name: "Ethereum";
|
|
2810
2955
|
nativeCurrency: {
|
|
2811
2956
|
readonly name: "Ether";
|
|
2812
2957
|
readonly symbol: "ETH";
|
|
@@ -2815,261 +2960,29 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
2815
2960
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
2816
2961
|
rpcUrls: {
|
|
2817
2962
|
readonly default: {
|
|
2818
|
-
readonly http: readonly ["https://
|
|
2963
|
+
readonly http: readonly ["https://eth.merkle.io"];
|
|
2819
2964
|
};
|
|
2820
2965
|
};
|
|
2821
|
-
sourceId
|
|
2966
|
+
sourceId?: number | undefined | undefined;
|
|
2822
2967
|
testnet?: boolean | undefined | undefined;
|
|
2823
2968
|
custom?: Record<string, unknown> | undefined;
|
|
2824
2969
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
gasUsed: bigint;
|
|
2836
|
-
hash: `0x${string}` | null;
|
|
2837
|
-
logsBloom: `0x${string}` | null;
|
|
2838
|
-
miner: import("abitype").Address;
|
|
2839
|
-
mixHash: import("viem").Hash;
|
|
2840
|
-
nonce: `0x${string}` | null;
|
|
2841
|
-
number: bigint | null;
|
|
2842
|
-
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
2843
|
-
parentHash: import("viem").Hash;
|
|
2844
|
-
receiptsRoot: import("viem").Hex;
|
|
2845
|
-
sealFields: import("viem").Hex[];
|
|
2846
|
-
sha3Uncles: import("viem").Hash;
|
|
2847
|
-
size: bigint;
|
|
2848
|
-
stateRoot: import("viem").Hash;
|
|
2849
|
-
timestamp: bigint;
|
|
2850
|
-
totalDifficulty: bigint | null;
|
|
2851
|
-
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
2852
|
-
transactionsRoot: import("viem").Hash;
|
|
2853
|
-
uncles: import("viem").Hash[];
|
|
2854
|
-
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
2855
|
-
withdrawalsRoot?: `0x${string}` | undefined;
|
|
2856
|
-
} & {};
|
|
2857
|
-
type: "block";
|
|
2858
|
-
};
|
|
2859
|
-
readonly transaction: {
|
|
2860
|
-
exclude: [] | undefined;
|
|
2861
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
2862
|
-
blockHash: `0x${string}` | null;
|
|
2863
|
-
blockNumber: bigint | null;
|
|
2864
|
-
from: import("abitype").Address;
|
|
2865
|
-
gas: bigint;
|
|
2866
|
-
hash: import("viem").Hash;
|
|
2867
|
-
input: import("viem").Hex;
|
|
2868
|
-
nonce: number;
|
|
2869
|
-
r: import("viem").Hex;
|
|
2870
|
-
s: import("viem").Hex;
|
|
2871
|
-
to: import("abitype").Address | null;
|
|
2872
|
-
transactionIndex: number | null;
|
|
2873
|
-
typeHex: import("viem").Hex | null;
|
|
2874
|
-
v: bigint;
|
|
2875
|
-
value: bigint;
|
|
2876
|
-
yParity: number;
|
|
2877
|
-
gasPrice?: undefined | undefined;
|
|
2878
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
2879
|
-
maxFeePerGas: bigint;
|
|
2880
|
-
maxPriorityFeePerGas: bigint;
|
|
2881
|
-
isSystemTx?: boolean;
|
|
2882
|
-
mint?: bigint | undefined | undefined;
|
|
2883
|
-
sourceHash: import("viem").Hex;
|
|
2884
|
-
type: "deposit";
|
|
2885
|
-
} | {
|
|
2886
|
-
r: import("viem").Hex;
|
|
2887
|
-
s: import("viem").Hex;
|
|
2888
|
-
v: bigint;
|
|
2889
|
-
to: import("abitype").Address | null;
|
|
2890
|
-
from: import("abitype").Address;
|
|
2891
|
-
gas: bigint;
|
|
2892
|
-
nonce: number;
|
|
2893
|
-
value: bigint;
|
|
2894
|
-
blockHash: `0x${string}` | null;
|
|
2895
|
-
blockNumber: bigint | null;
|
|
2896
|
-
hash: import("viem").Hash;
|
|
2897
|
-
input: import("viem").Hex;
|
|
2898
|
-
transactionIndex: number | null;
|
|
2899
|
-
typeHex: import("viem").Hex | null;
|
|
2900
|
-
accessList?: undefined | undefined;
|
|
2901
|
-
authorizationList?: undefined | undefined;
|
|
2902
|
-
blobVersionedHashes?: undefined | undefined;
|
|
2903
|
-
chainId?: number | undefined;
|
|
2904
|
-
yParity?: undefined | undefined;
|
|
2905
|
-
type: "legacy";
|
|
2906
|
-
gasPrice: bigint;
|
|
2907
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
2908
|
-
maxFeePerGas?: undefined | undefined;
|
|
2909
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
2910
|
-
isSystemTx?: undefined | undefined;
|
|
2911
|
-
mint?: undefined | undefined;
|
|
2912
|
-
sourceHash?: undefined | undefined;
|
|
2913
|
-
} | {
|
|
2914
|
-
blockHash: `0x${string}` | null;
|
|
2915
|
-
blockNumber: bigint | null;
|
|
2916
|
-
from: import("abitype").Address;
|
|
2917
|
-
gas: bigint;
|
|
2918
|
-
hash: import("viem").Hash;
|
|
2919
|
-
input: import("viem").Hex;
|
|
2920
|
-
nonce: number;
|
|
2921
|
-
r: import("viem").Hex;
|
|
2922
|
-
s: import("viem").Hex;
|
|
2923
|
-
to: import("abitype").Address | null;
|
|
2924
|
-
transactionIndex: number | null;
|
|
2925
|
-
typeHex: import("viem").Hex | null;
|
|
2926
|
-
v: bigint;
|
|
2927
|
-
value: bigint;
|
|
2928
|
-
yParity: number;
|
|
2929
|
-
accessList: import("viem").AccessList;
|
|
2930
|
-
authorizationList?: undefined | undefined;
|
|
2931
|
-
blobVersionedHashes?: undefined | undefined;
|
|
2932
|
-
chainId: number;
|
|
2933
|
-
type: "eip2930";
|
|
2934
|
-
gasPrice: bigint;
|
|
2935
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
2936
|
-
maxFeePerGas?: undefined | undefined;
|
|
2937
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
2938
|
-
isSystemTx?: undefined | undefined;
|
|
2939
|
-
mint?: undefined | undefined;
|
|
2940
|
-
sourceHash?: undefined | undefined;
|
|
2941
|
-
} | {
|
|
2942
|
-
blockHash: `0x${string}` | null;
|
|
2943
|
-
blockNumber: bigint | null;
|
|
2944
|
-
from: import("abitype").Address;
|
|
2945
|
-
gas: bigint;
|
|
2946
|
-
hash: import("viem").Hash;
|
|
2947
|
-
input: import("viem").Hex;
|
|
2948
|
-
nonce: number;
|
|
2949
|
-
r: import("viem").Hex;
|
|
2950
|
-
s: import("viem").Hex;
|
|
2951
|
-
to: import("abitype").Address | null;
|
|
2952
|
-
transactionIndex: number | null;
|
|
2953
|
-
typeHex: import("viem").Hex | null;
|
|
2954
|
-
v: bigint;
|
|
2955
|
-
value: bigint;
|
|
2956
|
-
yParity: number;
|
|
2957
|
-
accessList: import("viem").AccessList;
|
|
2958
|
-
authorizationList?: undefined | undefined;
|
|
2959
|
-
blobVersionedHashes?: undefined | undefined;
|
|
2960
|
-
chainId: number;
|
|
2961
|
-
type: "eip1559";
|
|
2962
|
-
gasPrice?: undefined | undefined;
|
|
2963
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
2964
|
-
maxFeePerGas: bigint;
|
|
2965
|
-
maxPriorityFeePerGas: bigint;
|
|
2966
|
-
isSystemTx?: undefined | undefined;
|
|
2967
|
-
mint?: undefined | undefined;
|
|
2968
|
-
sourceHash?: undefined | undefined;
|
|
2969
|
-
} | {
|
|
2970
|
-
blockHash: `0x${string}` | null;
|
|
2971
|
-
blockNumber: bigint | null;
|
|
2972
|
-
from: import("abitype").Address;
|
|
2973
|
-
gas: bigint;
|
|
2974
|
-
hash: import("viem").Hash;
|
|
2975
|
-
input: import("viem").Hex;
|
|
2976
|
-
nonce: number;
|
|
2977
|
-
r: import("viem").Hex;
|
|
2978
|
-
s: import("viem").Hex;
|
|
2979
|
-
to: import("abitype").Address | null;
|
|
2980
|
-
transactionIndex: number | null;
|
|
2981
|
-
typeHex: import("viem").Hex | null;
|
|
2982
|
-
v: bigint;
|
|
2983
|
-
value: bigint;
|
|
2984
|
-
yParity: number;
|
|
2985
|
-
accessList: import("viem").AccessList;
|
|
2986
|
-
authorizationList?: undefined | undefined;
|
|
2987
|
-
blobVersionedHashes: readonly import("viem").Hex[];
|
|
2988
|
-
chainId: number;
|
|
2989
|
-
type: "eip4844";
|
|
2990
|
-
gasPrice?: undefined | undefined;
|
|
2991
|
-
maxFeePerBlobGas: bigint;
|
|
2992
|
-
maxFeePerGas: bigint;
|
|
2993
|
-
maxPriorityFeePerGas: bigint;
|
|
2994
|
-
isSystemTx?: undefined | undefined;
|
|
2995
|
-
mint?: undefined | undefined;
|
|
2996
|
-
sourceHash?: undefined | undefined;
|
|
2997
|
-
} | {
|
|
2998
|
-
blockHash: `0x${string}` | null;
|
|
2999
|
-
blockNumber: bigint | null;
|
|
3000
|
-
from: import("abitype").Address;
|
|
3001
|
-
gas: bigint;
|
|
3002
|
-
hash: import("viem").Hash;
|
|
3003
|
-
input: import("viem").Hex;
|
|
3004
|
-
nonce: number;
|
|
3005
|
-
r: import("viem").Hex;
|
|
3006
|
-
s: import("viem").Hex;
|
|
3007
|
-
to: import("abitype").Address | null;
|
|
3008
|
-
transactionIndex: number | null;
|
|
3009
|
-
typeHex: import("viem").Hex | null;
|
|
3010
|
-
v: bigint;
|
|
3011
|
-
value: bigint;
|
|
3012
|
-
yParity: number;
|
|
3013
|
-
accessList: import("viem").AccessList;
|
|
3014
|
-
authorizationList: import("viem").SignedAuthorizationList;
|
|
3015
|
-
blobVersionedHashes?: undefined | undefined;
|
|
3016
|
-
chainId: number;
|
|
3017
|
-
type: "eip7702";
|
|
3018
|
-
gasPrice?: undefined | undefined;
|
|
3019
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
3020
|
-
maxFeePerGas: bigint;
|
|
3021
|
-
maxPriorityFeePerGas: bigint;
|
|
3022
|
-
isSystemTx?: undefined | undefined;
|
|
3023
|
-
mint?: undefined | undefined;
|
|
3024
|
-
sourceHash?: undefined | undefined;
|
|
3025
|
-
}) & {};
|
|
3026
|
-
type: "transaction";
|
|
3027
|
-
};
|
|
3028
|
-
readonly transactionReceipt: {
|
|
3029
|
-
exclude: [] | undefined;
|
|
3030
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
3031
|
-
blobGasPrice?: bigint | undefined;
|
|
3032
|
-
blobGasUsed?: bigint | undefined;
|
|
3033
|
-
blockHash: import("viem").Hash;
|
|
3034
|
-
blockNumber: bigint;
|
|
3035
|
-
contractAddress: import("abitype").Address | null | undefined;
|
|
3036
|
-
cumulativeGasUsed: bigint;
|
|
3037
|
-
effectiveGasPrice: bigint;
|
|
3038
|
-
from: import("abitype").Address;
|
|
3039
|
-
gasUsed: bigint;
|
|
3040
|
-
logs: import("viem").Log<bigint, number, false>[];
|
|
3041
|
-
logsBloom: import("viem").Hex;
|
|
3042
|
-
root?: `0x${string}` | undefined;
|
|
3043
|
-
status: "success" | "reverted";
|
|
3044
|
-
to: import("abitype").Address | null;
|
|
3045
|
-
transactionHash: import("viem").Hash;
|
|
3046
|
-
transactionIndex: number;
|
|
3047
|
-
type: import("viem").TransactionType;
|
|
3048
|
-
l1GasPrice: bigint | null;
|
|
3049
|
-
l1GasUsed: bigint | null;
|
|
3050
|
-
l1Fee: bigint | null;
|
|
3051
|
-
l1FeeScalar: number | null;
|
|
3052
|
-
} & {};
|
|
3053
|
-
type: "transactionReceipt";
|
|
3054
|
-
};
|
|
3055
|
-
};
|
|
3056
|
-
serializers: {
|
|
3057
|
-
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
3058
|
-
};
|
|
3059
|
-
readonly blockchainId: "BASE";
|
|
3060
|
-
readonly blockchainVm: "EVM";
|
|
3061
|
-
} | {
|
|
3062
|
-
blockExplorers: {
|
|
3063
|
-
readonly default: {
|
|
3064
|
-
readonly name: "Basescan";
|
|
3065
|
-
readonly url: "https://sepolia.basescan.org";
|
|
3066
|
-
readonly apiUrl: "https://api-sepolia.basescan.org/api";
|
|
2970
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
2971
|
+
readonly blockchainId: "ETH";
|
|
2972
|
+
readonly blockchainVm: "EVM";
|
|
2973
|
+
readonly formatters?: undefined | undefined;
|
|
2974
|
+
} | {
|
|
2975
|
+
blockExplorers: {
|
|
2976
|
+
readonly default: {
|
|
2977
|
+
readonly name: "Etherscan";
|
|
2978
|
+
readonly url: "https://sepolia.etherscan.io";
|
|
2979
|
+
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
3067
2980
|
};
|
|
3068
2981
|
};
|
|
3069
|
-
blockTime
|
|
2982
|
+
blockTime?: number | undefined | undefined;
|
|
3070
2983
|
contracts: {
|
|
3071
2984
|
readonly USDC: {
|
|
3072
|
-
readonly address: "
|
|
2985
|
+
readonly address: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
3073
2986
|
readonly abi: readonly [{
|
|
3074
2987
|
readonly type: "event";
|
|
3075
2988
|
readonly name: "Approval";
|
|
@@ -3210,7 +3123,7 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
3210
3123
|
};
|
|
3211
3124
|
};
|
|
3212
3125
|
readonly EURC: {
|
|
3213
|
-
readonly address: "
|
|
3126
|
+
readonly address: "0x08210F9170F89Ab7658F0B5E3fF39b0E03C594D4";
|
|
3214
3127
|
readonly abi: readonly [{
|
|
3215
3128
|
readonly type: "event";
|
|
3216
3129
|
readonly name: "Approval";
|
|
@@ -3350,54 +3263,18 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
3350
3263
|
readonly decimals: () => 6;
|
|
3351
3264
|
};
|
|
3352
3265
|
};
|
|
3353
|
-
readonly disputeGameFactory: {
|
|
3354
|
-
readonly 11155111: {
|
|
3355
|
-
readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
|
|
3356
|
-
};
|
|
3357
|
-
};
|
|
3358
|
-
readonly l2OutputOracle: {
|
|
3359
|
-
readonly 11155111: {
|
|
3360
|
-
readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
|
|
3361
|
-
};
|
|
3362
|
-
};
|
|
3363
|
-
readonly portal: {
|
|
3364
|
-
readonly 11155111: {
|
|
3365
|
-
readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
|
|
3366
|
-
readonly blockCreated: 4446677;
|
|
3367
|
-
};
|
|
3368
|
-
};
|
|
3369
|
-
readonly l1StandardBridge: {
|
|
3370
|
-
readonly 11155111: {
|
|
3371
|
-
readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
|
|
3372
|
-
readonly blockCreated: 4446677;
|
|
3373
|
-
};
|
|
3374
|
-
};
|
|
3375
3266
|
readonly multicall3: {
|
|
3376
3267
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3377
|
-
readonly blockCreated:
|
|
3378
|
-
};
|
|
3379
|
-
readonly gasPriceOracle: {
|
|
3380
|
-
readonly address: "0x420000000000000000000000000000000000000F";
|
|
3381
|
-
};
|
|
3382
|
-
readonly l1Block: {
|
|
3383
|
-
readonly address: "0x4200000000000000000000000000000000000015";
|
|
3384
|
-
};
|
|
3385
|
-
readonly l2CrossDomainMessenger: {
|
|
3386
|
-
readonly address: "0x4200000000000000000000000000000000000007";
|
|
3387
|
-
};
|
|
3388
|
-
readonly l2Erc721Bridge: {
|
|
3389
|
-
readonly address: "0x4200000000000000000000000000000000000014";
|
|
3390
|
-
};
|
|
3391
|
-
readonly l2StandardBridge: {
|
|
3392
|
-
readonly address: "0x4200000000000000000000000000000000000010";
|
|
3268
|
+
readonly blockCreated: 751532;
|
|
3393
3269
|
};
|
|
3394
|
-
readonly
|
|
3395
|
-
readonly address: "
|
|
3270
|
+
readonly ensUniversalResolver: {
|
|
3271
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
3272
|
+
readonly blockCreated: 8928790;
|
|
3396
3273
|
};
|
|
3397
3274
|
};
|
|
3398
3275
|
ensTlds?: readonly string[] | undefined;
|
|
3399
|
-
id:
|
|
3400
|
-
name: "
|
|
3276
|
+
id: 11155111;
|
|
3277
|
+
name: "Sepolia";
|
|
3401
3278
|
nativeCurrency: {
|
|
3402
3279
|
readonly name: "Sepolia Ether";
|
|
3403
3280
|
readonly symbol: "ETH";
|
|
@@ -3406,250 +3283,373 @@ export declare function getAccounts(client: ExtendedViemClient, params: GetAccou
|
|
|
3406
3283
|
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3407
3284
|
rpcUrls: {
|
|
3408
3285
|
readonly default: {
|
|
3409
|
-
readonly http: readonly ["https://sepolia.
|
|
3286
|
+
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
3410
3287
|
};
|
|
3411
3288
|
};
|
|
3412
|
-
sourceId
|
|
3289
|
+
sourceId?: number | undefined | undefined;
|
|
3413
3290
|
testnet: true;
|
|
3414
3291
|
custom?: Record<string, unknown> | undefined;
|
|
3415
3292
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
gasUsed: bigint;
|
|
3427
|
-
hash: `0x${string}` | null;
|
|
3428
|
-
logsBloom: `0x${string}` | null;
|
|
3429
|
-
miner: import("abitype").Address;
|
|
3430
|
-
mixHash: import("viem").Hash;
|
|
3431
|
-
nonce: `0x${string}` | null;
|
|
3432
|
-
number: bigint | null;
|
|
3433
|
-
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
3434
|
-
parentHash: import("viem").Hash;
|
|
3435
|
-
receiptsRoot: import("viem").Hex;
|
|
3436
|
-
sealFields: import("viem").Hex[];
|
|
3437
|
-
sha3Uncles: import("viem").Hash;
|
|
3438
|
-
size: bigint;
|
|
3439
|
-
stateRoot: import("viem").Hash;
|
|
3440
|
-
timestamp: bigint;
|
|
3441
|
-
totalDifficulty: bigint | null;
|
|
3442
|
-
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
3443
|
-
transactionsRoot: import("viem").Hash;
|
|
3444
|
-
uncles: import("viem").Hash[];
|
|
3445
|
-
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
3446
|
-
withdrawalsRoot?: `0x${string}` | undefined;
|
|
3447
|
-
} & {};
|
|
3448
|
-
type: "block";
|
|
3293
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
3294
|
+
readonly blockchainId: "ETH-SEPOLIA";
|
|
3295
|
+
readonly blockchainVm: "EVM";
|
|
3296
|
+
readonly formatters?: undefined | undefined;
|
|
3297
|
+
} | {
|
|
3298
|
+
blockExplorers: {
|
|
3299
|
+
readonly default: {
|
|
3300
|
+
readonly name: "PolygonScan";
|
|
3301
|
+
readonly url: "https://polygonscan.com";
|
|
3302
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
3449
3303
|
};
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
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
|
-
hash: import("viem").Hash;
|
|
3594
|
-
input: import("viem").Hex;
|
|
3595
|
-
nonce: number;
|
|
3596
|
-
r: import("viem").Hex;
|
|
3597
|
-
s: import("viem").Hex;
|
|
3598
|
-
to: import("abitype").Address | null;
|
|
3599
|
-
transactionIndex: number | null;
|
|
3600
|
-
typeHex: import("viem").Hex | null;
|
|
3601
|
-
v: bigint;
|
|
3602
|
-
value: bigint;
|
|
3603
|
-
yParity: number;
|
|
3604
|
-
accessList: import("viem").AccessList;
|
|
3605
|
-
authorizationList: import("viem").SignedAuthorizationList;
|
|
3606
|
-
blobVersionedHashes?: undefined | undefined;
|
|
3607
|
-
chainId: number;
|
|
3608
|
-
type: "eip7702";
|
|
3609
|
-
gasPrice?: undefined | undefined;
|
|
3610
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
3611
|
-
maxFeePerGas: bigint;
|
|
3612
|
-
maxPriorityFeePerGas: bigint;
|
|
3613
|
-
isSystemTx?: undefined | undefined;
|
|
3614
|
-
mint?: undefined | undefined;
|
|
3615
|
-
sourceHash?: undefined | undefined;
|
|
3616
|
-
}) & {};
|
|
3617
|
-
type: "transaction";
|
|
3304
|
+
};
|
|
3305
|
+
blockTime?: number | undefined | undefined;
|
|
3306
|
+
contracts: {
|
|
3307
|
+
readonly USDC: {
|
|
3308
|
+
readonly address: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359";
|
|
3309
|
+
readonly abi: readonly [{
|
|
3310
|
+
readonly type: "event";
|
|
3311
|
+
readonly name: "Approval";
|
|
3312
|
+
readonly inputs: readonly [{
|
|
3313
|
+
readonly indexed: true;
|
|
3314
|
+
readonly name: "owner";
|
|
3315
|
+
readonly type: "address";
|
|
3316
|
+
}, {
|
|
3317
|
+
readonly indexed: true;
|
|
3318
|
+
readonly name: "spender";
|
|
3319
|
+
readonly type: "address";
|
|
3320
|
+
}, {
|
|
3321
|
+
readonly indexed: false;
|
|
3322
|
+
readonly name: "value";
|
|
3323
|
+
readonly type: "uint256";
|
|
3324
|
+
}];
|
|
3325
|
+
}, {
|
|
3326
|
+
readonly type: "event";
|
|
3327
|
+
readonly name: "Transfer";
|
|
3328
|
+
readonly inputs: readonly [{
|
|
3329
|
+
readonly indexed: true;
|
|
3330
|
+
readonly name: "from";
|
|
3331
|
+
readonly type: "address";
|
|
3332
|
+
}, {
|
|
3333
|
+
readonly indexed: true;
|
|
3334
|
+
readonly name: "to";
|
|
3335
|
+
readonly type: "address";
|
|
3336
|
+
}, {
|
|
3337
|
+
readonly indexed: false;
|
|
3338
|
+
readonly name: "value";
|
|
3339
|
+
readonly type: "uint256";
|
|
3340
|
+
}];
|
|
3341
|
+
}, {
|
|
3342
|
+
readonly type: "function";
|
|
3343
|
+
readonly name: "allowance";
|
|
3344
|
+
readonly stateMutability: "view";
|
|
3345
|
+
readonly inputs: readonly [{
|
|
3346
|
+
readonly name: "owner";
|
|
3347
|
+
readonly type: "address";
|
|
3348
|
+
}, {
|
|
3349
|
+
readonly name: "spender";
|
|
3350
|
+
readonly type: "address";
|
|
3351
|
+
}];
|
|
3352
|
+
readonly outputs: readonly [{
|
|
3353
|
+
readonly type: "uint256";
|
|
3354
|
+
}];
|
|
3355
|
+
}, {
|
|
3356
|
+
readonly type: "function";
|
|
3357
|
+
readonly name: "approve";
|
|
3358
|
+
readonly stateMutability: "nonpayable";
|
|
3359
|
+
readonly inputs: readonly [{
|
|
3360
|
+
readonly name: "spender";
|
|
3361
|
+
readonly type: "address";
|
|
3362
|
+
}, {
|
|
3363
|
+
readonly name: "amount";
|
|
3364
|
+
readonly type: "uint256";
|
|
3365
|
+
}];
|
|
3366
|
+
readonly outputs: readonly [{
|
|
3367
|
+
readonly type: "bool";
|
|
3368
|
+
}];
|
|
3369
|
+
}, {
|
|
3370
|
+
readonly type: "function";
|
|
3371
|
+
readonly name: "balanceOf";
|
|
3372
|
+
readonly stateMutability: "view";
|
|
3373
|
+
readonly inputs: readonly [{
|
|
3374
|
+
readonly name: "account";
|
|
3375
|
+
readonly type: "address";
|
|
3376
|
+
}];
|
|
3377
|
+
readonly outputs: readonly [{
|
|
3378
|
+
readonly type: "uint256";
|
|
3379
|
+
}];
|
|
3380
|
+
}, {
|
|
3381
|
+
readonly type: "function";
|
|
3382
|
+
readonly name: "decimals";
|
|
3383
|
+
readonly stateMutability: "view";
|
|
3384
|
+
readonly inputs: readonly [];
|
|
3385
|
+
readonly outputs: readonly [{
|
|
3386
|
+
readonly type: "uint8";
|
|
3387
|
+
}];
|
|
3388
|
+
}, {
|
|
3389
|
+
readonly type: "function";
|
|
3390
|
+
readonly name: "name";
|
|
3391
|
+
readonly stateMutability: "view";
|
|
3392
|
+
readonly inputs: readonly [];
|
|
3393
|
+
readonly outputs: readonly [{
|
|
3394
|
+
readonly type: "string";
|
|
3395
|
+
}];
|
|
3396
|
+
}, {
|
|
3397
|
+
readonly type: "function";
|
|
3398
|
+
readonly name: "symbol";
|
|
3399
|
+
readonly stateMutability: "view";
|
|
3400
|
+
readonly inputs: readonly [];
|
|
3401
|
+
readonly outputs: readonly [{
|
|
3402
|
+
readonly type: "string";
|
|
3403
|
+
}];
|
|
3404
|
+
}, {
|
|
3405
|
+
readonly type: "function";
|
|
3406
|
+
readonly name: "totalSupply";
|
|
3407
|
+
readonly stateMutability: "view";
|
|
3408
|
+
readonly inputs: readonly [];
|
|
3409
|
+
readonly outputs: readonly [{
|
|
3410
|
+
readonly type: "uint256";
|
|
3411
|
+
}];
|
|
3412
|
+
}, {
|
|
3413
|
+
readonly type: "function";
|
|
3414
|
+
readonly name: "transfer";
|
|
3415
|
+
readonly stateMutability: "nonpayable";
|
|
3416
|
+
readonly inputs: readonly [{
|
|
3417
|
+
readonly name: "recipient";
|
|
3418
|
+
readonly type: "address";
|
|
3419
|
+
}, {
|
|
3420
|
+
readonly name: "amount";
|
|
3421
|
+
readonly type: "uint256";
|
|
3422
|
+
}];
|
|
3423
|
+
readonly outputs: readonly [{
|
|
3424
|
+
readonly type: "bool";
|
|
3425
|
+
}];
|
|
3426
|
+
}, {
|
|
3427
|
+
readonly type: "function";
|
|
3428
|
+
readonly name: "transferFrom";
|
|
3429
|
+
readonly stateMutability: "nonpayable";
|
|
3430
|
+
readonly inputs: readonly [{
|
|
3431
|
+
readonly name: "sender";
|
|
3432
|
+
readonly type: "address";
|
|
3433
|
+
}, {
|
|
3434
|
+
readonly name: "recipient";
|
|
3435
|
+
readonly type: "address";
|
|
3436
|
+
}, {
|
|
3437
|
+
readonly name: "amount";
|
|
3438
|
+
readonly type: "uint256";
|
|
3439
|
+
}];
|
|
3440
|
+
readonly outputs: readonly [{
|
|
3441
|
+
readonly type: "bool";
|
|
3442
|
+
}];
|
|
3443
|
+
}];
|
|
3444
|
+
readonly read: {
|
|
3445
|
+
readonly decimals: () => 6;
|
|
3446
|
+
};
|
|
3618
3447
|
};
|
|
3619
|
-
readonly
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
blobGasPrice?: bigint | undefined;
|
|
3623
|
-
blobGasUsed?: bigint | undefined;
|
|
3624
|
-
blockHash: import("viem").Hash;
|
|
3625
|
-
blockNumber: bigint;
|
|
3626
|
-
contractAddress: import("abitype").Address | null | undefined;
|
|
3627
|
-
cumulativeGasUsed: bigint;
|
|
3628
|
-
effectiveGasPrice: bigint;
|
|
3629
|
-
from: import("abitype").Address;
|
|
3630
|
-
gasUsed: bigint;
|
|
3631
|
-
logs: import("viem").Log<bigint, number, false>[];
|
|
3632
|
-
logsBloom: import("viem").Hex;
|
|
3633
|
-
root?: `0x${string}` | undefined;
|
|
3634
|
-
status: "success" | "reverted";
|
|
3635
|
-
to: import("abitype").Address | null;
|
|
3636
|
-
transactionHash: import("viem").Hash;
|
|
3637
|
-
transactionIndex: number;
|
|
3638
|
-
type: import("viem").TransactionType;
|
|
3639
|
-
l1GasPrice: bigint | null;
|
|
3640
|
-
l1GasUsed: bigint | null;
|
|
3641
|
-
l1Fee: bigint | null;
|
|
3642
|
-
l1FeeScalar: number | null;
|
|
3643
|
-
} & {};
|
|
3644
|
-
type: "transactionReceipt";
|
|
3448
|
+
readonly multicall3: {
|
|
3449
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3450
|
+
readonly blockCreated: 25770160;
|
|
3645
3451
|
};
|
|
3646
3452
|
};
|
|
3647
|
-
|
|
3648
|
-
|
|
3453
|
+
ensTlds?: readonly string[] | undefined;
|
|
3454
|
+
id: 137;
|
|
3455
|
+
name: "Polygon";
|
|
3456
|
+
nativeCurrency: {
|
|
3457
|
+
readonly name: "POL";
|
|
3458
|
+
readonly symbol: "POL";
|
|
3459
|
+
readonly decimals: 18;
|
|
3649
3460
|
};
|
|
3650
|
-
|
|
3461
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3462
|
+
rpcUrls: {
|
|
3463
|
+
readonly default: {
|
|
3464
|
+
readonly http: readonly ["https://polygon-rpc.com"];
|
|
3465
|
+
};
|
|
3466
|
+
};
|
|
3467
|
+
sourceId?: number | undefined | undefined;
|
|
3468
|
+
testnet?: boolean | undefined | undefined;
|
|
3469
|
+
custom?: Record<string, unknown> | undefined;
|
|
3470
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3471
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
3472
|
+
readonly blockchainId: "MATIC";
|
|
3651
3473
|
readonly blockchainVm: "EVM";
|
|
3652
|
-
readonly
|
|
3474
|
+
readonly formatters?: undefined | undefined;
|
|
3475
|
+
} | {
|
|
3476
|
+
blockExplorers: {
|
|
3477
|
+
readonly default: {
|
|
3478
|
+
readonly name: "PolygonScan";
|
|
3479
|
+
readonly url: "https://amoy.polygonscan.com";
|
|
3480
|
+
readonly apiUrl: "https://api-amoy.polygonscan.com/api";
|
|
3481
|
+
};
|
|
3482
|
+
};
|
|
3483
|
+
blockTime?: number | undefined | undefined;
|
|
3484
|
+
contracts: {
|
|
3485
|
+
readonly USDC: {
|
|
3486
|
+
readonly address: "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582";
|
|
3487
|
+
readonly abi: readonly [{
|
|
3488
|
+
readonly type: "event";
|
|
3489
|
+
readonly name: "Approval";
|
|
3490
|
+
readonly inputs: readonly [{
|
|
3491
|
+
readonly indexed: true;
|
|
3492
|
+
readonly name: "owner";
|
|
3493
|
+
readonly type: "address";
|
|
3494
|
+
}, {
|
|
3495
|
+
readonly indexed: true;
|
|
3496
|
+
readonly name: "spender";
|
|
3497
|
+
readonly type: "address";
|
|
3498
|
+
}, {
|
|
3499
|
+
readonly indexed: false;
|
|
3500
|
+
readonly name: "value";
|
|
3501
|
+
readonly type: "uint256";
|
|
3502
|
+
}];
|
|
3503
|
+
}, {
|
|
3504
|
+
readonly type: "event";
|
|
3505
|
+
readonly name: "Transfer";
|
|
3506
|
+
readonly inputs: readonly [{
|
|
3507
|
+
readonly indexed: true;
|
|
3508
|
+
readonly name: "from";
|
|
3509
|
+
readonly type: "address";
|
|
3510
|
+
}, {
|
|
3511
|
+
readonly indexed: true;
|
|
3512
|
+
readonly name: "to";
|
|
3513
|
+
readonly type: "address";
|
|
3514
|
+
}, {
|
|
3515
|
+
readonly indexed: false;
|
|
3516
|
+
readonly name: "value";
|
|
3517
|
+
readonly type: "uint256";
|
|
3518
|
+
}];
|
|
3519
|
+
}, {
|
|
3520
|
+
readonly type: "function";
|
|
3521
|
+
readonly name: "allowance";
|
|
3522
|
+
readonly stateMutability: "view";
|
|
3523
|
+
readonly inputs: readonly [{
|
|
3524
|
+
readonly name: "owner";
|
|
3525
|
+
readonly type: "address";
|
|
3526
|
+
}, {
|
|
3527
|
+
readonly name: "spender";
|
|
3528
|
+
readonly type: "address";
|
|
3529
|
+
}];
|
|
3530
|
+
readonly outputs: readonly [{
|
|
3531
|
+
readonly type: "uint256";
|
|
3532
|
+
}];
|
|
3533
|
+
}, {
|
|
3534
|
+
readonly type: "function";
|
|
3535
|
+
readonly name: "approve";
|
|
3536
|
+
readonly stateMutability: "nonpayable";
|
|
3537
|
+
readonly inputs: readonly [{
|
|
3538
|
+
readonly name: "spender";
|
|
3539
|
+
readonly type: "address";
|
|
3540
|
+
}, {
|
|
3541
|
+
readonly name: "amount";
|
|
3542
|
+
readonly type: "uint256";
|
|
3543
|
+
}];
|
|
3544
|
+
readonly outputs: readonly [{
|
|
3545
|
+
readonly type: "bool";
|
|
3546
|
+
}];
|
|
3547
|
+
}, {
|
|
3548
|
+
readonly type: "function";
|
|
3549
|
+
readonly name: "balanceOf";
|
|
3550
|
+
readonly stateMutability: "view";
|
|
3551
|
+
readonly inputs: readonly [{
|
|
3552
|
+
readonly name: "account";
|
|
3553
|
+
readonly type: "address";
|
|
3554
|
+
}];
|
|
3555
|
+
readonly outputs: readonly [{
|
|
3556
|
+
readonly type: "uint256";
|
|
3557
|
+
}];
|
|
3558
|
+
}, {
|
|
3559
|
+
readonly type: "function";
|
|
3560
|
+
readonly name: "decimals";
|
|
3561
|
+
readonly stateMutability: "view";
|
|
3562
|
+
readonly inputs: readonly [];
|
|
3563
|
+
readonly outputs: readonly [{
|
|
3564
|
+
readonly type: "uint8";
|
|
3565
|
+
}];
|
|
3566
|
+
}, {
|
|
3567
|
+
readonly type: "function";
|
|
3568
|
+
readonly name: "name";
|
|
3569
|
+
readonly stateMutability: "view";
|
|
3570
|
+
readonly inputs: readonly [];
|
|
3571
|
+
readonly outputs: readonly [{
|
|
3572
|
+
readonly type: "string";
|
|
3573
|
+
}];
|
|
3574
|
+
}, {
|
|
3575
|
+
readonly type: "function";
|
|
3576
|
+
readonly name: "symbol";
|
|
3577
|
+
readonly stateMutability: "view";
|
|
3578
|
+
readonly inputs: readonly [];
|
|
3579
|
+
readonly outputs: readonly [{
|
|
3580
|
+
readonly type: "string";
|
|
3581
|
+
}];
|
|
3582
|
+
}, {
|
|
3583
|
+
readonly type: "function";
|
|
3584
|
+
readonly name: "totalSupply";
|
|
3585
|
+
readonly stateMutability: "view";
|
|
3586
|
+
readonly inputs: readonly [];
|
|
3587
|
+
readonly outputs: readonly [{
|
|
3588
|
+
readonly type: "uint256";
|
|
3589
|
+
}];
|
|
3590
|
+
}, {
|
|
3591
|
+
readonly type: "function";
|
|
3592
|
+
readonly name: "transfer";
|
|
3593
|
+
readonly stateMutability: "nonpayable";
|
|
3594
|
+
readonly inputs: readonly [{
|
|
3595
|
+
readonly name: "recipient";
|
|
3596
|
+
readonly type: "address";
|
|
3597
|
+
}, {
|
|
3598
|
+
readonly name: "amount";
|
|
3599
|
+
readonly type: "uint256";
|
|
3600
|
+
}];
|
|
3601
|
+
readonly outputs: readonly [{
|
|
3602
|
+
readonly type: "bool";
|
|
3603
|
+
}];
|
|
3604
|
+
}, {
|
|
3605
|
+
readonly type: "function";
|
|
3606
|
+
readonly name: "transferFrom";
|
|
3607
|
+
readonly stateMutability: "nonpayable";
|
|
3608
|
+
readonly inputs: readonly [{
|
|
3609
|
+
readonly name: "sender";
|
|
3610
|
+
readonly type: "address";
|
|
3611
|
+
}, {
|
|
3612
|
+
readonly name: "recipient";
|
|
3613
|
+
readonly type: "address";
|
|
3614
|
+
}, {
|
|
3615
|
+
readonly name: "amount";
|
|
3616
|
+
readonly type: "uint256";
|
|
3617
|
+
}];
|
|
3618
|
+
readonly outputs: readonly [{
|
|
3619
|
+
readonly type: "bool";
|
|
3620
|
+
}];
|
|
3621
|
+
}];
|
|
3622
|
+
readonly read: {
|
|
3623
|
+
readonly decimals: () => 6;
|
|
3624
|
+
};
|
|
3625
|
+
};
|
|
3626
|
+
readonly multicall3: {
|
|
3627
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
3628
|
+
readonly blockCreated: 3127388;
|
|
3629
|
+
};
|
|
3630
|
+
};
|
|
3631
|
+
ensTlds?: readonly string[] | undefined;
|
|
3632
|
+
id: 80002;
|
|
3633
|
+
name: "Polygon Amoy";
|
|
3634
|
+
nativeCurrency: {
|
|
3635
|
+
readonly name: "POL";
|
|
3636
|
+
readonly symbol: "POL";
|
|
3637
|
+
readonly decimals: 18;
|
|
3638
|
+
};
|
|
3639
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
3640
|
+
rpcUrls: {
|
|
3641
|
+
readonly default: {
|
|
3642
|
+
readonly http: readonly ["https://rpc-amoy.polygon.technology"];
|
|
3643
|
+
};
|
|
3644
|
+
};
|
|
3645
|
+
sourceId?: number | undefined | undefined;
|
|
3646
|
+
testnet: true;
|
|
3647
|
+
custom?: Record<string, unknown> | undefined;
|
|
3648
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
3649
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
3650
|
+
readonly blockchainId: "MATIC-AMOY";
|
|
3651
|
+
readonly blockchainVm: "EVM";
|
|
3652
|
+
readonly formatters?: undefined | undefined;
|
|
3653
3653
|
} | {
|
|
3654
3654
|
blockExplorers: {
|
|
3655
3655
|
readonly default: {
|