@helium/helium-admin-cli 0.1.2 → 0.1.3
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.
- package/lib/cjs/close-buffers.js +131 -0
- package/lib/cjs/close-buffers.js.map +1 -0
- package/lib/cjs/create-dao.js +5 -5
- package/lib/cjs/create-dao.js.map +1 -1
- package/lib/cjs/create-price-oracle.js +4 -0
- package/lib/cjs/create-price-oracle.js.map +1 -1
- package/lib/cjs/create-subdao.js +20 -17
- package/lib/cjs/create-subdao.js.map +1 -1
- package/lib/cjs/log-hotspot.js +2 -1
- package/lib/cjs/log-hotspot.js.map +1 -1
- package/lib/cjs/setup-hst.js +8 -1
- package/lib/cjs/setup-hst.js.map +1 -1
- package/lib/cjs/update-lazy-transactions.js +116 -0
- package/lib/cjs/update-lazy-transactions.js.map +1 -0
- package/lib/cjs/update-registrar-authorities.js +92 -0
- package/lib/cjs/update-registrar-authorities.js.map +1 -0
- package/lib/cjs/update-subdao-vehnt.js +109 -84
- package/lib/cjs/update-subdao-vehnt.js.map +1 -1
- package/lib/cjs/upgrade-idl.js +108 -0
- package/lib/cjs/upgrade-idl.js.map +1 -0
- package/lib/cjs/utils.js +88 -4
- package/lib/cjs/utils.js.map +1 -1
- package/lib/esm/src/close-buffers.js +90 -0
- package/lib/esm/src/close-buffers.js.map +1 -0
- package/lib/esm/src/create-dao.js +5 -5
- package/lib/esm/src/create-dao.js.map +1 -1
- package/lib/esm/src/create-price-oracle.js +5 -1
- package/lib/esm/src/create-price-oracle.js.map +1 -1
- package/lib/esm/src/create-subdao.js +20 -17
- package/lib/esm/src/create-subdao.js.map +1 -1
- package/lib/esm/src/log-hotspot.js +3 -2
- package/lib/esm/src/log-hotspot.js.map +1 -1
- package/lib/esm/src/setup-hst.js +8 -2
- package/lib/esm/src/setup-hst.js.map +1 -1
- package/lib/esm/src/update-lazy-transactions.js +75 -0
- package/lib/esm/src/update-lazy-transactions.js.map +1 -0
- package/lib/esm/src/update-registrar-authorities.js +51 -0
- package/lib/esm/src/update-registrar-authorities.js.map +1 -0
- package/lib/esm/src/update-subdao-vehnt.js +109 -84
- package/lib/esm/src/update-subdao-vehnt.js.map +1 -1
- package/lib/esm/src/upgrade-idl.js +67 -0
- package/lib/esm/src/upgrade-idl.js.map +1 -0
- package/lib/esm/src/utils.js +81 -5
- package/lib/esm/src/utils.js.map +1 -1
- package/lib/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/types/src/close-buffers.d.ts +2 -0
- package/lib/types/src/close-buffers.d.ts.map +1 -0
- package/lib/types/src/create-price-oracle.d.ts.map +1 -1
- package/lib/types/src/create-subdao.d.ts.map +1 -1
- package/lib/types/src/log-hotspot.d.ts.map +1 -1
- package/lib/types/src/setup-hst.d.ts.map +1 -1
- package/lib/types/src/update-lazy-transactions.d.ts +2 -0
- package/lib/types/src/update-lazy-transactions.d.ts.map +1 -0
- package/lib/types/src/update-registrar-authorities.d.ts +2 -0
- package/lib/types/src/update-registrar-authorities.d.ts.map +1 -0
- package/lib/types/src/update-subdao-vehnt.d.ts.map +1 -1
- package/lib/types/src/upgrade-idl.d.ts +2 -0
- package/lib/types/src/upgrade-idl.d.ts.map +1 -0
- package/lib/types/src/utils.d.ts +3 -1
- package/lib/types/src/utils.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close-buffers.d.ts","sourceRoot":"","sources":["../../../src/close-buffers.ts"],"names":[],"mappings":"AASA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA8FjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-price-oracle.d.ts","sourceRoot":"","sources":["../../../src/create-price-oracle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-price-oracle.d.ts","sourceRoot":"","sources":["../../../src/create-price-oracle.ts"],"names":[],"mappings":"AAmBA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAuFjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-subdao.d.ts","sourceRoot":"","sources":["../../../src/create-subdao.ts"],"names":[],"mappings":"AA8DA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,
|
|
1
|
+
{"version":3,"file":"create-subdao.d.ts","sourceRoot":"","sources":["../../../src/create-subdao.ts"],"names":[],"mappings":"AA8DA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAmiBjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-hotspot.d.ts","sourceRoot":"","sources":["../../../src/log-hotspot.ts"],"names":[],"mappings":"AAeA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,
|
|
1
|
+
{"version":3,"file":"log-hotspot.d.ts","sourceRoot":"","sources":["../../../src/log-hotspot.ts"],"names":[],"mappings":"AAeA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA+DjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-hst.d.ts","sourceRoot":"","sources":["../../../src/setup-hst.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"setup-hst.d.ts","sourceRoot":"","sources":["../../../src/setup-hst.ts"],"names":[],"mappings":"AAWA,OAAO,EAAiC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAQ3E,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA6NjD;AAcD,wBAAgB,SAAS,CACvB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,MAAM,EAChB,SAAS,GAAE,SAAyB,GACnC,CAAC,SAAS,EAAE,MAAM,CAAC,CASrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-lazy-transactions.d.ts","sourceRoot":"","sources":["../../../src/update-lazy-transactions.ts"],"names":[],"mappings":"AAWA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA4EjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-registrar-authorities.d.ts","sourceRoot":"","sources":["../../../src/update-registrar-authorities.ts"],"names":[],"mappings":"AAQA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAgDjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subdao-vehnt.d.ts","sourceRoot":"","sources":["../../../src/update-subdao-vehnt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-subdao-vehnt.d.ts","sourceRoot":"","sources":["../../../src/update-subdao-vehnt.ts"],"names":[],"mappings":"AAeA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA8PjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upgrade-idl.d.ts","sourceRoot":"","sources":["../../../src/upgrade-idl.ts"],"names":[],"mappings":"AAaA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAoEjD"}
|
package/lib/types/src/utils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as anchor from "@coral-xyz/anchor";
|
|
2
2
|
import { Commitment, Connection, Keypair, PublicKey, Signer, TransactionInstruction } from "@solana/web3.js";
|
|
3
3
|
import Squads from "@sqds/sdk";
|
|
4
|
+
export declare function createIdlUpgradeInstruction(programId: PublicKey, bufferAddress: PublicKey, upgradeAuthority: PublicKey): Promise<anchor.web3.TransactionInstruction>;
|
|
4
5
|
export declare const getTimestampFromDays: (days: number) => number;
|
|
5
6
|
export declare const getUnixTimestamp: (provider: anchor.Provider) => Promise<bigint>;
|
|
6
7
|
export declare function exists(connection: Connection, account: PublicKey): Promise<boolean>;
|
|
@@ -40,6 +41,7 @@ export declare function createSwitchboardAggregator({ provider, aggKeypair, url,
|
|
|
40
41
|
aggKeypair: Keypair;
|
|
41
42
|
url: string;
|
|
42
43
|
}): Promise<anchor.web3.PublicKey>;
|
|
44
|
+
export declare function createCloseBufferInstruction(programId: PublicKey, bufferAddress: PublicKey, upgradeAuthority: PublicKey, recipientAddress: PublicKey): Promise<anchor.web3.TransactionInstruction>;
|
|
43
45
|
export declare function sendInstructionsOrSquads({ provider, instructions, signers, payer, commitment, idlErrors, executeTransaction, squads, multisig, authorityIndex, }: {
|
|
44
46
|
executeTransaction?: boolean;
|
|
45
47
|
provider: anchor.AnchorProvider;
|
|
@@ -50,7 +52,7 @@ export declare function sendInstructionsOrSquads({ provider, instructions, signe
|
|
|
50
52
|
idlErrors?: Map<number, string>;
|
|
51
53
|
squads: Squads;
|
|
52
54
|
multisig?: PublicKey;
|
|
53
|
-
authorityIndex
|
|
55
|
+
authorityIndex?: number;
|
|
54
56
|
}): Promise<string>;
|
|
55
57
|
export declare function parseEmissionsSchedule(filepath: string): Promise<any>;
|
|
56
58
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AA0C5C,OAAO,EAGL,UAAU,EAEV,UAAU,EACV,OAAO,EACP,SAAS,EACT,MAAM,EAGN,sBAAsB,EAGvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,MAAM,MAAM,WAAW,CAAC;AAc/B,wBAAsB,2BAA2B,CAC/C,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,SAAS,EACxB,gBAAgB,EAAE,SAAS,+CA8B5B;AAGD,eAAO,MAAM,oBAAoB,SAAU,MAAM,WAA2B,CAAC;AAE7E,eAAO,MAAM,gBAAgB,aACjB,OAAO,QAAQ,KACxB,QAAQ,MAAM,CAIhB,CAAC;AAEF,wBAAsB,MAAM,CAC1B,UAAU,EAAE,UAAU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CAAC;CACzB,GAAG,OAAO,CAAC,MAAM,CAAC,CAkElB;AAED,wBAAsB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,gBAoB5D"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.3",
|
|
10
10
|
"description": "CLI to bootstrap the network",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"@clockwork-xyz/sdk": "^0.2.4",
|
|
43
43
|
"@coral-xyz/anchor": "0.26.0",
|
|
44
44
|
"@helium/address": "^4.6.2",
|
|
45
|
-
"@helium/circuit-breaker-sdk": "^0.1.
|
|
45
|
+
"@helium/circuit-breaker-sdk": "^0.1.3",
|
|
46
46
|
"@helium/crypto": "^4.6.2",
|
|
47
|
-
"@helium/data-credits-sdk": "^0.1.
|
|
48
|
-
"@helium/distributor-oracle": "^0.1.
|
|
49
|
-
"@helium/fanout-sdk": "^0.1.
|
|
50
|
-
"@helium/helium-entity-manager-sdk": "^0.1.
|
|
51
|
-
"@helium/helium-sub-daos-sdk": "^0.1.
|
|
52
|
-
"@helium/lazy-distributor-sdk": "^0.1.
|
|
47
|
+
"@helium/data-credits-sdk": "^0.1.3",
|
|
48
|
+
"@helium/distributor-oracle": "^0.1.3",
|
|
49
|
+
"@helium/fanout-sdk": "^0.1.3",
|
|
50
|
+
"@helium/helium-entity-manager-sdk": "^0.1.3",
|
|
51
|
+
"@helium/helium-sub-daos-sdk": "^0.1.3",
|
|
52
|
+
"@helium/lazy-distributor-sdk": "^0.1.3",
|
|
53
53
|
"@helium/price-oracle-sdk": "^0.1.1",
|
|
54
|
-
"@helium/spl-utils": "^0.1.
|
|
55
|
-
"@helium/treasury-management-sdk": "^0.1.
|
|
54
|
+
"@helium/spl-utils": "^0.1.3",
|
|
55
|
+
"@helium/treasury-management-sdk": "^0.1.3",
|
|
56
56
|
"@solana/spl-account-compression": "^0.1.4",
|
|
57
57
|
"@solana/spl-governance": "^0.3.18",
|
|
58
58
|
"@solana/spl-token": "^0.3.6",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"yarn": "^1.22.18"
|
|
75
75
|
},
|
|
76
76
|
"author": "",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "44faa0a0f8918dda1bc3dbae580fc1b6569e6553"
|
|
78
78
|
}
|