@cryptorubic/web3 0.14.0-alpha.near.10 → 0.14.0-alpha.near.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "0.14.0-alpha.near.10",
3
+ "version": "0.14.0-alpha.near.11",
4
4
  "dependencies": {
5
5
  "@ethersproject/bignumber": "^5.8.0",
6
6
  "@mysten/sui": "^1.24.0",
@@ -1,3 +1,3 @@
1
- import { ViemChain } from '../models/viem-chain-type';
2
1
  import { EvmBlockchainName } from '@cryptorubic/core';
2
+ import { ViemChain } from '../models/viem-chain-type';
3
3
  export declare const viemConfig: Partial<Record<EvmBlockchainName, ViemChain>>;
@@ -1428,5 +1428,32 @@ exports.viemConfig = {
1428
1428
  address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1429
1429
  }
1430
1430
  }
1431
+ }),
1432
+ PLASMA: (0, viem_1.defineChain)({
1433
+ id: 9745,
1434
+ name: 'Plasma',
1435
+ network: 'Plasma',
1436
+ nativeCurrency: {
1437
+ name: 'Plasma',
1438
+ symbol: 'XPL',
1439
+ decimals: 18
1440
+ },
1441
+ rpcUrls: {
1442
+ default: {
1443
+ http: ['https://rpc.plasma.to']
1444
+ }
1445
+ },
1446
+ blockExplorers: {
1447
+ default: {
1448
+ name: 'plasmascan',
1449
+ url: 'https://plasmascan.to/'
1450
+ }
1451
+ },
1452
+ testnet: false,
1453
+ contracts: {
1454
+ multicall3: {
1455
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1456
+ }
1457
+ }
1431
1458
  })
1432
1459
  };
@@ -1,3 +1,3 @@
1
- import { ViemChain } from './models/viem-chain-type';
2
1
  import { EvmBlockchainName } from '@cryptorubic/core';
2
+ import { ViemChain } from './models/viem-chain-type';
3
3
  export declare const viemBlockchainMapping: Partial<Record<EvmBlockchainName, ViemChain>>;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.viemBlockchainMapping = void 0;
4
+ const core_1 = require("@cryptorubic/core");
4
5
  const chains_1 = require("viem/chains");
5
6
  const chain_configs_1 = require("./chain-configs/chain-configs");
6
- const core_1 = require("@cryptorubic/core");
7
7
  exports.viemBlockchainMapping = {
8
8
  [core_1.BLOCKCHAIN_NAME.ETHEREUM]: chains_1.mainnet,
9
9
  [core_1.BLOCKCHAIN_NAME.BINANCE_SMART_CHAIN]: chains_1.bsc,
@@ -76,5 +76,6 @@ exports.viemBlockchainMapping = {
76
76
  [core_1.BLOCKCHAIN_NAME.WANCHAIN]: chains_1.wanchain,
77
77
  [core_1.BLOCKCHAIN_NAME.UNICHAIN]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.UNICHAIN],
78
78
  [core_1.BLOCKCHAIN_NAME.MORPH]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.MORPH], // viem Morph config without multicall address
79
- [core_1.BLOCKCHAIN_NAME.HEMI]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.HEMI]
79
+ [core_1.BLOCKCHAIN_NAME.HEMI]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.HEMI],
80
+ [core_1.BLOCKCHAIN_NAME.PLASMA]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.PLASMA]
80
81
  };