@locuschain/lib 0.0.11 → 0.0.15-beta.0
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/autogen/locus-tx.d.mts +2 -2
- package/dist/autogen/rpc-api-spec.d.mts +110 -110
- package/dist/autogen/rpc.d.mts +112 -112
- package/dist/autogen/types/common/asset-object-transfer.d.mts +1 -1
- package/dist/autogen/types/common/asset-proof-objects.d.mts +1 -1
- package/dist/autogen/types/common/asset-transfer-info.d.mts +3 -3
- package/dist/autogen/types/common/contract-exec-status.d.mts +1 -1
- package/dist/autogen/types/common/index.d.mts +47 -47
- package/dist/autogen/types/common/ref-vtx.d.mts +1 -1
- package/dist/autogen/types/common/round-state-detail.d.mts +1 -1
- package/dist/autogen/types/common/rpc-data-trade-result.d.mts +1 -1
- package/dist/autogen/types/common/transaction-sender-index.d.mts +1 -1
- package/dist/autogen/types/common/transfer-info.d.mts +1 -1
- package/dist/autogen/types/common/vm-engine-block.d.mts +1 -1
- package/dist/autogen/types/common/vm-tx-state.d.mts +4 -4
- package/dist/autogen/types/consts/index.d.mts +3 -3
- package/dist/autogen/types/rpc/heights-result.d.mts +1 -1
- package/dist/autogen/types/rpc/index.d.mts +100 -100
- package/dist/autogen/types/rpc/params-account-heights.d.mts +1 -1
- package/dist/autogen/types/rpc/params-call-contract.d.mts +1 -1
- package/dist/autogen/types/rpc/params-create-contract.d.mts +1 -1
- package/dist/autogen/types/rpc/params-download-account-txs.d.mts +1 -1
- package/dist/autogen/types/rpc/params-provide-script.d.mts +1 -1
- package/dist/autogen/types/rpc/params-transfer-coin-express.d.mts +1 -1
- package/dist/autogen/types/rpc/params-transfer-tokens.d.mts +1 -1
- package/dist/autogen/types/rpc/rpc-get-account-asset-list-result.d.mts +1 -1
- package/dist/autogen/types/rpc/rpc-get-account-asset-object-result.d.mts +1 -1
- package/dist/autogen/types/rpc/rpc-get-account-token-list-result.d.mts +1 -1
- package/dist/autogen/types/rpc/rpc-get-inactive-tx-list-result.d.mts +2 -2
- package/dist/autogen/types/rpc/rpc-get-mont-info-list-result.d.mts +1 -1
- package/dist/autogen/types/rpc/rpc-get-world-round-state-result.d.mts +1 -1
- package/dist/autogen/types/rpc/upload-heights-result.d.mts +1 -1
- package/dist/autogen/types/tx/index.d.mts +49 -49
- package/dist/autogen/types/tx/tx-accept-script-after-time-lock.d.mts +4 -4
- package/dist/autogen/types/tx/tx-accept-script.d.mts +3 -3
- package/dist/autogen/types/tx/tx-activate-all-assets.d.mts +5 -5
- package/dist/autogen/types/tx/tx-activate-asset-object.d.mts +4 -4
- package/dist/autogen/types/tx/tx-activate-call-contract.d.mts +4 -4
- package/dist/autogen/types/tx/tx-activate-coin.d.mts +3 -3
- package/dist/autogen/types/tx/tx-activate-contract-result.d.mts +6 -6
- package/dist/autogen/types/tx/tx-activate-contract-reward.d.mts +3 -3
- package/dist/autogen/types/tx/tx-activate-contract-transfer.d.mts +5 -5
- package/dist/autogen/types/tx/tx-activate-data-synth-account.d.mts +3 -3
- package/dist/autogen/types/tx/tx-activate-foundation-reserve.d.mts +2 -2
- package/dist/autogen/types/tx/tx-activate-incentive.d.mts +2 -2
- package/dist/autogen/types/tx/tx-activate-lock-stake-for-vme.d.mts +4 -4
- package/dist/autogen/types/tx/tx-activate-open-contract.d.mts +4 -4
- package/dist/autogen/types/tx/tx-activate-open-synth-account.d.mts +3 -3
- package/dist/autogen/types/tx/tx-activate-open-vm-engine.d.mts +4 -4
- package/dist/autogen/types/tx/tx-activate-token.d.mts +4 -4
- package/dist/autogen/types/tx/tx-become-guest.d.mts +2 -2
- package/dist/autogen/types/tx/tx-become-host.d.mts +2 -2
- package/dist/autogen/types/tx/tx-burn-asset-object.d.mts +3 -3
- package/dist/autogen/types/tx/tx-burn-token.d.mts +3 -3
- package/dist/autogen/types/tx/tx-call-contract.d.mts +4 -4
- package/dist/autogen/types/tx/tx-change-foundation-account.d.mts +2 -2
- package/dist/autogen/types/tx/tx-change-keypair.d.mts +3 -3
- package/dist/autogen/types/tx/tx-change-vkey.d.mts +2 -2
- package/dist/autogen/types/tx/tx-close-account.d.mts +4 -4
- package/dist/autogen/types/tx/tx-contract-blank-reward.d.mts +2 -2
- package/dist/autogen/types/tx/tx-contract-transfer-reward.d.mts +2 -2
- package/dist/autogen/types/tx/tx-create-asset-object.d.mts +3 -3
- package/dist/autogen/types/tx/tx-create-contract.d.mts +4 -4
- package/dist/autogen/types/tx/tx-create-synth-account.d.mts +2 -2
- package/dist/autogen/types/tx/tx-create-token.d.mts +3 -3
- package/dist/autogen/types/tx/tx-create-vm-engine.d.mts +2 -2
- package/dist/autogen/types/tx/tx-dummy.d.mts +2 -2
- package/dist/autogen/types/tx/tx-finalize.d.mts +2 -2
- package/dist/autogen/types/tx/tx-genesis-account.d.mts +3 -3
- package/dist/autogen/types/tx/tx-lead-vtx.d.mts +3 -3
- package/dist/autogen/types/tx/tx-lock-stake-for-vme.d.mts +2 -2
- package/dist/autogen/types/tx/tx-open-account.d.mts +5 -5
- package/dist/autogen/types/tx/tx-post-data-synth-account.d.mts +2 -2
- package/dist/autogen/types/tx/tx-post-data.d.mts +2 -2
- package/dist/autogen/types/tx/tx-provide-script.d.mts +3 -3
- package/dist/autogen/types/tx/tx-revoke.d.mts +6 -6
- package/dist/autogen/types/tx/tx-transfer-asset-object.d.mts +3 -3
- package/dist/autogen/types/tx/tx-transfer-coin-express.d.mts +3 -3
- package/dist/autogen/types/tx/tx-transfer-coin.d.mts +2 -2
- package/dist/autogen/types/tx/tx-transfer-token.d.mts +3 -3
- package/dist/autogen/types/tx/tx-unlock-stake.d.mts +2 -2
- package/dist/autogen/types/tx/tx-vm-engine-block.d.mts +3 -3
- package/dist/autogen/types/wasm/index.d.mts +24 -24
- package/dist/autogen/types/wasm/param-test-core-script.d.mts +1 -1
- package/dist/autogen/wasm.d.mts +24 -24
- package/dist/constant/index.d.cts +2 -2
- package/dist/constant/index.d.mts +2 -2
- package/dist/{index-BQ0aTXY5.js → index-DG0VEpO7.js} +31 -7
- package/dist/{index-Byqx0KIO.js → index-dKo4dwic.js} +31 -7
- package/dist/{index-Cg0xnkC2.js → index-pHGVNvIY.js} +31 -7
- package/dist/index.d.mts +4 -4
- package/dist/support/erc20-helper/abi.d.mts +1 -1
- package/dist/support/erc20-helper/index.d.mts +1 -1
- package/dist/support/index.amd.js +1 -1
- package/dist/support/index.cjs.js +1 -1
- package/dist/support/index.d.cts +3 -3
- package/dist/support/index.d.mts +3 -3
- package/dist/support/index.esm.js +1 -1
- package/dist/types/index.d.cts +4 -4
- package/dist/types/index.d.mts +4 -4
- package/dist/utils/index.amd.js +1 -1
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.d.cts +5 -5
- package/dist/utils/index.d.mts +5 -5
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/lclib.d.mts +1 -0
- package/dist/web3/index.amd.js +25 -18
- package/dist/web3/index.cjs.js +25 -18
- package/dist/web3/index.d.cts +5 -5
- package/dist/web3/index.d.mts +5 -5
- package/dist/web3/index.esm.js +25 -18
- package/dist/web3/providers/account-provider.d.mts +2 -2
- package/dist/web3/providers/http-rpc-provider.d.mts +2 -2
- package/dist/web3/providers/index.d.mts +3 -3
- package/dist/web3/providers/rpc-provider.d.mts +4 -4
- package/dist/web3/types/account.d.mts +1 -1
- package/dist/web3/types/index.d.mts +4 -4
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AssetObjectTransfer } from '../common/asset-object-transfer.
|
|
2
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
3
|
-
import { TxBase } from '../common/tx-base.
|
|
4
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
1
|
+
import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
|
|
2
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
3
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
4
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
5
5
|
export type TxActivateAssetObject = TxBase & TxVSignature & {
|
|
6
6
|
refLink: RefTxInfo;
|
|
7
7
|
balance: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TokenValuePair } from '../common/token-value-pair.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
4
|
-
import { VmTxState } from '../common/vm-tx-state.
|
|
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
|
+
import { VmTxState } from '../common/vm-tx-state.mjs';
|
|
5
5
|
export type TxActivateCallContract = TxBase & TxNoSignature & {
|
|
6
6
|
vmResult: VmTxState;
|
|
7
7
|
fuelLimit: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
4
4
|
export type TxActivateCoin = TxBase & TxVSignature & {
|
|
5
5
|
refLink: RefTxInfo;
|
|
6
6
|
amount: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AssetObjectTransfer } from '../common/asset-object-transfer.
|
|
2
|
-
import { RefVtx } from '../common/ref-vtx.
|
|
3
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
4
|
-
import { TxBase } from '../common/tx-base.
|
|
5
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
6
|
-
import { VmTxState } from '../common/vm-tx-state.
|
|
1
|
+
import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
|
|
2
|
+
import { RefVtx } from '../common/ref-vtx.mjs';
|
|
3
|
+
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
4
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
5
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
6
|
+
import { VmTxState } from '../common/vm-tx-state.mjs';
|
|
7
7
|
export type TxActivateContractResult = TxBase & TxVSignature & {
|
|
8
8
|
contract: string;
|
|
9
9
|
vmResult: VmTxState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
4
4
|
export type TxActivateContractReward = TxBase & TxVSignature & {
|
|
5
5
|
refLink: RefTxInfo;
|
|
6
6
|
amount: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AssetObjectTransfer } from '../common/asset-object-transfer.
|
|
2
|
-
import { RefVtx } from '../common/ref-vtx.
|
|
3
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
4
|
-
import { TxBase } from '../common/tx-base.
|
|
5
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
1
|
+
import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
|
|
2
|
+
import { RefVtx } from '../common/ref-vtx.mjs';
|
|
3
|
+
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
4
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
5
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
6
6
|
export type TxActivateContractTransfer = TxBase & TxVSignature & {
|
|
7
7
|
contract: string;
|
|
8
8
|
refVmResult: RefVtx;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
4
4
|
export type TxActivateDataSynthAccount = TxBase & TxNoSignature & {
|
|
5
5
|
refLink: RefTxInfo;
|
|
6
6
|
amount: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
3
3
|
export type TxActivateFoundationReserve = TxBase & TxVSignature & {
|
|
4
4
|
earnedShard: number;
|
|
5
5
|
earnedRound: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
3
3
|
export type TxActivateIncentive = TxBase & TxVSignature & {
|
|
4
4
|
earnedShard: number;
|
|
5
5
|
earnedRound: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
4
|
-
import { VmeLockStake } from '../common/vme-lock-stake.
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
4
|
+
import { VmeLockStake } from '../common/vme-lock-stake.mjs';
|
|
5
5
|
export type TxActivateLockStakeForVme = TxBase & TxNoSignature & {
|
|
6
6
|
refLink: RefTxInfo;
|
|
7
7
|
lockStake: VmeLockStake;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TokenValuePair } from '../common/token-value-pair.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
4
|
-
import { VmTxState } from '../common/vm-tx-state.
|
|
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
|
+
import { VmTxState } from '../common/vm-tx-state.mjs';
|
|
5
5
|
export type TxActivateOpenContract = TxBase & TxNoSignature & {
|
|
6
6
|
vmResult: VmTxState;
|
|
7
7
|
fuelLimit: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
4
4
|
export type TxActivateOpenSynthAccount = TxBase & TxNoSignature & {
|
|
5
5
|
refLink: RefTxInfo;
|
|
6
6
|
amount: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
4
|
-
import { VmeLockStake } from '../common/vme-lock-stake.
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
4
|
+
import { VmeLockStake } from '../common/vme-lock-stake.mjs';
|
|
5
5
|
export type TxActivateOpenVmEngine = TxBase & TxNoSignature & {
|
|
6
6
|
refLink: RefTxInfo;
|
|
7
7
|
sysType: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
2
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
3
|
-
import { TxBase } from '../common/tx-base.
|
|
4
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
3
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
4
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
5
5
|
export type TxActivateToken = TxBase & TxVSignature & {
|
|
6
6
|
refLink: RefTxInfo;
|
|
7
7
|
amount: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxBecomeGuest = TxBase & TxSignature & {
|
|
4
4
|
targetHost: string;
|
|
5
5
|
balance: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxBecomeHost = TxBase & TxSignature & {
|
|
4
4
|
balance: string;
|
|
5
5
|
prevHost: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AssetObjectTransfer } from '../common/asset-object-transfer.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxBurnAssetObject = TxBase & TxSignature & {
|
|
5
5
|
balance: string;
|
|
6
6
|
accumulatedFee: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxBurnToken = TxBase & TxSignature & {
|
|
5
5
|
amount: string;
|
|
6
6
|
balance: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AssetObjectTransfer } from '../common/asset-object-transfer.
|
|
2
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
3
|
-
import { TxBase } from '../common/tx-base.
|
|
4
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { AssetObjectTransfer } from '../common/asset-object-transfer.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
5
|
export type TxCallContract = TxBase & TxSignature & {
|
|
6
6
|
target: string;
|
|
7
7
|
fuelLimit: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxChangeFoundationAccount = TxBase & TxSignature & {
|
|
4
4
|
newFoundationAccount: string;
|
|
5
5
|
newFoundationReserveRatio: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { KeyBindInfo } from '../common/key-bind-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { KeyBindInfo } from '../common/key-bind-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxChangeKeypair = TxBase & TxSignature & {
|
|
5
5
|
newKey: string;
|
|
6
6
|
balance: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxChangeVKey = TxBase & TxSignature & {
|
|
4
4
|
newKey: string;
|
|
5
5
|
balance: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AssetProofObjects } from '../common/asset-proof-objects.
|
|
2
|
-
import { TokenValuePair } from '../common/token-value-pair.
|
|
3
|
-
import { TxBase } from '../common/tx-base.
|
|
4
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { AssetProofObjects } from '../common/asset-proof-objects.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
5
|
export type TxCloseAccount = TxBase & TxSignature & {
|
|
6
6
|
target: string;
|
|
7
7
|
amount: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
3
3
|
export type TxContractBlankReward = TxBase & TxNoSignature & {
|
|
4
4
|
refHeight: number;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
3
3
|
export type TxContractTransferReward = TxBase & TxNoSignature & {
|
|
4
4
|
target: string;
|
|
5
5
|
rewardAmount: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AssetObject } from '../common/asset-object.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { AssetObject } from '../common/asset-object.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxCreateAssetObject = TxBase & TxSignature & {
|
|
5
5
|
object: AssetObject;
|
|
6
6
|
balance: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AssetObjectTransfer } from '../common/asset-object-transfer.
|
|
2
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
3
|
-
import { TxBase } from '../common/tx-base.
|
|
4
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { AssetObjectTransfer } from '../common/asset-object-transfer.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
5
|
export type TxCreateContract = TxBase & TxSignature & {
|
|
6
6
|
target: string;
|
|
7
7
|
fuelLimit: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxCreateSynthAccount = TxBase & TxSignature & {
|
|
4
4
|
target: string;
|
|
5
5
|
amount: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TokenValuePair } from '../common/token-value-pair.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TokenValuePair } from '../common/token-value-pair.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxCreateToken = TxBase & TxSignature & {
|
|
5
5
|
balance: string;
|
|
6
6
|
accumulatedFee: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxCreateVmEngine = TxBase & TxSignature & {
|
|
4
4
|
balance: string;
|
|
5
5
|
sysId: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxDummy = TxBase & TxSignature & {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
3
3
|
export type TxFinalize = TxBase & TxVSignature & {
|
|
4
4
|
target: string;
|
|
5
5
|
amount: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { KeyBindInfo } from '../common/key-bind-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { KeyBindInfo } from '../common/key-bind-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxGenesisAccount = TxBase & TxSignature & {
|
|
5
5
|
balance: string;
|
|
6
6
|
addr: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TokenValuePair } from '../common/token-value-pair.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
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
4
|
export type TxLeadVtx = TxBase & TxNoSignature & {
|
|
5
5
|
contract: string;
|
|
6
6
|
target: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxLockStakeForVme = TxBase & TxSignature & {
|
|
4
4
|
vmeId: string;
|
|
5
5
|
lockAmount: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { KeyBindInfo } from '../common/key-bind-info.
|
|
2
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
3
|
-
import { TokenValuePair } from '../common/token-value-pair.
|
|
4
|
-
import { TxBase } from '../common/tx-base.
|
|
5
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { KeyBindInfo } from '../common/key-bind-info.mjs';
|
|
2
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
3
|
+
import { TokenValuePair } from '../common/token-value-pair.mjs';
|
|
4
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
5
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
6
6
|
export type TxOpenAccount = TxBase & TxSignature & {
|
|
7
7
|
refLink: RefTxInfo;
|
|
8
8
|
balance: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxPostDataSynthAccount = TxBase & TxSignature & {
|
|
4
4
|
target: string;
|
|
5
5
|
amount: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxPostData = TxBase & TxSignature & {
|
|
4
4
|
balance: string;
|
|
5
5
|
accumulatedFee: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxProvideScript = TxBase & TxSignature & {
|
|
5
5
|
target: string;
|
|
6
6
|
targetAfterTimeLock: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AssetObjectTransfer } from '../common/asset-object-transfer.
|
|
2
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
3
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
4
|
-
import { TxBase } from '../common/tx-base.
|
|
5
|
-
import { TxVSignature } from '../common/tx-vsignature.
|
|
6
|
-
import { VmeInfo } from '../common/vme-info.
|
|
1
|
+
import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
|
|
2
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
3
|
+
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
4
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
5
|
+
import { TxVSignature } from '../common/tx-vsignature.mjs';
|
|
6
|
+
import { VmeInfo } from '../common/vme-info.mjs';
|
|
7
7
|
export type TxRevoke = TxBase & TxVSignature & {
|
|
8
8
|
refLink: RefTxInfo;
|
|
9
9
|
amount: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AssetObjectTransfer } from '../common/asset-object-transfer.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxTransferAssetObject = TxBase & TxSignature & {
|
|
5
5
|
balance: string;
|
|
6
6
|
accumulatedFee: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefTxInfo } from '../common/ref-tx-info.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { RefTxInfo } from '../common/ref-tx-info.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxTransferCoinExpress = TxBase & TxSignature & {
|
|
5
5
|
source: RefTxInfo;
|
|
6
6
|
target: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxTransferCoin = TxBase & TxSignature & {
|
|
4
4
|
target: string;
|
|
5
5
|
amount: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TokenValueAB } from '../common/token-value-ab.
|
|
2
|
-
import { TxBase } from '../common/tx-base.
|
|
3
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TokenValueAB } from '../common/token-value-ab.mjs';
|
|
2
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
3
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
4
4
|
export type TxTransferToken = TxBase & TxSignature & {
|
|
5
5
|
amount: string;
|
|
6
6
|
balance: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxSignature } from '../common/tx-signature.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxSignature } from '../common/tx-signature.mjs';
|
|
3
3
|
export type TxUnlockStake = TxBase & TxSignature & {
|
|
4
4
|
vmeId: string;
|
|
5
5
|
unlockAmount: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TxBase } from '../common/tx-base.
|
|
2
|
-
import { TxNoSignature } from '../common/tx-no-signature.
|
|
3
|
-
import { VmEngineBlock } from '../common/vm-engine-block.
|
|
1
|
+
import { TxBase } from '../common/tx-base.mjs';
|
|
2
|
+
import { TxNoSignature } from '../common/tx-no-signature.mjs';
|
|
3
|
+
import { VmEngineBlock } from '../common/vm-engine-block.mjs';
|
|
4
4
|
export type TxVmEngineBlock = TxBase & TxNoSignature & {
|
|
5
5
|
block: VmEngineBlock;
|
|
6
6
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export * from './grant-consume-result.
|
|
2
|
-
export * from './library-versions.
|
|
3
|
-
export * from './param-calculate-tx-link-hash.
|
|
4
|
-
export * from './param-code-core-script.
|
|
5
|
-
export * from './param-convert-currency.
|
|
6
|
-
export * from './param-create-account-and-keystore.
|
|
7
|
-
export * from './param-create-master-keystore.
|
|
8
|
-
export * from './param-create-normal-key.
|
|
9
|
-
export * from './param-create-normal-keystore.
|
|
10
|
-
export * from './param-derive-keys-from-mnemonic.
|
|
11
|
-
export * from './param-encode-tx-currency.
|
|
12
|
-
export * from './param-encode-tx-number.
|
|
13
|
-
export * from './param-generate-mnemonic.
|
|
14
|
-
export * from './param-generate-mnemonic-by-seed.
|
|
15
|
-
export * from './param-get-home-shard.
|
|
16
|
-
export * from './param-hash.
|
|
17
|
-
export * from './param-load-keystore.
|
|
18
|
-
export * from './param-make-currency.
|
|
19
|
-
export * from './param-sign.
|
|
20
|
-
export * from './param-sign-by-master-key.
|
|
21
|
-
export * from './param-test-core-script.
|
|
22
|
-
export * from './param-txs.
|
|
23
|
-
export * from './param-verify.
|
|
24
|
-
export * from './param-verify-merkle-proof.
|
|
1
|
+
export * from './grant-consume-result.mjs';
|
|
2
|
+
export * from './library-versions.mjs';
|
|
3
|
+
export * from './param-calculate-tx-link-hash.mjs';
|
|
4
|
+
export * from './param-code-core-script.mjs';
|
|
5
|
+
export * from './param-convert-currency.mjs';
|
|
6
|
+
export * from './param-create-account-and-keystore.mjs';
|
|
7
|
+
export * from './param-create-master-keystore.mjs';
|
|
8
|
+
export * from './param-create-normal-key.mjs';
|
|
9
|
+
export * from './param-create-normal-keystore.mjs';
|
|
10
|
+
export * from './param-derive-keys-from-mnemonic.mjs';
|
|
11
|
+
export * from './param-encode-tx-currency.mjs';
|
|
12
|
+
export * from './param-encode-tx-number.mjs';
|
|
13
|
+
export * from './param-generate-mnemonic.mjs';
|
|
14
|
+
export * from './param-generate-mnemonic-by-seed.mjs';
|
|
15
|
+
export * from './param-get-home-shard.mjs';
|
|
16
|
+
export * from './param-hash.mjs';
|
|
17
|
+
export * from './param-load-keystore.mjs';
|
|
18
|
+
export * from './param-make-currency.mjs';
|
|
19
|
+
export * from './param-sign.mjs';
|
|
20
|
+
export * from './param-sign-by-master-key.mjs';
|
|
21
|
+
export * from './param-test-core-script.mjs';
|
|
22
|
+
export * from './param-txs.mjs';
|
|
23
|
+
export * from './param-verify.mjs';
|
|
24
|
+
export * from './param-verify-merkle-proof.mjs';
|