Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@railgun-community/shared-models

Package Overview
Dependencies
Maintainers
5
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@railgun-community/shared-models - npm Package Compare versions

Comparing version 6.4.1 to 6.4.2

4

dist/models/network-config.d.ts

@@ -13,6 +13,6 @@ /// <reference types="../types/global" />

PolygonMumbai = "Polygon_Mumbai",
ArbitrumGoerli = "Arbitrum_Goerli",
Hardhat = "Hardhat",
EthereumRopsten_DEPRECATED = "Ethereum_Ropsten",
EthereumGoerli_DEPRECATED = "Ethereum_Goerli"
EthereumGoerli_DEPRECATED = "Ethereum_Goerli",
ArbitrumGoerli_DEPRECATED = "Arbitrum_Goerli"
}

@@ -19,0 +19,0 @@ export type FeesSerialized = {

@@ -18,3 +18,2 @@ "use strict";

NetworkName["PolygonMumbai"] = "Polygon_Mumbai";
NetworkName["ArbitrumGoerli"] = "Arbitrum_Goerli";
// Dev only

@@ -25,4 +24,6 @@ NetworkName["Hardhat"] = "Hardhat";

NetworkName["EthereumGoerli_DEPRECATED"] = "Ethereum_Goerli";
NetworkName["ArbitrumGoerli_DEPRECATED"] = "Arbitrum_Goerli";
})(NetworkName || (exports.NetworkName = NetworkName = {}));
exports.RailgunProxyContract = {
// Main nets
[NetworkName.Ethereum]: '0xfa7093cdd9ee6932b4eb2c9e1cde7ce00b1fa4b9',

@@ -33,10 +34,13 @@ [NetworkName.BNBChain]: '0x590162bf4b50f6576a459b75309ee21d92178a10',

// Test nets
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.EthereumSepolia]: '0x942D5026b421cf2705363A525897576cFAdA5964',
[NetworkName.PolygonMumbai]: '0x3ee8306321d992483BDC9c69B8F622Ba3FFF05B6',
[NetworkName.ArbitrumGoerli]: '0xA0603e598F9Ac2fc7475a3fA08D0794066615D9a',
// Dev only
[NetworkName.Hardhat]: '0x610178dA211FEF7D417bC0e6FeD39F05609AD788',
// Deprecated
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.ArbitrumGoerli_DEPRECATED]: '',
};
exports.RelayAdaptContract = {
// Main nets
[NetworkName.Ethereum]: '0x4025ee6512DBbda97049Bcf5AA5D38C54aF6bE8a',

@@ -47,10 +51,13 @@ [NetworkName.BNBChain]: '0x741936fb83DDf324636D3048b3E6bC800B8D9e12',

// Test nets
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.EthereumSepolia]: '0xCc1C4D2B362c3a0Fb19f734A896A58C81A062dc8',
[NetworkName.PolygonMumbai]: '0x17D36875D723Cf0dA250d404Ef4cA0aABE105837',
[NetworkName.ArbitrumGoerli]: '0x3eAf99B5EDc79D833AA8B6d18F0a8dd041e13eF6',
// Dev only
[NetworkName.Hardhat]: '0x0355B7B8cb128fA5692729Ab3AAa199C1753f726',
// Deprecated
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.ArbitrumGoerli_DEPRECATED]: '',
};
exports.RailgunProxyDeploymentBlock = {
// Main nets
[NetworkName.Ethereum]: 14737691,

@@ -61,10 +68,13 @@ [NetworkName.BNBChain]: 17633701,

// Test nets
[NetworkName.EthereumRopsten_DEPRECATED]: 12226000,
[NetworkName.EthereumGoerli_DEPRECATED]: 7795991,
[NetworkName.EthereumSepolia]: 4495479,
[NetworkName.PolygonMumbai]: 28697343,
[NetworkName.ArbitrumGoerli]: 2611949,
// Dev only
[NetworkName.Hardhat]: 0,
// Deprecated
[NetworkName.EthereumRopsten_DEPRECATED]: 12226000,
[NetworkName.EthereumGoerli_DEPRECATED]: 7795991,
[NetworkName.ArbitrumGoerli_DEPRECATED]: 2611949,
};
exports.BaseTokenWrappedAddress = {
// Main nets
[NetworkName.Ethereum]: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',

@@ -75,10 +85,13 @@ [NetworkName.BNBChain]: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c',

// Test nets
[NetworkName.EthereumSepolia]: '0x97a36608DA67AF0A79e50cb6343f86F340B3b49e',
[NetworkName.PolygonMumbai]: '0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889',
// Dev only
[NetworkName.Hardhat]: '0x8198f5d8F8CfFE8f9C413d98a0A55aEB8ab9FbB7',
// Deprecated
[NetworkName.EthereumRopsten_DEPRECATED]: '0xc778417e063141139fce010982780140aa0cd5ab',
[NetworkName.EthereumGoerli_DEPRECATED]: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
[NetworkName.EthereumSepolia]: '0x97a36608DA67AF0A79e50cb6343f86F340B3b49e',
[NetworkName.PolygonMumbai]: '0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889',
[NetworkName.ArbitrumGoerli]: '0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3',
[NetworkName.Hardhat]: '0x8198f5d8F8CfFE8f9C413d98a0A55aEB8ab9FbB7', // (Hardhat) WETH
[NetworkName.ArbitrumGoerli_DEPRECATED]: '0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3', // (Arbitrum Goerli) WETH
};
exports.RailgunPoseidonMerkleAccumulatorV3Contract = {
// Main nets
[NetworkName.Ethereum]: '',

@@ -89,10 +102,13 @@ [NetworkName.BNBChain]: '',

// Test nets
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.EthereumSepolia]: '',
[NetworkName.PolygonMumbai]: '0xc7212d4efBf7425Ea07f4d9770f5809578557bC0',
[NetworkName.ArbitrumGoerli]: '',
// Dev only
[NetworkName.Hardhat]: '0x2B0d36FACD61B71CC05ab8F3D2355ec3631C0dd5',
// Deprecated
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.ArbitrumGoerli_DEPRECATED]: '',
};
exports.RailgunPoseidonMerkleVerifierV3Contract = {
// Main nets
[NetworkName.Ethereum]: '',

@@ -103,10 +119,13 @@ [NetworkName.BNBChain]: '',

// Test nets
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.EthereumSepolia]: '',
[NetworkName.PolygonMumbai]: '0x86CcC111692422173D8b36F693E2525606438E43',
[NetworkName.ArbitrumGoerli]: '',
// Dev only
[NetworkName.Hardhat]: '0xfbC22278A96299D91d41C453234d97b4F5Eb9B2d',
// Deprecated
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.ArbitrumGoerli_DEPRECATED]: '',
};
exports.RailgunTokenVaultV3Contract = {
// Main nets
[NetworkName.Ethereum]: '',

@@ -117,10 +136,13 @@ [NetworkName.BNBChain]: '',

// Test nets
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.EthereumSepolia]: '',
[NetworkName.PolygonMumbai]: '0x0D7A2Fe88552eFEDEdb3798308a49ddB202982ef',
[NetworkName.ArbitrumGoerli]: '',
// Dev only
[NetworkName.Hardhat]: '0xD84379CEae14AA33C123Af12424A37803F885889',
// Deprecated
[NetworkName.EthereumRopsten_DEPRECATED]: '',
[NetworkName.EthereumGoerli_DEPRECATED]: '',
[NetworkName.ArbitrumGoerli_DEPRECATED]: '',
};
exports.RailgunPoseidonMerkleAccumulatorV3DeploymentBlock = {
// Main nets
[NetworkName.Ethereum]: 0,

@@ -131,8 +153,10 @@ [NetworkName.BNBChain]: 0,

// Test nets
[NetworkName.EthereumGoerli_DEPRECATED]: 0,
[NetworkName.EthereumSepolia]: 0,
[NetworkName.PolygonMumbai]: 42082388,
[NetworkName.ArbitrumGoerli]: 0,
// Dev only
[NetworkName.Hardhat]: 0,
// Deprecated
[NetworkName.EthereumGoerli_DEPRECATED]: 0,
[NetworkName.ArbitrumGoerli_DEPRECATED]: 0,
[NetworkName.EthereumRopsten_DEPRECATED]: 0,
[NetworkName.Hardhat]: 0,
};

@@ -390,3 +414,4 @@ exports.NETWORK_CONFIG = {

},
[NetworkName.ArbitrumGoerli]: {
[NetworkName.ArbitrumGoerli_DEPRECATED]: {
deprecated: true,
chain: {

@@ -396,3 +421,3 @@ type: response_types_1.ChainType.EVM,

},
name: NetworkName.ArbitrumGoerli,
name: NetworkName.ArbitrumGoerli_DEPRECATED,
publicName: 'Arbitrum Görli Testnet',

@@ -404,7 +429,7 @@ shortPublicName: 'Arbitrum Görli',

wrappedSymbol: 'WETH',
wrappedAddress: exports.BaseTokenWrappedAddress[NetworkName.ArbitrumGoerli],
wrappedAddress: exports.BaseTokenWrappedAddress[NetworkName.ArbitrumGoerli_DEPRECATED],
decimals: 18,
},
proxyContract: exports.RailgunProxyContract[NetworkName.ArbitrumGoerli],
relayAdaptContract: exports.RelayAdaptContract[NetworkName.ArbitrumGoerli],
proxyContract: exports.RailgunProxyContract[NetworkName.ArbitrumGoerli_DEPRECATED],
relayAdaptContract: exports.RelayAdaptContract[NetworkName.ArbitrumGoerli_DEPRECATED],
relayAdaptHistory: [

@@ -414,9 +439,9 @@ '0x7E77d890179Aa683ac2B9A608bd8121255CAa917',

],
deploymentBlock: exports.RailgunProxyDeploymentBlock[NetworkName.ArbitrumGoerli],
deploymentBlock: exports.RailgunProxyDeploymentBlock[NetworkName.ArbitrumGoerli_DEPRECATED],
isTestnet: true,
defaultEVMGasType: response_types_1.EVMGasType.Type2,
poseidonMerkleAccumulatorV3Contract: exports.RailgunPoseidonMerkleAccumulatorV3Contract[NetworkName.ArbitrumGoerli],
poseidonMerkleVerifierV3Contract: exports.RailgunPoseidonMerkleVerifierV3Contract[NetworkName.ArbitrumGoerli],
tokenVaultV3Contract: exports.RailgunTokenVaultV3Contract[NetworkName.ArbitrumGoerli],
deploymentBlockPoseidonMerkleAccumulatorV3: exports.RailgunPoseidonMerkleAccumulatorV3DeploymentBlock[NetworkName.ArbitrumGoerli],
poseidonMerkleAccumulatorV3Contract: exports.RailgunPoseidonMerkleAccumulatorV3Contract[NetworkName.ArbitrumGoerli_DEPRECATED],
poseidonMerkleVerifierV3Contract: exports.RailgunPoseidonMerkleVerifierV3Contract[NetworkName.ArbitrumGoerli_DEPRECATED],
tokenVaultV3Contract: exports.RailgunTokenVaultV3Contract[NetworkName.ArbitrumGoerli_DEPRECATED],
deploymentBlockPoseidonMerkleAccumulatorV3: exports.RailgunPoseidonMerkleAccumulatorV3DeploymentBlock[NetworkName.ArbitrumGoerli_DEPRECATED],
supportsV3: false,

@@ -423,0 +448,0 @@ },

{
"name": "@railgun-community/shared-models",
"version": "6.4.1",
"version": "6.4.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc