@octaflowlabs/onchain-sdk 1.5.3 → 1.5.4

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.
@@ -757,92 +757,92 @@ exports.BASIC_TOKENS_BY_CHAIN = {
757
757
  },
758
758
  // No canonical WETH/USDC/DAI/WBTC/UNI deployment on Plasma in this mock set
759
759
  ],
760
- 42220: [
761
- {
762
- id: 'celo',
763
- address: null, //! This is a dual token, so the address is null for the native token
764
- chainId: 42220,
765
- symbol: 'CELO',
766
- name: 'Celo',
767
- decimals: 18,
768
- iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
769
- amount: '38.80',
770
- usdValue: '150,000 USD',
771
- isNative: true,
772
- },
773
- {
774
- id: 'weth',
775
- address: '0xD221812de1BD094f35587EE8E174B07B6167D9Af',
776
- chainId: 42220,
777
- symbol: 'WETH',
778
- name: 'Wrapped Ether',
779
- decimals: 18,
780
- iconUrl: 'https://assets.coingecko.com/coins/images/2518/standard/weth.png?1696503332',
781
- amount: '38.80',
782
- usdValue: '150,000 USD',
783
- isNative: false,
784
- },
785
- {
786
- id: 'usdc',
787
- address: '0xcebA9300f2b948710d2653dD7B07f33A8B32118C',
788
- chainId: 42220,
789
- symbol: 'USDC',
790
- name: 'USD Coin',
791
- decimals: 6,
792
- iconUrl: 'https://assets.coingecko.com/coins/images/6319/small/USD_Coin_icon.png',
793
- amount: '150,000',
794
- usdValue: '150,000 USD',
795
- isNative: false,
796
- },
797
- {
798
- id: 'usdt',
799
- address: '0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e',
800
- chainId: 42220,
801
- symbol: 'USD₮',
802
- name: 'Tether USD',
803
- decimals: 6,
804
- iconUrl: 'https://assets.coingecko.com/coins/images/325/small/Tether.png',
805
- amount: '75,000',
806
- usdValue: '75,000 USD',
807
- isNative: false,
808
- },
809
- {
810
- id: 'dai',
811
- address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
812
- chainId: 42220,
813
- symbol: 'DAI',
814
- name: 'Dai Stablecoin',
815
- decimals: 18,
816
- iconUrl: 'https://assets.coingecko.com/coins/images/9956/small/Badge_Dai.png',
817
- amount: '25,000',
818
- usdValue: '25,000 USD',
819
- isNative: false,
820
- },
821
- {
822
- id: 'wbtc',
823
- address: '0xD629eb00dEced2a080B7EC630eF6aC117e614f1b',
824
- chainId: 42220,
825
- symbol: 'WBTC',
826
- name: 'Wrapped BTC',
827
- decimals: 18,
828
- iconUrl: 'https://assets.coingecko.com/coins/images/7598/small/wrapped_bitcoin_wbtc.png',
829
- amount: '1.5',
830
- usdValue: '100,000 USD',
831
- isNative: false,
832
- },
833
- // {
834
- // id: 'uni',
835
- // address: '0x6fd9d7AD17242c41f7131d257212c54A0e816691',
836
- // chainId: 42220,
837
- // symbol: 'UNI',
838
- // name: 'Uniswap',
839
- // decimals: 18,
840
- // iconUrl: 'https://assets.coingecko.com/coins/images/12504/small/uniswap-uni.png',
841
- // amount: '5,000',
842
- // usdValue: '50,000 USD',
843
- // isNative: false,
844
- // },
845
- ],
760
+ // 42220: [
761
+ // {
762
+ // id: 'celo',
763
+ // address: null, //! This is a dual token, so the address is null for the native token
764
+ // chainId: 42220,
765
+ // symbol: 'CELO',
766
+ // name: 'Celo',
767
+ // decimals: 18,
768
+ // iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
769
+ // amount: '38.80',
770
+ // usdValue: '150,000 USD',
771
+ // isNative: true,
772
+ // },
773
+ // {
774
+ // id: 'weth',
775
+ // address: '0xD221812de1BD094f35587EE8E174B07B6167D9Af',
776
+ // chainId: 42220,
777
+ // symbol: 'WETH',
778
+ // name: 'Wrapped Ether',
779
+ // decimals: 18,
780
+ // iconUrl: 'https://assets.coingecko.com/coins/images/2518/standard/weth.png?1696503332',
781
+ // amount: '38.80',
782
+ // usdValue: '150,000 USD',
783
+ // isNative: false,
784
+ // },
785
+ // {
786
+ // id: 'usdc',
787
+ // address: '0xcebA9300f2b948710d2653dD7B07f33A8B32118C',
788
+ // chainId: 42220,
789
+ // symbol: 'USDC',
790
+ // name: 'USD Coin',
791
+ // decimals: 6,
792
+ // iconUrl: 'https://assets.coingecko.com/coins/images/6319/small/USD_Coin_icon.png',
793
+ // amount: '150,000',
794
+ // usdValue: '150,000 USD',
795
+ // isNative: false,
796
+ // },
797
+ // {
798
+ // id: 'usdt',
799
+ // address: '0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e',
800
+ // chainId: 42220,
801
+ // symbol: 'USD₮',
802
+ // name: 'Tether USD',
803
+ // decimals: 6,
804
+ // iconUrl: 'https://assets.coingecko.com/coins/images/325/small/Tether.png',
805
+ // amount: '75,000',
806
+ // usdValue: '75,000 USD',
807
+ // isNative: false,
808
+ // },
809
+ // {
810
+ // id: 'dai',
811
+ // address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
812
+ // chainId: 42220,
813
+ // symbol: 'DAI',
814
+ // name: 'Dai Stablecoin',
815
+ // decimals: 18,
816
+ // iconUrl: 'https://assets.coingecko.com/coins/images/9956/small/Badge_Dai.png',
817
+ // amount: '25,000',
818
+ // usdValue: '25,000 USD',
819
+ // isNative: false,
820
+ // },
821
+ // {
822
+ // id: 'wbtc',
823
+ // address: '0xD629eb00dEced2a080B7EC630eF6aC117e614f1b',
824
+ // chainId: 42220,
825
+ // symbol: 'WBTC',
826
+ // name: 'Wrapped BTC',
827
+ // decimals: 18,
828
+ // iconUrl: 'https://assets.coingecko.com/coins/images/7598/small/wrapped_bitcoin_wbtc.png',
829
+ // amount: '1.5',
830
+ // usdValue: '100,000 USD',
831
+ // isNative: false,
832
+ // },
833
+ // // {
834
+ // // id: 'uni',
835
+ // // address: '0x6fd9d7AD17242c41f7131d257212c54A0e816691',
836
+ // // chainId: 42220,
837
+ // // symbol: 'UNI',
838
+ // // name: 'Uniswap',
839
+ // // decimals: 18,
840
+ // // iconUrl: 'https://assets.coingecko.com/coins/images/12504/small/uniswap-uni.png',
841
+ // // amount: '5,000',
842
+ // // usdValue: '50,000 USD',
843
+ // // isNative: false,
844
+ // // },
845
+ // ],
846
846
  42161: [
847
847
  {
848
848
  id: 'eth',
@@ -137,18 +137,18 @@ exports.NETWORKS_REGISTRY = [
137
137
  failoverRpcUrl: 'https://mantle.llamarpc.com',
138
138
  blockTime: 2,
139
139
  },
140
- {
141
- id: 'celo-mainnet',
142
- name: 'celo-mainnet',
143
- nameForDisplay: 'Celo Mainnet',
144
- chainId: 42220,
145
- rpcUrl: 'https://rpc.ankr.com/celo',
146
- explorerUrl: 'https://celoscan.io',
147
- iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
148
- symbol: 'CELO',
149
- failoverRpcUrl: 'https://celo.drpc.org',
150
- blockTime: 5,
151
- },
140
+ // {
141
+ // id: 'celo-mainnet',
142
+ // name: 'celo-mainnet',
143
+ // nameForDisplay: 'Celo Mainnet',
144
+ // chainId: 42220,
145
+ // rpcUrl: 'https://rpc.ankr.com/celo',
146
+ // explorerUrl: 'https://celoscan.io',
147
+ // iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
148
+ // symbol: 'CELO',
149
+ // failoverRpcUrl: 'https://celo.drpc.org',
150
+ // blockTime: 5,
151
+ // },
152
152
  {
153
153
  id: 'blast-mainnet',
154
154
  name: 'blast-mainnet',
@@ -754,92 +754,92 @@ export const BASIC_TOKENS_BY_CHAIN = {
754
754
  },
755
755
  // No canonical WETH/USDC/DAI/WBTC/UNI deployment on Plasma in this mock set
756
756
  ],
757
- 42220: [
758
- {
759
- id: 'celo',
760
- address: null, //! This is a dual token, so the address is null for the native token
761
- chainId: 42220,
762
- symbol: 'CELO',
763
- name: 'Celo',
764
- decimals: 18,
765
- iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
766
- amount: '38.80',
767
- usdValue: '150,000 USD',
768
- isNative: true,
769
- },
770
- {
771
- id: 'weth',
772
- address: '0xD221812de1BD094f35587EE8E174B07B6167D9Af',
773
- chainId: 42220,
774
- symbol: 'WETH',
775
- name: 'Wrapped Ether',
776
- decimals: 18,
777
- iconUrl: 'https://assets.coingecko.com/coins/images/2518/standard/weth.png?1696503332',
778
- amount: '38.80',
779
- usdValue: '150,000 USD',
780
- isNative: false,
781
- },
782
- {
783
- id: 'usdc',
784
- address: '0xcebA9300f2b948710d2653dD7B07f33A8B32118C',
785
- chainId: 42220,
786
- symbol: 'USDC',
787
- name: 'USD Coin',
788
- decimals: 6,
789
- iconUrl: 'https://assets.coingecko.com/coins/images/6319/small/USD_Coin_icon.png',
790
- amount: '150,000',
791
- usdValue: '150,000 USD',
792
- isNative: false,
793
- },
794
- {
795
- id: 'usdt',
796
- address: '0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e',
797
- chainId: 42220,
798
- symbol: 'USD₮',
799
- name: 'Tether USD',
800
- decimals: 6,
801
- iconUrl: 'https://assets.coingecko.com/coins/images/325/small/Tether.png',
802
- amount: '75,000',
803
- usdValue: '75,000 USD',
804
- isNative: false,
805
- },
806
- {
807
- id: 'dai',
808
- address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
809
- chainId: 42220,
810
- symbol: 'DAI',
811
- name: 'Dai Stablecoin',
812
- decimals: 18,
813
- iconUrl: 'https://assets.coingecko.com/coins/images/9956/small/Badge_Dai.png',
814
- amount: '25,000',
815
- usdValue: '25,000 USD',
816
- isNative: false,
817
- },
818
- {
819
- id: 'wbtc',
820
- address: '0xD629eb00dEced2a080B7EC630eF6aC117e614f1b',
821
- chainId: 42220,
822
- symbol: 'WBTC',
823
- name: 'Wrapped BTC',
824
- decimals: 18,
825
- iconUrl: 'https://assets.coingecko.com/coins/images/7598/small/wrapped_bitcoin_wbtc.png',
826
- amount: '1.5',
827
- usdValue: '100,000 USD',
828
- isNative: false,
829
- },
830
- // {
831
- // id: 'uni',
832
- // address: '0x6fd9d7AD17242c41f7131d257212c54A0e816691',
833
- // chainId: 42220,
834
- // symbol: 'UNI',
835
- // name: 'Uniswap',
836
- // decimals: 18,
837
- // iconUrl: 'https://assets.coingecko.com/coins/images/12504/small/uniswap-uni.png',
838
- // amount: '5,000',
839
- // usdValue: '50,000 USD',
840
- // isNative: false,
841
- // },
842
- ],
757
+ // 42220: [
758
+ // {
759
+ // id: 'celo',
760
+ // address: null, //! This is a dual token, so the address is null for the native token
761
+ // chainId: 42220,
762
+ // symbol: 'CELO',
763
+ // name: 'Celo',
764
+ // decimals: 18,
765
+ // iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
766
+ // amount: '38.80',
767
+ // usdValue: '150,000 USD',
768
+ // isNative: true,
769
+ // },
770
+ // {
771
+ // id: 'weth',
772
+ // address: '0xD221812de1BD094f35587EE8E174B07B6167D9Af',
773
+ // chainId: 42220,
774
+ // symbol: 'WETH',
775
+ // name: 'Wrapped Ether',
776
+ // decimals: 18,
777
+ // iconUrl: 'https://assets.coingecko.com/coins/images/2518/standard/weth.png?1696503332',
778
+ // amount: '38.80',
779
+ // usdValue: '150,000 USD',
780
+ // isNative: false,
781
+ // },
782
+ // {
783
+ // id: 'usdc',
784
+ // address: '0xcebA9300f2b948710d2653dD7B07f33A8B32118C',
785
+ // chainId: 42220,
786
+ // symbol: 'USDC',
787
+ // name: 'USD Coin',
788
+ // decimals: 6,
789
+ // iconUrl: 'https://assets.coingecko.com/coins/images/6319/small/USD_Coin_icon.png',
790
+ // amount: '150,000',
791
+ // usdValue: '150,000 USD',
792
+ // isNative: false,
793
+ // },
794
+ // {
795
+ // id: 'usdt',
796
+ // address: '0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e',
797
+ // chainId: 42220,
798
+ // symbol: 'USD₮',
799
+ // name: 'Tether USD',
800
+ // decimals: 6,
801
+ // iconUrl: 'https://assets.coingecko.com/coins/images/325/small/Tether.png',
802
+ // amount: '75,000',
803
+ // usdValue: '75,000 USD',
804
+ // isNative: false,
805
+ // },
806
+ // {
807
+ // id: 'dai',
808
+ // address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
809
+ // chainId: 42220,
810
+ // symbol: 'DAI',
811
+ // name: 'Dai Stablecoin',
812
+ // decimals: 18,
813
+ // iconUrl: 'https://assets.coingecko.com/coins/images/9956/small/Badge_Dai.png',
814
+ // amount: '25,000',
815
+ // usdValue: '25,000 USD',
816
+ // isNative: false,
817
+ // },
818
+ // {
819
+ // id: 'wbtc',
820
+ // address: '0xD629eb00dEced2a080B7EC630eF6aC117e614f1b',
821
+ // chainId: 42220,
822
+ // symbol: 'WBTC',
823
+ // name: 'Wrapped BTC',
824
+ // decimals: 18,
825
+ // iconUrl: 'https://assets.coingecko.com/coins/images/7598/small/wrapped_bitcoin_wbtc.png',
826
+ // amount: '1.5',
827
+ // usdValue: '100,000 USD',
828
+ // isNative: false,
829
+ // },
830
+ // // {
831
+ // // id: 'uni',
832
+ // // address: '0x6fd9d7AD17242c41f7131d257212c54A0e816691',
833
+ // // chainId: 42220,
834
+ // // symbol: 'UNI',
835
+ // // name: 'Uniswap',
836
+ // // decimals: 18,
837
+ // // iconUrl: 'https://assets.coingecko.com/coins/images/12504/small/uniswap-uni.png',
838
+ // // amount: '5,000',
839
+ // // usdValue: '50,000 USD',
840
+ // // isNative: false,
841
+ // // },
842
+ // ],
843
843
  42161: [
844
844
  {
845
845
  id: 'eth',
@@ -134,18 +134,18 @@ export const NETWORKS_REGISTRY = [
134
134
  failoverRpcUrl: 'https://mantle.llamarpc.com',
135
135
  blockTime: 2,
136
136
  },
137
- {
138
- id: 'celo-mainnet',
139
- name: 'celo-mainnet',
140
- nameForDisplay: 'Celo Mainnet',
141
- chainId: 42220,
142
- rpcUrl: 'https://rpc.ankr.com/celo',
143
- explorerUrl: 'https://celoscan.io',
144
- iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
145
- symbol: 'CELO',
146
- failoverRpcUrl: 'https://celo.drpc.org',
147
- blockTime: 5,
148
- },
137
+ // {
138
+ // id: 'celo-mainnet',
139
+ // name: 'celo-mainnet',
140
+ // nameForDisplay: 'Celo Mainnet',
141
+ // chainId: 42220,
142
+ // rpcUrl: 'https://rpc.ankr.com/celo',
143
+ // explorerUrl: 'https://celoscan.io',
144
+ // iconUrl: 'https://assets.coingecko.com/coins/images/11090/large/InjXBNx9_400x400.jpg',
145
+ // symbol: 'CELO',
146
+ // failoverRpcUrl: 'https://celo.drpc.org',
147
+ // blockTime: 5,
148
+ // },
149
149
  {
150
150
  id: 'blast-mainnet',
151
151
  name: 'blast-mainnet',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octaflowlabs/onchain-sdk",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "onchain methods for web3",
5
5
  "repository": {
6
6
  "type": "git",