@equilab/network
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -52,3 +52,3 @@ "use strict"; | ||
}; | ||
const chainDef = Object.assign({ name: "genshiro", title: "Genshiro", nativeToken: "gens", type: "substrate", logo: "https://contentv2.equilibrium.io/uploads/gens_1f06723045.svg", nodes: ["wss://node.ksm.genshiro.io"], withdraw: "eq-bridge" }, fns); | ||
const chainDef = Object.assign({ name: "genshiro", title: "Genshiro", nativeToken: "gens", type: "substrate", logo: "https://contentv2.equilibrium.io/uploads/gens_1f06723045.svg", nodes: ["wss://node.ksm.genshiro.io"] }, fns); | ||
exports.default = chainDef; |
@@ -78,3 +78,3 @@ "use strict"; | ||
}; | ||
const chainDef = Object.assign({ name: "statemint", title: "Statemint", nativeToken: "dot", type: "substrate", logo: null, withdraw: "parachain", nodes: [ | ||
const chainDef = Object.assign({ name: "statemint", title: "Statemint", nativeToken: "dot", type: "substrate", logo: null, nodes: [ | ||
"wss://statemint-rpc.polkadot.io", | ||
@@ -81,0 +81,0 @@ "wss://statemint.api.onfinality.io/public-ws", |
@@ -23,2 +23,3 @@ "use strict"; | ||
], | ||
withdraw: "eq-bridge", | ||
}; | ||
@@ -25,0 +26,0 @@ exports.xdot = { |
@@ -21,2 +21,4 @@ "use strict"; | ||
existentialDeposit: 0.7, | ||
withdraw: "parachain", | ||
withdrawFee: 0.7, | ||
}; |
@@ -7,2 +7,3 @@ import type chains from "../../config/chains"; | ||
export type SubstrateWithdrawType = "relay" | "parachain" | "parachain-evm" | "eq-bridge"; | ||
export type SubstrateWithdrawFeePayer = "ThisAccWillPay" | "SovereignAccWillPay"; | ||
interface BaseChain<T extends ChainType> { | ||
@@ -21,3 +22,2 @@ type: T; | ||
paraId?: number; | ||
withdraw?: SubstrateWithdrawType; | ||
getBalance: Getter<[`0x${string}`], C>; | ||
@@ -43,2 +43,5 @@ getNativeBalance: Getter<[`0x${string}`], C>; | ||
existentialDeposit?: number; | ||
withdraw?: SubstrateWithdrawType; | ||
withdrawFeePayer?: SubstrateWithdrawFeePayer; | ||
withdrawFee?: number; | ||
} | ||
@@ -45,0 +48,0 @@ /** @deprecated still hacks */ |
{ | ||
"name": "@equilab/network", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "license": "none", |
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
696671
14356