@firmachain/firma-js 0.3.7-beta1 → 0.3.7-beta2

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.
@@ -27,10 +27,10 @@ export interface GovParamType {
27
27
  min_deposit_ratio: string;
28
28
  }
29
29
  export interface CurrentVoteInfo {
30
- yes: string;
31
- abstain: string;
32
- no: string;
33
- no_with_veto: string;
30
+ yes_count: string;
31
+ abstain_count: string;
32
+ no_count: string;
33
+ no_with_veto_count: string;
34
34
  }
35
35
  export declare class GovQueryClient {
36
36
  private readonly axios;
@@ -1,8 +1,10 @@
1
1
  import { FirmaConfig } from '../sdk/FirmaConfig';
2
2
  export declare let TestChainConfig: FirmaConfig;
3
- export declare const validatorMnemonic = "uncle banana theme relax oak prosper volcano glad industry bicycle tower thrive jelly curious luggage frame that defy reason jewel figure begin nice moon";
4
- export declare const aliceMnemonic = "ozone unfold device pave lemon potato omit insect column wise cover hint narrow large provide kidney episode clay notable milk mention dizzy muffin crazy";
5
- export declare const bobMnemonic = "burst torch enemy quick crime slogan trust wood hamster way armor visual common language close park leg ill ball board couch nose theory must";
3
+ export declare const validatorMnemonic = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
4
+ export declare const validatorMnemonic2 = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
5
+ export declare const validatorMnemonic3 = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
6
+ export declare const aliceMnemonic = "harvest galaxy sniff include record undo width oven tired sad month text museum curious firm mountain flash assault oval sand ribbon blouse consider lens";
7
+ export declare const bobMnemonic = "certain bean eager measure crawl cliff innocent practice gas ladder board aspect fish link sweet raccoon staff long crumble skin special width click plastic";
6
8
  export declare const feeMnemonic = "";
7
9
  export declare const firmaFeeMnemonic = "";
8
10
  export declare const signerMnemonic1 = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
@@ -1,44 +1,47 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.signerMnemonic4 = exports.signerMnemonic3 = exports.signerMnemonic2 = exports.signerMnemonic1 = exports.firmaFeeMnemonic = exports.feeMnemonic = exports.bobMnemonic = exports.aliceMnemonic = exports.validatorMnemonic = exports.TestChainConfig = void 0;
3
+ exports.signerMnemonic4 = exports.signerMnemonic3 = exports.signerMnemonic2 = exports.signerMnemonic1 = exports.firmaFeeMnemonic = exports.feeMnemonic = exports.bobMnemonic = exports.aliceMnemonic = exports.validatorMnemonic3 = exports.validatorMnemonic2 = exports.validatorMnemonic = exports.TestChainConfig = void 0;
4
+ var FirmaConfig_1 = require("../sdk/FirmaConfig");
4
5
  // TESTNET
5
- // export let TestChainConfig: FirmaConfig = FirmaConfig.TestNetConfig;
6
+ exports.TestChainConfig = FirmaConfig_1.FirmaConfig.TestNetConfig;
6
7
  // Validator 1
7
- // export const validatorMnemonic = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
8
+ exports.validatorMnemonic = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
8
9
  // Validator 2
9
- // export const validatorMnemonic = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
10
+ exports.validatorMnemonic2 = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
10
11
  // validator 3
11
- // export const validatorMnemonic = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
12
- // export const aliceMnemonic = "harvest galaxy sniff include record undo width oven tired sad month text museum curious firm mountain flash assault oval sand ribbon blouse consider lens";
13
- // export const bobMnemonic = "certain bean eager measure crawl cliff innocent practice gas ladder board aspect fish link sweet raccoon staff long crumble skin special width click plastic";
14
- // export const feeMnemonic = "";
15
- // export const firmaFeeMnemonic = "";
16
- // export const signerMnemonic1 = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
17
- // export const signerMnemonic2 = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
18
- // export const signerMnemonic3 = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
19
- // export const signerMnemonic4 = "sand mule spice strike summer invite hybrid inner deputy truly cabin little fence smart erase roast gesture raccoon side love odor decorate action lunar";
20
- // DEVNET
21
- exports.TestChainConfig = {
22
- chainID: "roma-1",
23
- rpcAddress: "http://192.168.30.47:26657",
24
- restApiAddress: "http://192.168.30.47:1317",
25
- ipfsNodeAddress: "https://ipfs-dev.firmachain.dev",
26
- ipfsNodePort: 5001,
27
- ipfsWebApiAddress: "https://ipfs-dev.firmachain.dev",
28
- hdPath: "m/44'/7777777'/",
29
- prefix: "firma",
30
- denom: "ufct",
31
- defaultFee: 20000,
32
- defaultGas: 200000,
33
- isShowLog: true,
34
- };
35
- // Validator
36
- exports.validatorMnemonic = "uncle banana theme relax oak prosper volcano glad industry bicycle tower thrive jelly curious luggage frame that defy reason jewel figure begin nice moon";
37
- exports.aliceMnemonic = "ozone unfold device pave lemon potato omit insect column wise cover hint narrow large provide kidney episode clay notable milk mention dizzy muffin crazy";
38
- exports.bobMnemonic = "burst torch enemy quick crime slogan trust wood hamster way armor visual common language close park leg ill ball board couch nose theory must";
12
+ exports.validatorMnemonic3 = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
13
+ exports.aliceMnemonic = "harvest galaxy sniff include record undo width oven tired sad month text museum curious firm mountain flash assault oval sand ribbon blouse consider lens";
14
+ exports.bobMnemonic = "certain bean eager measure crawl cliff innocent practice gas ladder board aspect fish link sweet raccoon staff long crumble skin special width click plastic";
39
15
  exports.feeMnemonic = "";
40
16
  exports.firmaFeeMnemonic = "";
41
17
  exports.signerMnemonic1 = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
42
18
  exports.signerMnemonic2 = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
43
19
  exports.signerMnemonic3 = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
44
20
  exports.signerMnemonic4 = "sand mule spice strike summer invite hybrid inner deputy truly cabin little fence smart erase roast gesture raccoon side love odor decorate action lunar";
21
+ /*
22
+ // DEVNET
23
+ export let TestChainConfig: FirmaConfig = {
24
+ chainID: "roma-1",
25
+ rpcAddress: "http://192.168.30.47:26657",
26
+ restApiAddress: "http://192.168.30.47:1317",
27
+ ipfsNodeAddress: "https://ipfs-dev.firmachain.dev",
28
+ ipfsNodePort: 5001,
29
+ ipfsWebApiAddress: "https://ipfs-dev.firmachain.dev",
30
+ hdPath: "m/44'/7777777'/",
31
+ prefix: "firma",
32
+ denom: "ufct",
33
+ defaultFee: 20000,
34
+ defaultGas: 200000,
35
+ isShowLog: true,
36
+ };
37
+ // Validator
38
+ export const validatorMnemonic = "uncle banana theme relax oak prosper volcano glad industry bicycle tower thrive jelly curious luggage frame that defy reason jewel figure begin nice moon";
39
+ export const aliceMnemonic = "ozone unfold device pave lemon potato omit insect column wise cover hint narrow large provide kidney episode clay notable milk mention dizzy muffin crazy";
40
+ export const bobMnemonic = "burst torch enemy quick crime slogan trust wood hamster way armor visual common language close park leg ill ball board couch nose theory must";
41
+ export const feeMnemonic = "";
42
+ export const firmaFeeMnemonic = "";
43
+ export const signerMnemonic1 = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
44
+ export const signerMnemonic2 = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
45
+ export const signerMnemonic3 = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
46
+ export const signerMnemonic4 = "sand mule spice strike summer invite hybrid inner deputy truly cabin little fence smart erase roast gesture raccoon side love odor decorate action lunar";
47
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firmachain/firma-js",
3
- "version": "0.3.7-beta1",
3
+ "version": "0.3.7-beta2",
4
4
  "description": "The Official FirmaChain Javascript SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",