@lifi/types 3.2.3 → 3.2.5

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 CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.2.5](https://github.com/lifinance/types/compare/v3.2.4...v3.2.5) (2023-04-14)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * add cross chain Linea test tokens ([#158](https://github.com/lifinance/types/issues/158)) ([29d5bae](https://github.com/lifinance/types/commit/29d5bae8dd8387903375cdf6f0346f755f34f414))
11
+
12
+ ### [3.2.4](https://github.com/lifinance/types/compare/v3.2.3...v3.2.4) (2023-04-13)
13
+
5
14
  ### [3.2.3](https://github.com/lifinance/types/compare/v3.2.2...v3.2.3) (2023-04-13)
6
15
 
7
16
 
package/dist/base.d.ts CHANGED
@@ -38,6 +38,7 @@ export declare enum CoinKey {
38
38
  SDIODE = "SDIODE",
39
39
  SPARK = "SPARK",
40
40
  TRBTC = "TRBTC",
41
+ CXTT = "CXTT",
41
42
  WBTC = "WBTC",
42
43
  WETH = "WETH",
43
44
  SUSHI = "SUSHI",
package/dist/base.js CHANGED
@@ -39,6 +39,7 @@ export var CoinKey;
39
39
  CoinKey["SDIODE"] = "SDIODE";
40
40
  CoinKey["SPARK"] = "SPARK";
41
41
  CoinKey["TRBTC"] = "TRBTC";
42
+ CoinKey["CXTT"] = "CXTT";
42
43
  // Other tokens
43
44
  CoinKey["WBTC"] = "WBTC";
44
45
  CoinKey["WETH"] = "WETH";
@@ -765,61 +765,6 @@ export const supportedEVMChains = [
765
765
  },
766
766
  },
767
767
  // TESTNETS
768
- // 3 - Ropsten
769
- {
770
- key: ChainKey.ROP,
771
- chainType: ChainType.EVM,
772
- name: 'Ropsten',
773
- coin: CoinKey.ETH,
774
- id: 3,
775
- mainnet: false,
776
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_ropsten.png',
777
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
778
- faucetUrls: [
779
- 'https://faucet.ropsten.be/',
780
- 'https://app.compound.finance/', // https://teller.gitbook.io/teller-1/testing-guide/getting-testnet-tokens-ropsten-1
781
- ],
782
- multicallAddress: multicallAddresses[ChainId.ROP],
783
- metamask: {
784
- chainId: prefixChainId(3),
785
- blockExplorerUrls: ['https://ropsten.etherscan.io/'],
786
- chainName: 'Ethereum Testnet Ropsten',
787
- nativeCurrency: {
788
- name: 'ETH',
789
- symbol: 'ETH',
790
- decimals: 18,
791
- },
792
- rpcUrls: [
793
- 'https://ropsten.infura.io/v3/d1caeba320f94122ba8f791f50122c4c',
794
- ],
795
- },
796
- },
797
- // 4 - Rinkeby
798
- {
799
- key: ChainKey.RIN,
800
- chainType: ChainType.EVM,
801
- name: 'Rinkeby',
802
- coin: CoinKey.ETH,
803
- id: 4,
804
- mainnet: false,
805
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_rinkeby.png',
806
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
807
- faucetUrls: ['https://faucet.rinkeby.io/'],
808
- multicallAddress: multicallAddresses[ChainId.RIN],
809
- metamask: {
810
- chainId: prefixChainId(4),
811
- blockExplorerUrls: ['https://rinkeby.etherscan.io/'],
812
- chainName: 'Ethereum Testnet Rinkeby',
813
- nativeCurrency: {
814
- name: 'ETH',
815
- symbol: 'ETH',
816
- decimals: 18,
817
- },
818
- rpcUrls: [
819
- 'https://rinkeby.infura.io/v3/d1caeba320f94122ba8f791f50122c4c',
820
- ],
821
- },
822
- },
823
768
  // 5 - Goerli
824
769
  {
825
770
  key: ChainKey.GOR,
@@ -886,33 +831,6 @@ export const supportedEVMChains = [
886
831
  rpcUrls: ['https://staging.diode.io:8443/'],
887
832
  },
888
833
  },
889
- // 42 - Kovan
890
- {
891
- key: ChainKey.KOV,
892
- chainType: ChainType.EVM,
893
- name: 'Kovan',
894
- coin: CoinKey.ETH,
895
- id: 42,
896
- mainnet: false,
897
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_kovan.png',
898
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
899
- faucetUrls: [
900
- 'https://ethdrop.dev/',
901
- 'https://gitter.im/kovan-testnet/faucet',
902
- ],
903
- multicallAddress: multicallAddresses[ChainId.KOV],
904
- metamask: {
905
- chainId: prefixChainId(42),
906
- blockExplorerUrls: ['https://kovan.etherscan.io/'],
907
- chainName: 'Ethereum Testnet Kovan',
908
- nativeCurrency: {
909
- name: 'ETH',
910
- symbol: 'ETH',
911
- decimals: 18,
912
- },
913
- rpcUrls: ['https://kovan.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161'],
914
- },
915
- },
916
834
  // 80001 - Mumbai Polygon Testnet
917
835
  {
918
836
  key: ChainKey.MUM,
@@ -937,29 +855,6 @@ export const supportedEVMChains = [
937
855
  rpcUrls: ['https://rpc-mumbai.matic.today'],
938
856
  },
939
857
  },
940
- // 421611 - Arbitrum Testnet
941
- {
942
- key: ChainKey.ARBT,
943
- chainType: ChainType.EVM,
944
- name: 'Arbitrum Testnet',
945
- coin: CoinKey.ETH,
946
- id: 421611,
947
- mainnet: false,
948
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum_test.png',
949
- faucetUrls: ['https://bridge.arbitrum.io/'],
950
- multicallAddress: multicallAddresses[ChainId.ARBT],
951
- metamask: {
952
- chainId: prefixChainId(421611),
953
- blockExplorerUrls: ['https://rinkeby-explorer.arbitrum.io/#/'],
954
- chainName: 'Arbitrum Testnet Rinkeby',
955
- nativeCurrency: {
956
- name: 'ARETH',
957
- symbol: 'ARETH',
958
- decimals: 18,
959
- },
960
- rpcUrls: ['https://rinkeby.arbitrum.io/rpc'],
961
- },
962
- },
963
858
  {
964
859
  key: ChainKey.ARBG,
965
860
  chainType: ChainType.EVM,
@@ -982,30 +877,7 @@ export const supportedEVMChains = [
982
877
  rpcUrls: ['https://goerli-rollup.arbitrum.io/rpc/ '],
983
878
  },
984
879
  },
985
- // 69 - Optimistic Ethereum (Kovan)
986
- {
987
- key: ChainKey.OPTT,
988
- chainType: ChainType.EVM,
989
- name: 'Optimism Testnet',
990
- coin: CoinKey.ETH,
991
- id: 69,
992
- mainnet: false,
993
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism_test.png',
994
- faucetUrls: ['https://gateway.optimism.io/'],
995
- multicallAddress: multicallAddresses[ChainId.OPTT],
996
- metamask: {
997
- chainId: prefixChainId(69),
998
- blockExplorerUrls: ['https://kovan-optimistic.etherscan.io/'],
999
- chainName: 'Optimistic Ethereum Testnet Kovan',
1000
- nativeCurrency: {
1001
- name: 'tETH',
1002
- symbol: 'tETH',
1003
- decimals: 18,
1004
- },
1005
- rpcUrls: ['https://kovan.optimism.io'],
1006
- },
1007
- },
1008
- // 420 - Optimistic Ethereum (Kovan)
880
+ // 420 - Optimistic Ethereum (Goerli)
1009
881
  {
1010
882
  key: ChainKey.OPTG,
1011
883
  chainType: ChainType.EVM,
@@ -38,6 +38,7 @@ export declare enum CoinKey {
38
38
  SDIODE = "SDIODE",
39
39
  SPARK = "SPARK",
40
40
  TRBTC = "TRBTC",
41
+ CXTT = "CXTT",
41
42
  WBTC = "WBTC",
42
43
  WETH = "WETH",
43
44
  SUSHI = "SUSHI",
package/dist/cjs/base.js CHANGED
@@ -42,6 +42,7 @@ var CoinKey;
42
42
  CoinKey["SDIODE"] = "SDIODE";
43
43
  CoinKey["SPARK"] = "SPARK";
44
44
  CoinKey["TRBTC"] = "TRBTC";
45
+ CoinKey["CXTT"] = "CXTT";
45
46
  // Other tokens
46
47
  CoinKey["WBTC"] = "WBTC";
47
48
  CoinKey["WETH"] = "WETH";
@@ -768,61 +768,6 @@ exports.supportedEVMChains = [
768
768
  },
769
769
  },
770
770
  // TESTNETS
771
- // 3 - Ropsten
772
- {
773
- key: base_1.ChainKey.ROP,
774
- chainType: Chain_1.ChainType.EVM,
775
- name: 'Ropsten',
776
- coin: base_1.CoinKey.ETH,
777
- id: 3,
778
- mainnet: false,
779
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_ropsten.png',
780
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
781
- faucetUrls: [
782
- 'https://faucet.ropsten.be/',
783
- 'https://app.compound.finance/', // https://teller.gitbook.io/teller-1/testing-guide/getting-testnet-tokens-ropsten-1
784
- ],
785
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ROP],
786
- metamask: {
787
- chainId: (0, EVMChain_1.prefixChainId)(3),
788
- blockExplorerUrls: ['https://ropsten.etherscan.io/'],
789
- chainName: 'Ethereum Testnet Ropsten',
790
- nativeCurrency: {
791
- name: 'ETH',
792
- symbol: 'ETH',
793
- decimals: 18,
794
- },
795
- rpcUrls: [
796
- 'https://ropsten.infura.io/v3/d1caeba320f94122ba8f791f50122c4c',
797
- ],
798
- },
799
- },
800
- // 4 - Rinkeby
801
- {
802
- key: base_1.ChainKey.RIN,
803
- chainType: Chain_1.ChainType.EVM,
804
- name: 'Rinkeby',
805
- coin: base_1.CoinKey.ETH,
806
- id: 4,
807
- mainnet: false,
808
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_rinkeby.png',
809
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
810
- faucetUrls: ['https://faucet.rinkeby.io/'],
811
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.RIN],
812
- metamask: {
813
- chainId: (0, EVMChain_1.prefixChainId)(4),
814
- blockExplorerUrls: ['https://rinkeby.etherscan.io/'],
815
- chainName: 'Ethereum Testnet Rinkeby',
816
- nativeCurrency: {
817
- name: 'ETH',
818
- symbol: 'ETH',
819
- decimals: 18,
820
- },
821
- rpcUrls: [
822
- 'https://rinkeby.infura.io/v3/d1caeba320f94122ba8f791f50122c4c',
823
- ],
824
- },
825
- },
826
771
  // 5 - Goerli
827
772
  {
828
773
  key: base_1.ChainKey.GOR,
@@ -889,33 +834,6 @@ exports.supportedEVMChains = [
889
834
  rpcUrls: ['https://staging.diode.io:8443/'],
890
835
  },
891
836
  },
892
- // 42 - Kovan
893
- {
894
- key: base_1.ChainKey.KOV,
895
- chainType: Chain_1.ChainType.EVM,
896
- name: 'Kovan',
897
- coin: base_1.CoinKey.ETH,
898
- id: 42,
899
- mainnet: false,
900
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum_kovan.png',
901
- tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
902
- faucetUrls: [
903
- 'https://ethdrop.dev/',
904
- 'https://gitter.im/kovan-testnet/faucet',
905
- ],
906
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.KOV],
907
- metamask: {
908
- chainId: (0, EVMChain_1.prefixChainId)(42),
909
- blockExplorerUrls: ['https://kovan.etherscan.io/'],
910
- chainName: 'Ethereum Testnet Kovan',
911
- nativeCurrency: {
912
- name: 'ETH',
913
- symbol: 'ETH',
914
- decimals: 18,
915
- },
916
- rpcUrls: ['https://kovan.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161'],
917
- },
918
- },
919
837
  // 80001 - Mumbai Polygon Testnet
920
838
  {
921
839
  key: base_1.ChainKey.MUM,
@@ -940,29 +858,6 @@ exports.supportedEVMChains = [
940
858
  rpcUrls: ['https://rpc-mumbai.matic.today'],
941
859
  },
942
860
  },
943
- // 421611 - Arbitrum Testnet
944
- {
945
- key: base_1.ChainKey.ARBT,
946
- chainType: Chain_1.ChainType.EVM,
947
- name: 'Arbitrum Testnet',
948
- coin: base_1.CoinKey.ETH,
949
- id: 421611,
950
- mainnet: false,
951
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum_test.png',
952
- faucetUrls: ['https://bridge.arbitrum.io/'],
953
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ARBT],
954
- metamask: {
955
- chainId: (0, EVMChain_1.prefixChainId)(421611),
956
- blockExplorerUrls: ['https://rinkeby-explorer.arbitrum.io/#/'],
957
- chainName: 'Arbitrum Testnet Rinkeby',
958
- nativeCurrency: {
959
- name: 'ARETH',
960
- symbol: 'ARETH',
961
- decimals: 18,
962
- },
963
- rpcUrls: ['https://rinkeby.arbitrum.io/rpc'],
964
- },
965
- },
966
861
  {
967
862
  key: base_1.ChainKey.ARBG,
968
863
  chainType: Chain_1.ChainType.EVM,
@@ -985,30 +880,7 @@ exports.supportedEVMChains = [
985
880
  rpcUrls: ['https://goerli-rollup.arbitrum.io/rpc/ '],
986
881
  },
987
882
  },
988
- // 69 - Optimistic Ethereum (Kovan)
989
- {
990
- key: base_1.ChainKey.OPTT,
991
- chainType: Chain_1.ChainType.EVM,
992
- name: 'Optimism Testnet',
993
- coin: base_1.CoinKey.ETH,
994
- id: 69,
995
- mainnet: false,
996
- logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism_test.png',
997
- faucetUrls: ['https://gateway.optimism.io/'],
998
- multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.OPTT],
999
- metamask: {
1000
- chainId: (0, EVMChain_1.prefixChainId)(69),
1001
- blockExplorerUrls: ['https://kovan-optimistic.etherscan.io/'],
1002
- chainName: 'Optimistic Ethereum Testnet Kovan',
1003
- nativeCurrency: {
1004
- name: 'tETH',
1005
- symbol: 'tETH',
1006
- decimals: 18,
1007
- },
1008
- rpcUrls: ['https://kovan.optimism.io'],
1009
- },
1010
- },
1011
- // 420 - Optimistic Ethereum (Kovan)
883
+ // 420 - Optimistic Ethereum (Goerli)
1012
884
  {
1013
885
  key: base_1.ChainKey.OPTG,
1014
886
  chainType: Chain_1.ChainType.EVM,
package/dist/cjs/coins.js CHANGED
@@ -782,10 +782,35 @@ const basicCoins = [
782
782
  address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
783
783
  decimals: 18,
784
784
  },
785
+ },
786
+ },
787
+ // LINEA TEST COIN
788
+ {
789
+ key: base_1.CoinKey.CXTT,
790
+ name: base_1.CoinKey.CXTT,
791
+ logoURI: 'https://xpollinate.io/icon192.png',
792
+ verified: false,
793
+ chains: {
794
+ [base_1.ChainId.GOR]: {
795
+ address: '0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1',
796
+ decimals: 18,
797
+ },
785
798
  [base_1.ChainId.LNAT]: {
786
799
  address: '0xb706319d37b945727e71ae0d4353699d19112576',
787
800
  decimals: 18,
788
801
  },
802
+ [base_1.ChainId.MUM]: {
803
+ address: '0xeDb95D8037f769B72AAab41deeC92903A98C9E16',
804
+ decimals: 18,
805
+ },
806
+ [base_1.ChainId.ARBG]: {
807
+ address: '0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f',
808
+ decimals: 18,
809
+ },
810
+ [base_1.ChainId.OPTG]: {
811
+ address: '0x68Db1c8d85C09d546097C65ec7DCBFF4D6497CbF',
812
+ decimals: 18,
813
+ },
789
814
  },
790
815
  },
791
816
  // > WBTC
package/dist/coins.js CHANGED
@@ -779,10 +779,35 @@ const basicCoins = [
779
779
  address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
780
780
  decimals: 18,
781
781
  },
782
+ },
783
+ },
784
+ // LINEA TEST COIN
785
+ {
786
+ key: CoinKey.CXTT,
787
+ name: CoinKey.CXTT,
788
+ logoURI: 'https://xpollinate.io/icon192.png',
789
+ verified: false,
790
+ chains: {
791
+ [ChainId.GOR]: {
792
+ address: '0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1',
793
+ decimals: 18,
794
+ },
782
795
  [ChainId.LNAT]: {
783
796
  address: '0xb706319d37b945727e71ae0d4353699d19112576',
784
797
  decimals: 18,
785
798
  },
799
+ [ChainId.MUM]: {
800
+ address: '0xeDb95D8037f769B72AAab41deeC92903A98C9E16',
801
+ decimals: 18,
802
+ },
803
+ [ChainId.ARBG]: {
804
+ address: '0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f',
805
+ decimals: 18,
806
+ },
807
+ [ChainId.OPTG]: {
808
+ address: '0x68Db1c8d85C09d546097C65ec7DCBFF4D6497CbF',
809
+ decimals: 18,
810
+ },
786
811
  },
787
812
  },
788
813
  // > WBTC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "3.2.3",
3
+ "version": "3.2.5",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",