@locuschain/lib 0.2.3 → 0.2.5
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/callContract.d.cts +2 -2
- package/dist/autogen/actions/debug/wallet/callContract.d.mts +2 -2
- 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 -0
- package/dist/autogen/actions/debug/wallet/index.d.mts +1 -0
- package/dist/autogen/actions/public/calculateSpentByForward.d.cts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForward.d.mts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForwardList.d.cts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForwardList.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 +2 -1
- package/dist/autogen/actions/public/index.d.mts +2 -1
- package/dist/autogen/actions/wallet/forwardAssetObject.d.cts +4 -0
- package/dist/autogen/actions/wallet/forwardAssetObject.d.mts +4 -0
- 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/forwardToken.d.cts +4 -0
- package/dist/autogen/actions/wallet/forwardToken.d.mts +4 -0
- package/dist/autogen/actions/wallet/index.d.cts +5 -1
- package/dist/autogen/actions/wallet/index.d.mts +5 -1
- package/dist/autogen/actions/wallet/transfer.d.cts +4 -0
- package/dist/autogen/actions/wallet/transfer.d.mts +4 -0
- package/dist/autogen/actions/wallet/transferAllRes.d.cts +4 -0
- package/dist/autogen/actions/wallet/transferAllRes.d.mts +4 -0
- package/dist/autogen/debugPublicActions.d.cts +4 -4
- package/dist/autogen/debugPublicActions.d.mts +4 -4
- package/dist/autogen/debugWalletActions.d.cts +3 -2
- package/dist/autogen/debugWalletActions.d.mts +3 -2
- package/dist/autogen/index.amd.js +11 -5
- package/dist/autogen/index.cjs.cjs +11 -5
- package/dist/autogen/index.esm.js +5 -4
- package/dist/autogen/locus-tx.d.cts +2 -2
- package/dist/autogen/locus-tx.d.mts +2 -2
- package/dist/autogen/publicActions.d.cts +4 -2
- package/dist/autogen/publicActions.d.mts +4 -2
- package/dist/autogen/rpc-api-spec.d.cts +25 -13
- package/dist/autogen/rpc-api-spec.d.mts +25 -13
- 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/contract-exec-status.d.cts +2 -1
- package/dist/autogen/types/common/contract-exec-status.d.mts +2 -1
- 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/forward-spent-item.d.cts +9 -0
- package/dist/autogen/types/common/forward-spent-item.d.mts +9 -0
- package/dist/autogen/types/common/index.d.cts +9 -2
- package/dist/autogen/types/common/index.d.mts +9 -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/params-transfer-asset.d.cts +4 -0
- package/dist/autogen/types/common/params-transfer-asset.d.mts +4 -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 +6 -0
- package/dist/autogen/types/common/res-changed-entry.d.mts +6 -0
- package/dist/autogen/types/common/res-state-value.d.cts +5 -0
- package/dist/autogen/types/common/res-state-value.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 +16 -14
- package/dist/autogen/types/consts/tx-type.d.mts +16 -14
- package/dist/autogen/types/consts/tx-types.d.cts +59 -45
- package/dist/autogen/types/consts/tx-types.d.mts +59 -45
- package/dist/autogen/types/rpc/index.d.cts +14 -7
- package/dist/autogen/types/rpc/index.d.mts +14 -7
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.cts +3 -0
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.mts +3 -0
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.cts → params-calculate-spent-by-forward.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.mts → params-calculate-spent-by-forward.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-create-contract.d.cts +1 -0
- package/dist/autogen/types/rpc/params-create-contract.d.mts +1 -0
- package/dist/autogen/types/rpc/params-forward-asset-object.d.cts +7 -0
- package/dist/autogen/types/rpc/params-forward-asset-object.d.mts +7 -0
- 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-forward-token.d.cts +7 -0
- package/dist/autogen/types/rpc/params-forward-token.d.mts +7 -0
- 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-transfer-all-res.d.cts +14 -0
- package/dist/autogen/types/rpc/params-transfer-all-res.d.mts +14 -0
- package/dist/autogen/types/rpc/params-transfer-tokens.d.cts +0 -4
- package/dist/autogen/types/rpc/params-transfer-tokens.d.mts +0 -4
- package/dist/autogen/types/rpc/params-transfer.d.cts +10 -0
- package/dist/autogen/types/rpc/params-transfer.d.mts +10 -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-list-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.cts +7 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.mts +7 -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 +16 -14
- package/dist/autogen/types/tx/index.d.mts +16 -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} +7 -4
- package/dist/autogen/types/tx/{tx-activate-contract-result.d.mts → tx-activate-vme-result.d.mts} +7 -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} +7 -4
- package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.mts → tx-activate-vme-transfer.d.mts} +7 -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-call-vme.d.cts +18 -0
- package/dist/autogen/types/tx/tx-call-vme.d.mts +18 -0
- 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-create-contract.d.cts → tx-transfer-all-res.d.cts} +5 -7
- package/dist/autogen/types/tx/{tx-create-contract.d.mts → tx-transfer-all-res.d.mts} +5 -7
- 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 +10 -2
- package/dist/autogen/walletActions.d.mts +10 -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-B96f4kZc.js → debugWalletActions-A_93DKNp.js} +80 -22
- package/dist/chunks/{debugWalletActions-BfX1doiz.js → debugWalletActions-D3FUuxE6.js} +89 -25
- package/dist/chunks/{debugWalletActions-iCZ1H6xc.cjs → debugWalletActions-DTcup4BP.cjs} +89 -25
- package/dist/chunks/{tx-type-BPkhMGad.js → tx-type-BUN9nEQ6.js} +16 -14
- package/dist/chunks/{tx-type-CS4wIUJ8.js → tx-type-DYAaL3xz.js} +16 -14
- package/dist/chunks/{tx-type-DI_nKG8B.cjs → tx-type-khL8tWtn.cjs} +16 -14
- package/dist/clients/createLocusPublicClient.d.cts +4 -3
- package/dist/clients/createLocusPublicClient.d.mts +4 -3
- package/dist/clients/createLocusWalletClient.d.cts +7 -2
- package/dist/clients/createLocusWalletClient.d.mts +7 -2
- 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 +80 -66
- package/dist/constant/index.cjs.cjs +81 -67
- package/dist/constant/index.d.cts +81 -66
- package/dist/constant/index.d.mts +81 -66
- package/dist/constant/index.esm.js +81 -67
- 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/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/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
package/dist/autogen/types/tx/{tx-activate-contract-result.d.cts → tx-activate-vme-result.d.cts}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
|
|
2
2
|
import { RefVtx } from '../common/ref-vtx.cjs';
|
|
3
3
|
import { TokenValueAB } from '../common/token-value-ab.cjs';
|
|
4
4
|
import { TxBase } from '../common/tx-base.cjs';
|
|
5
5
|
import { TxVSignature } from '../common/tx-vsignature.cjs';
|
|
6
6
|
import { VmTxState } from '../common/vm-tx-state.cjs';
|
|
7
|
-
export type
|
|
8
|
-
|
|
7
|
+
export type TxActivateVmeResult = TxBase & TxVSignature & {
|
|
8
|
+
vmeId: string;
|
|
9
|
+
subId: string;
|
|
9
10
|
vmResult: VmTxState;
|
|
10
11
|
refVmResult: RefVtx;
|
|
11
12
|
callIndex: number;
|
|
@@ -14,5 +15,7 @@ export type TxActivateContractResult = TxBase & TxVSignature & {
|
|
|
14
15
|
tokenBalances: TokenValueAB[];
|
|
15
16
|
tokenProof: string;
|
|
16
17
|
tokenHash: string;
|
|
17
|
-
|
|
18
|
+
assets: AssetTransferInfo[];
|
|
19
|
+
assetProof: string;
|
|
20
|
+
assetHash: string;
|
|
18
21
|
};
|
package/dist/autogen/types/tx/{tx-activate-contract-result.d.mts → tx-activate-vme-result.d.mts}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
|
|
2
2
|
import { RefVtx } from '../common/ref-vtx.mjs';
|
|
3
3
|
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
4
4
|
import { TxBase } from '../common/tx-base.mjs';
|
|
5
5
|
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
6
6
|
import { VmTxState } from '../common/vm-tx-state.mjs';
|
|
7
|
-
export type
|
|
8
|
-
|
|
7
|
+
export type TxActivateVmeResult = TxBase & TxVSignature & {
|
|
8
|
+
vmeId: string;
|
|
9
|
+
subId: string;
|
|
9
10
|
vmResult: VmTxState;
|
|
10
11
|
refVmResult: RefVtx;
|
|
11
12
|
callIndex: number;
|
|
@@ -14,5 +15,7 @@ export type TxActivateContractResult = TxBase & TxVSignature & {
|
|
|
14
15
|
tokenBalances: TokenValueAB[];
|
|
15
16
|
tokenProof: string;
|
|
16
17
|
tokenHash: string;
|
|
17
|
-
|
|
18
|
+
assets: AssetTransferInfo[];
|
|
19
|
+
assetProof: string;
|
|
20
|
+
assetHash: string;
|
|
18
21
|
};
|
package/dist/autogen/types/tx/{tx-activate-contract-reward.d.cts → tx-activate-vme-reward.d.cts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefTxInfo } from '../common/ref-tx-info.cjs';
|
|
2
2
|
import { TxBase } from '../common/tx-base.cjs';
|
|
3
3
|
import { TxVSignature } from '../common/tx-vsignature.cjs';
|
|
4
|
-
export type
|
|
4
|
+
export type TxActivateVmeReward = TxBase & TxVSignature & {
|
|
5
5
|
refLink: RefTxInfo;
|
|
6
6
|
amount: string;
|
|
7
7
|
balance: string;
|
package/dist/autogen/types/tx/{tx-activate-contract-reward.d.mts → tx-activate-vme-reward.d.mts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
2
|
import { TxBase } from '../common/tx-base.mjs';
|
|
3
3
|
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
4
|
-
export type
|
|
4
|
+
export type TxActivateVmeReward = TxBase & TxVSignature & {
|
|
5
5
|
refLink: RefTxInfo;
|
|
6
6
|
amount: string;
|
|
7
7
|
balance: string;
|
package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.cts → tx-activate-vme-transfer.d.cts}
RENAMED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
|
|
2
2
|
import { RefVtx } from '../common/ref-vtx.cjs';
|
|
3
3
|
import { TokenValueAB } from '../common/token-value-ab.cjs';
|
|
4
4
|
import { TxBase } from '../common/tx-base.cjs';
|
|
5
5
|
import { TxVSignature } from '../common/tx-vsignature.cjs';
|
|
6
|
-
export type
|
|
7
|
-
|
|
6
|
+
export type TxActivateVmeTransfer = TxBase & TxVSignature & {
|
|
7
|
+
vmeId: string;
|
|
8
|
+
subId: string;
|
|
8
9
|
refVmResult: RefVtx;
|
|
9
10
|
amount: string;
|
|
10
11
|
balance: string;
|
|
11
12
|
tokenBalances: TokenValueAB[];
|
|
12
13
|
tokenProof: string;
|
|
13
14
|
tokenHash: string;
|
|
14
|
-
|
|
15
|
+
assets: AssetTransferInfo[];
|
|
16
|
+
assetProof: string;
|
|
17
|
+
assetHash: string;
|
|
15
18
|
};
|
package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.mts → tx-activate-vme-transfer.d.mts}
RENAMED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
|
|
2
2
|
import { RefVtx } from '../common/ref-vtx.mjs';
|
|
3
3
|
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
4
4
|
import { TxBase } from '../common/tx-base.mjs';
|
|
5
5
|
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
6
|
-
export type
|
|
7
|
-
|
|
6
|
+
export type TxActivateVmeTransfer = TxBase & TxVSignature & {
|
|
7
|
+
vmeId: string;
|
|
8
|
+
subId: string;
|
|
8
9
|
refVmResult: RefVtx;
|
|
9
10
|
amount: string;
|
|
10
11
|
balance: string;
|
|
11
12
|
tokenBalances: TokenValueAB[];
|
|
12
13
|
tokenProof: string;
|
|
13
14
|
tokenHash: string;
|
|
14
|
-
|
|
15
|
+
assets: AssetTransferInfo[];
|
|
16
|
+
assetProof: string;
|
|
17
|
+
assetHash: string;
|
|
15
18
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
|
|
2
2
|
import { TxBase } from '../common/tx-base.cjs';
|
|
3
3
|
import { TxSignature } from '../common/tx-signature.cjs';
|
|
4
4
|
export type TxBurnAssetObject = TxBase & TxSignature & {
|
|
5
5
|
balance: string;
|
|
6
6
|
target: string;
|
|
7
|
-
|
|
7
|
+
assets: AssetTransferInfo[];
|
|
8
|
+
assetProof: string;
|
|
9
|
+
assetHash: string;
|
|
8
10
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
|
|
2
2
|
import { TxBase } from '../common/tx-base.mjs';
|
|
3
3
|
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxBurnAssetObject = TxBase & TxSignature & {
|
|
5
5
|
balance: string;
|
|
6
6
|
target: string;
|
|
7
|
-
|
|
7
|
+
assets: AssetTransferInfo[];
|
|
8
|
+
assetProof: string;
|
|
9
|
+
assetHash: string;
|
|
8
10
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
|
|
2
|
+
import { TokenValueAB } from '../common/token-value-ab.cjs';
|
|
3
|
+
import { TxBase } from '../common/tx-base.cjs';
|
|
4
|
+
import { TxSignature } from '../common/tx-signature.cjs';
|
|
5
|
+
export type TxCallVme = TxBase & TxSignature & {
|
|
6
|
+
vmeId: string;
|
|
7
|
+
subId: string;
|
|
8
|
+
fuelLimit: string;
|
|
9
|
+
amount: string;
|
|
10
|
+
balance: string;
|
|
11
|
+
tokens: TokenValueAB[];
|
|
12
|
+
tokenProof: string;
|
|
13
|
+
tokenHash: string;
|
|
14
|
+
assets: AssetTransferInfo[];
|
|
15
|
+
assetProof: string;
|
|
16
|
+
assetHash: string;
|
|
17
|
+
callData: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
|
|
2
|
+
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
3
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
4
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
5
|
+
export type TxCallVme = TxBase & TxSignature & {
|
|
6
|
+
vmeId: string;
|
|
7
|
+
subId: string;
|
|
8
|
+
fuelLimit: string;
|
|
9
|
+
amount: string;
|
|
10
|
+
balance: string;
|
|
11
|
+
tokens: TokenValueAB[];
|
|
12
|
+
tokenProof: string;
|
|
13
|
+
tokenHash: string;
|
|
14
|
+
assets: AssetTransferInfo[];
|
|
15
|
+
assetProof: string;
|
|
16
|
+
assetHash: string;
|
|
17
|
+
callData: string;
|
|
18
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetObject } from '../common/asset-object.cjs';
|
|
2
2
|
import { TokenValuePair } from '../common/token-value-pair.cjs';
|
|
3
3
|
import { TxBase } from '../common/tx-base.cjs';
|
|
4
4
|
import { TxNoSignature } from '../common/tx-no-signature.cjs';
|
|
@@ -8,5 +8,5 @@ export type TxCloseAccount = TxBase & TxNoSignature & {
|
|
|
8
8
|
target: string;
|
|
9
9
|
amount: string;
|
|
10
10
|
tokenAmounts: TokenValuePair[];
|
|
11
|
-
|
|
11
|
+
assets: AssetObject[];
|
|
12
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetObject } from '../common/asset-object.mjs';
|
|
2
2
|
import { TokenValuePair } from '../common/token-value-pair.mjs';
|
|
3
3
|
import { TxBase } from '../common/tx-base.mjs';
|
|
4
4
|
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
@@ -8,5 +8,5 @@ export type TxCloseAccount = TxBase & TxNoSignature & {
|
|
|
8
8
|
target: string;
|
|
9
9
|
amount: string;
|
|
10
10
|
tokenAmounts: TokenValuePair[];
|
|
11
|
-
|
|
11
|
+
assets: AssetObject[];
|
|
12
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TxBase } from '../common/tx-base.cjs';
|
|
2
2
|
import { TxSignature } from '../common/tx-signature.cjs';
|
|
3
|
-
export type
|
|
3
|
+
export type TxCreateVme = TxBase & TxSignature & {
|
|
4
4
|
balance: string;
|
|
5
5
|
sysId: string;
|
|
6
6
|
sysType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TxBase } from '../common/tx-base.mjs';
|
|
2
2
|
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
|
-
export type
|
|
3
|
+
export type TxCreateVme = TxBase & TxSignature & {
|
|
4
4
|
balance: string;
|
|
5
5
|
sysId: string;
|
|
6
6
|
sysType: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
|
|
2
|
+
import { RefTxInfo } from '../common/ref-tx-info.cjs';
|
|
3
|
+
import { TxBase } from '../common/tx-base.cjs';
|
|
4
|
+
import { TxSignature } from '../common/tx-signature.cjs';
|
|
5
|
+
export type TxForwardAssetObject = TxBase & TxSignature & {
|
|
6
|
+
source: RefTxInfo;
|
|
7
|
+
target: string;
|
|
8
|
+
assets: AssetTransferInfo[];
|
|
9
|
+
balance: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
|
|
2
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
3
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
4
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
5
|
+
export type TxForwardAssetObject = TxBase & TxSignature & {
|
|
6
|
+
source: RefTxInfo;
|
|
7
|
+
target: string;
|
|
8
|
+
assets: AssetTransferInfo[];
|
|
9
|
+
balance: string;
|
|
10
|
+
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { RefTxInfo } from '../common/ref-tx-info.cjs';
|
|
2
2
|
import { TxBase } from '../common/tx-base.cjs';
|
|
3
3
|
import { TxSignature } from '../common/tx-signature.cjs';
|
|
4
|
-
export type
|
|
4
|
+
export type TxForwardCoin = TxBase & TxSignature & {
|
|
5
5
|
source: RefTxInfo;
|
|
6
6
|
target: string;
|
|
7
7
|
amount: string;
|
|
8
|
+
balance: string;
|
|
8
9
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
2
|
import { TxBase } from '../common/tx-base.mjs';
|
|
3
3
|
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
|
-
export type
|
|
4
|
+
export type TxForwardCoin = TxBase & TxSignature & {
|
|
5
5
|
source: RefTxInfo;
|
|
6
6
|
target: string;
|
|
7
7
|
amount: string;
|
|
8
|
+
balance: string;
|
|
8
9
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.cjs';
|
|
2
|
+
import { TokenValuePair } from '../common/token-value-pair.cjs';
|
|
3
|
+
import { TxBase } from '../common/tx-base.cjs';
|
|
4
|
+
import { TxSignature } from '../common/tx-signature.cjs';
|
|
5
|
+
export type TxForwardToken = TxBase & TxSignature & {
|
|
6
|
+
source: RefTxInfo;
|
|
7
|
+
target: string;
|
|
8
|
+
tokens: TokenValuePair[];
|
|
9
|
+
balance: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TokenValuePair } from '../common/token-value-pair.mjs';
|
|
3
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
4
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
5
|
+
export type TxForwardToken = TxBase & TxSignature & {
|
|
6
|
+
source: RefTxInfo;
|
|
7
|
+
target: string;
|
|
8
|
+
tokens: TokenValuePair[];
|
|
9
|
+
balance: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TokenValuePair } from '../common/token-value-pair.cjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.cjs';
|
|
3
|
+
import { TxNoSignature } from '../common/tx-no-signature.cjs';
|
|
4
|
+
export type TxLeadDirectVtx = TxBase & TxNoSignature & {
|
|
5
|
+
vmeId: string;
|
|
6
|
+
target: string;
|
|
7
|
+
amount: string;
|
|
8
|
+
tokenAmount: TokenValuePair[];
|
|
9
|
+
callerAddr: string;
|
|
10
|
+
nonce: number;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TokenValuePair } from '../common/token-value-pair.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
4
|
+
export type TxLeadDirectVtx = TxBase & TxNoSignature & {
|
|
5
|
+
vmeId: string;
|
|
6
|
+
target: string;
|
|
7
|
+
amount: string;
|
|
8
|
+
tokenAmount: TokenValuePair[];
|
|
9
|
+
callerAddr: string;
|
|
10
|
+
nonce: number;
|
|
11
|
+
};
|
|
@@ -2,7 +2,7 @@ import { TokenValuePair } from '../common/token-value-pair.cjs';
|
|
|
2
2
|
import { TxBase } from '../common/tx-base.cjs';
|
|
3
3
|
import { TxNoSignature } from '../common/tx-no-signature.cjs';
|
|
4
4
|
export type TxLeadVtx = TxBase & TxNoSignature & {
|
|
5
|
-
|
|
5
|
+
vmeId: string;
|
|
6
6
|
target: string;
|
|
7
7
|
amount: string;
|
|
8
8
|
tokenAmount: TokenValuePair[];
|
|
@@ -2,7 +2,7 @@ import { TokenValuePair } from '../common/token-value-pair.mjs';
|
|
|
2
2
|
import { TxBase } from '../common/tx-base.mjs';
|
|
3
3
|
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
4
4
|
export type TxLeadVtx = TxBase & TxNoSignature & {
|
|
5
|
-
|
|
5
|
+
vmeId: string;
|
|
6
6
|
target: string;
|
|
7
7
|
amount: string;
|
|
8
8
|
tokenAmount: TokenValuePair[];
|
|
@@ -2,15 +2,11 @@ import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
|
|
|
2
2
|
import { TokenValueAB } from '../common/token-value-ab.cjs';
|
|
3
3
|
import { TxBase } from '../common/tx-base.cjs';
|
|
4
4
|
import { TxSignature } from '../common/tx-signature.cjs';
|
|
5
|
-
export type
|
|
6
|
-
target: string;
|
|
7
|
-
fuelLimit: string;
|
|
8
|
-
amount: string;
|
|
5
|
+
export type TxRestoreResHash = TxBase & TxSignature & {
|
|
9
6
|
balance: string;
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
backupFrom: number;
|
|
8
|
+
backupTo: number;
|
|
9
|
+
tokenBalances: TokenValueAB[];
|
|
12
10
|
tokenHash: string;
|
|
13
11
|
assetObjects: AssetObjectTransfer;
|
|
14
|
-
func: string;
|
|
15
|
-
argData: string;
|
|
16
12
|
};
|
|
@@ -2,15 +2,11 @@ import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
|
|
|
2
2
|
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
3
3
|
import { TxBase } from '../common/tx-base.mjs';
|
|
4
4
|
import { TxSignature } from '../common/tx-signature.mjs';
|
|
5
|
-
export type
|
|
6
|
-
target: string;
|
|
7
|
-
fuelLimit: string;
|
|
8
|
-
amount: string;
|
|
5
|
+
export type TxRestoreResHash = TxBase & TxSignature & {
|
|
9
6
|
balance: string;
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
backupFrom: number;
|
|
8
|
+
backupTo: number;
|
|
9
|
+
tokenBalances: TokenValueAB[];
|
|
12
10
|
tokenHash: string;
|
|
13
11
|
assetObjects: AssetObjectTransfer;
|
|
14
|
-
func: string;
|
|
15
|
-
argData: string;
|
|
16
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
|
|
2
2
|
import { RefTxInfo } from '../common/ref-tx-info.cjs';
|
|
3
3
|
import { TokenValueAB } from '../common/token-value-ab.cjs';
|
|
4
4
|
import { TxBase } from '../common/tx-base.cjs';
|
|
@@ -11,6 +11,8 @@ export type TxRevoke = TxBase & TxVSignature & {
|
|
|
11
11
|
tokenBalances: TokenValueAB[];
|
|
12
12
|
tokenProof: string;
|
|
13
13
|
tokenHash: string;
|
|
14
|
-
|
|
14
|
+
assets: AssetTransferInfo[];
|
|
15
|
+
assetProof: string;
|
|
16
|
+
assetHash: string;
|
|
15
17
|
optional: VmeInfo;
|
|
16
18
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
|
|
2
2
|
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
3
3
|
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
4
4
|
import { TxBase } from '../common/tx-base.mjs';
|
|
@@ -11,6 +11,8 @@ export type TxRevoke = TxBase & TxVSignature & {
|
|
|
11
11
|
tokenBalances: TokenValueAB[];
|
|
12
12
|
tokenProof: string;
|
|
13
13
|
tokenHash: string;
|
|
14
|
-
|
|
14
|
+
assets: AssetTransferInfo[];
|
|
15
|
+
assetProof: string;
|
|
16
|
+
assetHash: string;
|
|
15
17
|
optional: VmeInfo;
|
|
16
18
|
};
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
|
|
2
2
|
import { TokenValueAB } from '../common/token-value-ab.cjs';
|
|
3
3
|
import { TxBase } from '../common/tx-base.cjs';
|
|
4
4
|
import { TxSignature } from '../common/tx-signature.cjs';
|
|
5
|
-
export type
|
|
5
|
+
export type TxTransferAllRes = TxBase & TxSignature & {
|
|
6
6
|
target: string;
|
|
7
|
-
fuelLimit: string;
|
|
8
7
|
amount: string;
|
|
9
8
|
balance: string;
|
|
10
9
|
tokens: TokenValueAB[];
|
|
11
10
|
tokenProof: string;
|
|
12
11
|
tokenHash: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
code: string;
|
|
12
|
+
assets: AssetTransferInfo[];
|
|
13
|
+
assetProof: string;
|
|
14
|
+
assetHash: string;
|
|
17
15
|
};
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
|
|
2
2
|
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
3
3
|
import { TxBase } from '../common/tx-base.mjs';
|
|
4
4
|
import { TxSignature } from '../common/tx-signature.mjs';
|
|
5
|
-
export type
|
|
5
|
+
export type TxTransferAllRes = TxBase & TxSignature & {
|
|
6
6
|
target: string;
|
|
7
|
-
fuelLimit: string;
|
|
8
7
|
amount: string;
|
|
9
8
|
balance: string;
|
|
10
9
|
tokens: TokenValueAB[];
|
|
11
10
|
tokenProof: string;
|
|
12
11
|
tokenHash: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
code: string;
|
|
12
|
+
assets: AssetTransferInfo[];
|
|
13
|
+
assetProof: string;
|
|
14
|
+
assetHash: string;
|
|
17
15
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
|
|
2
2
|
import { TxBase } from '../common/tx-base.cjs';
|
|
3
3
|
import { TxSignature } from '../common/tx-signature.cjs';
|
|
4
4
|
export type TxTransferAssetObject = TxBase & TxSignature & {
|
|
5
5
|
balance: string;
|
|
6
6
|
target: string;
|
|
7
|
-
|
|
7
|
+
assets: AssetTransferInfo[];
|
|
8
|
+
assetProof: string;
|
|
9
|
+
assetHash: string;
|
|
8
10
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
|
|
2
2
|
import { TxBase } from '../common/tx-base.mjs';
|
|
3
3
|
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxTransferAssetObject = TxBase & TxSignature & {
|
|
5
5
|
balance: string;
|
|
6
6
|
target: string;
|
|
7
|
-
|
|
7
|
+
assets: AssetTransferInfo[];
|
|
8
|
+
assetProof: string;
|
|
9
|
+
assetHash: string;
|
|
8
10
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TxBase } from '../common/tx-base.cjs';
|
|
2
2
|
import { TxNoSignature } from '../common/tx-no-signature.cjs';
|
|
3
3
|
import { VmEngineBlock } from '../common/vm-engine-block.cjs';
|
|
4
|
-
export type
|
|
4
|
+
export type TxVmeBlock = TxBase & TxNoSignature & {
|
|
5
5
|
block: VmEngineBlock;
|
|
6
|
+
gathered: string;
|
|
6
7
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TxBase } from '../common/tx-base.mjs';
|
|
2
2
|
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
3
3
|
import { VmEngineBlock } from '../common/vm-engine-block.mjs';
|
|
4
|
-
export type
|
|
4
|
+
export type TxVmeBlock = TxBase & TxNoSignature & {
|
|
5
5
|
block: VmEngineBlock;
|
|
6
|
+
gathered: string;
|
|
6
7
|
};
|
package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.cts → tx-vme-transfer-reward.d.cts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TxBase } from '../common/tx-base.cjs';
|
|
2
2
|
import { TxNoSignature } from '../common/tx-no-signature.cjs';
|
|
3
|
-
export type
|
|
3
|
+
export type TxVmeTransferReward = TxBase & TxNoSignature & {
|
|
4
4
|
target: string;
|
|
5
5
|
rewardAmount: string;
|
|
6
6
|
gathered: string;
|
package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.mts → tx-vme-transfer-reward.d.mts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TxBase } from '../common/tx-base.mjs';
|
|
2
2
|
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
3
|
-
export type
|
|
3
|
+
export type TxVmeTransferReward = TxBase & TxNoSignature & {
|
|
4
4
|
target: string;
|
|
5
5
|
rewardAmount: string;
|
|
6
6
|
gathered: string;
|
|
@@ -8,14 +8,18 @@ import type { ParamsCloseAccount } from './types/rpc/params-close-account.cjs';
|
|
|
8
8
|
import type { ParamsCreateAssetObject } from './types/rpc/params-create-asset-object.cjs';
|
|
9
9
|
import type { ParamsCreateToken } from './types/rpc/params-create-token.cjs';
|
|
10
10
|
import type { ParamsCreateVme } from './types/rpc/params-create-vme.cjs';
|
|
11
|
+
import type { ParamsForwardAssetObject } from './types/rpc/params-forward-asset-object.cjs';
|
|
12
|
+
import type { ParamsForwardCoin } from './types/rpc/params-forward-coin.cjs';
|
|
13
|
+
import type { ParamsForwardToken } from './types/rpc/params-forward-token.cjs';
|
|
11
14
|
import type { ParamsFreezeAccount } from './types/rpc/params-freeze-account.cjs';
|
|
12
15
|
import type { ParamsLockStake } from './types/rpc/params-lock-stake.cjs';
|
|
13
16
|
import type { ParamsOpenAccount } from './types/rpc/params-open-account.cjs';
|
|
14
17
|
import type { ParamsProvideScript } from './types/rpc/params-provide-script.cjs';
|
|
15
18
|
import type { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.cjs';
|
|
19
|
+
import type { ParamsTransfer } from './types/rpc/params-transfer.cjs';
|
|
20
|
+
import type { ParamsTransferAllRes } from './types/rpc/params-transfer-all-res.cjs';
|
|
16
21
|
import type { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.cjs';
|
|
17
22
|
import type { ParamsTransferCoin } from './types/rpc/params-transfer-coin.cjs';
|
|
18
|
-
import type { ParamsTransferCoinExpress } from './types/rpc/params-transfer-coin-express.cjs';
|
|
19
23
|
import type { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.cjs';
|
|
20
24
|
import type { ParamsUnlockStake } from './types/rpc/params-unlock-stake.cjs';
|
|
21
25
|
import type { WalletClient } from '../clients/types.cjs';
|
|
@@ -29,15 +33,19 @@ export declare const walletActions: (client: WalletClient) => {
|
|
|
29
33
|
createAssetObject: (param: ParamsCreateAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
30
34
|
createToken: (param: ParamsCreateToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
31
35
|
createVme: (param: ParamsCreateVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
36
|
+
forwardAssetObject: (params: ParamsForwardAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
37
|
+
forwardCoin: (param: ParamsForwardCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
38
|
+
forwardToken: (params: ParamsForwardToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
32
39
|
freezeAccount: (params: ParamsFreezeAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
33
40
|
lockStake: (params: ParamsLockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
34
41
|
openAccount: (param: ParamsOpenAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
35
42
|
postData: (params: InputParamsDataTransfer) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
36
43
|
provideScript: (params: ParamsProvideScript) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
37
44
|
requestDataTrade: (params: ParamsRequestDataTrade) => Promise<import("../index.cjs").RpcDataTradeResult>;
|
|
45
|
+
transfer: (params: ParamsTransfer) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
46
|
+
transferAllRes: (params: ParamsTransferAllRes) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
38
47
|
transferAssetObject: (params: ParamsTransferAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
39
48
|
transferCoin: (param: ParamsTransferCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
40
|
-
transferCoinExpress: (param: ParamsTransferCoinExpress) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
41
49
|
transferToken: (params: ParamsTransferTokens) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
42
50
|
unlockStake: (params: ParamsUnlockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
43
51
|
};
|