@circle-fin/adapter-ethers-v6 1.6.5 → 1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/index.cjs +134 -3
- package/index.d.ts +3 -0
- package/index.mjs +134 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/index.cjs
CHANGED
|
@@ -1747,6 +1747,8 @@ exports.Blockchain = void 0;
|
|
|
1747
1747
|
Blockchain["Noble_Testnet"] = "Noble_Testnet";
|
|
1748
1748
|
Blockchain["Optimism"] = "Optimism";
|
|
1749
1749
|
Blockchain["Optimism_Sepolia"] = "Optimism_Sepolia";
|
|
1750
|
+
Blockchain["Pharos"] = "Pharos";
|
|
1751
|
+
Blockchain["Pharos_Testnet"] = "Pharos_Testnet";
|
|
1750
1752
|
Blockchain["Polkadot_Asset_Hub"] = "Polkadot_Asset_Hub";
|
|
1751
1753
|
Blockchain["Polkadot_Westmint"] = "Polkadot_Westmint";
|
|
1752
1754
|
Blockchain["Plume"] = "Plume";
|
|
@@ -1955,6 +1957,7 @@ var BridgeChain;
|
|
|
1955
1957
|
BridgeChain["Monad"] = "Monad";
|
|
1956
1958
|
BridgeChain["Morph"] = "Morph";
|
|
1957
1959
|
BridgeChain["Optimism"] = "Optimism";
|
|
1960
|
+
BridgeChain["Pharos"] = "Pharos";
|
|
1958
1961
|
BridgeChain["Plume"] = "Plume";
|
|
1959
1962
|
BridgeChain["Polygon"] = "Polygon";
|
|
1960
1963
|
BridgeChain["Sei"] = "Sei";
|
|
@@ -1977,6 +1980,7 @@ var BridgeChain;
|
|
|
1977
1980
|
BridgeChain["Monad_Testnet"] = "Monad_Testnet";
|
|
1978
1981
|
BridgeChain["Morph_Testnet"] = "Morph_Testnet";
|
|
1979
1982
|
BridgeChain["Optimism_Sepolia"] = "Optimism_Sepolia";
|
|
1983
|
+
BridgeChain["Pharos_Testnet"] = "Pharos_Testnet";
|
|
1980
1984
|
BridgeChain["Plume_Testnet"] = "Plume_Testnet";
|
|
1981
1985
|
BridgeChain["Polygon_Amoy_Testnet"] = "Polygon_Amoy_Testnet";
|
|
1982
1986
|
BridgeChain["Sei_Testnet"] = "Sei_Testnet";
|
|
@@ -2322,6 +2326,12 @@ const SWAP_TOKEN_REGISTRY = {
|
|
|
2322
2326
|
category: 'wrapped',
|
|
2323
2327
|
description: 'Wrapped Polygon',
|
|
2324
2328
|
},
|
|
2329
|
+
CIRBTC: {
|
|
2330
|
+
symbol: 'CIRBTC',
|
|
2331
|
+
decimals: 8,
|
|
2332
|
+
category: 'wrapped',
|
|
2333
|
+
description: 'Circle Bitcoin',
|
|
2334
|
+
},
|
|
2325
2335
|
};
|
|
2326
2336
|
/**
|
|
2327
2337
|
* Special NATIVE token constant for swap operations.
|
|
@@ -3993,6 +4003,96 @@ const OptimismSepolia = defineChain({
|
|
|
3993
4003
|
},
|
|
3994
4004
|
});
|
|
3995
4005
|
|
|
4006
|
+
/**
|
|
4007
|
+
* Pharos Mainnet chain definition
|
|
4008
|
+
* @remarks
|
|
4009
|
+
* This represents the official production network for the Pharos blockchain.
|
|
4010
|
+
* Pharos is a modular, full-stack parallel Layer 1 blockchain with
|
|
4011
|
+
* sub-second finality and EVM compatibility.
|
|
4012
|
+
*/
|
|
4013
|
+
const Pharos = defineChain({
|
|
4014
|
+
type: 'evm',
|
|
4015
|
+
chain: exports.Blockchain.Pharos,
|
|
4016
|
+
name: 'Pharos',
|
|
4017
|
+
title: 'Pharos Mainnet',
|
|
4018
|
+
nativeCurrency: {
|
|
4019
|
+
name: 'Pharos',
|
|
4020
|
+
symbol: 'PHAROS',
|
|
4021
|
+
decimals: 18,
|
|
4022
|
+
},
|
|
4023
|
+
chainId: 1672,
|
|
4024
|
+
isTestnet: false,
|
|
4025
|
+
explorerUrl: 'https://pharos.socialscan.io/tx/{hash}',
|
|
4026
|
+
rpcEndpoints: ['https://rpc.pharos.xyz'],
|
|
4027
|
+
eurcAddress: null,
|
|
4028
|
+
usdcAddress: '0xC879C018dB60520F4355C26eD1a6D572cdAC1815',
|
|
4029
|
+
usdtAddress: null,
|
|
4030
|
+
cctp: {
|
|
4031
|
+
domain: 31,
|
|
4032
|
+
contracts: {
|
|
4033
|
+
v2: {
|
|
4034
|
+
type: 'split',
|
|
4035
|
+
tokenMessenger: '0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d',
|
|
4036
|
+
messageTransmitter: '0x81D40F21F12A8F0E3252Bccb954D722d4c464B64',
|
|
4037
|
+
confirmations: 1,
|
|
4038
|
+
fastConfirmations: 1,
|
|
4039
|
+
},
|
|
4040
|
+
},
|
|
4041
|
+
forwarderSupported: {
|
|
4042
|
+
source: false,
|
|
4043
|
+
destination: false,
|
|
4044
|
+
},
|
|
4045
|
+
},
|
|
4046
|
+
kitContracts: {
|
|
4047
|
+
bridge: BRIDGE_CONTRACT_EVM_MAINNET,
|
|
4048
|
+
},
|
|
4049
|
+
});
|
|
4050
|
+
|
|
4051
|
+
/**
|
|
4052
|
+
* Pharos Atlantic Testnet chain definition
|
|
4053
|
+
* @remarks
|
|
4054
|
+
* This represents the official test network for the Pharos blockchain.
|
|
4055
|
+
* Pharos is a modular, full-stack parallel Layer 1 blockchain with
|
|
4056
|
+
* sub-second finality and EVM compatibility.
|
|
4057
|
+
*/
|
|
4058
|
+
const PharosTestnet = defineChain({
|
|
4059
|
+
type: 'evm',
|
|
4060
|
+
chain: exports.Blockchain.Pharos_Testnet,
|
|
4061
|
+
name: 'Pharos Atlantic',
|
|
4062
|
+
title: 'Pharos Atlantic Testnet',
|
|
4063
|
+
nativeCurrency: {
|
|
4064
|
+
name: 'Pharos',
|
|
4065
|
+
symbol: 'PHAROS',
|
|
4066
|
+
decimals: 18,
|
|
4067
|
+
},
|
|
4068
|
+
chainId: 688689,
|
|
4069
|
+
isTestnet: true,
|
|
4070
|
+
explorerUrl: 'https://atlantic.pharosscan.xyz/tx/{hash}',
|
|
4071
|
+
rpcEndpoints: ['https://atlantic.dplabs-internal.com'],
|
|
4072
|
+
eurcAddress: null,
|
|
4073
|
+
usdcAddress: '0xcfC8330f4BCAB529c625D12781b1C19466A9Fc8B',
|
|
4074
|
+
usdtAddress: null,
|
|
4075
|
+
cctp: {
|
|
4076
|
+
domain: 31,
|
|
4077
|
+
contracts: {
|
|
4078
|
+
v2: {
|
|
4079
|
+
type: 'split',
|
|
4080
|
+
tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
|
|
4081
|
+
messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
|
|
4082
|
+
confirmations: 1,
|
|
4083
|
+
fastConfirmations: 1,
|
|
4084
|
+
},
|
|
4085
|
+
},
|
|
4086
|
+
forwarderSupported: {
|
|
4087
|
+
source: false,
|
|
4088
|
+
destination: false,
|
|
4089
|
+
},
|
|
4090
|
+
},
|
|
4091
|
+
kitContracts: {
|
|
4092
|
+
bridge: BRIDGE_CONTRACT_EVM_TESTNET,
|
|
4093
|
+
},
|
|
4094
|
+
});
|
|
4095
|
+
|
|
3996
4096
|
/**
|
|
3997
4097
|
* Plume Mainnet chain definition
|
|
3998
4098
|
* @remarks
|
|
@@ -4275,7 +4375,7 @@ const Sei = defineChain({
|
|
|
4275
4375
|
},
|
|
4276
4376
|
chainId: 1329,
|
|
4277
4377
|
isTestnet: false,
|
|
4278
|
-
explorerUrl: 'https://
|
|
4378
|
+
explorerUrl: 'https://seiscan.io/tx/{hash}',
|
|
4279
4379
|
rpcEndpoints: ['https://evm-rpc.sei-apis.com'],
|
|
4280
4380
|
eurcAddress: null,
|
|
4281
4381
|
usdcAddress: '0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392',
|
|
@@ -4333,7 +4433,7 @@ const SeiTestnet = defineChain({
|
|
|
4333
4433
|
},
|
|
4334
4434
|
chainId: 1328,
|
|
4335
4435
|
isTestnet: true,
|
|
4336
|
-
explorerUrl: 'https://
|
|
4436
|
+
explorerUrl: 'https://testnet.seiscan.io/tx/{hash}',
|
|
4337
4437
|
rpcEndpoints: ['https://evm-rpc-testnet.sei-apis.com'],
|
|
4338
4438
|
eurcAddress: null,
|
|
4339
4439
|
usdcAddress: '0x4fCF1784B31630811181f670Aea7A7bEF803eaED',
|
|
@@ -5150,6 +5250,8 @@ var Blockchains = {
|
|
|
5150
5250
|
NobleTestnet: NobleTestnet,
|
|
5151
5251
|
Optimism: Optimism,
|
|
5152
5252
|
OptimismSepolia: OptimismSepolia,
|
|
5253
|
+
Pharos: Pharos,
|
|
5254
|
+
PharosTestnet: PharosTestnet,
|
|
5153
5255
|
Plume: Plume,
|
|
5154
5256
|
PlumeTestnet: PlumeTestnet,
|
|
5155
5257
|
PolkadotAssetHub: PolkadotAssetHub,
|
|
@@ -6711,6 +6813,7 @@ const USDC = {
|
|
|
6711
6813
|
[exports.Blockchain.NEAR]: '17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1',
|
|
6712
6814
|
[exports.Blockchain.Noble]: 'uusdc',
|
|
6713
6815
|
[exports.Blockchain.Optimism]: '0x0b2c639c533813f4aa9d7837caf62653d097ff85',
|
|
6816
|
+
[exports.Blockchain.Pharos]: '0xC879C018dB60520F4355C26eD1a6D572cdAC1815',
|
|
6714
6817
|
[exports.Blockchain.Plume]: '0x222365EF19F7947e5484218551B56bb3965Aa7aF',
|
|
6715
6818
|
[exports.Blockchain.Polkadot_Asset_Hub]: '1337',
|
|
6716
6819
|
[exports.Blockchain.Polygon]: '0x3c499c542cef5e3811e1192ce70d8cc03d5c3359',
|
|
@@ -6742,6 +6845,7 @@ const USDC = {
|
|
|
6742
6845
|
[exports.Blockchain.NEAR_Testnet]: '3e2210e1184b45b64c8a434c0a7e7b23cc04ea7eb7a6c3c32520d03d4afcb8af',
|
|
6743
6846
|
[exports.Blockchain.Noble_Testnet]: 'uusdc',
|
|
6744
6847
|
[exports.Blockchain.Optimism_Sepolia]: '0x5fd84259d66Cd46123540766Be93DFE6D43130D7',
|
|
6848
|
+
[exports.Blockchain.Pharos_Testnet]: '0xcfC8330f4BCAB529c625D12781b1C19466A9Fc8B',
|
|
6745
6849
|
[exports.Blockchain.Plume_Testnet]: '0xcB5f30e335672893c7eb944B374c196392C19D18',
|
|
6746
6850
|
[exports.Blockchain.Polkadot_Westmint]: '31337',
|
|
6747
6851
|
[exports.Blockchain.Polygon_Amoy_Testnet]: '0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582',
|
|
@@ -7022,6 +7126,32 @@ const MON = {
|
|
|
7022
7126
|
},
|
|
7023
7127
|
};
|
|
7024
7128
|
|
|
7129
|
+
/**
|
|
7130
|
+
* cirBTC (Circle Bitcoin) token definition with addresses and metadata.
|
|
7131
|
+
*
|
|
7132
|
+
* @remarks
|
|
7133
|
+
* Built-in cirBTC definition for the TokenRegistry. Currently deployed
|
|
7134
|
+
* on Arc Testnet.
|
|
7135
|
+
*
|
|
7136
|
+
* @example
|
|
7137
|
+
* ```typescript
|
|
7138
|
+
* import { CIRBTC } from '@core/tokens'
|
|
7139
|
+
* import { Blockchain } from '@core/chains'
|
|
7140
|
+
*
|
|
7141
|
+
* console.log(CIRBTC.symbol) // 'cirBTC'
|
|
7142
|
+
* console.log(CIRBTC.decimals) // 8
|
|
7143
|
+
* console.log(CIRBTC.locators[Blockchain.Arc_Testnet])
|
|
7144
|
+
* // '0xf0C4a4CE82A5746AbAAd9425360Ab04fbBA432BF'
|
|
7145
|
+
* ```
|
|
7146
|
+
*/
|
|
7147
|
+
const CIRBTC = {
|
|
7148
|
+
symbol: 'cirBTC',
|
|
7149
|
+
decimals: 8,
|
|
7150
|
+
locators: {
|
|
7151
|
+
[exports.Blockchain.Arc_Testnet]: '0xf0C4a4CE82A5746AbAAd9425360Ab04fbBA432BF',
|
|
7152
|
+
},
|
|
7153
|
+
};
|
|
7154
|
+
|
|
7025
7155
|
// Re-export for consumers
|
|
7026
7156
|
/**
|
|
7027
7157
|
* All default token definitions.
|
|
@@ -7030,7 +7160,7 @@ const MON = {
|
|
|
7030
7160
|
* These tokens are automatically included in the TokenRegistry when created
|
|
7031
7161
|
* without explicit defaults. Extensions can override these definitions.
|
|
7032
7162
|
* Includes USDC, USDT, EURC, DAI, USDE, PYUSD, WETH, WBTC, WSOL, WAVAX,
|
|
7033
|
-
* WPOL, ETH, POL, PLUME, and
|
|
7163
|
+
* WPOL, ETH, POL, PLUME, MON, and cirBTC.
|
|
7034
7164
|
*
|
|
7035
7165
|
* @example
|
|
7036
7166
|
* ```typescript
|
|
@@ -7061,6 +7191,7 @@ const DEFAULT_TOKENS = [
|
|
|
7061
7191
|
POL,
|
|
7062
7192
|
PLUME,
|
|
7063
7193
|
MON,
|
|
7194
|
+
CIRBTC,
|
|
7064
7195
|
];
|
|
7065
7196
|
/**
|
|
7066
7197
|
* Uppercased token symbols approved for swap fee collection.
|
package/index.d.ts
CHANGED
|
@@ -682,6 +682,8 @@ declare enum Blockchain {
|
|
|
682
682
|
Noble_Testnet = "Noble_Testnet",
|
|
683
683
|
Optimism = "Optimism",
|
|
684
684
|
Optimism_Sepolia = "Optimism_Sepolia",
|
|
685
|
+
Pharos = "Pharos",
|
|
686
|
+
Pharos_Testnet = "Pharos_Testnet",
|
|
685
687
|
Polkadot_Asset_Hub = "Polkadot_Asset_Hub",
|
|
686
688
|
Polkadot_Westmint = "Polkadot_Westmint",
|
|
687
689
|
Plume = "Plume",
|
|
@@ -3541,6 +3543,7 @@ declare module './types' {
|
|
|
3541
3543
|
POL: true;
|
|
3542
3544
|
PLUME: true;
|
|
3543
3545
|
MON: true;
|
|
3546
|
+
cirBTC: true;
|
|
3544
3547
|
}
|
|
3545
3548
|
}
|
|
3546
3549
|
|
package/index.mjs
CHANGED
|
@@ -1742,6 +1742,8 @@ var Blockchain;
|
|
|
1742
1742
|
Blockchain["Noble_Testnet"] = "Noble_Testnet";
|
|
1743
1743
|
Blockchain["Optimism"] = "Optimism";
|
|
1744
1744
|
Blockchain["Optimism_Sepolia"] = "Optimism_Sepolia";
|
|
1745
|
+
Blockchain["Pharos"] = "Pharos";
|
|
1746
|
+
Blockchain["Pharos_Testnet"] = "Pharos_Testnet";
|
|
1745
1747
|
Blockchain["Polkadot_Asset_Hub"] = "Polkadot_Asset_Hub";
|
|
1746
1748
|
Blockchain["Polkadot_Westmint"] = "Polkadot_Westmint";
|
|
1747
1749
|
Blockchain["Plume"] = "Plume";
|
|
@@ -1950,6 +1952,7 @@ var BridgeChain;
|
|
|
1950
1952
|
BridgeChain["Monad"] = "Monad";
|
|
1951
1953
|
BridgeChain["Morph"] = "Morph";
|
|
1952
1954
|
BridgeChain["Optimism"] = "Optimism";
|
|
1955
|
+
BridgeChain["Pharos"] = "Pharos";
|
|
1953
1956
|
BridgeChain["Plume"] = "Plume";
|
|
1954
1957
|
BridgeChain["Polygon"] = "Polygon";
|
|
1955
1958
|
BridgeChain["Sei"] = "Sei";
|
|
@@ -1972,6 +1975,7 @@ var BridgeChain;
|
|
|
1972
1975
|
BridgeChain["Monad_Testnet"] = "Monad_Testnet";
|
|
1973
1976
|
BridgeChain["Morph_Testnet"] = "Morph_Testnet";
|
|
1974
1977
|
BridgeChain["Optimism_Sepolia"] = "Optimism_Sepolia";
|
|
1978
|
+
BridgeChain["Pharos_Testnet"] = "Pharos_Testnet";
|
|
1975
1979
|
BridgeChain["Plume_Testnet"] = "Plume_Testnet";
|
|
1976
1980
|
BridgeChain["Polygon_Amoy_Testnet"] = "Polygon_Amoy_Testnet";
|
|
1977
1981
|
BridgeChain["Sei_Testnet"] = "Sei_Testnet";
|
|
@@ -2317,6 +2321,12 @@ const SWAP_TOKEN_REGISTRY = {
|
|
|
2317
2321
|
category: 'wrapped',
|
|
2318
2322
|
description: 'Wrapped Polygon',
|
|
2319
2323
|
},
|
|
2324
|
+
CIRBTC: {
|
|
2325
|
+
symbol: 'CIRBTC',
|
|
2326
|
+
decimals: 8,
|
|
2327
|
+
category: 'wrapped',
|
|
2328
|
+
description: 'Circle Bitcoin',
|
|
2329
|
+
},
|
|
2320
2330
|
};
|
|
2321
2331
|
/**
|
|
2322
2332
|
* Special NATIVE token constant for swap operations.
|
|
@@ -3988,6 +3998,96 @@ const OptimismSepolia = defineChain({
|
|
|
3988
3998
|
},
|
|
3989
3999
|
});
|
|
3990
4000
|
|
|
4001
|
+
/**
|
|
4002
|
+
* Pharos Mainnet chain definition
|
|
4003
|
+
* @remarks
|
|
4004
|
+
* This represents the official production network for the Pharos blockchain.
|
|
4005
|
+
* Pharos is a modular, full-stack parallel Layer 1 blockchain with
|
|
4006
|
+
* sub-second finality and EVM compatibility.
|
|
4007
|
+
*/
|
|
4008
|
+
const Pharos = defineChain({
|
|
4009
|
+
type: 'evm',
|
|
4010
|
+
chain: Blockchain.Pharos,
|
|
4011
|
+
name: 'Pharos',
|
|
4012
|
+
title: 'Pharos Mainnet',
|
|
4013
|
+
nativeCurrency: {
|
|
4014
|
+
name: 'Pharos',
|
|
4015
|
+
symbol: 'PHAROS',
|
|
4016
|
+
decimals: 18,
|
|
4017
|
+
},
|
|
4018
|
+
chainId: 1672,
|
|
4019
|
+
isTestnet: false,
|
|
4020
|
+
explorerUrl: 'https://pharos.socialscan.io/tx/{hash}',
|
|
4021
|
+
rpcEndpoints: ['https://rpc.pharos.xyz'],
|
|
4022
|
+
eurcAddress: null,
|
|
4023
|
+
usdcAddress: '0xC879C018dB60520F4355C26eD1a6D572cdAC1815',
|
|
4024
|
+
usdtAddress: null,
|
|
4025
|
+
cctp: {
|
|
4026
|
+
domain: 31,
|
|
4027
|
+
contracts: {
|
|
4028
|
+
v2: {
|
|
4029
|
+
type: 'split',
|
|
4030
|
+
tokenMessenger: '0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d',
|
|
4031
|
+
messageTransmitter: '0x81D40F21F12A8F0E3252Bccb954D722d4c464B64',
|
|
4032
|
+
confirmations: 1,
|
|
4033
|
+
fastConfirmations: 1,
|
|
4034
|
+
},
|
|
4035
|
+
},
|
|
4036
|
+
forwarderSupported: {
|
|
4037
|
+
source: false,
|
|
4038
|
+
destination: false,
|
|
4039
|
+
},
|
|
4040
|
+
},
|
|
4041
|
+
kitContracts: {
|
|
4042
|
+
bridge: BRIDGE_CONTRACT_EVM_MAINNET,
|
|
4043
|
+
},
|
|
4044
|
+
});
|
|
4045
|
+
|
|
4046
|
+
/**
|
|
4047
|
+
* Pharos Atlantic Testnet chain definition
|
|
4048
|
+
* @remarks
|
|
4049
|
+
* This represents the official test network for the Pharos blockchain.
|
|
4050
|
+
* Pharos is a modular, full-stack parallel Layer 1 blockchain with
|
|
4051
|
+
* sub-second finality and EVM compatibility.
|
|
4052
|
+
*/
|
|
4053
|
+
const PharosTestnet = defineChain({
|
|
4054
|
+
type: 'evm',
|
|
4055
|
+
chain: Blockchain.Pharos_Testnet,
|
|
4056
|
+
name: 'Pharos Atlantic',
|
|
4057
|
+
title: 'Pharos Atlantic Testnet',
|
|
4058
|
+
nativeCurrency: {
|
|
4059
|
+
name: 'Pharos',
|
|
4060
|
+
symbol: 'PHAROS',
|
|
4061
|
+
decimals: 18,
|
|
4062
|
+
},
|
|
4063
|
+
chainId: 688689,
|
|
4064
|
+
isTestnet: true,
|
|
4065
|
+
explorerUrl: 'https://atlantic.pharosscan.xyz/tx/{hash}',
|
|
4066
|
+
rpcEndpoints: ['https://atlantic.dplabs-internal.com'],
|
|
4067
|
+
eurcAddress: null,
|
|
4068
|
+
usdcAddress: '0xcfC8330f4BCAB529c625D12781b1C19466A9Fc8B',
|
|
4069
|
+
usdtAddress: null,
|
|
4070
|
+
cctp: {
|
|
4071
|
+
domain: 31,
|
|
4072
|
+
contracts: {
|
|
4073
|
+
v2: {
|
|
4074
|
+
type: 'split',
|
|
4075
|
+
tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
|
|
4076
|
+
messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
|
|
4077
|
+
confirmations: 1,
|
|
4078
|
+
fastConfirmations: 1,
|
|
4079
|
+
},
|
|
4080
|
+
},
|
|
4081
|
+
forwarderSupported: {
|
|
4082
|
+
source: false,
|
|
4083
|
+
destination: false,
|
|
4084
|
+
},
|
|
4085
|
+
},
|
|
4086
|
+
kitContracts: {
|
|
4087
|
+
bridge: BRIDGE_CONTRACT_EVM_TESTNET,
|
|
4088
|
+
},
|
|
4089
|
+
});
|
|
4090
|
+
|
|
3991
4091
|
/**
|
|
3992
4092
|
* Plume Mainnet chain definition
|
|
3993
4093
|
* @remarks
|
|
@@ -4270,7 +4370,7 @@ const Sei = defineChain({
|
|
|
4270
4370
|
},
|
|
4271
4371
|
chainId: 1329,
|
|
4272
4372
|
isTestnet: false,
|
|
4273
|
-
explorerUrl: 'https://
|
|
4373
|
+
explorerUrl: 'https://seiscan.io/tx/{hash}',
|
|
4274
4374
|
rpcEndpoints: ['https://evm-rpc.sei-apis.com'],
|
|
4275
4375
|
eurcAddress: null,
|
|
4276
4376
|
usdcAddress: '0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392',
|
|
@@ -4328,7 +4428,7 @@ const SeiTestnet = defineChain({
|
|
|
4328
4428
|
},
|
|
4329
4429
|
chainId: 1328,
|
|
4330
4430
|
isTestnet: true,
|
|
4331
|
-
explorerUrl: 'https://
|
|
4431
|
+
explorerUrl: 'https://testnet.seiscan.io/tx/{hash}',
|
|
4332
4432
|
rpcEndpoints: ['https://evm-rpc-testnet.sei-apis.com'],
|
|
4333
4433
|
eurcAddress: null,
|
|
4334
4434
|
usdcAddress: '0x4fCF1784B31630811181f670Aea7A7bEF803eaED',
|
|
@@ -5145,6 +5245,8 @@ var Blockchains = /*#__PURE__*/Object.freeze({
|
|
|
5145
5245
|
NobleTestnet: NobleTestnet,
|
|
5146
5246
|
Optimism: Optimism,
|
|
5147
5247
|
OptimismSepolia: OptimismSepolia,
|
|
5248
|
+
Pharos: Pharos,
|
|
5249
|
+
PharosTestnet: PharosTestnet,
|
|
5148
5250
|
Plume: Plume,
|
|
5149
5251
|
PlumeTestnet: PlumeTestnet,
|
|
5150
5252
|
PolkadotAssetHub: PolkadotAssetHub,
|
|
@@ -6706,6 +6808,7 @@ const USDC = {
|
|
|
6706
6808
|
[Blockchain.NEAR]: '17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1',
|
|
6707
6809
|
[Blockchain.Noble]: 'uusdc',
|
|
6708
6810
|
[Blockchain.Optimism]: '0x0b2c639c533813f4aa9d7837caf62653d097ff85',
|
|
6811
|
+
[Blockchain.Pharos]: '0xC879C018dB60520F4355C26eD1a6D572cdAC1815',
|
|
6709
6812
|
[Blockchain.Plume]: '0x222365EF19F7947e5484218551B56bb3965Aa7aF',
|
|
6710
6813
|
[Blockchain.Polkadot_Asset_Hub]: '1337',
|
|
6711
6814
|
[Blockchain.Polygon]: '0x3c499c542cef5e3811e1192ce70d8cc03d5c3359',
|
|
@@ -6737,6 +6840,7 @@ const USDC = {
|
|
|
6737
6840
|
[Blockchain.NEAR_Testnet]: '3e2210e1184b45b64c8a434c0a7e7b23cc04ea7eb7a6c3c32520d03d4afcb8af',
|
|
6738
6841
|
[Blockchain.Noble_Testnet]: 'uusdc',
|
|
6739
6842
|
[Blockchain.Optimism_Sepolia]: '0x5fd84259d66Cd46123540766Be93DFE6D43130D7',
|
|
6843
|
+
[Blockchain.Pharos_Testnet]: '0xcfC8330f4BCAB529c625D12781b1C19466A9Fc8B',
|
|
6740
6844
|
[Blockchain.Plume_Testnet]: '0xcB5f30e335672893c7eb944B374c196392C19D18',
|
|
6741
6845
|
[Blockchain.Polkadot_Westmint]: '31337',
|
|
6742
6846
|
[Blockchain.Polygon_Amoy_Testnet]: '0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582',
|
|
@@ -7017,6 +7121,32 @@ const MON = {
|
|
|
7017
7121
|
},
|
|
7018
7122
|
};
|
|
7019
7123
|
|
|
7124
|
+
/**
|
|
7125
|
+
* cirBTC (Circle Bitcoin) token definition with addresses and metadata.
|
|
7126
|
+
*
|
|
7127
|
+
* @remarks
|
|
7128
|
+
* Built-in cirBTC definition for the TokenRegistry. Currently deployed
|
|
7129
|
+
* on Arc Testnet.
|
|
7130
|
+
*
|
|
7131
|
+
* @example
|
|
7132
|
+
* ```typescript
|
|
7133
|
+
* import { CIRBTC } from '@core/tokens'
|
|
7134
|
+
* import { Blockchain } from '@core/chains'
|
|
7135
|
+
*
|
|
7136
|
+
* console.log(CIRBTC.symbol) // 'cirBTC'
|
|
7137
|
+
* console.log(CIRBTC.decimals) // 8
|
|
7138
|
+
* console.log(CIRBTC.locators[Blockchain.Arc_Testnet])
|
|
7139
|
+
* // '0xf0C4a4CE82A5746AbAAd9425360Ab04fbBA432BF'
|
|
7140
|
+
* ```
|
|
7141
|
+
*/
|
|
7142
|
+
const CIRBTC = {
|
|
7143
|
+
symbol: 'cirBTC',
|
|
7144
|
+
decimals: 8,
|
|
7145
|
+
locators: {
|
|
7146
|
+
[Blockchain.Arc_Testnet]: '0xf0C4a4CE82A5746AbAAd9425360Ab04fbBA432BF',
|
|
7147
|
+
},
|
|
7148
|
+
};
|
|
7149
|
+
|
|
7020
7150
|
// Re-export for consumers
|
|
7021
7151
|
/**
|
|
7022
7152
|
* All default token definitions.
|
|
@@ -7025,7 +7155,7 @@ const MON = {
|
|
|
7025
7155
|
* These tokens are automatically included in the TokenRegistry when created
|
|
7026
7156
|
* without explicit defaults. Extensions can override these definitions.
|
|
7027
7157
|
* Includes USDC, USDT, EURC, DAI, USDE, PYUSD, WETH, WBTC, WSOL, WAVAX,
|
|
7028
|
-
* WPOL, ETH, POL, PLUME, and
|
|
7158
|
+
* WPOL, ETH, POL, PLUME, MON, and cirBTC.
|
|
7029
7159
|
*
|
|
7030
7160
|
* @example
|
|
7031
7161
|
* ```typescript
|
|
@@ -7056,6 +7186,7 @@ const DEFAULT_TOKENS = [
|
|
|
7056
7186
|
POL,
|
|
7057
7187
|
PLUME,
|
|
7058
7188
|
MON,
|
|
7189
|
+
CIRBTC,
|
|
7059
7190
|
];
|
|
7060
7191
|
/**
|
|
7061
7192
|
* Uppercased token symbols approved for swap fee collection.
|