@locuschain/lib 0.2.3 → 0.2.4
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 +1 -1
- package/dist/accounts/index.esm.js +1 -1
- package/dist/autogen/actions/debug/public/getVmeLog.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getVmeLog.d.mts +4 -0
- package/dist/autogen/actions/debug/public/index.d.cts +2 -2
- package/dist/autogen/actions/debug/public/index.d.mts +2 -2
- package/dist/autogen/actions/debug/public/viewVme.d.cts +4 -0
- package/dist/autogen/actions/debug/public/viewVme.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/callVme.d.cts +4 -0
- package/dist/autogen/actions/debug/wallet/callVme.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/index.d.cts +1 -2
- package/dist/autogen/actions/debug/wallet/index.d.mts +1 -2
- package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.cts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.mts +4 -0
- package/dist/autogen/actions/public/getRoundState.d.cts +1 -1
- package/dist/autogen/actions/public/getRoundState.d.mts +1 -1
- package/dist/autogen/actions/public/index.d.cts +1 -1
- package/dist/autogen/actions/public/index.d.mts +1 -1
- package/dist/autogen/actions/wallet/forwardCoin.d.cts +4 -0
- package/dist/autogen/actions/wallet/forwardCoin.d.mts +4 -0
- package/dist/autogen/actions/wallet/index.d.cts +1 -1
- package/dist/autogen/actions/wallet/index.d.mts +1 -1
- package/dist/autogen/debugPublicActions.d.cts +4 -4
- package/dist/autogen/debugPublicActions.d.mts +4 -4
- package/dist/autogen/debugWalletActions.d.cts +2 -4
- package/dist/autogen/debugWalletActions.d.mts +2 -4
- package/dist/autogen/index.amd.js +6 -7
- package/dist/autogen/index.cjs.cjs +6 -7
- package/dist/autogen/index.esm.js +5 -6
- package/dist/autogen/locus-tx.d.cts +2 -2
- package/dist/autogen/locus-tx.d.mts +2 -2
- package/dist/autogen/publicActions.d.cts +2 -2
- package/dist/autogen/publicActions.d.mts +2 -2
- package/dist/autogen/rpc-api-spec.d.cts +13 -15
- package/dist/autogen/rpc-api-spec.d.mts +13 -15
- package/dist/autogen/types/common/asset-object-meta.d.cts +2 -0
- package/dist/autogen/types/common/asset-object-meta.d.mts +2 -0
- package/dist/autogen/types/common/asset-object-transfer.d.cts +0 -2
- package/dist/autogen/types/common/asset-object-transfer.d.mts +0 -2
- package/dist/autogen/types/common/asset-object.d.cts +2 -1
- package/dist/autogen/types/common/asset-object.d.mts +2 -1
- package/dist/autogen/types/common/caller-key-proof.d.cts +8 -0
- package/dist/autogen/types/common/caller-key-proof.d.mts +8 -0
- package/dist/autogen/types/common/direct-call-request.d.cts +11 -0
- package/dist/autogen/types/common/direct-call-request.d.mts +11 -0
- package/dist/autogen/types/common/index.d.cts +6 -2
- package/dist/autogen/types/common/index.d.mts +6 -2
- package/dist/autogen/types/common/merkle-proof-multi-meta.d.cts +2 -0
- package/dist/autogen/types/common/merkle-proof-multi-meta.d.mts +2 -0
- package/dist/autogen/types/common/ref-vtx.d.cts +0 -1
- package/dist/autogen/types/common/ref-vtx.d.mts +0 -1
- package/dist/autogen/types/common/res-changed-entry.d.cts +5 -0
- package/dist/autogen/types/common/res-changed-entry.d.mts +5 -0
- package/dist/autogen/types/common/transfer-info.d.cts +0 -1
- package/dist/autogen/types/common/transfer-info.d.mts +0 -1
- package/dist/autogen/types/common/tx-base.d.cts +1 -1
- package/dist/autogen/types/common/tx-base.d.mts +1 -1
- package/dist/autogen/types/common/tx-restore-res-hash-proof.d.cts +9 -0
- package/dist/autogen/types/common/tx-restore-res-hash-proof.d.mts +9 -0
- package/dist/autogen/types/common/vm-engine-block.d.cts +6 -0
- package/dist/autogen/types/common/vm-engine-block.d.mts +6 -0
- package/dist/autogen/types/common/vm-tx-state.d.cts +5 -7
- package/dist/autogen/types/common/vm-tx-state.d.mts +5 -7
- package/dist/autogen/types/consts/address-class.d.cts +6 -7
- package/dist/autogen/types/consts/address-class.d.mts +6 -7
- package/dist/autogen/types/consts/tx-type.d.cts +13 -13
- package/dist/autogen/types/consts/tx-type.d.mts +13 -13
- package/dist/autogen/types/consts/tx-types.d.cts +46 -46
- package/dist/autogen/types/consts/tx-types.d.mts +46 -46
- package/dist/autogen/types/rpc/index.d.cts +8 -8
- package/dist/autogen/types/rpc/index.d.mts +8 -8
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.cts → params-calculate-spent-by-forward-coin.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.mts → params-calculate-spent-by-forward-coin.d.mts} +1 -1
- package/dist/autogen/types/rpc/{params-call-contract.d.cts → params-call-vme.d.cts} +4 -4
- package/dist/autogen/types/rpc/{params-call-contract.d.mts → params-call-vme.d.mts} +4 -4
- package/dist/autogen/types/rpc/{params-transfer-coin-express.d.cts → params-forward-coin.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-transfer-coin-express.d.mts → params-forward-coin.d.mts} +1 -1
- package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.cts +2 -1
- package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.mts +2 -1
- package/dist/autogen/types/rpc/params-request-vme.d.cts +1 -0
- package/dist/autogen/types/rpc/params-request-vme.d.mts +1 -0
- package/dist/autogen/types/rpc/{params-contract-log.d.cts → params-vme-log.d.cts} +3 -2
- package/dist/autogen/types/rpc/{params-contract-log.d.mts → params-vme-log.d.mts} +3 -2
- package/dist/autogen/types/{common → rpc}/round-state-detail.d.cts +1 -1
- package/dist/autogen/types/{common → rpc}/round-state-detail.d.mts +1 -1
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-vme-log-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-vme-log-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-view-vme-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-view-vme-result.d.mts +3 -0
- package/dist/autogen/types/tx/index.d.cts +15 -14
- package/dist/autogen/types/tx/index.d.mts +15 -14
- package/dist/autogen/types/tx/{tx-activate-all-assets.d.cts → tx-activate-all-res.d.cts} +4 -3
- package/dist/autogen/types/tx/{tx-activate-all-assets.d.mts → tx-activate-all-res.d.mts} +4 -3
- package/dist/autogen/types/tx/tx-activate-asset-object.d.cts +4 -2
- package/dist/autogen/types/tx/tx-activate-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/{tx-activate-open-vm-engine.d.cts → tx-activate-open-vme.d.cts} +1 -1
- package/dist/autogen/types/tx/{tx-activate-open-vm-engine.d.mts → tx-activate-open-vme.d.mts} +1 -1
- package/dist/autogen/types/tx/{tx-activate-contract-result.d.cts → tx-activate-vme-result.d.cts} +6 -4
- package/dist/autogen/types/tx/{tx-activate-contract-result.d.mts → tx-activate-vme-result.d.mts} +6 -4
- package/dist/autogen/types/tx/{tx-activate-contract-reward.d.cts → tx-activate-vme-reward.d.cts} +1 -1
- package/dist/autogen/types/tx/{tx-activate-contract-reward.d.mts → tx-activate-vme-reward.d.mts} +1 -1
- package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.cts → tx-activate-vme-transfer.d.cts} +6 -4
- package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.mts → tx-activate-vme-transfer.d.mts} +6 -4
- package/dist/autogen/types/tx/tx-burn-asset-object.d.cts +4 -2
- package/dist/autogen/types/tx/tx-burn-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/{tx-create-contract.d.cts → tx-call-vme.d.cts} +8 -7
- package/dist/autogen/types/tx/{tx-create-contract.d.mts → tx-call-vme.d.mts} +8 -7
- package/dist/autogen/types/tx/tx-close-account.d.cts +2 -2
- package/dist/autogen/types/tx/tx-close-account.d.mts +2 -2
- package/dist/autogen/types/tx/{tx-create-vm-engine.d.cts → tx-create-vme.d.cts} +1 -1
- package/dist/autogen/types/tx/{tx-create-vm-engine.d.mts → tx-create-vme.d.mts} +1 -1
- package/dist/autogen/types/tx/tx-forward-asset-object.d.cts +10 -0
- package/dist/autogen/types/tx/tx-forward-asset-object.d.mts +10 -0
- package/dist/autogen/types/tx/{tx-transfer-coin-express.d.cts → tx-forward-coin.d.cts} +2 -1
- package/dist/autogen/types/tx/{tx-transfer-coin-express.d.mts → tx-forward-coin.d.mts} +2 -1
- package/dist/autogen/types/tx/tx-forward-token.d.cts +10 -0
- package/dist/autogen/types/tx/tx-forward-token.d.mts +10 -0
- package/dist/autogen/types/tx/tx-lead-direct-vtx.d.cts +11 -0
- package/dist/autogen/types/tx/tx-lead-direct-vtx.d.mts +11 -0
- package/dist/autogen/types/tx/tx-lead-vtx.d.cts +1 -1
- package/dist/autogen/types/tx/tx-lead-vtx.d.mts +1 -1
- package/dist/autogen/types/tx/{tx-call-contract.d.cts → tx-restore-res-hash.d.cts} +4 -8
- package/dist/autogen/types/tx/{tx-call-contract.d.mts → tx-restore-res-hash.d.mts} +4 -8
- package/dist/autogen/types/tx/tx-revoke.d.cts +4 -2
- package/dist/autogen/types/tx/tx-revoke.d.mts +4 -2
- package/dist/autogen/types/tx/tx-transfer-asset-object.d.cts +4 -2
- package/dist/autogen/types/tx/tx-transfer-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/{tx-contract-blank-reward.d.cts → tx-vme-blank-reward.d.cts} +1 -1
- package/dist/autogen/types/tx/{tx-contract-blank-reward.d.mts → tx-vme-blank-reward.d.mts} +1 -1
- package/dist/autogen/types/tx/{tx-vm-engine-block.d.cts → tx-vme-block.d.cts} +2 -1
- package/dist/autogen/types/tx/{tx-vm-engine-block.d.mts → tx-vme-block.d.mts} +2 -1
- package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.cts → tx-vme-transfer-reward.d.cts} +1 -1
- package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.mts → tx-vme-transfer-reward.d.mts} +1 -1
- package/dist/autogen/walletActions.d.cts +2 -2
- package/dist/autogen/walletActions.d.mts +2 -2
- package/dist/autogen/wasm/lclib.wasm +0 -0
- package/dist/chunks/{address-class-CHAZYhdZ.js → address-class-3IzotplG.js} +6 -7
- package/dist/chunks/{address-class-Cjy48Uqk.cjs → address-class-B8b7mx1K.cjs} +6 -7
- package/dist/chunks/{address-class-Dp7aNQb2.js → address-class-CDo766LJ.js} +6 -7
- package/dist/chunks/{debugWalletActions-BfX1doiz.js → debugWalletActions-Bd8C-fZB.js} +32 -43
- package/dist/chunks/{debugWalletActions-iCZ1H6xc.cjs → debugWalletActions-DIQY8cBm.cjs} +32 -43
- package/dist/chunks/{debugWalletActions-B96f4kZc.js → debugWalletActions-qkesE_0m.js} +28 -38
- package/dist/chunks/{tx-type-DI_nKG8B.cjs → tx-type-CjORX0H2.cjs} +13 -13
- package/dist/chunks/{tx-type-CS4wIUJ8.js → tx-type-CnfCIc5p.js} +13 -13
- package/dist/chunks/{tx-type-BPkhMGad.js → tx-type-D_IH9tdK.js} +13 -13
- package/dist/clients/createLocusPublicClient.d.cts +3 -3
- package/dist/clients/createLocusPublicClient.d.mts +3 -3
- package/dist/clients/createLocusWalletClient.d.cts +2 -3
- package/dist/clients/createLocusWalletClient.d.mts +2 -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 +63 -63
- package/dist/constant/index.cjs.cjs +64 -64
- package/dist/constant/index.d.cts +65 -66
- package/dist/constant/index.d.mts +65 -66
- package/dist/constant/index.esm.js +64 -64
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/utils/index.amd.js +3 -6
- package/dist/utils/index.cjs.cjs +3 -6
- package/dist/utils/index.d.cts +3 -4
- package/dist/utils/index.d.mts +3 -4
- package/dist/utils/index.esm.js +4 -6
- package/package.json +1 -1
- package/dist/autogen/actions/debug/public/getContractLog.d.cts +0 -4
- package/dist/autogen/actions/debug/public/getContractLog.d.mts +0 -4
- package/dist/autogen/actions/debug/public/viewContract.d.cts +0 -4
- package/dist/autogen/actions/debug/public/viewContract.d.mts +0 -4
- package/dist/autogen/actions/debug/wallet/callContract.d.cts +0 -4
- package/dist/autogen/actions/debug/wallet/callContract.d.mts +0 -4
- package/dist/autogen/actions/debug/wallet/createContract.d.cts +0 -4
- package/dist/autogen/actions/debug/wallet/createContract.d.mts +0 -4
- package/dist/autogen/actions/public/calculateSpentByExpress.d.cts +0 -4
- package/dist/autogen/actions/public/calculateSpentByExpress.d.mts +0 -4
- package/dist/autogen/actions/wallet/transferCoinExpress.d.cts +0 -4
- package/dist/autogen/actions/wallet/transferCoinExpress.d.mts +0 -4
- package/dist/autogen/types/common/asset-proof-objects.d.cts +0 -5
- package/dist/autogen/types/common/asset-proof-objects.d.mts +0 -5
- package/dist/autogen/types/rpc/params-create-contract.d.cts +0 -14
- package/dist/autogen/types/rpc/params-create-contract.d.mts +0 -14
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.cts +0 -3
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.mts +0 -3
- package/dist/autogen/types/rpc/rpc-get-contract-log-result.d.cts +0 -3
- package/dist/autogen/types/rpc/rpc-get-contract-log-result.d.mts +0 -3
- package/dist/autogen/types/rpc/rpc-view-contract-result.d.cts +0 -3
- package/dist/autogen/types/rpc/rpc-view-contract-result.d.mts +0 -3
- package/dist/autogen/types/tx/tx-activate-call-contract.d.cts +0 -15
- package/dist/autogen/types/tx/tx-activate-call-contract.d.mts +0 -15
- package/dist/autogen/types/tx/tx-activate-open-contract.d.cts +0 -15
- package/dist/autogen/types/tx/tx-activate-open-contract.d.mts +0 -15
|
@@ -13,7 +13,7 @@ export declare const TxTypes: {
|
|
|
13
13
|
useGrant: boolean;
|
|
14
14
|
useFee: boolean;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
TX_ACTIVATE_ALL_RES: {
|
|
17
17
|
fee: string;
|
|
18
18
|
grant: number;
|
|
19
19
|
sizeBased: boolean;
|
|
@@ -27,13 +27,6 @@ export declare const TxTypes: {
|
|
|
27
27
|
useGrant: boolean;
|
|
28
28
|
useFee: boolean;
|
|
29
29
|
};
|
|
30
|
-
TX_ACTIVATE_CALL_CONTRACT: {
|
|
31
|
-
fee: string;
|
|
32
|
-
grant: number;
|
|
33
|
-
sizeBased: boolean;
|
|
34
|
-
useGrant: boolean;
|
|
35
|
-
useFee: boolean;
|
|
36
|
-
};
|
|
37
30
|
TX_ACTIVATE_COIN: {
|
|
38
31
|
fee: string;
|
|
39
32
|
grant: number;
|
|
@@ -41,77 +34,70 @@ export declare const TxTypes: {
|
|
|
41
34
|
useGrant: boolean;
|
|
42
35
|
useFee: boolean;
|
|
43
36
|
};
|
|
44
|
-
|
|
45
|
-
fee: string;
|
|
46
|
-
grant: number;
|
|
47
|
-
sizeBased: boolean;
|
|
48
|
-
useGrant: boolean;
|
|
49
|
-
useFee: boolean;
|
|
50
|
-
};
|
|
51
|
-
TX_ACTIVATE_CONTRACT_REWARD: {
|
|
37
|
+
TX_ACTIVATE_DATA_SA: {
|
|
52
38
|
fee: string;
|
|
53
39
|
grant: number;
|
|
54
40
|
sizeBased: boolean;
|
|
55
41
|
useGrant: boolean;
|
|
56
42
|
useFee: boolean;
|
|
57
43
|
};
|
|
58
|
-
|
|
44
|
+
TX_ACTIVATE_FOUNDATION_RESERVE: {
|
|
59
45
|
fee: string;
|
|
60
46
|
grant: number;
|
|
61
47
|
sizeBased: boolean;
|
|
62
48
|
useGrant: boolean;
|
|
63
49
|
useFee: boolean;
|
|
64
50
|
};
|
|
65
|
-
|
|
51
|
+
TX_ACTIVATE_INCENTIVE: {
|
|
66
52
|
fee: string;
|
|
67
53
|
grant: number;
|
|
68
54
|
sizeBased: boolean;
|
|
69
55
|
useGrant: boolean;
|
|
70
56
|
useFee: boolean;
|
|
71
57
|
};
|
|
72
|
-
|
|
58
|
+
TX_ACTIVATE_LOCK_STAKE_FOR_VME: {
|
|
73
59
|
fee: string;
|
|
74
60
|
grant: number;
|
|
75
61
|
sizeBased: boolean;
|
|
76
62
|
useGrant: boolean;
|
|
77
63
|
useFee: boolean;
|
|
78
64
|
};
|
|
79
|
-
|
|
65
|
+
TX_ACTIVATE_OPEN_SA: {
|
|
80
66
|
fee: string;
|
|
81
67
|
grant: number;
|
|
82
68
|
sizeBased: boolean;
|
|
83
69
|
useGrant: boolean;
|
|
84
70
|
useFee: boolean;
|
|
85
71
|
};
|
|
86
|
-
|
|
72
|
+
TX_ACTIVATE_OPEN_VME: {
|
|
87
73
|
fee: string;
|
|
88
74
|
grant: number;
|
|
89
75
|
sizeBased: boolean;
|
|
90
76
|
useGrant: boolean;
|
|
91
77
|
useFee: boolean;
|
|
92
78
|
};
|
|
93
|
-
|
|
79
|
+
TX_ACTIVATE_TOKEN: {
|
|
94
80
|
fee: string;
|
|
95
81
|
grant: number;
|
|
96
82
|
sizeBased: boolean;
|
|
97
83
|
useGrant: boolean;
|
|
98
84
|
useFee: boolean;
|
|
99
85
|
};
|
|
100
|
-
|
|
86
|
+
TX_ACTIVATE_VME_RESULT: {
|
|
101
87
|
fee: string;
|
|
102
88
|
grant: number;
|
|
103
89
|
sizeBased: boolean;
|
|
104
90
|
useGrant: boolean;
|
|
105
91
|
useFee: boolean;
|
|
106
92
|
};
|
|
107
|
-
|
|
93
|
+
TX_ACTIVATE_VME_REWARD: {
|
|
108
94
|
fee: string;
|
|
109
95
|
grant: number;
|
|
110
96
|
sizeBased: boolean;
|
|
111
97
|
useGrant: boolean;
|
|
112
98
|
useFee: boolean;
|
|
113
99
|
};
|
|
114
|
-
|
|
100
|
+
TX_ACTIVATE_VME_TRANSFER: {
|
|
115
101
|
fee: string;
|
|
116
102
|
grant: number;
|
|
117
103
|
sizeBased: boolean;
|
|
@@ -146,14 +132,14 @@ export declare const TxTypes: {
|
|
|
146
132
|
useGrant: boolean;
|
|
147
133
|
useFee: boolean;
|
|
148
134
|
};
|
|
149
|
-
|
|
135
|
+
TX_CALL_VME: {
|
|
150
136
|
fee: string;
|
|
151
137
|
grant: number;
|
|
152
138
|
sizeBased: boolean;
|
|
153
139
|
useGrant: boolean;
|
|
154
140
|
useFee: boolean;
|
|
155
141
|
};
|
|
156
|
-
|
|
142
|
+
TX_CALL_VME_FEE: {
|
|
157
143
|
fee: string;
|
|
158
144
|
grant: number;
|
|
159
145
|
sizeBased: boolean;
|
|
@@ -188,98 +174,98 @@ export declare const TxTypes: {
|
|
|
188
174
|
useGrant: boolean;
|
|
189
175
|
useFee: boolean;
|
|
190
176
|
};
|
|
191
|
-
|
|
177
|
+
TX_CREATE_ASSETOBJECT: {
|
|
192
178
|
fee: string;
|
|
193
179
|
grant: number;
|
|
194
180
|
sizeBased: boolean;
|
|
195
181
|
useGrant: boolean;
|
|
196
182
|
useFee: boolean;
|
|
197
183
|
};
|
|
198
|
-
|
|
184
|
+
TX_CREATE_ASSETOBJECT_FEE: {
|
|
199
185
|
fee: string;
|
|
200
186
|
grant: number;
|
|
201
187
|
sizeBased: boolean;
|
|
202
188
|
useGrant: boolean;
|
|
203
189
|
useFee: boolean;
|
|
204
190
|
};
|
|
205
|
-
|
|
191
|
+
TX_CREATE_SA: {
|
|
206
192
|
fee: string;
|
|
207
193
|
grant: number;
|
|
208
194
|
sizeBased: boolean;
|
|
209
195
|
useGrant: boolean;
|
|
210
196
|
useFee: boolean;
|
|
211
197
|
};
|
|
212
|
-
|
|
198
|
+
TX_CREATE_SA_FEE: {
|
|
213
199
|
fee: string;
|
|
214
200
|
grant: number;
|
|
215
201
|
sizeBased: boolean;
|
|
216
202
|
useGrant: boolean;
|
|
217
203
|
useFee: boolean;
|
|
218
204
|
};
|
|
219
|
-
|
|
205
|
+
TX_CREATE_TOKEN: {
|
|
220
206
|
fee: string;
|
|
221
207
|
grant: number;
|
|
222
208
|
sizeBased: boolean;
|
|
223
209
|
useGrant: boolean;
|
|
224
210
|
useFee: boolean;
|
|
225
211
|
};
|
|
226
|
-
|
|
212
|
+
TX_CREATE_TOKEN_FEE: {
|
|
227
213
|
fee: string;
|
|
228
214
|
grant: number;
|
|
229
215
|
sizeBased: boolean;
|
|
230
216
|
useGrant: boolean;
|
|
231
217
|
useFee: boolean;
|
|
232
218
|
};
|
|
233
|
-
|
|
219
|
+
TX_CREATE_VME: {
|
|
234
220
|
fee: string;
|
|
235
221
|
grant: number;
|
|
236
222
|
sizeBased: boolean;
|
|
237
223
|
useGrant: boolean;
|
|
238
224
|
useFee: boolean;
|
|
239
225
|
};
|
|
240
|
-
|
|
226
|
+
TX_FINALIZE: {
|
|
241
227
|
fee: string;
|
|
242
228
|
grant: number;
|
|
243
229
|
sizeBased: boolean;
|
|
244
230
|
useGrant: boolean;
|
|
245
231
|
useFee: boolean;
|
|
246
232
|
};
|
|
247
|
-
|
|
233
|
+
TX_FORWARD_ASSETOBJECT: {
|
|
248
234
|
fee: string;
|
|
249
235
|
grant: number;
|
|
250
236
|
sizeBased: boolean;
|
|
251
237
|
useGrant: boolean;
|
|
252
238
|
useFee: boolean;
|
|
253
239
|
};
|
|
254
|
-
|
|
240
|
+
TX_FORWARD_COIN: {
|
|
255
241
|
fee: string;
|
|
256
242
|
grant: number;
|
|
257
243
|
sizeBased: boolean;
|
|
258
244
|
useGrant: boolean;
|
|
259
245
|
useFee: boolean;
|
|
260
246
|
};
|
|
261
|
-
|
|
247
|
+
TX_FORWARD_TOKEN: {
|
|
262
248
|
fee: string;
|
|
263
249
|
grant: number;
|
|
264
250
|
sizeBased: boolean;
|
|
265
251
|
useGrant: boolean;
|
|
266
252
|
useFee: boolean;
|
|
267
253
|
};
|
|
268
|
-
|
|
254
|
+
TX_FREEZE_ACCOUNT: {
|
|
269
255
|
fee: string;
|
|
270
256
|
grant: number;
|
|
271
257
|
sizeBased: boolean;
|
|
272
258
|
useGrant: boolean;
|
|
273
259
|
useFee: boolean;
|
|
274
260
|
};
|
|
275
|
-
|
|
261
|
+
TX_GENESIS_ACCOUNT: {
|
|
276
262
|
fee: string;
|
|
277
263
|
grant: number;
|
|
278
264
|
sizeBased: boolean;
|
|
279
265
|
useGrant: boolean;
|
|
280
266
|
useFee: boolean;
|
|
281
267
|
};
|
|
282
|
-
|
|
268
|
+
TX_LEAD_DIRECT_VTX: {
|
|
283
269
|
fee: string;
|
|
284
270
|
grant: number;
|
|
285
271
|
sizeBased: boolean;
|
|
@@ -342,35 +328,35 @@ export declare const TxTypes: {
|
|
|
342
328
|
useGrant: boolean;
|
|
343
329
|
useFee: boolean;
|
|
344
330
|
};
|
|
345
|
-
|
|
331
|
+
TX_RESTORE_RESHASH: {
|
|
346
332
|
fee: string;
|
|
347
333
|
grant: number;
|
|
348
334
|
sizeBased: boolean;
|
|
349
335
|
useGrant: boolean;
|
|
350
336
|
useFee: boolean;
|
|
351
337
|
};
|
|
352
|
-
|
|
338
|
+
TX_REVOKE: {
|
|
353
339
|
fee: string;
|
|
354
340
|
grant: number;
|
|
355
341
|
sizeBased: boolean;
|
|
356
342
|
useGrant: boolean;
|
|
357
343
|
useFee: boolean;
|
|
358
344
|
};
|
|
359
|
-
|
|
345
|
+
TX_TRANSFER_ASSETOBJECT: {
|
|
360
346
|
fee: string;
|
|
361
347
|
grant: number;
|
|
362
348
|
sizeBased: boolean;
|
|
363
349
|
useGrant: boolean;
|
|
364
350
|
useFee: boolean;
|
|
365
351
|
};
|
|
366
|
-
|
|
352
|
+
TX_TRANSFER_ASSETOBJECT_FEE: {
|
|
367
353
|
fee: string;
|
|
368
354
|
grant: number;
|
|
369
355
|
sizeBased: boolean;
|
|
370
356
|
useGrant: boolean;
|
|
371
357
|
useFee: boolean;
|
|
372
358
|
};
|
|
373
|
-
|
|
359
|
+
TX_TRANSFER_COIN: {
|
|
374
360
|
fee: string;
|
|
375
361
|
grant: number;
|
|
376
362
|
sizeBased: boolean;
|
|
@@ -405,6 +391,13 @@ export declare const TxTypes: {
|
|
|
405
391
|
useGrant: boolean;
|
|
406
392
|
useFee: boolean;
|
|
407
393
|
};
|
|
394
|
+
TX_VME_BLANK_REWARD: {
|
|
395
|
+
fee: string;
|
|
396
|
+
grant: number;
|
|
397
|
+
sizeBased: boolean;
|
|
398
|
+
useGrant: boolean;
|
|
399
|
+
useFee: boolean;
|
|
400
|
+
};
|
|
408
401
|
TX_VME_BLOCK: {
|
|
409
402
|
fee: string;
|
|
410
403
|
grant: number;
|
|
@@ -412,4 +405,11 @@ export declare const TxTypes: {
|
|
|
412
405
|
useGrant: boolean;
|
|
413
406
|
useFee: boolean;
|
|
414
407
|
};
|
|
408
|
+
TX_VME_TRANSFER_REWARD: {
|
|
409
|
+
fee: string;
|
|
410
|
+
grant: number;
|
|
411
|
+
sizeBased: boolean;
|
|
412
|
+
useGrant: boolean;
|
|
413
|
+
useFee: boolean;
|
|
414
|
+
};
|
|
415
415
|
};
|
|
@@ -7,20 +7,19 @@ export * from './params-account-history.cjs';
|
|
|
7
7
|
export * from './params-accounts.cjs';
|
|
8
8
|
export * from './params-become-guest.cjs';
|
|
9
9
|
export * from './params-become-host.cjs';
|
|
10
|
-
export * from './params-calculate-spent-by-
|
|
11
|
-
export * from './params-call-
|
|
10
|
+
export * from './params-calculate-spent-by-forward-coin.cjs';
|
|
11
|
+
export * from './params-call-vme.cjs';
|
|
12
12
|
export * from './params-change-key.cjs';
|
|
13
13
|
export * from './params-change-vkey.cjs';
|
|
14
14
|
export * from './params-close-account.cjs';
|
|
15
|
-
export * from './params-contract-log.cjs';
|
|
16
15
|
export * from './params-create-asset-object.cjs';
|
|
17
|
-
export * from './params-create-contract.cjs';
|
|
18
16
|
export * from './params-create-node.cjs';
|
|
19
17
|
export * from './params-create-synth-account.cjs';
|
|
20
18
|
export * from './params-create-token.cjs';
|
|
21
19
|
export * from './params-create-vme.cjs';
|
|
22
20
|
export * from './params-download-account-txs.cjs';
|
|
23
21
|
export * from './params-find-duplicate-subscriber.cjs';
|
|
22
|
+
export * from './params-forward-coin.cjs';
|
|
24
23
|
export * from './params-freeze-account.cjs';
|
|
25
24
|
export * from './params-game-chain-cmd.cjs';
|
|
26
25
|
export * from './params-generate-latest-stored-data-proof.cjs';
|
|
@@ -51,7 +50,6 @@ export * from './params-set-reliable-node.cjs';
|
|
|
51
50
|
export * from './params-subscribe-address.cjs';
|
|
52
51
|
export * from './params-transfer-asset-object.cjs';
|
|
53
52
|
export * from './params-transfer-coin.cjs';
|
|
54
|
-
export * from './params-transfer-coin-express.cjs';
|
|
55
53
|
export * from './params-transfer-tokens.cjs';
|
|
56
54
|
export * from './params-tx-list.cjs';
|
|
57
55
|
export * from './params-tx-list-witness.cjs';
|
|
@@ -59,9 +57,11 @@ export * from './params-unlock-stake.cjs';
|
|
|
59
57
|
export * from './params-upload-account-txs.cjs';
|
|
60
58
|
export * from './params-verify-and-sign-challenge.cjs';
|
|
61
59
|
export * from './params-verify-identity-proof.cjs';
|
|
60
|
+
export * from './params-vme-log.cjs';
|
|
62
61
|
export * from './result-dump-accounts.cjs';
|
|
62
|
+
export * from './round-state-detail.cjs';
|
|
63
63
|
export * from './rpc-bool-result.cjs';
|
|
64
|
-
export * from './rpc-calculate-spent-by-
|
|
64
|
+
export * from './rpc-calculate-spent-by-forward-coin-result.cjs';
|
|
65
65
|
export * from './rpc-create-account-result.cjs';
|
|
66
66
|
export * from './rpc-create-node-result.cjs';
|
|
67
67
|
export * from './rpc-create-tx-result.cjs';
|
|
@@ -76,7 +76,6 @@ export * from './rpc-get-account-token-list-result.cjs';
|
|
|
76
76
|
export * from './rpc-get-accounts-balances-result.cjs';
|
|
77
77
|
export * from './rpc-get-accounts-heights-result.cjs';
|
|
78
78
|
export * from './rpc-get-concise-node-status-result.cjs';
|
|
79
|
-
export * from './rpc-get-contract-log-result.cjs';
|
|
80
79
|
export * from './rpc-get-genesis-account-result.cjs';
|
|
81
80
|
export * from './rpc-get-guests-info-result.cjs';
|
|
82
81
|
export * from './rpc-get-home-shard-result.cjs';
|
|
@@ -90,6 +89,7 @@ export * from './rpc-get-node-status-result.cjs';
|
|
|
90
89
|
export * from './rpc-get-shard-of-account-result.cjs';
|
|
91
90
|
export * from './rpc-get-sync-state-result.cjs';
|
|
92
91
|
export * from './rpc-get-tx-result.cjs';
|
|
92
|
+
export * from './rpc-get-vme-log-result.cjs';
|
|
93
93
|
export * from './rpc-get-world-round-state-result.cjs';
|
|
94
94
|
export * from './rpc-get-world-round-states-list-result.cjs';
|
|
95
95
|
export * from './rpc-has-system-token-result.cjs';
|
|
@@ -103,5 +103,5 @@ export * from './rpc-set-import-account-tx-result.cjs';
|
|
|
103
103
|
export * from './rpc-subscribe-address-result.cjs';
|
|
104
104
|
export * from './rpc-verify-and-sign-challenge-result.cjs';
|
|
105
105
|
export * from './rpc-verify-identity-proof-result.cjs';
|
|
106
|
-
export * from './rpc-view-
|
|
106
|
+
export * from './rpc-view-vme-result.cjs';
|
|
107
107
|
export * from './upload-heights-result.cjs';
|
|
@@ -7,20 +7,19 @@ export * from './params-account-history.mjs';
|
|
|
7
7
|
export * from './params-accounts.mjs';
|
|
8
8
|
export * from './params-become-guest.mjs';
|
|
9
9
|
export * from './params-become-host.mjs';
|
|
10
|
-
export * from './params-calculate-spent-by-
|
|
11
|
-
export * from './params-call-
|
|
10
|
+
export * from './params-calculate-spent-by-forward-coin.mjs';
|
|
11
|
+
export * from './params-call-vme.mjs';
|
|
12
12
|
export * from './params-change-key.mjs';
|
|
13
13
|
export * from './params-change-vkey.mjs';
|
|
14
14
|
export * from './params-close-account.mjs';
|
|
15
|
-
export * from './params-contract-log.mjs';
|
|
16
15
|
export * from './params-create-asset-object.mjs';
|
|
17
|
-
export * from './params-create-contract.mjs';
|
|
18
16
|
export * from './params-create-node.mjs';
|
|
19
17
|
export * from './params-create-synth-account.mjs';
|
|
20
18
|
export * from './params-create-token.mjs';
|
|
21
19
|
export * from './params-create-vme.mjs';
|
|
22
20
|
export * from './params-download-account-txs.mjs';
|
|
23
21
|
export * from './params-find-duplicate-subscriber.mjs';
|
|
22
|
+
export * from './params-forward-coin.mjs';
|
|
24
23
|
export * from './params-freeze-account.mjs';
|
|
25
24
|
export * from './params-game-chain-cmd.mjs';
|
|
26
25
|
export * from './params-generate-latest-stored-data-proof.mjs';
|
|
@@ -51,7 +50,6 @@ export * from './params-set-reliable-node.mjs';
|
|
|
51
50
|
export * from './params-subscribe-address.mjs';
|
|
52
51
|
export * from './params-transfer-asset-object.mjs';
|
|
53
52
|
export * from './params-transfer-coin.mjs';
|
|
54
|
-
export * from './params-transfer-coin-express.mjs';
|
|
55
53
|
export * from './params-transfer-tokens.mjs';
|
|
56
54
|
export * from './params-tx-list.mjs';
|
|
57
55
|
export * from './params-tx-list-witness.mjs';
|
|
@@ -59,9 +57,11 @@ export * from './params-unlock-stake.mjs';
|
|
|
59
57
|
export * from './params-upload-account-txs.mjs';
|
|
60
58
|
export * from './params-verify-and-sign-challenge.mjs';
|
|
61
59
|
export * from './params-verify-identity-proof.mjs';
|
|
60
|
+
export * from './params-vme-log.mjs';
|
|
62
61
|
export * from './result-dump-accounts.mjs';
|
|
62
|
+
export * from './round-state-detail.mjs';
|
|
63
63
|
export * from './rpc-bool-result.mjs';
|
|
64
|
-
export * from './rpc-calculate-spent-by-
|
|
64
|
+
export * from './rpc-calculate-spent-by-forward-coin-result.mjs';
|
|
65
65
|
export * from './rpc-create-account-result.mjs';
|
|
66
66
|
export * from './rpc-create-node-result.mjs';
|
|
67
67
|
export * from './rpc-create-tx-result.mjs';
|
|
@@ -76,7 +76,6 @@ export * from './rpc-get-account-token-list-result.mjs';
|
|
|
76
76
|
export * from './rpc-get-accounts-balances-result.mjs';
|
|
77
77
|
export * from './rpc-get-accounts-heights-result.mjs';
|
|
78
78
|
export * from './rpc-get-concise-node-status-result.mjs';
|
|
79
|
-
export * from './rpc-get-contract-log-result.mjs';
|
|
80
79
|
export * from './rpc-get-genesis-account-result.mjs';
|
|
81
80
|
export * from './rpc-get-guests-info-result.mjs';
|
|
82
81
|
export * from './rpc-get-home-shard-result.mjs';
|
|
@@ -90,6 +89,7 @@ export * from './rpc-get-node-status-result.mjs';
|
|
|
90
89
|
export * from './rpc-get-shard-of-account-result.mjs';
|
|
91
90
|
export * from './rpc-get-sync-state-result.mjs';
|
|
92
91
|
export * from './rpc-get-tx-result.mjs';
|
|
92
|
+
export * from './rpc-get-vme-log-result.mjs';
|
|
93
93
|
export * from './rpc-get-world-round-state-result.mjs';
|
|
94
94
|
export * from './rpc-get-world-round-states-list-result.mjs';
|
|
95
95
|
export * from './rpc-has-system-token-result.mjs';
|
|
@@ -103,5 +103,5 @@ export * from './rpc-set-import-account-tx-result.mjs';
|
|
|
103
103
|
export * from './rpc-subscribe-address-result.mjs';
|
|
104
104
|
export * from './rpc-verify-and-sign-challenge-result.mjs';
|
|
105
105
|
export * from './rpc-verify-identity-proof-result.mjs';
|
|
106
|
-
export * from './rpc-view-
|
|
106
|
+
export * from './rpc-view-vme-result.mjs';
|
|
107
107
|
export * from './upload-heights-result.mjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ParamsTokenValuePair } from '../common/params-token-value-pair.cjs';
|
|
2
|
-
export type
|
|
2
|
+
export type ParamsCallVme = {
|
|
3
3
|
callerAccount: string;
|
|
4
|
-
|
|
4
|
+
vmeId: string;
|
|
5
|
+
subId: string;
|
|
5
6
|
fuelLimit: string;
|
|
6
7
|
amount: string;
|
|
7
8
|
tokenAmounts: ParamsTokenValuePair[];
|
|
8
|
-
|
|
9
|
-
argData: string;
|
|
9
|
+
callData: string;
|
|
10
10
|
sign: string;
|
|
11
11
|
signedHeight: number;
|
|
12
12
|
feeType: number;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ParamsTokenValuePair } from '../common/params-token-value-pair.mjs';
|
|
2
|
-
export type
|
|
2
|
+
export type ParamsCallVme = {
|
|
3
3
|
callerAccount: string;
|
|
4
|
-
|
|
4
|
+
vmeId: string;
|
|
5
|
+
subId: string;
|
|
5
6
|
fuelLimit: string;
|
|
6
7
|
amount: string;
|
|
7
8
|
tokenAmounts: ParamsTokenValuePair[];
|
|
8
|
-
|
|
9
|
-
argData: string;
|
|
9
|
+
callData: string;
|
|
10
10
|
sign: string;
|
|
11
11
|
signedHeight: number;
|
|
12
12
|
feeType: number;
|
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
export * from './tx-accept-script.cjs';
|
|
2
2
|
export * from './tx-accept-script-after-time-lock.cjs';
|
|
3
|
-
export * from './tx-activate-all-
|
|
3
|
+
export * from './tx-activate-all-res.cjs';
|
|
4
4
|
export * from './tx-activate-asset-object.cjs';
|
|
5
|
-
export * from './tx-activate-call-contract.cjs';
|
|
6
5
|
export * from './tx-activate-coin.cjs';
|
|
7
|
-
export * from './tx-activate-contract-result.cjs';
|
|
8
|
-
export * from './tx-activate-contract-reward.cjs';
|
|
9
|
-
export * from './tx-activate-contract-transfer.cjs';
|
|
10
6
|
export * from './tx-activate-data-synth-account.cjs';
|
|
11
7
|
export * from './tx-activate-foundation-reserve.cjs';
|
|
12
8
|
export * from './tx-activate-incentive.cjs';
|
|
13
9
|
export * from './tx-activate-lock-stake-for-vme.cjs';
|
|
14
|
-
export * from './tx-activate-open-contract.cjs';
|
|
15
10
|
export * from './tx-activate-open-synth-account.cjs';
|
|
16
|
-
export * from './tx-activate-open-
|
|
11
|
+
export * from './tx-activate-open-vme.cjs';
|
|
17
12
|
export * from './tx-activate-token.cjs';
|
|
13
|
+
export * from './tx-activate-vme-result.cjs';
|
|
14
|
+
export * from './tx-activate-vme-reward.cjs';
|
|
15
|
+
export * from './tx-activate-vme-transfer.cjs';
|
|
18
16
|
export * from './tx-become-guest.cjs';
|
|
19
17
|
export * from './tx-become-host.cjs';
|
|
20
18
|
export * from './tx-burn-asset-object.cjs';
|
|
21
19
|
export * from './tx-burn-token.cjs';
|
|
22
|
-
export * from './tx-call-
|
|
20
|
+
export * from './tx-call-vme.cjs';
|
|
23
21
|
export * from './tx-change-foundation-account.cjs';
|
|
24
22
|
export * from './tx-change-keypair.cjs';
|
|
25
23
|
export * from './tx-change-vkey.cjs';
|
|
26
24
|
export * from './tx-close-account.cjs';
|
|
27
|
-
export * from './tx-contract-blank-reward.cjs';
|
|
28
|
-
export * from './tx-contract-transfer-reward.cjs';
|
|
29
25
|
export * from './tx-create-asset-object.cjs';
|
|
30
|
-
export * from './tx-create-contract.cjs';
|
|
31
26
|
export * from './tx-create-synth-account.cjs';
|
|
32
27
|
export * from './tx-create-token.cjs';
|
|
33
|
-
export * from './tx-create-
|
|
28
|
+
export * from './tx-create-vme.cjs';
|
|
34
29
|
export * from './tx-dummy.cjs';
|
|
35
30
|
export * from './tx-finalize.cjs';
|
|
31
|
+
export * from './tx-forward-asset-object.cjs';
|
|
32
|
+
export * from './tx-forward-coin.cjs';
|
|
33
|
+
export * from './tx-forward-token.cjs';
|
|
36
34
|
export * from './tx-freeze-account.cjs';
|
|
37
35
|
export * from './tx-genesis-account.cjs';
|
|
36
|
+
export * from './tx-lead-direct-vtx.cjs';
|
|
38
37
|
export * from './tx-lead-vtx.cjs';
|
|
39
38
|
export * from './tx-lock-stake-for-vme.cjs';
|
|
40
39
|
export * from './tx-open-account.cjs';
|
|
41
40
|
export * from './tx-post-data.cjs';
|
|
42
41
|
export * from './tx-post-data-synth-account.cjs';
|
|
43
42
|
export * from './tx-provide-script.cjs';
|
|
43
|
+
export * from './tx-restore-res-hash.cjs';
|
|
44
44
|
export * from './tx-revoke.cjs';
|
|
45
45
|
export * from './tx-transfer-asset-object.cjs';
|
|
46
46
|
export * from './tx-transfer-coin.cjs';
|
|
47
|
-
export * from './tx-transfer-coin-express.cjs';
|
|
48
47
|
export * from './tx-transfer-token.cjs';
|
|
49
48
|
export * from './tx-unlock-stake.cjs';
|
|
50
|
-
export * from './tx-
|
|
49
|
+
export * from './tx-vme-blank-reward.cjs';
|
|
50
|
+
export * from './tx-vme-block.cjs';
|
|
51
|
+
export * from './tx-vme-transfer-reward.cjs';
|