@helium/helium-admin-cli 0.1.5 → 0.2.1
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/approve-program.js +2 -1
- package/lib/cjs/approve-program.js.map +1 -1
- package/lib/cjs/update-rewardable-entity-config.js +4 -3
- package/lib/cjs/update-rewardable-entity-config.js.map +1 -1
- package/lib/esm/src/approve-program.js +2 -1
- package/lib/esm/src/approve-program.js.map +1 -1
- package/lib/esm/src/update-rewardable-entity-config.js +4 -3
- package/lib/esm/src/update-rewardable-entity-config.js.map +1 -1
- package/lib/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/types/src/approve-program.d.ts.map +1 -1
- package/lib/types/src/update-rewardable-entity-config.d.ts.map +1 -1
- package/package.json +14 -14
- package/lib/cjs/cli-distribute-rewards.js +0 -99
- package/lib/cjs/cli-distribute-rewards.js.map +0 -1
- package/lib/esm/src/cli-distribute-rewards.js +0 -58
- package/lib/esm/src/cli-distribute-rewards.js.map +0 -1
- package/lib/types/src/cli-distribute-rewards.d.ts +0 -2
- package/lib/types/src/cli-distribute-rewards.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve-program.d.ts","sourceRoot":"","sources":["../../../src/approve-program.ts"],"names":[],"mappings":"AAYA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,
|
|
1
|
+
{"version":3,"file":"approve-program.d.ts","sourceRoot":"","sources":["../../../src/approve-program.ts"],"names":[],"mappings":"AAYA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAiFjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-rewardable-entity-config.d.ts","sourceRoot":"","sources":["../../../src/update-rewardable-entity-config.ts"],"names":[],"mappings":"AAaA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,
|
|
1
|
+
{"version":3,"file":"update-rewardable-entity-config.d.ts","sourceRoot":"","sources":["../../../src/update-rewardable-entity-config.ts"],"names":[],"mappings":"AAaA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA2GjD"}
|
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.2.1",
|
|
10
10
|
"description": "CLI to bootstrap the network",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@clockwork-xyz/sdk": "^0.2.4",
|
|
43
|
-
"@coral-xyz/anchor": "0.26.0",
|
|
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.2.1",
|
|
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
|
|
53
|
-
"@helium/mobile-entity-manager-sdk": "^0.1
|
|
54
|
-
"@helium/price-oracle-sdk": "^0.
|
|
55
|
-
"@helium/spl-utils": "^0.1
|
|
56
|
-
"@helium/treasury-management-sdk": "^0.1
|
|
47
|
+
"@helium/data-credits-sdk": "^0.2.1",
|
|
48
|
+
"@helium/distributor-oracle": "^0.2.1",
|
|
49
|
+
"@helium/fanout-sdk": "^0.2.1",
|
|
50
|
+
"@helium/helium-entity-manager-sdk": "^0.2.1",
|
|
51
|
+
"@helium/helium-sub-daos-sdk": "^0.2.1",
|
|
52
|
+
"@helium/lazy-distributor-sdk": "^0.2.1",
|
|
53
|
+
"@helium/mobile-entity-manager-sdk": "^0.2.1",
|
|
54
|
+
"@helium/price-oracle-sdk": "^0.2.1",
|
|
55
|
+
"@helium/spl-utils": "^0.2.1",
|
|
56
|
+
"@helium/treasury-management-sdk": "^0.2.1",
|
|
57
57
|
"@solana/spl-account-compression": "^0.1.4",
|
|
58
58
|
"@solana/spl-governance": "^0.3.18",
|
|
59
59
|
"@solana/spl-token": "^0.3.6",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"yarn": "^1.22.18"
|
|
76
76
|
},
|
|
77
77
|
"author": "",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "c99870d77b03d68b9cdc33f957279bb9502fa4d6"
|
|
79
79
|
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
35
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
36
|
-
};
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.run = void 0;
|
|
39
|
-
const client = __importStar(require("@helium/distributor-oracle"));
|
|
40
|
-
const distributor_oracle_1 = require("@helium/distributor-oracle");
|
|
41
|
-
const helium_sub_daos_sdk_1 = require("@helium/helium-sub-daos-sdk");
|
|
42
|
-
const helium_entity_manager_sdk_1 = require("@helium/helium-entity-manager-sdk");
|
|
43
|
-
const lazy_distributor_sdk_1 = require("@helium/lazy-distributor-sdk");
|
|
44
|
-
const rewards_oracle_sdk_1 = require("@helium/rewards-oracle-sdk");
|
|
45
|
-
const spl_utils_1 = require("@helium/spl-utils");
|
|
46
|
-
const address_1 = __importDefault(require("@helium/address"));
|
|
47
|
-
const anchor = __importStar(require("@coral-xyz/anchor"));
|
|
48
|
-
const web3_js_1 = require("@solana/web3.js");
|
|
49
|
-
const os_1 = __importDefault(require("os"));
|
|
50
|
-
const yargs_1 = __importDefault(require("yargs/yargs"));
|
|
51
|
-
const utils_1 = require("./utils");
|
|
52
|
-
function run(args = process.argv) {
|
|
53
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
-
const argv = yield (0, yargs_1.default)(args).options({
|
|
55
|
-
wallet: {
|
|
56
|
-
alias: "k",
|
|
57
|
-
describe: "Anchor wallet keypair",
|
|
58
|
-
default: `${os_1.default.homedir()}/.config/solana/id.json`,
|
|
59
|
-
},
|
|
60
|
-
url: {
|
|
61
|
-
alias: "u",
|
|
62
|
-
default: "http://127.0.0.1:8899",
|
|
63
|
-
describe: "The solana url",
|
|
64
|
-
},
|
|
65
|
-
mobileKeypair: {
|
|
66
|
-
type: "string",
|
|
67
|
-
describe: "Keypair of the Mobile token",
|
|
68
|
-
default: "./keypairs/mobile.json",
|
|
69
|
-
},
|
|
70
|
-
}).argv;
|
|
71
|
-
process.env.ANCHOR_WALLET = argv.wallet;
|
|
72
|
-
process.env.ANCHOR_PROVIDER_URL = argv.url;
|
|
73
|
-
anchor.setProvider(anchor.AnchorProvider.local(argv.url));
|
|
74
|
-
const provider = anchor.getProvider();
|
|
75
|
-
const heliumSubDaosProgram = yield (0, helium_sub_daos_sdk_1.init)(provider);
|
|
76
|
-
const lazyDistributorProgram = yield (0, lazy_distributor_sdk_1.init)(provider);
|
|
77
|
-
const rewardsOracleProgram = yield (0, rewards_oracle_sdk_1.init)(provider);
|
|
78
|
-
const mobileKeypair = yield (0, utils_1.loadKeypair)(argv.mobileKeypair);
|
|
79
|
-
const mobileSubdao = (yield (0, helium_sub_daos_sdk_1.subDaoKey)(mobileKeypair.publicKey))[0];
|
|
80
|
-
const hotspotEcc = "11wsqKcoXGesnSbEwKTY8QkoqdFsG7oafcyPn8jBnzRK4sfCSw8";
|
|
81
|
-
const eccCompact = address_1.default.fromB58(hotspotEcc).publicKey;
|
|
82
|
-
const mobileSubdaoAcc = yield heliumSubDaosProgram.account.subDaoV0.fetch(mobileSubdao);
|
|
83
|
-
const [lazyDistributor] = yield (0, lazy_distributor_sdk_1.lazyDistributorKey)(mobileSubdaoAcc.dntMint);
|
|
84
|
-
const [hotspot] = yield web3_js_1.PublicKey.findProgramAddressSync([Buffer.from("hotspot", "utf-8"), eccCompact], helium_entity_manager_sdk_1.PROGRAM_ID);
|
|
85
|
-
const rewards = yield (0, distributor_oracle_1.getCurrentRewards)(lazyDistributorProgram, lazyDistributor, hotspot);
|
|
86
|
-
const tx = yield client.formTransaction({
|
|
87
|
-
program: lazyDistributorProgram,
|
|
88
|
-
rewardsOracleProgram: rewardsOracleProgram,
|
|
89
|
-
provider,
|
|
90
|
-
rewards,
|
|
91
|
-
hotspot,
|
|
92
|
-
lazyDistributor,
|
|
93
|
-
});
|
|
94
|
-
const signed = yield provider.wallet.signTransaction(tx);
|
|
95
|
-
yield (0, spl_utils_1.sendAndConfirmWithRetry)(provider.connection, signed.serialize(), { skipPreflight: true }, "confirmed");
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
exports.run = run;
|
|
99
|
-
//# sourceMappingURL=cli-distribute-rewards.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli-distribute-rewards.js","sourceRoot":"","sources":["../../src/cli-distribute-rewards.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mEAAqD;AACrD,mEAA+D;AAC/D,qEAGqC;AACrC,iFAE2C;AAC3C,uEAGsC;AACtC,mEAEoC;AACpC,iDAA4D;AAC5D,8DAAsC;AACtC,0DAA4C;AAC5C,6CAA4C;AAC5C,4CAAoB;AACpB,wDAAgC;AAChC,mCAAsC;AAEtC,SAAsB,GAAG,CAAC,OAAY,OAAO,CAAC,IAAI;;QAChD,MAAM,IAAI,GAAG,MAAM,IAAA,eAAK,EAAC,IAAI,CAAC,CAAC,OAAO,CAAC;YACrC,MAAM,EAAE;gBACN,KAAK,EAAE,GAAG;gBACV,QAAQ,EAAE,uBAAuB;gBACjC,OAAO,EAAE,GAAG,Y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M,IAAA,yCAAkB,EAAC,eAAe,CAAC,OAAO,CAAC,CAAC;QAC5E,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,mBAAS,CAAC,sBAAsB,CACtD,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,UAAU,CAAC,EAC7C,sCAAU,CACX,CAAC;QAEF,MAAM,OAAO,GAAG,MAAM,IAAA,sCAAiB,EACrC,sBAAsB,EACtB,eAAe,EACf,OAAO,CACR,CAAC;QAEF,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC;YACtC,OAAO,EAAE,sBAAsB;YAC/B,oBAAoB,EAAE,oBAAoB;YAC1C,QAAQ;YACR,OAAO;YACP,OAAO;YACP,eAAe;SAChB,CAAC,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QACzD,MAAM,IAAA,mCAAuB,EAC3B,QAAQ,CAAC,UAAU,EACnB,MAAM,CAAC,SAAS,EAAE,EAClB,EAAE,aAAa,EAAE,IAAI,EAAE,EACvB,WAAW,CACZ,CAAC;IACJ,CAAC;CAAA;AAhED,kBAgEC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as client from "@helium/distributor-oracle";
|
|
2
|
-
import { getCurrentRewards } from "@helium/distributor-oracle";
|
|
3
|
-
import { init as initDao, subDaoKey } from "@helium/helium-sub-daos-sdk";
|
|
4
|
-
import { PROGRAM_ID } from "@helium/helium-entity-manager-sdk";
|
|
5
|
-
import { init as initLazy, lazyDistributorKey } from "@helium/lazy-distributor-sdk";
|
|
6
|
-
import { init as initRewards, } from "@helium/rewards-oracle-sdk";
|
|
7
|
-
import { sendAndConfirmWithRetry } from "@helium/spl-utils";
|
|
8
|
-
import Address from "@helium/address";
|
|
9
|
-
import * as anchor from "@coral-xyz/anchor";
|
|
10
|
-
import { PublicKey } from "@solana/web3.js";
|
|
11
|
-
import os from "os";
|
|
12
|
-
import yargs from "yargs/yargs";
|
|
13
|
-
import { loadKeypair } from "./utils";
|
|
14
|
-
export async function run(args = process.argv) {
|
|
15
|
-
const argv = await yargs(args).options({
|
|
16
|
-
wallet: {
|
|
17
|
-
alias: "k",
|
|
18
|
-
describe: "Anchor wallet keypair",
|
|
19
|
-
default: `${os.homedir()}/.config/solana/id.json`,
|
|
20
|
-
},
|
|
21
|
-
url: {
|
|
22
|
-
alias: "u",
|
|
23
|
-
default: "http://127.0.0.1:8899",
|
|
24
|
-
describe: "The solana url",
|
|
25
|
-
},
|
|
26
|
-
mobileKeypair: {
|
|
27
|
-
type: "string",
|
|
28
|
-
describe: "Keypair of the Mobile token",
|
|
29
|
-
default: "./keypairs/mobile.json",
|
|
30
|
-
},
|
|
31
|
-
}).argv;
|
|
32
|
-
process.env.ANCHOR_WALLET = argv.wallet;
|
|
33
|
-
process.env.ANCHOR_PROVIDER_URL = argv.url;
|
|
34
|
-
anchor.setProvider(anchor.AnchorProvider.local(argv.url));
|
|
35
|
-
const provider = anchor.getProvider();
|
|
36
|
-
const heliumSubDaosProgram = await initDao(provider);
|
|
37
|
-
const lazyDistributorProgram = await initLazy(provider);
|
|
38
|
-
const rewardsOracleProgram = await initRewards(provider);
|
|
39
|
-
const mobileKeypair = await loadKeypair(argv.mobileKeypair);
|
|
40
|
-
const mobileSubdao = (await subDaoKey(mobileKeypair.publicKey))[0];
|
|
41
|
-
const hotspotEcc = "11wsqKcoXGesnSbEwKTY8QkoqdFsG7oafcyPn8jBnzRK4sfCSw8";
|
|
42
|
-
const eccCompact = Address.fromB58(hotspotEcc).publicKey;
|
|
43
|
-
const mobileSubdaoAcc = await heliumSubDaosProgram.account.subDaoV0.fetch(mobileSubdao);
|
|
44
|
-
const [lazyDistributor] = await lazyDistributorKey(mobileSubdaoAcc.dntMint);
|
|
45
|
-
const [hotspot] = await PublicKey.findProgramAddressSync([Buffer.from("hotspot", "utf-8"), eccCompact], PROGRAM_ID);
|
|
46
|
-
const rewards = await getCurrentRewards(lazyDistributorProgram, lazyDistributor, hotspot);
|
|
47
|
-
const tx = await client.formTransaction({
|
|
48
|
-
program: lazyDistributorProgram,
|
|
49
|
-
rewardsOracleProgram: rewardsOracleProgram,
|
|
50
|
-
provider,
|
|
51
|
-
rewards,
|
|
52
|
-
hotspot,
|
|
53
|
-
lazyDistributor,
|
|
54
|
-
});
|
|
55
|
-
const signed = await provider.wallet.signTransaction(tx);
|
|
56
|
-
await sendAndConfirmWithRetry(provider.connection, signed.serialize(), { skipPreflight: true }, "confirmed");
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=cli-distribute-rewards.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli-distribute-rewards.js","sourceRoot":"","sources":["../../../src/cli-distribute-rewards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EACL,IAAI,IAAI,OAAO,EACf,SAAS,EACV,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,UAAU,EACX,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,IAAI,IAAI,QAAQ,EAChB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,IAAI,IAAI,WAAW,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,OAAO,MAAM,iBAAiB,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,CAAC,KAAK,UAAU,GAAG,CAAC,OA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