@injectivelabs/utils
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -9,2 +9,9 @@ export declare const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"; | ||
export declare const DEFAULT_TIMEOUT_HEIGHT = 40; | ||
export declare const DEFAULT_STD_FEE: { | ||
amount: { | ||
amount: string; | ||
denom: string; | ||
}[]; | ||
gas: string; | ||
}; | ||
//# sourceMappingURL=constants.d.ts.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DEFAULT_TIMEOUT_HEIGHT = exports.DEFAULT_BRIDGE_FEE_AMOUNT = exports.DEFAULT_BRIDGE_FEE_PRICE = exports.DEFAULT_BRIDGE_FEE_DENOM = exports.DEFAULT_EXCHANGE_LIMIT = exports.DEFAULT_GAS_PRICE = exports.DEFAULT_GAS_LIMIT = exports.ZERO_ADDRESS = void 0; | ||
exports.DEFAULT_STD_FEE = exports.DEFAULT_TIMEOUT_HEIGHT = exports.DEFAULT_BRIDGE_FEE_AMOUNT = exports.DEFAULT_BRIDGE_FEE_PRICE = exports.DEFAULT_BRIDGE_FEE_DENOM = exports.DEFAULT_EXCHANGE_LIMIT = exports.DEFAULT_GAS_PRICE = exports.DEFAULT_GAS_LIMIT = exports.ZERO_ADDRESS = void 0; | ||
const BigNumberInBase_1 = __importDefault(require("./classes/BigNumberInBase")); | ||
exports.ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'; | ||
@@ -12,2 +16,13 @@ exports.DEFAULT_GAS_LIMIT = 400000; | ||
exports.DEFAULT_TIMEOUT_HEIGHT = 40; | ||
exports.DEFAULT_STD_FEE = { | ||
amount: [ | ||
{ | ||
amount: new BigNumberInBase_1.default(exports.DEFAULT_GAS_LIMIT) | ||
.times(exports.DEFAULT_GAS_PRICE) | ||
.toString(), | ||
denom: 'inj', | ||
}, | ||
], | ||
gas: exports.DEFAULT_GAS_LIMIT.toString(), | ||
}; | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "@injectivelabs/utils", | ||
"description": "List of utils and helper functions that can be reused throughout Injective's projects.", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"license": "MIT", | ||
@@ -39,3 +39,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "11650d3cd6a05198e355a44f02ba01d54da67799" | ||
"gitHead": "3d3fb0d0ff1e6937092898950cd8ae222323b201" | ||
} |
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
78508
1041