@locuschain/lib 0.2.4 → 0.2.6
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/wallet/callContract.d.cts +4 -0
- package/dist/autogen/actions/debug/wallet/callContract.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/createContract.d.cts +4 -0
- package/dist/autogen/actions/debug/wallet/createContract.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/index.d.cts +2 -0
- package/dist/autogen/actions/debug/wallet/index.d.mts +2 -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/getNodeVersion.d.cts +3 -0
- package/dist/autogen/actions/public/getNodeVersion.d.mts +3 -0
- package/dist/autogen/actions/public/index.d.cts +5 -1
- package/dist/autogen/actions/public/index.d.mts +5 -1
- package/dist/autogen/actions/public/upliftProofW.d.cts +4 -0
- package/dist/autogen/actions/public/upliftProofW.d.mts +4 -0
- package/dist/autogen/actions/public/verifyProofW.d.cts +3 -0
- package/dist/autogen/actions/public/verifyProofW.d.mts +3 -0
- 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/forwardToken.d.cts +4 -0
- package/dist/autogen/actions/wallet/forwardToken.d.mts +4 -0
- package/dist/autogen/actions/wallet/index.d.cts +4 -0
- package/dist/autogen/actions/wallet/index.d.mts +4 -0
- 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/debugWalletActions.d.cts +3 -0
- package/dist/autogen/debugWalletActions.d.mts +3 -0
- package/dist/autogen/index.amd.js +12 -2
- package/dist/autogen/index.cjs.cjs +12 -2
- package/dist/autogen/index.esm.js +4 -2
- package/dist/autogen/locus-tx.d.cts +2 -2
- package/dist/autogen/locus-tx.d.mts +2 -2
- package/dist/autogen/publicActions.d.cts +9 -2
- package/dist/autogen/publicActions.d.mts +9 -2
- package/dist/autogen/rpc-api-spec.d.cts +24 -3
- package/dist/autogen/rpc-api-spec.d.mts +24 -3
- 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/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 +3 -0
- package/dist/autogen/types/common/index.d.mts +3 -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/res-changed-entry.d.cts +3 -2
- package/dist/autogen/types/common/res-changed-entry.d.mts +3 -2
- 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/consts/tx-type.d.cts +3 -1
- package/dist/autogen/types/consts/tx-type.d.mts +3 -1
- package/dist/autogen/types/consts/tx-types.d.cts +15 -1
- package/dist/autogen/types/consts/tx-types.d.mts +15 -1
- package/dist/autogen/types/rpc/index.d.cts +13 -2
- package/dist/autogen/types/rpc/index.d.mts +13 -2
- 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-forward-coin.d.cts → params-calculate-spent-by-forward.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-calculate-spent-by-forward-coin.d.mts → params-calculate-spent-by-forward.d.mts} +1 -1
- package/dist/autogen/types/rpc/params-create-contract.d.cts +15 -0
- package/dist/autogen/types/rpc/params-create-contract.d.mts +15 -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-forward-token.d.cts +7 -0
- package/dist/autogen/types/rpc/params-forward-token.d.mts +7 -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-uplift-proof-w.d.cts +6 -0
- package/dist/autogen/types/rpc/params-uplift-proof-w.d.mts +6 -0
- package/dist/autogen/types/rpc/params-verify-proof-w.d.cts +6 -0
- package/dist/autogen/types/rpc/params-verify-proof-w.d.mts +6 -0
- 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-node-status-result.d.cts +1 -0
- package/dist/autogen/types/rpc/rpc-get-node-status-result.d.mts +1 -0
- package/dist/autogen/types/rpc/rpc-get-node-version-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-node-version-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-proof-wresult.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-proof-wresult.d.mts +3 -0
- package/dist/autogen/types/tx/index.d.cts +1 -0
- package/dist/autogen/types/tx/index.d.mts +1 -0
- package/dist/autogen/types/tx/tx-activate-vme-result.d.cts +1 -0
- package/dist/autogen/types/tx/tx-activate-vme-result.d.mts +1 -0
- package/dist/autogen/types/tx/tx-activate-vme-transfer.d.cts +1 -0
- package/dist/autogen/types/tx/tx-activate-vme-transfer.d.mts +1 -0
- package/dist/autogen/types/tx/tx-transfer-all-res.d.cts +15 -0
- package/dist/autogen/types/tx/tx-transfer-all-res.d.mts +15 -0
- package/dist/autogen/walletActions.d.cts +8 -0
- package/dist/autogen/walletActions.d.mts +8 -0
- package/dist/autogen/wasm/lclib.wasm +0 -0
- package/dist/chunks/{debugWalletActions-Bd8C-fZB.js → debugWalletActions-BWgEnPR5.js} +106 -4
- package/dist/chunks/{debugWalletActions-DIQY8cBm.cjs → debugWalletActions-CjqVQSZX.cjs} +106 -4
- package/dist/chunks/{debugWalletActions-qkesE_0m.js → debugWalletActions-Dh5poX8K.js} +96 -4
- package/dist/chunks/{tx-type-D_IH9tdK.js → tx-type-BUN9nEQ6.js} +3 -1
- package/dist/chunks/{tx-type-CnfCIc5p.js → tx-type-DYAaL3xz.js} +3 -1
- package/dist/chunks/{tx-type-CjORX0H2.cjs → tx-type-khL8tWtn.cjs} +3 -1
- package/dist/clients/createLocusPublicClient.d.cts +5 -1
- package/dist/clients/createLocusPublicClient.d.mts +5 -1
- package/dist/clients/createLocusWalletClient.d.cts +6 -0
- package/dist/clients/createLocusWalletClient.d.mts +6 -0
- 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 +18 -4
- package/dist/constant/index.cjs.cjs +18 -4
- package/dist/constant/index.d.cts +18 -2
- package/dist/constant/index.d.mts +18 -2
- package/dist/constant/index.esm.js +18 -4
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
- package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.cts +0 -4
- package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.mts +0 -4
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.cts +0 -3
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.mts +0 -3
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ParamsTokenValuePair } from '../common/params-token-value-pair.cjs';
|
|
2
|
+
export type ParamsCreateContract = {
|
|
3
|
+
account: string;
|
|
4
|
+
vmeId: string;
|
|
5
|
+
contractAccount: string;
|
|
6
|
+
fuelLimit: string;
|
|
7
|
+
until: number;
|
|
8
|
+
amount: string;
|
|
9
|
+
tokenAmounts: ParamsTokenValuePair[];
|
|
10
|
+
sysId: string;
|
|
11
|
+
code: string;
|
|
12
|
+
sign: string;
|
|
13
|
+
signedHeight: number;
|
|
14
|
+
feeType: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ParamsTokenValuePair } from '../common/params-token-value-pair.mjs';
|
|
2
|
+
export type ParamsCreateContract = {
|
|
3
|
+
account: string;
|
|
4
|
+
vmeId: string;
|
|
5
|
+
contractAccount: string;
|
|
6
|
+
fuelLimit: string;
|
|
7
|
+
until: number;
|
|
8
|
+
amount: string;
|
|
9
|
+
tokenAmounts: ParamsTokenValuePair[];
|
|
10
|
+
sysId: string;
|
|
11
|
+
code: string;
|
|
12
|
+
sign: string;
|
|
13
|
+
signedHeight: number;
|
|
14
|
+
feeType: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ParamsTokenValuePair } from '../common/params-token-value-pair.cjs';
|
|
2
|
+
export type ParamsTransferAllRes = {
|
|
3
|
+
from: string;
|
|
4
|
+
to: string;
|
|
5
|
+
amount: string;
|
|
6
|
+
tokenAmounts: ParamsTokenValuePair[];
|
|
7
|
+
assets: {
|
|
8
|
+
assetId: string;
|
|
9
|
+
amount: string;
|
|
10
|
+
}[];
|
|
11
|
+
sign: string;
|
|
12
|
+
signedHeight: number;
|
|
13
|
+
feeType: number;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ParamsTokenValuePair } from '../common/params-token-value-pair.mjs';
|
|
2
|
+
export type ParamsTransferAllRes = {
|
|
3
|
+
from: string;
|
|
4
|
+
to: string;
|
|
5
|
+
amount: string;
|
|
6
|
+
tokenAmounts: ParamsTokenValuePair[];
|
|
7
|
+
assets: {
|
|
8
|
+
assetId: string;
|
|
9
|
+
amount: string;
|
|
10
|
+
}[];
|
|
11
|
+
sign: string;
|
|
12
|
+
signedHeight: number;
|
|
13
|
+
feeType: number;
|
|
14
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ParamsTokenValuePair } from '../common/params-token-value-pair.cjs';
|
|
2
|
+
import { ParamsTransferAsset } from '../common/params-transfer-asset.cjs';
|
|
3
|
+
export type RpcCalculateSpentByForwardResult = {
|
|
4
|
+
amount: string;
|
|
5
|
+
tokenAmounts: ParamsTokenValuePair[];
|
|
6
|
+
assets: ParamsTransferAsset[];
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ParamsTokenValuePair } from '../common/params-token-value-pair.mjs';
|
|
2
|
+
import { ParamsTransferAsset } from '../common/params-transfer-asset.mjs';
|
|
3
|
+
export type RpcCalculateSpentByForwardResult = {
|
|
4
|
+
amount: string;
|
|
5
|
+
tokenAmounts: ParamsTokenValuePair[];
|
|
6
|
+
assets: ParamsTransferAsset[];
|
|
7
|
+
};
|
|
@@ -42,6 +42,7 @@ export * from './tx-post-data-synth-account.cjs';
|
|
|
42
42
|
export * from './tx-provide-script.cjs';
|
|
43
43
|
export * from './tx-restore-res-hash.cjs';
|
|
44
44
|
export * from './tx-revoke.cjs';
|
|
45
|
+
export * from './tx-transfer-all-res.cjs';
|
|
45
46
|
export * from './tx-transfer-asset-object.cjs';
|
|
46
47
|
export * from './tx-transfer-coin.cjs';
|
|
47
48
|
export * from './tx-transfer-token.cjs';
|
|
@@ -42,6 +42,7 @@ export * from './tx-post-data-synth-account.mjs';
|
|
|
42
42
|
export * from './tx-provide-script.mjs';
|
|
43
43
|
export * from './tx-restore-res-hash.mjs';
|
|
44
44
|
export * from './tx-revoke.mjs';
|
|
45
|
+
export * from './tx-transfer-all-res.mjs';
|
|
45
46
|
export * from './tx-transfer-asset-object.mjs';
|
|
46
47
|
export * from './tx-transfer-coin.mjs';
|
|
47
48
|
export * from './tx-transfer-token.mjs';
|
|
@@ -6,6 +6,7 @@ import { TxVSignature } from '../common/tx-vsignature.cjs';
|
|
|
6
6
|
import { VmTxState } from '../common/vm-tx-state.cjs';
|
|
7
7
|
export type TxActivateVmeResult = TxBase & TxVSignature & {
|
|
8
8
|
vmeId: string;
|
|
9
|
+
subId: string;
|
|
9
10
|
vmResult: VmTxState;
|
|
10
11
|
refVmResult: RefVtx;
|
|
11
12
|
callIndex: number;
|
|
@@ -6,6 +6,7 @@ import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
|
6
6
|
import { VmTxState } from '../common/vm-tx-state.mjs';
|
|
7
7
|
export type TxActivateVmeResult = TxBase & TxVSignature & {
|
|
8
8
|
vmeId: string;
|
|
9
|
+
subId: string;
|
|
9
10
|
vmResult: VmTxState;
|
|
10
11
|
refVmResult: RefVtx;
|
|
11
12
|
callIndex: number;
|
|
@@ -5,6 +5,7 @@ import { TxBase } from '../common/tx-base.cjs';
|
|
|
5
5
|
import { TxVSignature } from '../common/tx-vsignature.cjs';
|
|
6
6
|
export type TxActivateVmeTransfer = TxBase & TxVSignature & {
|
|
7
7
|
vmeId: string;
|
|
8
|
+
subId: string;
|
|
8
9
|
refVmResult: RefVtx;
|
|
9
10
|
amount: string;
|
|
10
11
|
balance: string;
|
|
@@ -5,6 +5,7 @@ import { TxBase } from '../common/tx-base.mjs';
|
|
|
5
5
|
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
6
6
|
export type TxActivateVmeTransfer = TxBase & TxVSignature & {
|
|
7
7
|
vmeId: string;
|
|
8
|
+
subId: string;
|
|
8
9
|
refVmResult: RefVtx;
|
|
9
10
|
amount: string;
|
|
10
11
|
balance: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 TxTransferAllRes = TxBase & TxSignature & {
|
|
6
|
+
target: string;
|
|
7
|
+
amount: string;
|
|
8
|
+
balance: string;
|
|
9
|
+
tokens: TokenValueAB[];
|
|
10
|
+
tokenProof: string;
|
|
11
|
+
tokenHash: string;
|
|
12
|
+
assets: AssetTransferInfo[];
|
|
13
|
+
assetProof: string;
|
|
14
|
+
assetHash: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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 TxTransferAllRes = TxBase & TxSignature & {
|
|
6
|
+
target: string;
|
|
7
|
+
amount: string;
|
|
8
|
+
balance: string;
|
|
9
|
+
tokens: TokenValueAB[];
|
|
10
|
+
tokenProof: string;
|
|
11
|
+
tokenHash: string;
|
|
12
|
+
assets: AssetTransferInfo[];
|
|
13
|
+
assetProof: string;
|
|
14
|
+
assetHash: string;
|
|
15
|
+
};
|
|
@@ -8,12 +8,16 @@ 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';
|
|
11
12
|
import type { ParamsForwardCoin } from './types/rpc/params-forward-coin.cjs';
|
|
13
|
+
import type { ParamsForwardToken } from './types/rpc/params-forward-token.cjs';
|
|
12
14
|
import type { ParamsFreezeAccount } from './types/rpc/params-freeze-account.cjs';
|
|
13
15
|
import type { ParamsLockStake } from './types/rpc/params-lock-stake.cjs';
|
|
14
16
|
import type { ParamsOpenAccount } from './types/rpc/params-open-account.cjs';
|
|
15
17
|
import type { ParamsProvideScript } from './types/rpc/params-provide-script.cjs';
|
|
16
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';
|
|
17
21
|
import type { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.cjs';
|
|
18
22
|
import type { ParamsTransferCoin } from './types/rpc/params-transfer-coin.cjs';
|
|
19
23
|
import type { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.cjs';
|
|
@@ -29,13 +33,17 @@ 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>;
|
|
32
37
|
forwardCoin: (param: ParamsForwardCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
38
|
+
forwardToken: (params: ParamsForwardToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
33
39
|
freezeAccount: (params: ParamsFreezeAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
34
40
|
lockStake: (params: ParamsLockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
35
41
|
openAccount: (param: ParamsOpenAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
36
42
|
postData: (params: InputParamsDataTransfer) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
37
43
|
provideScript: (params: ParamsProvideScript) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
38
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>;
|
|
39
47
|
transferAssetObject: (params: ParamsTransferAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
40
48
|
transferCoin: (param: ParamsTransferCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
41
49
|
transferToken: (params: ParamsTransferTokens) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
@@ -8,12 +8,16 @@ import type { ParamsCloseAccount } from './types/rpc/params-close-account.mjs';
|
|
|
8
8
|
import type { ParamsCreateAssetObject } from './types/rpc/params-create-asset-object.mjs';
|
|
9
9
|
import type { ParamsCreateToken } from './types/rpc/params-create-token.mjs';
|
|
10
10
|
import type { ParamsCreateVme } from './types/rpc/params-create-vme.mjs';
|
|
11
|
+
import type { ParamsForwardAssetObject } from './types/rpc/params-forward-asset-object.mjs';
|
|
11
12
|
import type { ParamsForwardCoin } from './types/rpc/params-forward-coin.mjs';
|
|
13
|
+
import type { ParamsForwardToken } from './types/rpc/params-forward-token.mjs';
|
|
12
14
|
import type { ParamsFreezeAccount } from './types/rpc/params-freeze-account.mjs';
|
|
13
15
|
import type { ParamsLockStake } from './types/rpc/params-lock-stake.mjs';
|
|
14
16
|
import type { ParamsOpenAccount } from './types/rpc/params-open-account.mjs';
|
|
15
17
|
import type { ParamsProvideScript } from './types/rpc/params-provide-script.mjs';
|
|
16
18
|
import type { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.mjs';
|
|
19
|
+
import type { ParamsTransfer } from './types/rpc/params-transfer.mjs';
|
|
20
|
+
import type { ParamsTransferAllRes } from './types/rpc/params-transfer-all-res.mjs';
|
|
17
21
|
import type { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.mjs';
|
|
18
22
|
import type { ParamsTransferCoin } from './types/rpc/params-transfer-coin.mjs';
|
|
19
23
|
import type { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.mjs';
|
|
@@ -29,13 +33,17 @@ export declare const walletActions: (client: WalletClient) => {
|
|
|
29
33
|
createAssetObject: (param: ParamsCreateAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
30
34
|
createToken: (param: ParamsCreateToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
31
35
|
createVme: (param: ParamsCreateVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
36
|
+
forwardAssetObject: (params: ParamsForwardAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
32
37
|
forwardCoin: (param: ParamsForwardCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
38
|
+
forwardToken: (params: ParamsForwardToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
33
39
|
freezeAccount: (params: ParamsFreezeAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
34
40
|
lockStake: (params: ParamsLockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
35
41
|
openAccount: (param: ParamsOpenAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
36
42
|
postData: (params: InputParamsDataTransfer) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
37
43
|
provideScript: (params: ParamsProvideScript) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
38
44
|
requestDataTrade: (params: ParamsRequestDataTrade) => Promise<import("../index.mjs").RpcDataTradeResult>;
|
|
45
|
+
transfer: (params: ParamsTransfer) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
46
|
+
transferAllRes: (params: ParamsTransferAllRes) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
39
47
|
transferAssetObject: (params: ParamsTransferAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
40
48
|
transferCoin: (param: ParamsTransferCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
41
49
|
transferToken: (params: ParamsTransferTokens) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
Binary file
|