@circle-fin/adapter-ethers-v6 1.6.6 → 1.7.0
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 +100 -0
- package/index.d.ts +2 -0
- package/index.mjs +100 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @circle-fin/adapter-ethers-v6
|
|
2
2
|
|
|
3
|
+
## 1.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add support for bridging USDC to and from Injective (mainnet and testnet) via CCTP v2. Both networks are now available as source and destination options in Bridge Kit.
|
|
8
|
+
|
|
3
9
|
## 1.6.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/index.cjs
CHANGED
|
@@ -1733,6 +1733,8 @@ exports.Blockchain = void 0;
|
|
|
1733
1733
|
Blockchain["Hedera_Testnet"] = "Hedera_Testnet";
|
|
1734
1734
|
Blockchain["HyperEVM"] = "HyperEVM";
|
|
1735
1735
|
Blockchain["HyperEVM_Testnet"] = "HyperEVM_Testnet";
|
|
1736
|
+
Blockchain["Injective"] = "Injective";
|
|
1737
|
+
Blockchain["Injective_Testnet"] = "Injective_Testnet";
|
|
1736
1738
|
Blockchain["Ink"] = "Ink";
|
|
1737
1739
|
Blockchain["Ink_Testnet"] = "Ink_Testnet";
|
|
1738
1740
|
Blockchain["Linea"] = "Linea";
|
|
@@ -1952,6 +1954,7 @@ var BridgeChain;
|
|
|
1952
1954
|
BridgeChain["Edge"] = "Edge";
|
|
1953
1955
|
BridgeChain["Ethereum"] = "Ethereum";
|
|
1954
1956
|
BridgeChain["HyperEVM"] = "HyperEVM";
|
|
1957
|
+
BridgeChain["Injective"] = "Injective";
|
|
1955
1958
|
BridgeChain["Ink"] = "Ink";
|
|
1956
1959
|
BridgeChain["Linea"] = "Linea";
|
|
1957
1960
|
BridgeChain["Monad"] = "Monad";
|
|
@@ -1975,6 +1978,7 @@ var BridgeChain;
|
|
|
1975
1978
|
BridgeChain["Edge_Testnet"] = "Edge_Testnet";
|
|
1976
1979
|
BridgeChain["Ethereum_Sepolia"] = "Ethereum_Sepolia";
|
|
1977
1980
|
BridgeChain["HyperEVM_Testnet"] = "HyperEVM_Testnet";
|
|
1981
|
+
BridgeChain["Injective_Testnet"] = "Injective_Testnet";
|
|
1978
1982
|
BridgeChain["Ink_Testnet"] = "Ink_Testnet";
|
|
1979
1983
|
BridgeChain["Linea_Sepolia"] = "Linea_Sepolia";
|
|
1980
1984
|
BridgeChain["Monad_Testnet"] = "Monad_Testnet";
|
|
@@ -3394,6 +3398,98 @@ const HyperEVMTestnet = defineChain({
|
|
|
3394
3398
|
},
|
|
3395
3399
|
});
|
|
3396
3400
|
|
|
3401
|
+
/**
|
|
3402
|
+
* Injective Mainnet chain definition
|
|
3403
|
+
* @remarks
|
|
3404
|
+
* This represents the official production network for the Injective blockchain.
|
|
3405
|
+
* Injective is a high-performance, interoperable Layer-1 blockchain built for
|
|
3406
|
+
* finance, with an EVM execution layer on top of a Cosmos SDK base and
|
|
3407
|
+
* sub-second block finality.
|
|
3408
|
+
*/
|
|
3409
|
+
const Injective = defineChain({
|
|
3410
|
+
type: 'evm',
|
|
3411
|
+
chain: exports.Blockchain.Injective,
|
|
3412
|
+
name: 'Injective',
|
|
3413
|
+
title: 'Injective Mainnet',
|
|
3414
|
+
nativeCurrency: {
|
|
3415
|
+
name: 'Injective',
|
|
3416
|
+
symbol: 'INJ',
|
|
3417
|
+
decimals: 18,
|
|
3418
|
+
},
|
|
3419
|
+
chainId: 1776,
|
|
3420
|
+
isTestnet: false,
|
|
3421
|
+
explorerUrl: 'https://injscan.com/transaction/{hash}',
|
|
3422
|
+
rpcEndpoints: ['https://sentry.evm-rpc.injective.network'],
|
|
3423
|
+
eurcAddress: null,
|
|
3424
|
+
usdcAddress: '0xa00C59fF5a080D2b954d0c75e46E22a0c371235a',
|
|
3425
|
+
usdtAddress: null,
|
|
3426
|
+
cctp: {
|
|
3427
|
+
domain: 29,
|
|
3428
|
+
contracts: {
|
|
3429
|
+
v2: {
|
|
3430
|
+
type: 'split',
|
|
3431
|
+
tokenMessenger: '0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d',
|
|
3432
|
+
messageTransmitter: '0x81D40F21F12A8F0E3252Bccb954D722d4c464B64',
|
|
3433
|
+
confirmations: 1,
|
|
3434
|
+
fastConfirmations: 1,
|
|
3435
|
+
},
|
|
3436
|
+
},
|
|
3437
|
+
forwarderSupported: {
|
|
3438
|
+
source: false,
|
|
3439
|
+
destination: false,
|
|
3440
|
+
},
|
|
3441
|
+
},
|
|
3442
|
+
kitContracts: {
|
|
3443
|
+
bridge: BRIDGE_CONTRACT_EVM_MAINNET,
|
|
3444
|
+
},
|
|
3445
|
+
});
|
|
3446
|
+
|
|
3447
|
+
/**
|
|
3448
|
+
* Injective Testnet chain definition
|
|
3449
|
+
* @remarks
|
|
3450
|
+
* This represents the official test network for the Injective blockchain.
|
|
3451
|
+
* Injective is a high-performance, interoperable Layer-1 blockchain built for
|
|
3452
|
+
* finance, with an EVM execution layer on top of a Cosmos SDK base and
|
|
3453
|
+
* sub-second block finality.
|
|
3454
|
+
*/
|
|
3455
|
+
const InjectiveTestnet = defineChain({
|
|
3456
|
+
type: 'evm',
|
|
3457
|
+
chain: exports.Blockchain.Injective_Testnet,
|
|
3458
|
+
name: 'Injective Testnet',
|
|
3459
|
+
title: 'Injective Testnet',
|
|
3460
|
+
nativeCurrency: {
|
|
3461
|
+
name: 'Injective',
|
|
3462
|
+
symbol: 'INJ',
|
|
3463
|
+
decimals: 18,
|
|
3464
|
+
},
|
|
3465
|
+
chainId: 1439,
|
|
3466
|
+
isTestnet: true,
|
|
3467
|
+
explorerUrl: 'https://testnet.explorer.injective.network/transaction/{hash}',
|
|
3468
|
+
rpcEndpoints: ['https://k8s.testnet.json-rpc.injective.network'],
|
|
3469
|
+
eurcAddress: null,
|
|
3470
|
+
usdcAddress: '0x0C382e685bbeeFE5d3d9C29e29E341fEE8E84C5d',
|
|
3471
|
+
usdtAddress: null,
|
|
3472
|
+
cctp: {
|
|
3473
|
+
domain: 29,
|
|
3474
|
+
contracts: {
|
|
3475
|
+
v2: {
|
|
3476
|
+
type: 'split',
|
|
3477
|
+
tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
|
|
3478
|
+
messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
|
|
3479
|
+
confirmations: 1,
|
|
3480
|
+
fastConfirmations: 1,
|
|
3481
|
+
},
|
|
3482
|
+
},
|
|
3483
|
+
forwarderSupported: {
|
|
3484
|
+
source: false,
|
|
3485
|
+
destination: false,
|
|
3486
|
+
},
|
|
3487
|
+
},
|
|
3488
|
+
kitContracts: {
|
|
3489
|
+
bridge: BRIDGE_CONTRACT_EVM_TESTNET,
|
|
3490
|
+
},
|
|
3491
|
+
});
|
|
3492
|
+
|
|
3397
3493
|
/**
|
|
3398
3494
|
* Ink Mainnet chain definition
|
|
3399
3495
|
* @remarks
|
|
@@ -5236,6 +5332,8 @@ var Blockchains = {
|
|
|
5236
5332
|
HederaTestnet: HederaTestnet,
|
|
5237
5333
|
HyperEVM: HyperEVM,
|
|
5238
5334
|
HyperEVMTestnet: HyperEVMTestnet,
|
|
5335
|
+
Injective: Injective,
|
|
5336
|
+
InjectiveTestnet: InjectiveTestnet,
|
|
5239
5337
|
Ink: Ink,
|
|
5240
5338
|
InkTestnet: InkTestnet,
|
|
5241
5339
|
Linea: Linea,
|
|
@@ -6806,6 +6904,7 @@ const USDC = {
|
|
|
6806
6904
|
[exports.Blockchain.Ethereum]: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
|
|
6807
6905
|
[exports.Blockchain.Hedera]: '0.0.456858',
|
|
6808
6906
|
[exports.Blockchain.HyperEVM]: '0xb88339CB7199b77E23DB6E890353E22632Ba630f',
|
|
6907
|
+
[exports.Blockchain.Injective]: '0xa00C59fF5a080D2b954d0c75e46E22a0c371235a',
|
|
6809
6908
|
[exports.Blockchain.Ink]: '0x2D270e6886d130D724215A266106e6832161EAEd',
|
|
6810
6909
|
[exports.Blockchain.Linea]: '0x176211869ca2b568f2a7d4ee941e073a821ee1ff',
|
|
6811
6910
|
[exports.Blockchain.Monad]: '0x754704Bc059F8C67012fEd69BC8A327a5aafb603',
|
|
@@ -6838,6 +6937,7 @@ const USDC = {
|
|
|
6838
6937
|
[exports.Blockchain.Ethereum_Sepolia]: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238',
|
|
6839
6938
|
[exports.Blockchain.Hedera_Testnet]: '0.0.429274',
|
|
6840
6939
|
[exports.Blockchain.HyperEVM_Testnet]: '0x2B3370eE501B4a559b57D449569354196457D8Ab',
|
|
6940
|
+
[exports.Blockchain.Injective_Testnet]: '0x0C382e685bbeeFE5d3d9C29e29E341fEE8E84C5d',
|
|
6841
6941
|
[exports.Blockchain.Ink_Testnet]: '0xFabab97dCE620294D2B0b0e46C68964e326300Ac',
|
|
6842
6942
|
[exports.Blockchain.Linea_Sepolia]: '0xfece4462d57bd51a6a552365a011b95f0e16d9b7',
|
|
6843
6943
|
[exports.Blockchain.Monad_Testnet]: '0x534b2f3A21130d7a60830c2Df862319e593943A3',
|
package/index.d.ts
CHANGED
|
@@ -668,6 +668,8 @@ declare enum Blockchain {
|
|
|
668
668
|
Hedera_Testnet = "Hedera_Testnet",
|
|
669
669
|
HyperEVM = "HyperEVM",
|
|
670
670
|
HyperEVM_Testnet = "HyperEVM_Testnet",
|
|
671
|
+
Injective = "Injective",
|
|
672
|
+
Injective_Testnet = "Injective_Testnet",
|
|
671
673
|
Ink = "Ink",
|
|
672
674
|
Ink_Testnet = "Ink_Testnet",
|
|
673
675
|
Linea = "Linea",
|
package/index.mjs
CHANGED
|
@@ -1728,6 +1728,8 @@ var Blockchain;
|
|
|
1728
1728
|
Blockchain["Hedera_Testnet"] = "Hedera_Testnet";
|
|
1729
1729
|
Blockchain["HyperEVM"] = "HyperEVM";
|
|
1730
1730
|
Blockchain["HyperEVM_Testnet"] = "HyperEVM_Testnet";
|
|
1731
|
+
Blockchain["Injective"] = "Injective";
|
|
1732
|
+
Blockchain["Injective_Testnet"] = "Injective_Testnet";
|
|
1731
1733
|
Blockchain["Ink"] = "Ink";
|
|
1732
1734
|
Blockchain["Ink_Testnet"] = "Ink_Testnet";
|
|
1733
1735
|
Blockchain["Linea"] = "Linea";
|
|
@@ -1947,6 +1949,7 @@ var BridgeChain;
|
|
|
1947
1949
|
BridgeChain["Edge"] = "Edge";
|
|
1948
1950
|
BridgeChain["Ethereum"] = "Ethereum";
|
|
1949
1951
|
BridgeChain["HyperEVM"] = "HyperEVM";
|
|
1952
|
+
BridgeChain["Injective"] = "Injective";
|
|
1950
1953
|
BridgeChain["Ink"] = "Ink";
|
|
1951
1954
|
BridgeChain["Linea"] = "Linea";
|
|
1952
1955
|
BridgeChain["Monad"] = "Monad";
|
|
@@ -1970,6 +1973,7 @@ var BridgeChain;
|
|
|
1970
1973
|
BridgeChain["Edge_Testnet"] = "Edge_Testnet";
|
|
1971
1974
|
BridgeChain["Ethereum_Sepolia"] = "Ethereum_Sepolia";
|
|
1972
1975
|
BridgeChain["HyperEVM_Testnet"] = "HyperEVM_Testnet";
|
|
1976
|
+
BridgeChain["Injective_Testnet"] = "Injective_Testnet";
|
|
1973
1977
|
BridgeChain["Ink_Testnet"] = "Ink_Testnet";
|
|
1974
1978
|
BridgeChain["Linea_Sepolia"] = "Linea_Sepolia";
|
|
1975
1979
|
BridgeChain["Monad_Testnet"] = "Monad_Testnet";
|
|
@@ -3389,6 +3393,98 @@ const HyperEVMTestnet = defineChain({
|
|
|
3389
3393
|
},
|
|
3390
3394
|
});
|
|
3391
3395
|
|
|
3396
|
+
/**
|
|
3397
|
+
* Injective Mainnet chain definition
|
|
3398
|
+
* @remarks
|
|
3399
|
+
* This represents the official production network for the Injective blockchain.
|
|
3400
|
+
* Injective is a high-performance, interoperable Layer-1 blockchain built for
|
|
3401
|
+
* finance, with an EVM execution layer on top of a Cosmos SDK base and
|
|
3402
|
+
* sub-second block finality.
|
|
3403
|
+
*/
|
|
3404
|
+
const Injective = defineChain({
|
|
3405
|
+
type: 'evm',
|
|
3406
|
+
chain: Blockchain.Injective,
|
|
3407
|
+
name: 'Injective',
|
|
3408
|
+
title: 'Injective Mainnet',
|
|
3409
|
+
nativeCurrency: {
|
|
3410
|
+
name: 'Injective',
|
|
3411
|
+
symbol: 'INJ',
|
|
3412
|
+
decimals: 18,
|
|
3413
|
+
},
|
|
3414
|
+
chainId: 1776,
|
|
3415
|
+
isTestnet: false,
|
|
3416
|
+
explorerUrl: 'https://injscan.com/transaction/{hash}',
|
|
3417
|
+
rpcEndpoints: ['https://sentry.evm-rpc.injective.network'],
|
|
3418
|
+
eurcAddress: null,
|
|
3419
|
+
usdcAddress: '0xa00C59fF5a080D2b954d0c75e46E22a0c371235a',
|
|
3420
|
+
usdtAddress: null,
|
|
3421
|
+
cctp: {
|
|
3422
|
+
domain: 29,
|
|
3423
|
+
contracts: {
|
|
3424
|
+
v2: {
|
|
3425
|
+
type: 'split',
|
|
3426
|
+
tokenMessenger: '0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d',
|
|
3427
|
+
messageTransmitter: '0x81D40F21F12A8F0E3252Bccb954D722d4c464B64',
|
|
3428
|
+
confirmations: 1,
|
|
3429
|
+
fastConfirmations: 1,
|
|
3430
|
+
},
|
|
3431
|
+
},
|
|
3432
|
+
forwarderSupported: {
|
|
3433
|
+
source: false,
|
|
3434
|
+
destination: false,
|
|
3435
|
+
},
|
|
3436
|
+
},
|
|
3437
|
+
kitContracts: {
|
|
3438
|
+
bridge: BRIDGE_CONTRACT_EVM_MAINNET,
|
|
3439
|
+
},
|
|
3440
|
+
});
|
|
3441
|
+
|
|
3442
|
+
/**
|
|
3443
|
+
* Injective Testnet chain definition
|
|
3444
|
+
* @remarks
|
|
3445
|
+
* This represents the official test network for the Injective blockchain.
|
|
3446
|
+
* Injective is a high-performance, interoperable Layer-1 blockchain built for
|
|
3447
|
+
* finance, with an EVM execution layer on top of a Cosmos SDK base and
|
|
3448
|
+
* sub-second block finality.
|
|
3449
|
+
*/
|
|
3450
|
+
const InjectiveTestnet = defineChain({
|
|
3451
|
+
type: 'evm',
|
|
3452
|
+
chain: Blockchain.Injective_Testnet,
|
|
3453
|
+
name: 'Injective Testnet',
|
|
3454
|
+
title: 'Injective Testnet',
|
|
3455
|
+
nativeCurrency: {
|
|
3456
|
+
name: 'Injective',
|
|
3457
|
+
symbol: 'INJ',
|
|
3458
|
+
decimals: 18,
|
|
3459
|
+
},
|
|
3460
|
+
chainId: 1439,
|
|
3461
|
+
isTestnet: true,
|
|
3462
|
+
explorerUrl: 'https://testnet.explorer.injective.network/transaction/{hash}',
|
|
3463
|
+
rpcEndpoints: ['https://k8s.testnet.json-rpc.injective.network'],
|
|
3464
|
+
eurcAddress: null,
|
|
3465
|
+
usdcAddress: '0x0C382e685bbeeFE5d3d9C29e29E341fEE8E84C5d',
|
|
3466
|
+
usdtAddress: null,
|
|
3467
|
+
cctp: {
|
|
3468
|
+
domain: 29,
|
|
3469
|
+
contracts: {
|
|
3470
|
+
v2: {
|
|
3471
|
+
type: 'split',
|
|
3472
|
+
tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
|
|
3473
|
+
messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
|
|
3474
|
+
confirmations: 1,
|
|
3475
|
+
fastConfirmations: 1,
|
|
3476
|
+
},
|
|
3477
|
+
},
|
|
3478
|
+
forwarderSupported: {
|
|
3479
|
+
source: false,
|
|
3480
|
+
destination: false,
|
|
3481
|
+
},
|
|
3482
|
+
},
|
|
3483
|
+
kitContracts: {
|
|
3484
|
+
bridge: BRIDGE_CONTRACT_EVM_TESTNET,
|
|
3485
|
+
},
|
|
3486
|
+
});
|
|
3487
|
+
|
|
3392
3488
|
/**
|
|
3393
3489
|
* Ink Mainnet chain definition
|
|
3394
3490
|
* @remarks
|
|
@@ -5231,6 +5327,8 @@ var Blockchains = /*#__PURE__*/Object.freeze({
|
|
|
5231
5327
|
HederaTestnet: HederaTestnet,
|
|
5232
5328
|
HyperEVM: HyperEVM,
|
|
5233
5329
|
HyperEVMTestnet: HyperEVMTestnet,
|
|
5330
|
+
Injective: Injective,
|
|
5331
|
+
InjectiveTestnet: InjectiveTestnet,
|
|
5234
5332
|
Ink: Ink,
|
|
5235
5333
|
InkTestnet: InkTestnet,
|
|
5236
5334
|
Linea: Linea,
|
|
@@ -6801,6 +6899,7 @@ const USDC = {
|
|
|
6801
6899
|
[Blockchain.Ethereum]: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
|
|
6802
6900
|
[Blockchain.Hedera]: '0.0.456858',
|
|
6803
6901
|
[Blockchain.HyperEVM]: '0xb88339CB7199b77E23DB6E890353E22632Ba630f',
|
|
6902
|
+
[Blockchain.Injective]: '0xa00C59fF5a080D2b954d0c75e46E22a0c371235a',
|
|
6804
6903
|
[Blockchain.Ink]: '0x2D270e6886d130D724215A266106e6832161EAEd',
|
|
6805
6904
|
[Blockchain.Linea]: '0x176211869ca2b568f2a7d4ee941e073a821ee1ff',
|
|
6806
6905
|
[Blockchain.Monad]: '0x754704Bc059F8C67012fEd69BC8A327a5aafb603',
|
|
@@ -6833,6 +6932,7 @@ const USDC = {
|
|
|
6833
6932
|
[Blockchain.Ethereum_Sepolia]: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238',
|
|
6834
6933
|
[Blockchain.Hedera_Testnet]: '0.0.429274',
|
|
6835
6934
|
[Blockchain.HyperEVM_Testnet]: '0x2B3370eE501B4a559b57D449569354196457D8Ab',
|
|
6935
|
+
[Blockchain.Injective_Testnet]: '0x0C382e685bbeeFE5d3d9C29e29E341fEE8E84C5d',
|
|
6836
6936
|
[Blockchain.Ink_Testnet]: '0xFabab97dCE620294D2B0b0e46C68964e326300Ac',
|
|
6837
6937
|
[Blockchain.Linea_Sepolia]: '0xfece4462d57bd51a6a552365a011b95f0e16d9b7',
|
|
6838
6938
|
[Blockchain.Monad_Testnet]: '0x534b2f3A21130d7a60830c2Df862319e593943A3',
|