@locuschain/lib 0.2.6 → 0.2.8
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/dist/accounts/index.amd.js +1 -1
- package/dist/accounts/index.cjs.cjs +2 -2
- package/dist/accounts/index.esm.js +2 -2
- package/dist/autogen/actions/debug/public/buildDirectCall.d.cts +4 -0
- package/dist/autogen/actions/debug/public/buildDirectCall.d.mts +4 -0
- package/dist/autogen/actions/debug/public/index.d.cts +3 -1
- package/dist/autogen/actions/debug/public/index.d.mts +3 -1
- package/dist/autogen/actions/debug/public/removeHomeTxs.d.cts +4 -0
- package/dist/autogen/actions/debug/public/removeHomeTxs.d.mts +4 -0
- package/dist/autogen/actions/debug/public/submitDirectCall.d.cts +4 -0
- package/dist/autogen/actions/debug/public/submitDirectCall.d.mts +4 -0
- package/dist/autogen/actions/public/calculateAvailableByForward.d.cts +4 -0
- package/dist/autogen/actions/public/calculateAvailableByForward.d.mts +4 -0
- package/dist/autogen/actions/public/calculateAvailableByForwardList.d.cts +4 -0
- package/dist/autogen/actions/public/calculateAvailableByForwardList.d.mts +4 -0
- package/dist/autogen/actions/public/getHomeTxDir.d.cts +3 -0
- package/dist/autogen/actions/public/getHomeTxDir.d.mts +3 -0
- package/dist/autogen/actions/public/getHomeTxFlushSeq.d.cts +3 -0
- package/dist/autogen/actions/public/getHomeTxFlushSeq.d.mts +3 -0
- package/dist/autogen/actions/public/getLaunchCommand.d.cts +3 -0
- package/dist/autogen/actions/public/getLaunchCommand.d.mts +3 -0
- package/dist/autogen/actions/public/index.d.cts +7 -2
- package/dist/autogen/actions/public/index.d.mts +7 -2
- package/dist/autogen/actions/public/shutdown.d.cts +3 -0
- package/dist/autogen/actions/public/shutdown.d.mts +3 -0
- package/dist/autogen/actions/public/waitHomeTxChange.d.cts +4 -0
- package/dist/autogen/actions/public/waitHomeTxChange.d.mts +4 -0
- package/dist/autogen/debugPublicActions.d.cts +6 -2
- package/dist/autogen/debugPublicActions.d.mts +6 -2
- package/dist/autogen/index.amd.js +14 -4
- package/dist/autogen/index.cjs.cjs +15 -5
- package/dist/autogen/index.esm.js +6 -4
- package/dist/autogen/publicActions.d.cts +10 -4
- package/dist/autogen/publicActions.d.mts +10 -4
- package/dist/autogen/rpc-api-spec.d.cts +25 -8
- package/dist/autogen/rpc-api-spec.d.mts +25 -8
- package/dist/autogen/types/common/{forward-spent-item.d.cts → forward-available-item.d.cts} +1 -1
- package/dist/autogen/types/common/{forward-spent-item.d.mts → forward-available-item.d.mts} +1 -1
- package/dist/autogen/types/common/index.d.cts +1 -1
- package/dist/autogen/types/common/index.d.mts +1 -1
- package/dist/autogen/types/consts/tx-type.d.cts +1 -1
- package/dist/autogen/types/consts/tx-type.d.mts +1 -1
- package/dist/autogen/types/consts/tx-types.d.cts +1 -1
- package/dist/autogen/types/consts/tx-types.d.mts +1 -1
- package/dist/autogen/types/rpc/index.d.cts +15 -5
- package/dist/autogen/types/rpc/index.d.mts +15 -5
- package/dist/autogen/types/rpc/params-build-direct-call.d.cts +8 -0
- package/dist/autogen/types/rpc/params-build-direct-call.d.mts +8 -0
- package/dist/autogen/types/rpc/params-calculate-available-by-forward-list.d.cts +3 -0
- package/dist/autogen/types/rpc/params-calculate-available-by-forward-list.d.mts +3 -0
- package/dist/autogen/types/rpc/{params-calculate-spent-by-forward.d.cts → params-calculate-available-by-forward.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-calculate-spent-by-forward.d.mts → params-calculate-available-by-forward.d.mts} +1 -1
- package/dist/autogen/types/rpc/{params-remove-hold-txs.d.cts → params-remove-home-txs.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-remove-hold-txs.d.mts → params-remove-home-txs.d.mts} +1 -1
- package/dist/autogen/types/rpc/params-submit-direct-call.d.cts +4 -0
- package/dist/autogen/types/rpc/params-submit-direct-call.d.mts +4 -0
- package/dist/autogen/types/rpc/params-wait-home-tx-change.d.cts +4 -0
- package/dist/autogen/types/rpc/params-wait-home-tx-change.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-build-direct-call-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-build-direct-call-result.d.mts +5 -0
- package/dist/autogen/types/rpc/rpc-calculate-available-by-forward-list-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-calculate-available-by-forward-list-result.d.mts +4 -0
- package/dist/autogen/types/rpc/{rpc-calculate-spent-by-forward-result.d.cts → rpc-calculate-available-by-forward-result.d.cts} +1 -1
- package/dist/autogen/types/rpc/{rpc-calculate-spent-by-forward-result.d.mts → rpc-calculate-available-by-forward-result.d.mts} +1 -1
- package/dist/autogen/types/rpc/rpc-direct-call-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-direct-call-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-get-home-tx-dir-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-home-tx-dir-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-home-tx-flush-seq-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-get-home-tx-flush-seq-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-get-launch-command-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-get-launch-command-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-shutdown-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-shutdown-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-wait-home-tx-change-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-wait-home-tx-change-result.d.mts +5 -0
- package/dist/autogen/wasm/lclib.wasm +0 -0
- package/dist/autogen/wasm.d.cts +3 -0
- package/dist/autogen/wasm.d.mts +3 -0
- package/dist/chunks/{debugWalletActions-CjqVQSZX.cjs → debugWalletActions-BWSVjiFW.cjs} +75 -12
- package/dist/chunks/{debugWalletActions-BWgEnPR5.js → debugWalletActions-DoZUAnEj.js} +75 -12
- package/dist/chunks/{debugWalletActions-Dh5poX8K.js → debugWalletActions-LMoV1T5I.js} +66 -10
- package/dist/chunks/{keystore-B86UzV8A.js → keystore-BPU22XT-.js} +1 -1
- package/dist/chunks/{keystore-BUskzeOs.cjs → keystore-DS8JZhXs.cjs} +1 -1
- package/dist/chunks/{keystore-y1JlFTKh.js → keystore-JnuLzkLn.js} +1 -1
- package/dist/chunks/{tx-type-khL8tWtn.cjs → tx-type-CKrHKEwY.cjs} +1 -1
- package/dist/chunks/{tx-type-BUN9nEQ6.js → tx-type-CXyml-9n.js} +1 -1
- package/dist/chunks/{tx-type-DYAaL3xz.js → tx-type-Dyjdmlv8.js} +1 -1
- package/dist/chunks/{wasm-CLXJDrJA.js → wasm-CU215LGW.js} +10 -1
- package/dist/chunks/{wasm-BYOKRR31.cjs → wasm-dbtq7eri.cjs} +12 -0
- package/dist/chunks/{wasm-CkFW222S.js → wasm-gROtmFm6.js} +12 -0
- package/dist/clients/createLocusPublicClient.d.cts +10 -3
- package/dist/clients/createLocusPublicClient.d.mts +10 -3
- package/dist/clients/index.amd.js +1 -1
- package/dist/clients/index.cjs.cjs +1 -1
- package/dist/clients/index.esm.js +1 -1
- package/dist/constant/index.amd.js +2 -2
- package/dist/constant/index.cjs.cjs +2 -2
- package/dist/constant/index.d.cts +2 -2
- package/dist/constant/index.d.mts +2 -2
- package/dist/constant/index.esm.js +2 -2
- package/dist/contracts/index.amd.js +1 -1
- package/dist/contracts/index.cjs.cjs +1 -1
- package/dist/contracts/index.esm.js +1 -1
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/utils/index.amd.js +4 -1
- package/dist/utils/index.cjs.cjs +5 -2
- package/dist/utils/index.esm.js +3 -3
- package/package.json +1 -1
- package/dist/autogen/actions/debug/public/removeHoldTxs.d.cts +0 -4
- package/dist/autogen/actions/debug/public/removeHoldTxs.d.mts +0 -4
- package/dist/autogen/actions/public/calculateSpentByForward.d.cts +0 -4
- package/dist/autogen/actions/public/calculateSpentByForward.d.mts +0 -4
- package/dist/autogen/actions/public/calculateSpentByForwardList.d.cts +0 -4
- package/dist/autogen/actions/public/calculateSpentByForwardList.d.mts +0 -4
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.cts +0 -3
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.mts +0 -3
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.cts +0 -4
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.mts +0 -4
|
@@ -32,6 +32,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
32
32
|
readonly allHeights: () => Promise<import("../index.mjs").RpcAccountHeight[]>;
|
|
33
33
|
readonly balanceGrantList: () => Promise<string[]>;
|
|
34
34
|
readonly balanceList: () => Promise<string[]>;
|
|
35
|
+
readonly buildDirectCall: (param: import("../index.mjs").ParamsBuildDirectCall) => Promise<import("../index.mjs").RpcBuildDirectCallResult>;
|
|
35
36
|
readonly createAccount: () => Promise<import("../index.mjs").RpcCreateAccountResult>;
|
|
36
37
|
readonly createNode: (param: import("../index.mjs").ParamsCreateNode) => Promise<import("../index.mjs").RpcCreateNodeResult>;
|
|
37
38
|
readonly dumpAllAccounts: () => Promise<import("../index.mjs").ResultDumpAccounts>;
|
|
@@ -52,16 +53,17 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
52
53
|
readonly initReliableNodes: (param: import("../index.mjs").ParamsInitReliableNodes) => Promise<import("../index.mjs").RpcBoolResult>;
|
|
53
54
|
readonly noArgsRets: () => Promise<any>;
|
|
54
55
|
readonly nodeCmd: (cmd: string) => Promise<import("../index.mjs").RpcNodeCmdResult>;
|
|
55
|
-
readonly
|
|
56
|
+
readonly removeHomeTxs: (param: import("../index.mjs").ParamsRemoveHomeTxs) => Promise<import("../index.mjs").RetTypeBase>;
|
|
56
57
|
readonly requestVme: (params: import("../index.mjs").ParamsRequestVme) => Promise<import("../index.mjs").RpcRequestVmeResult>;
|
|
57
58
|
readonly sendRawTransaction: (params: import("../index.mjs").ParamsSendRawTransaction) => Promise<import("../index.mjs").RpcSendRawTransactionResult>;
|
|
58
59
|
readonly setImportAccountTx: (params: import("../index.mjs").ParamsSetImportAccountTx) => Promise<import("../index.mjs").RpcSetImportAccountTxResult>;
|
|
59
60
|
readonly setReliableNode: (param: import("../index.mjs").ParamsSetReliableNode) => Promise<import("../index.mjs").RpcBoolResult>;
|
|
61
|
+
readonly submitDirectCall: (param: import("../index.mjs").ParamsSubmitDirectCall) => Promise<import("../index.mjs").RpcDirectCallResult>;
|
|
60
62
|
readonly viewVme: (param: import("../index.mjs").ParamsCallVme) => Promise<import("../index.mjs").RpcViewVmeResult>;
|
|
61
63
|
readonly accountHeightsToDownload: (param: import("../index.mjs").ParamsAccountHeights) => Promise<import("../index.mjs").HeightsResult>;
|
|
62
64
|
readonly accountHeightsToUpload: (param: import("../index.mjs").ParamsAccountHeights) => Promise<import("../index.mjs").UploadHeightsResult>;
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
65
|
+
readonly calculateAvailableByForward: (param: import("../index.mjs").ParamsCalculateAvailableByForward) => Promise<import("../index.mjs").RpcCalculateAvailableByForwardResult>;
|
|
66
|
+
readonly calculateAvailableByForwardList: (param: import("../index.mjs").ParamsCalculateAvailableByForwardList) => Promise<import("../index.mjs").RpcCalculateAvailableByForwardListResult>;
|
|
65
67
|
readonly clientMessage: (param: import("../index.mjs").ParamStr) => Promise<any>;
|
|
66
68
|
readonly downloadAccountTxs: (param: import("../index.mjs").ParamsDownloadAccountTxs) => Promise<import("../index.mjs").OutputDownloadAccountTxs>;
|
|
67
69
|
readonly findDuplicateSubscriber: (params: import("../index.mjs").ParamsFindDuplicateSubscriber) => Promise<import("../index.mjs").RpcFindDuplicateSubscriberResult>;
|
|
@@ -73,8 +75,11 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
73
75
|
readonly getAccountTokenList: (params: import("../index.mjs").ParamsAccount) => Promise<import("../index.mjs").RpcGetAccountTokenListResult>;
|
|
74
76
|
readonly getConciseNodeStatus: () => Promise<import("../index.mjs").RpcGetConciseNodeStatusResult>;
|
|
75
77
|
readonly getGenesisAccount: () => Promise<import("../index.mjs").RpcGetGenesisAccountResult>;
|
|
78
|
+
readonly getHomeTxDir: () => Promise<import("../index.mjs").RpcGetHomeTxDirResult>;
|
|
79
|
+
readonly getHomeTxFlushSeq: () => Promise<import("../index.mjs").RpcGetHomeTxFlushSeqResult>;
|
|
76
80
|
readonly getIdentityProof: (param: import("../index.mjs").ParamsGetIdentityProof) => Promise<import("../index.mjs").RpcGetIdentityProofResult>;
|
|
77
81
|
readonly getInactiveTxList: (param: import("../index.mjs").ParamsAccount) => Promise<import("../index.mjs").RpcGetInactiveTxListResult>;
|
|
82
|
+
readonly getLaunchCommand: () => Promise<import("../index.mjs").RpcGetLaunchCommandResult>;
|
|
78
83
|
readonly getMontInfoList: (param: import("../index.mjs").ParamsAccount) => Promise<import("../index.mjs").RpcGetMontInfoListResult>;
|
|
79
84
|
readonly getNodeStatus: () => Promise<import("../index.mjs").RpcGetNodeStatusResult>;
|
|
80
85
|
readonly getNodeVersion: () => Promise<import("../index.mjs").RpcGetNodeVersionResult>;
|
|
@@ -91,6 +96,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
91
96
|
readonly queryAddress: (params: import("../index.mjs").ParamsQueryAddress) => Promise<import("../index.mjs").RpcQueryAddressResult>;
|
|
92
97
|
readonly readTxListWitness: (params: import("../index.mjs").ParamsReadTxList) => Promise<import("../index.mjs").RpcReadTxListWitnessResult>;
|
|
93
98
|
readonly setHost: (param: import("../index.mjs").ParamsSetHost) => Promise<boolean>;
|
|
99
|
+
readonly shutdown: () => Promise<import("../index.mjs").RpcShutdownResult>;
|
|
94
100
|
readonly subscribeAddress: (params: import("../index.mjs").ParamsSubscribeAddress) => Promise<import("../index.mjs").RpcSubscribeAddressResult>;
|
|
95
101
|
readonly upliftProofW: (params: import("../index.mjs").ParamsUpliftProofW) => Promise<import("../index.mjs").RpcProofWResult>;
|
|
96
102
|
readonly uploadAccountTxs: (param: import("../index.mjs").ParamsUploadAccountTxs) => Promise<number[]>;
|
|
@@ -99,6 +105,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
99
105
|
readonly verifyLatestStoredDataProof: (params: import("../index.mjs").ParamsLatestStoredDataProof) => Promise<boolean>;
|
|
100
106
|
readonly verifyProofW: (params: import("../index.mjs").ParamsVerifyProofW) => Promise<boolean>;
|
|
101
107
|
readonly verifyTxListWitness: (params: import("../index.mjs").ParamsTxListWitness) => Promise<boolean>;
|
|
108
|
+
readonly waitHomeTxChange: (params: import("../index.mjs").ParamsWaitHomeTxChange) => Promise<import("../index.mjs").RpcWaitHomeTxChangeResult>;
|
|
102
109
|
};
|
|
103
110
|
/** 추론된 반환 타입 — 이 클라이언트를 담는 필드/변수의 타입 선언에 사용. */
|
|
104
111
|
export type LocusPublicClient = ReturnType<typeof createLocusPublicClient>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/lclib-Bv86gksL', '../chunks/debugWalletActions-
|
|
1
|
+
define(['exports', '../chunks/lclib-Bv86gksL', '../chunks/debugWalletActions-DoZUAnEj', '../chunks/tslib.es6-D29rxPkW', '../transports/index.amd', '../chunks/rpc-C4n7t9y0', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/transport-BBAz1kmP'], (function (exports, lclib, debugWalletActions, tslib_es6, transports, rpc, base, account, transport) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createClient(args) {
|
|
4
4
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
4
|
-
var debugWalletActions = require('../chunks/debugWalletActions-
|
|
4
|
+
var debugWalletActions = require('../chunks/debugWalletActions-BWSVjiFW.cjs');
|
|
5
5
|
require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
6
6
|
var transports = require('../transports/index.cjs.cjs');
|
|
7
7
|
require('../chunks/rpc-DwWIkUva.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunks/lclib-j2x9RvDY.js';
|
|
2
|
-
import {
|
|
2
|
+
import { az as publicActions, Y as debugPublicActions, aU as walletActions, Z as debugWalletActions } from '../chunks/debugWalletActions-LMoV1T5I.js';
|
|
3
3
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|
|
4
4
|
import { http } from '../transports/index.esm.js';
|
|
5
5
|
import '../chunks/rpc-BlPk44QH.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/tx-type-
|
|
1
|
+
define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/tx-type-Dyjdmlv8'], (function (exports, addressClass, txType) { 'use strict';
|
|
2
2
|
|
|
3
3
|
// Automatically generated file. DO NOT EDIT.
|
|
4
4
|
const CurrencyUnit = Object.freeze({
|
|
@@ -236,7 +236,7 @@ define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/tx-type-DYAaL3
|
|
|
236
236
|
"useGrant": false,
|
|
237
237
|
"useFee": true
|
|
238
238
|
},
|
|
239
|
-
"
|
|
239
|
+
"TX_CREATE_VME": {
|
|
240
240
|
"fee": "1000000000000000",
|
|
241
241
|
"grant": 0,
|
|
242
242
|
"sizeBased": false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var addressClass = require('../chunks/address-class-B8b7mx1K.cjs');
|
|
4
|
-
var txType = require('../chunks/tx-type-
|
|
4
|
+
var txType = require('../chunks/tx-type-CKrHKEwY.cjs');
|
|
5
5
|
|
|
6
6
|
// Automatically generated file. DO NOT EDIT.
|
|
7
7
|
const CurrencyUnit = Object.freeze({
|
|
@@ -239,7 +239,7 @@ const TxTypes$1 = {
|
|
|
239
239
|
"useGrant": false,
|
|
240
240
|
"useFee": true
|
|
241
241
|
},
|
|
242
|
-
"
|
|
242
|
+
"TX_CREATE_VME": {
|
|
243
243
|
"fee": "1000000000000000",
|
|
244
244
|
"grant": 0,
|
|
245
245
|
"sizeBased": false,
|
|
@@ -216,7 +216,7 @@ export declare const TxTypes: {
|
|
|
216
216
|
useGrant: boolean;
|
|
217
217
|
useFee: boolean;
|
|
218
218
|
};
|
|
219
|
-
|
|
219
|
+
TX_CREATE_VME: {
|
|
220
220
|
fee: string;
|
|
221
221
|
grant: number;
|
|
222
222
|
sizeBased: boolean;
|
|
@@ -475,7 +475,7 @@ export declare const TxType: Readonly<{
|
|
|
475
475
|
readonly LOCK_STAKE_FOR_VME: "TX_LOCK_STAKE_FOR_VME";
|
|
476
476
|
readonly ACTIVATE_LOCK_STAKE_FOR_VME: "TX_ACTIVATE_LOCK_STAKE_FOR_VME";
|
|
477
477
|
readonly UNLOCK_STAKE: "TX_UNLOCK_STAKE";
|
|
478
|
-
readonly
|
|
478
|
+
readonly CREATE_VME: "TX_CREATE_VME";
|
|
479
479
|
readonly ACTIVATE_OPEN_VME: "TX_ACTIVATE_OPEN_VME";
|
|
480
480
|
readonly VME_BLOCK: "TX_VME_BLOCK";
|
|
481
481
|
readonly CALL_VME: "TX_CALL_VME";
|
|
@@ -216,7 +216,7 @@ export declare const TxTypes: {
|
|
|
216
216
|
useGrant: boolean;
|
|
217
217
|
useFee: boolean;
|
|
218
218
|
};
|
|
219
|
-
|
|
219
|
+
TX_CREATE_VME: {
|
|
220
220
|
fee: string;
|
|
221
221
|
grant: number;
|
|
222
222
|
sizeBased: boolean;
|
|
@@ -475,7 +475,7 @@ export declare const TxType: Readonly<{
|
|
|
475
475
|
readonly LOCK_STAKE_FOR_VME: "TX_LOCK_STAKE_FOR_VME";
|
|
476
476
|
readonly ACTIVATE_LOCK_STAKE_FOR_VME: "TX_ACTIVATE_LOCK_STAKE_FOR_VME";
|
|
477
477
|
readonly UNLOCK_STAKE: "TX_UNLOCK_STAKE";
|
|
478
|
-
readonly
|
|
478
|
+
readonly CREATE_VME: "TX_CREATE_VME";
|
|
479
479
|
readonly ACTIVATE_OPEN_VME: "TX_ACTIVATE_OPEN_VME";
|
|
480
480
|
readonly VME_BLOCK: "TX_VME_BLOCK";
|
|
481
481
|
readonly CALL_VME: "TX_CALL_VME";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as AddressClass$1 } from '../chunks/address-class-3IzotplG.js';
|
|
2
|
-
import { T as TxType$1 } from '../chunks/tx-type-
|
|
2
|
+
import { T as TxType$1 } from '../chunks/tx-type-CXyml-9n.js';
|
|
3
3
|
|
|
4
4
|
// Automatically generated file. DO NOT EDIT.
|
|
5
5
|
const CurrencyUnit = Object.freeze({
|
|
@@ -237,7 +237,7 @@ const TxTypes$1 = {
|
|
|
237
237
|
"useGrant": false,
|
|
238
238
|
"useFee": true
|
|
239
239
|
},
|
|
240
|
-
"
|
|
240
|
+
"TX_CREATE_VME": {
|
|
241
241
|
"fee": "1000000000000000",
|
|
242
242
|
"grant": 0,
|
|
243
243
|
"sizeBased": false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/ethers.esm.min-wXex1HuX', '../chunks/wasm-
|
|
1
|
+
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/ethers.esm.min-wXex1HuX', '../chunks/wasm-gROtmFm6', '../chunks/lclib-Bv86gksL'], (function (exports, tslib_es6, ethers_esm_min, wasm, lclib) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Locus 의 debug_viewContract RPC 위에 viem 스타일 컨트랙트 핸들을 만든다.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
4
4
|
var ethers_esm_min = require('../chunks/ethers.esm.min-BBQs5Urm.cjs');
|
|
5
|
-
var wasm = require('../chunks/wasm-
|
|
5
|
+
var wasm = require('../chunks/wasm-dbtq7eri.cjs');
|
|
6
6
|
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __awaiter } from '../chunks/tslib.es6-WQS2tr1v.js';
|
|
2
2
|
import { e as ethers } from '../chunks/ethers.esm.min-CiOJmj8w.js';
|
|
3
|
-
import { r as convertHexToData, n as convertDataToHex } from '../chunks/wasm-
|
|
3
|
+
import { r as convertHexToData, n as convertDataToHex } from '../chunks/wasm-CU215LGW.js';
|
|
4
4
|
import '../chunks/lclib-j2x9RvDY.js';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './clients/index.amd', './transports/index.amd', './accounts/index.amd', './chunks/base-B_kRRfsf', './chunks/rpc-C4n7t9y0', './chunks/transport-BBAz1kmP', './chunks/account-BSrvZ7S8', './contracts/index.amd', './constant/index.amd', './chunks/keystore-
|
|
1
|
+
define(['exports', './clients/index.amd', './transports/index.amd', './accounts/index.amd', './chunks/base-B_kRRfsf', './chunks/rpc-C4n7t9y0', './chunks/transport-BBAz1kmP', './chunks/account-BSrvZ7S8', './contracts/index.amd', './constant/index.amd', './chunks/keystore-JnuLzkLn', './chunks/lclib-Bv86gksL', './chunks/tslib.es6-D29rxPkW', './chunks/debugWalletActions-DoZUAnEj', './chunks/tx-type-Dyjdmlv8', './chunks/wasm-gROtmFm6', './chunks/ethers.esm.min-wXex1HuX', './chunks/address-class-CDo766LJ'], (function (exports, clients, transports, accounts, base, rpc, transport, account, contracts, constant, keystore, lclib, tslib_es6, debugWalletActions, txType, wasm, ethers_esm_min, addressClass) { 'use strict';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
package/dist/index.cjs.cjs
CHANGED
|
@@ -9,12 +9,12 @@ var transport = require('./chunks/transport-VThNtzck.cjs');
|
|
|
9
9
|
var account = require('./chunks/account-BAsiKnSL.cjs');
|
|
10
10
|
var contracts = require('./contracts/index.cjs.cjs');
|
|
11
11
|
var constant = require('./constant/index.cjs.cjs');
|
|
12
|
-
var keystore = require('./chunks/keystore-
|
|
12
|
+
var keystore = require('./chunks/keystore-DS8JZhXs.cjs');
|
|
13
13
|
require('./chunks/lclib-rGyKpClJ.cjs');
|
|
14
14
|
require('./chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
15
|
-
require('./chunks/debugWalletActions-
|
|
16
|
-
require('./chunks/tx-type-
|
|
17
|
-
require('./chunks/wasm-
|
|
15
|
+
require('./chunks/debugWalletActions-BWSVjiFW.cjs');
|
|
16
|
+
require('./chunks/tx-type-CKrHKEwY.cjs');
|
|
17
|
+
require('./chunks/wasm-dbtq7eri.cjs');
|
|
18
18
|
require('./chunks/ethers.esm.min-BBQs5Urm.cjs');
|
|
19
19
|
require('./chunks/address-class-B8b7mx1K.cjs');
|
|
20
20
|
|
package/dist/index.esm.js
CHANGED
|
@@ -7,11 +7,11 @@ export { A as AbortedError, H as HttpRequestError, T as TimeoutError } from './c
|
|
|
7
7
|
export { A as AccountRequiredError, D as DegenerateKeyError, I as InvalidTxResultError, S as SignFailedError, a as SignKeyBindUnsupportedError } from './chunks/account-FZT9LH_s.js';
|
|
8
8
|
export { erc20Abi, getContract } from './contracts/index.esm.js';
|
|
9
9
|
export { AddressClass, Currency, FeeType, GRANT_COST_PER_TX, MaxVMRewardsCount, TxType, TxTypes } from './constant/index.esm.js';
|
|
10
|
-
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from './chunks/keystore-
|
|
10
|
+
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from './chunks/keystore-BPU22XT-.js';
|
|
11
11
|
import './chunks/lclib-j2x9RvDY.js';
|
|
12
12
|
import './chunks/tslib.es6-WQS2tr1v.js';
|
|
13
|
-
import './chunks/debugWalletActions-
|
|
14
|
-
import './chunks/tx-type-
|
|
15
|
-
import './chunks/wasm-
|
|
13
|
+
import './chunks/debugWalletActions-LMoV1T5I.js';
|
|
14
|
+
import './chunks/tx-type-CXyml-9n.js';
|
|
15
|
+
import './chunks/wasm-CU215LGW.js';
|
|
16
16
|
import './chunks/ethers.esm.min-CiOJmj8w.js';
|
|
17
17
|
import './chunks/address-class-3IzotplG.js';
|
package/dist/utils/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/wasm-
|
|
1
|
+
define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/wasm-gROtmFm6', '../chunks/keystore-JnuLzkLn', '../chunks/ethers.esm.min-wXex1HuX', '../chunks/lclib-Bv86gksL', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/tslib.es6-D29rxPkW'], (function (exports, addressClass, wasm, keystore, ethers_esm_min, lclib, base, account, tslib_es6) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* ABI 코덱 + vendored ethers v5 namespace re-export.
|
|
@@ -445,10 +445,13 @@ define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/wasm-CkFW222S'
|
|
|
445
445
|
exports.createMasterKeystore = wasm.createMasterKeystore;
|
|
446
446
|
exports.createNormalKey = wasm.createNormalKey;
|
|
447
447
|
exports.createNormalKeystore = wasm.createNormalKeystore;
|
|
448
|
+
exports.decodeSubId = wasm.decodeSubId;
|
|
448
449
|
exports.decodeTxs = wasm.decodeTxs;
|
|
449
450
|
exports.deriveKeysFromMnemonic = wasm.deriveKeysFromMnemonic;
|
|
450
451
|
exports.deriveKeysFromMnemonicAndPath = wasm.deriveKeysFromMnemonicAndPath;
|
|
451
452
|
exports.disCompileCoreScript = wasm.disCompileCoreScript;
|
|
453
|
+
exports.encodeFuncData = wasm.encodeFuncData;
|
|
454
|
+
exports.encodeSubId = wasm.encodeSubId;
|
|
452
455
|
exports.encodeTxCurrency = wasm.encodeTxCurrency;
|
|
453
456
|
exports.encodeTxNumber = wasm.encodeTxNumber;
|
|
454
457
|
exports.generateMnemonic = wasm.generateMnemonic;
|
package/dist/utils/index.cjs.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var addressClass = require('../chunks/address-class-B8b7mx1K.cjs');
|
|
4
|
-
var wasm = require('../chunks/wasm-
|
|
5
|
-
var keystore = require('../chunks/keystore-
|
|
4
|
+
var wasm = require('../chunks/wasm-dbtq7eri.cjs');
|
|
5
|
+
var keystore = require('../chunks/keystore-DS8JZhXs.cjs');
|
|
6
6
|
var ethers_esm_min = require('../chunks/ethers.esm.min-BBQs5Urm.cjs');
|
|
7
7
|
var lclib = require('../chunks/lclib-rGyKpClJ.cjs');
|
|
8
8
|
require('../chunks/base-Cy5SSYLF.cjs');
|
|
@@ -454,10 +454,13 @@ exports.createAccountAndKeystore = wasm.createAccountAndKeystore;
|
|
|
454
454
|
exports.createMasterKeystore = wasm.createMasterKeystore;
|
|
455
455
|
exports.createNormalKey = wasm.createNormalKey;
|
|
456
456
|
exports.createNormalKeystore = wasm.createNormalKeystore;
|
|
457
|
+
exports.decodeSubId = wasm.decodeSubId;
|
|
457
458
|
exports.decodeTxs = wasm.decodeTxs;
|
|
458
459
|
exports.deriveKeysFromMnemonic = wasm.deriveKeysFromMnemonic;
|
|
459
460
|
exports.deriveKeysFromMnemonicAndPath = wasm.deriveKeysFromMnemonicAndPath;
|
|
460
461
|
exports.disCompileCoreScript = wasm.disCompileCoreScript;
|
|
462
|
+
exports.encodeFuncData = wasm.encodeFuncData;
|
|
463
|
+
exports.encodeSubId = wasm.encodeSubId;
|
|
461
464
|
exports.encodeTxCurrency = wasm.encodeTxCurrency;
|
|
462
465
|
exports.encodeTxNumber = wasm.encodeTxNumber;
|
|
463
466
|
exports.generateMnemonic = wasm.generateMnemonic;
|
package/dist/utils/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as AddressClass } from '../chunks/address-class-3IzotplG.js';
|
|
2
|
-
import { n as convertDataToHex, p as convertHexToAddress, f as convertAddressToHex, r as convertHexToData,
|
|
3
|
-
export { b as calculateTxLinkHash, e as convertAddressToData, g as convertBase32ToData, h as convertBase32ToHex, i as convertCurrency, j as convertDataTo, k as convertDataToAddress, m as convertDataToBase32, o as convertDataToString, q as convertHexToBase32, s as convertStringToData, t as convertToData, c as createAccountAndKeystore, u as createMasterKeystore, v as createNormalKey, w as createNormalKeystore, x as
|
|
4
|
-
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from '../chunks/keystore-
|
|
2
|
+
import { n as convertDataToHex, p as convertHexToAddress, f as convertAddressToHex, r as convertHexToData, W as verifyTx, d as compileCoreScript } from '../chunks/wasm-CU215LGW.js';
|
|
3
|
+
export { b as calculateTxLinkHash, e as convertAddressToData, g as convertBase32ToData, h as convertBase32ToHex, i as convertCurrency, j as convertDataTo, k as convertDataToAddress, m as convertDataToBase32, o as convertDataToString, q as convertHexToBase32, s as convertStringToData, t as convertToData, c as createAccountAndKeystore, u as createMasterKeystore, v as createNormalKey, w as createNormalKeystore, x as decodeSubId, y as decodeTxs, z as deriveKeysFromMnemonic, A as deriveKeysFromMnemonicAndPath, B as disCompileCoreScript, C as encodeFuncData, D as encodeSubId, E as encodeTxCurrency, F as encodeTxNumber, G as generateMnemonic, H as generateMnemonicBySeed, I as getDefFromCoreScript, J as getHomeShard, K as getLibraryVersions, L as gzipAndEncode, M as hash, N as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, O as makeCurrency, P as sign, Q as signByMasterKey, R as signKeyBind, S as testCoreScript, T as verify, U as verifyByMasterKey, V as verifyMerkleProof } from '../chunks/wasm-CU215LGW.js';
|
|
4
|
+
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from '../chunks/keystore-BPU22XT-.js';
|
|
5
5
|
import { e as ethers } from '../chunks/ethers.esm.min-CiOJmj8w.js';
|
|
6
6
|
import { l as load } from '../chunks/lclib-j2x9RvDY.js';
|
|
7
7
|
import '../chunks/base-BQXfRsuw.js';
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ParamsRemoveHoldTxs } from '../../../types/rpc/params-remove-hold-txs.cjs';
|
|
2
|
-
import { RetTypeBase } from '../../../types/common/ret-type-base.cjs';
|
|
3
|
-
import type { Client } from '../../../../clients/types.cjs';
|
|
4
|
-
export declare function removeHoldTxs(client: Client, param: ParamsRemoveHoldTxs): Promise<RetTypeBase>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ParamsRemoveHoldTxs } from '../../../types/rpc/params-remove-hold-txs.mjs';
|
|
2
|
-
import { RetTypeBase } from '../../../types/common/ret-type-base.mjs';
|
|
3
|
-
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
-
export declare function removeHoldTxs(client: Client, param: ParamsRemoveHoldTxs): Promise<RetTypeBase>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ParamsCalculateSpentByForward } from '../../types/rpc/params-calculate-spent-by-forward.cjs';
|
|
2
|
-
import { RpcCalculateSpentByForwardResult } from '../../types/rpc/rpc-calculate-spent-by-forward-result.cjs';
|
|
3
|
-
import type { Client } from '../../../clients/types.cjs';
|
|
4
|
-
export declare function calculateSpentByForward(client: Client, param: ParamsCalculateSpentByForward): Promise<RpcCalculateSpentByForwardResult>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ParamsCalculateSpentByForward } from '../../types/rpc/params-calculate-spent-by-forward.mjs';
|
|
2
|
-
import { RpcCalculateSpentByForwardResult } from '../../types/rpc/rpc-calculate-spent-by-forward-result.mjs';
|
|
3
|
-
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
-
export declare function calculateSpentByForward(client: Client, param: ParamsCalculateSpentByForward): Promise<RpcCalculateSpentByForwardResult>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ParamsCalculateSpentByForwardList } from '../../types/rpc/params-calculate-spent-by-forward-list.cjs';
|
|
2
|
-
import { RpcCalculateSpentByForwardListResult } from '../../types/rpc/rpc-calculate-spent-by-forward-list-result.cjs';
|
|
3
|
-
import type { Client } from '../../../clients/types.cjs';
|
|
4
|
-
export declare function calculateSpentByForwardList(client: Client, param: ParamsCalculateSpentByForwardList): Promise<RpcCalculateSpentByForwardListResult>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ParamsCalculateSpentByForwardList } from '../../types/rpc/params-calculate-spent-by-forward-list.mjs';
|
|
2
|
-
import { RpcCalculateSpentByForwardListResult } from '../../types/rpc/rpc-calculate-spent-by-forward-list-result.mjs';
|
|
3
|
-
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
-
export declare function calculateSpentByForwardList(client: Client, param: ParamsCalculateSpentByForwardList): Promise<RpcCalculateSpentByForwardListResult>;
|