@xchainjs/xchain-arbitrum
Advanced tools
Comparing version 0.1.14 to 1.0.0
import { EVMClientParams } from '@xchainjs/xchain-evm'; | ||
import { Asset } from '@xchainjs/xchain-util'; | ||
import { Asset, TokenAsset } from '@xchainjs/xchain-util'; | ||
export declare const ARB_DECIMAL = 18; | ||
@@ -9,3 +9,3 @@ export declare const LOWER_FEE_BOUND = 100000000; | ||
export declare const AssetAETH: Asset; | ||
export declare const AssetARB: Asset; | ||
export declare const AssetARB: TokenAsset; | ||
export declare const defaultArbParams: EVMClientParams; |
import { Network, ExplorerProvider } from '@xchainjs/xchain-client'; | ||
import { Client as Client$1, KeystoreSigner } from '@xchainjs/xchain-evm'; | ||
import { EtherscanProvider } from '@xchainjs/xchain-evm-providers'; | ||
import { AssetType } from '@xchainjs/xchain-util'; | ||
import { ethers, BigNumber } from 'ethers'; | ||
@@ -14,3 +15,3 @@ | ||
// ARB ETH Gas asset | ||
const AssetAETH = { chain: ARBChain, symbol: 'ETH', ticker: 'ETH', synth: false }; | ||
const AssetAETH = { chain: ARBChain, symbol: 'ETH', ticker: 'ETH', type: AssetType.NATIVE }; | ||
// ARB | ||
@@ -21,3 +22,3 @@ const AssetARB = { | ||
ticker: 'ARB', | ||
synth: false, | ||
type: AssetType.TOKEN, | ||
}; | ||
@@ -24,0 +25,0 @@ // Define JSON-RPC providers for mainnet and testnet |
@@ -8,2 +8,3 @@ 'use strict'; | ||
var xchainEvmProviders = require('@xchainjs/xchain-evm-providers'); | ||
var xchainUtil = require('@xchainjs/xchain-util'); | ||
var ethers = require('ethers'); | ||
@@ -19,3 +20,3 @@ | ||
// ARB ETH Gas asset | ||
const AssetAETH = { chain: ARBChain, symbol: 'ETH', ticker: 'ETH', synth: false }; | ||
const AssetAETH = { chain: ARBChain, symbol: 'ETH', ticker: 'ETH', type: xchainUtil.AssetType.NATIVE }; | ||
// ARB | ||
@@ -26,3 +27,3 @@ const AssetARB = { | ||
ticker: 'ARB', | ||
synth: false, | ||
type: xchainUtil.AssetType.TOKEN, | ||
}; | ||
@@ -29,0 +30,0 @@ // Define JSON-RPC providers for mainnet and testnet |
{ | ||
"name": "@xchainjs/xchain-arbitrum", | ||
"version": "0.1.14", | ||
"version": "1.0.0", | ||
"description": "Arbitrum EVM client for XChainJS", | ||
@@ -39,8 +39,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@xchainjs/xchain-client": "0.16.8", | ||
"@xchainjs/xchain-evm": "0.6.4", | ||
"@xchainjs/xchain-evm-providers": "0.1.13", | ||
"@xchainjs/xchain-util": "0.13.7", | ||
"@xchainjs/xchain-client": "1.0.0", | ||
"@xchainjs/xchain-evm": "1.0.0", | ||
"@xchainjs/xchain-evm-providers": "1.0.0", | ||
"@xchainjs/xchain-util": "1.0.0", | ||
"ethers": "5.7.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
34478
246
0
+ Added@xchainjs/xchain-client@1.0.0(transitive)
+ Added@xchainjs/xchain-evm@1.0.0(transitive)
+ Added@xchainjs/xchain-evm-providers@1.0.0(transitive)
+ Added@xchainjs/xchain-util@1.0.0(transitive)
- Removed@xchainjs/xchain-client@0.16.8(transitive)
- Removed@xchainjs/xchain-evm@0.6.4(transitive)
- Removed@xchainjs/xchain-evm-providers@0.1.13(transitive)
- Removed@xchainjs/xchain-util@0.13.7(transitive)
Updated@xchainjs/xchain-evm@1.0.0
Updated@xchainjs/xchain-util@1.0.0