chia-agent 13.2.0-beta.0 → 13.2.0-beta.2
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/CHANGELOG.md +8 -0
- package/api/chia/consensus/block_record.d.ts +32 -32
- package/api/chia/consensus/block_record.js +2 -2
- package/api/chia/consensus/blockchain.d.ts +1 -1
- package/api/chia/consensus/blockchain.js +2 -2
- package/api/chia/consensus/cost_calculator.d.ts +7 -7
- package/api/chia/consensus/cost_calculator.js +2 -2
- package/api/chia/data_layer/data_layer_util.d.ts +49 -49
- package/api/chia/data_layer/data_layer_util.js +2 -2
- package/api/chia/data_layer/data_layer_wallet.d.ts +21 -21
- package/api/chia/data_layer/data_layer_wallet.js +2 -2
- package/api/chia/farmer/farmer.d.ts +26 -26
- package/api/chia/farmer/farmer.js +3 -3
- package/api/chia/farmer/farmer_api.js +2 -2
- package/api/chia/full_node/signage_point.d.ts +8 -8
- package/api/chia/full_node/signage_point.js +2 -2
- package/api/chia/harvester/harvester.d.ts +13 -13
- package/api/chia/harvester/harvester.js +2 -2
- package/api/chia/harvester/harvester_api.js +2 -2
- package/api/chia/plot-sync/receiver.d.ts +25 -25
- package/api/chia/plot-sync/receiver.js +2 -2
- package/api/chia/plotters/bladebit.d.ts +10 -10
- package/api/chia/plotters/bladebit.js +4 -4
- package/api/chia/plotters/chiapos.d.ts +7 -7
- package/api/chia/plotters/chiapos.js +4 -4
- package/api/chia/plotters/maxmax.d.ts +8 -8
- package/api/chia/plotters/maxmax.js +4 -4
- package/api/chia/plotting/util.d.ts +3 -3
- package/api/chia/plotting/util.js +2 -2
- package/api/chia/pool/store.d.ts +17 -17
- package/api/chia/pool/store.js +2 -2
- package/api/chia/pools/pool_config.d.ts +10 -10
- package/api/chia/pools/pool_config.js +2 -2
- package/api/chia/pools/pool_wallet_info.d.ts +22 -22
- package/api/chia/pools/pool_wallet_info.js +2 -2
- package/api/chia/protocols/farmer_protocol.d.ts +43 -43
- package/api/chia/protocols/farmer_protocol.js +2 -2
- package/api/chia/protocols/harvester_protocol.d.ts +12 -12
- package/api/chia/protocols/harvester_protocol.js +2 -2
- package/api/chia/protocols/pool_protocol.d.ts +93 -93
- package/api/chia/protocols/pool_protocol.js +21 -21
- package/api/chia/server/outbound_message.d.ts +1 -1
- package/api/chia/server/outbound_message.js +2 -2
- package/api/chia/timelord/types.d.ts +1 -1
- package/api/chia/timelord/types.js +2 -2
- package/api/chia/types/_python_types_.d.ts +22 -22
- package/api/chia/types/_python_types_.js +2 -2
- package/api/chia/types/blockchain_format/classgroup.d.ts +4 -4
- package/api/chia/types/blockchain_format/classgroup.js +2 -2
- package/api/chia/types/blockchain_format/coin.d.ts +11 -11
- package/api/chia/types/blockchain_format/coin.js +2 -2
- package/api/chia/types/blockchain_format/foliage.d.ts +35 -35
- package/api/chia/types/blockchain_format/foliage.js +2 -2
- package/api/chia/types/blockchain_format/pool_target.d.ts +6 -6
- package/api/chia/types/blockchain_format/pool_target.js +2 -2
- package/api/chia/types/blockchain_format/program.d.ts +1 -1
- package/api/chia/types/blockchain_format/program.js +2 -2
- package/api/chia/types/blockchain_format/proof_of_space.d.ts +10 -10
- package/api/chia/types/blockchain_format/proof_of_space.js +2 -2
- package/api/chia/types/blockchain_format/reward_chain_block.d.ts +30 -30
- package/api/chia/types/blockchain_format/reward_chain_block.js +2 -2
- package/api/chia/types/blockchain_format/serialized_program.d.ts +2 -2
- package/api/chia/types/blockchain_format/serialized_program.js +2 -2
- package/api/chia/types/blockchain_format/sized_bytes.d.ts +8 -8
- package/api/chia/types/blockchain_format/sized_bytes.js +2 -2
- package/api/chia/types/blockchain_format/slots.d.ts +24 -24
- package/api/chia/types/blockchain_format/slots.js +2 -2
- package/api/chia/types/blockchain_format/sub_epoch_summary.d.ts +9 -9
- package/api/chia/types/blockchain_format/sub_epoch_summary.js +2 -2
- package/api/chia/types/blockchain_format/vdf.d.ts +13 -13
- package/api/chia/types/blockchain_format/vdf.js +2 -2
- package/api/chia/types/clvm_cost.d.ts +2 -2
- package/api/chia/types/clvm_cost.js +2 -2
- package/api/chia/types/coin_record.d.ts +12 -12
- package/api/chia/types/coin_record.js +2 -2
- package/api/chia/types/coin_spend.d.ts +7 -7
- package/api/chia/types/coin_spend.js +2 -2
- package/api/chia/types/coin_spend_with_conditions.d.ts +6 -6
- package/api/chia/types/coin_spend_with_conditions.js +2 -2
- package/api/chia/types/condition_opcode.d.ts +2 -2
- package/api/chia/types/condition_opcode.js +2 -2
- package/api/chia/types/condition_with_args.d.ts +6 -6
- package/api/chia/types/condition_with_args.js +2 -2
- package/api/chia/types/end_of_slot_bundle.d.ts +8 -8
- package/api/chia/types/end_of_slot_bundle.js +2 -2
- package/api/chia/types/full_block.d.ts +20 -20
- package/api/chia/types/full_block.js +2 -2
- package/api/chia/types/mempool_item.d.ts +32 -32
- package/api/chia/types/mempool_item.js +2 -2
- package/api/chia/types/mojos.d.ts +2 -2
- package/api/chia/types/mojos.js +2 -2
- package/api/chia/types/signing_mode.d.ts +4 -4
- package/api/chia/types/signing_mode.js +2 -2
- package/api/chia/types/spend_bundle.d.ts +6 -6
- package/api/chia/types/spend_bundle.js +2 -2
- package/api/chia/types/spend_bundle_condition.d.ts +26 -26
- package/api/chia/types/spend_bundle_condition.js +2 -2
- package/api/chia/types/unfinished_header_block.d.ts +14 -14
- package/api/chia/types/unfinished_header_block.js +2 -2
- package/api/chia/util/keychain.d.ts +12 -12
- package/api/chia/util/keychain.js +2 -2
- package/api/chia/util/misc.d.ts +5 -5
- package/api/chia/util/misc.js +2 -2
- package/api/chia/wallet/cat_wallet/cat_constants.d.ts +6 -6
- package/api/chia/wallet/cat_wallet/cat_constants.js +2 -2
- package/api/chia/wallet/conditions.d.ts +12 -12
- package/api/chia/wallet/conditions.js +2 -2
- package/api/chia/wallet/lineage_proof.d.ts +7 -7
- package/api/chia/wallet/lineage_proof.js +2 -2
- package/api/chia/wallet/nft_wallet/nft_info.d.ts +28 -28
- package/api/chia/wallet/nft_wallet/nft_info.js +2 -2
- package/api/chia/wallet/puzzle_drivers.d.ts +6 -6
- package/api/chia/wallet/puzzle_drivers.js +2 -2
- package/api/chia/wallet/puzzles/clawback/metadata.d.ts +13 -13
- package/api/chia/wallet/puzzles/clawback/metadata.js +2 -2
- package/api/chia/wallet/trade_record.d.ts +31 -31
- package/api/chia/wallet/trade_record.js +3 -3
- package/api/chia/wallet/transaction_record.d.ts +37 -37
- package/api/chia/wallet/transaction_record.js +2 -2
- package/api/chia/wallet/util/quality_filter.d.ts +22 -22
- package/api/chia/wallet/util/quality_filter.js +2 -2
- package/api/chia/wallet/util/tx_config.d.ts +24 -24
- package/api/chia/wallet/util/tx_config.js +2 -2
- package/api/chia/wallet/util/wallet_types.d.ts +27 -27
- package/api/chia/wallet/util/wallet_types.js +27 -27
- package/api/chia/wallet/vc_wallet/vc_drivers.d.ts +16 -16
- package/api/chia/wallet/vc_wallet/vc_drivers.js +2 -2
- package/api/chia/wallet/vc_wallet/vc_store.d.ts +6 -6
- package/api/chia/wallet/vc_wallet/vc_store.js +2 -2
- package/api/chia/wallet/wallet_coin_record.d.ts +25 -25
- package/api/chia/wallet/wallet_coin_record.js +2 -2
- package/api/chia/wallet/wallet_coin_store.d.ts +19 -19
- package/api/chia/wallet/wallet_coin_store.js +2 -2
- package/api/chia/wallet/wallet_info.d.ts +10 -10
- package/api/chia/wallet/wallet_info.js +2 -2
- package/api/chia/wallet/wallet_node.d.ts +10 -10
- package/api/chia/wallet/wallet_node.js +2 -2
- package/api/rpc/common/index.d.ts +61 -61
- package/api/rpc/common/index.js +55 -55
- package/api/rpc/crawler/index.d.ts +35 -35
- package/api/rpc/crawler/index.js +27 -27
- package/api/rpc/data_layer/index.d.ts +357 -357
- package/api/rpc/data_layer/index.js +224 -224
- package/api/rpc/farmer/index.d.ts +183 -183
- package/api/rpc/farmer/index.js +104 -104
- package/api/rpc/full_node/index.d.ts +456 -456
- package/api/rpc/full_node/index.js +274 -274
- package/api/rpc/harvester/index.d.ts +87 -87
- package/api/rpc/harvester/index.js +69 -69
- package/api/rpc/index.d.ts +15 -15
- package/api/rpc/index.js +234 -234
- package/api/rpc/pool/index.d.ts +32 -32
- package/api/rpc/pool/index.js +48 -48
- package/api/rpc/wallet/index.d.ts +1788 -1788
- package/api/rpc/wallet/index.js +886 -886
- package/api/types.d.ts +28 -28
- package/api/types.js +5 -5
- package/api/ws/chia_plots_create/index.d.ts +17 -17
- package/api/ws/chia_plots_create/index.js +38 -38
- package/api/ws/crawler/index.d.ts +28 -28
- package/api/ws/crawler/index.js +40 -40
- package/api/ws/daemon/index.d.ts +608 -608
- package/api/ws/daemon/index.js +282 -282
- package/api/ws/farmer/index.d.ts +93 -93
- package/api/ws/farmer/index.js +159 -159
- package/api/ws/full_node/index.d.ts +79 -79
- package/api/ws/full_node/index.js +78 -78
- package/api/ws/harvester/index.d.ts +47 -47
- package/api/ws/harvester/index.js +91 -91
- package/api/ws/index.d.ts +17 -17
- package/api/ws/index.js +94 -94
- package/api/ws/timelord/index.d.ts +43 -43
- package/api/ws/timelord/index.js +66 -66
- package/api/ws/wallet/index.d.ts +69 -69
- package/api/ws/wallet/index.js +108 -108
- package/bin/cli.d.ts +2 -2
- package/bin/cli.js +81 -81
- package/config/index.d.ts +39 -39
- package/config/index.js +95 -95
- package/daemon/connection.d.ts +6 -6
- package/daemon/connection.js +49 -49
- package/daemon/index.d.ts +61 -61
- package/daemon/index.js +292 -292
- package/index.d.ts +4 -4
- package/index.js +16 -16
- package/logger.d.ts +22 -22
- package/logger.js +77 -77
- package/package.json +1 -1
- package/rpc/index.d.ts +59 -57
- package/rpc/index.js +262 -255
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EndOfSubSlotBundle } from "./end_of_slot_bundle";
|
|
2
|
-
import { VDFProof } from "./blockchain_format/vdf";
|
|
3
|
-
import { Foliage, FoliageTransactionBlock } from "./blockchain_format/foliage";
|
|
4
|
-
import { bytes, Optional } from "./_python_types_";
|
|
5
|
-
import { RewardChainBlockUnfinished } from "./blockchain_format/reward_chain_block";
|
|
6
|
-
export declare type UnfinishedHeaderBlock = {
|
|
7
|
-
finished_sub_slots: EndOfSubSlotBundle[];
|
|
8
|
-
reward_chain_block: RewardChainBlockUnfinished;
|
|
9
|
-
challenge_chain_sp_proof: Optional<VDFProof>;
|
|
10
|
-
reward_chain_sp_proof: Optional<VDFProof>;
|
|
11
|
-
foliage: Foliage;
|
|
12
|
-
foliage_transaction_block: Optional<FoliageTransactionBlock>;
|
|
13
|
-
transactions_filter: bytes;
|
|
14
|
-
};
|
|
1
|
+
import { EndOfSubSlotBundle } from "./end_of_slot_bundle";
|
|
2
|
+
import { VDFProof } from "./blockchain_format/vdf";
|
|
3
|
+
import { Foliage, FoliageTransactionBlock } from "./blockchain_format/foliage";
|
|
4
|
+
import { bytes, Optional } from "./_python_types_";
|
|
5
|
+
import { RewardChainBlockUnfinished } from "./blockchain_format/reward_chain_block";
|
|
6
|
+
export declare type UnfinishedHeaderBlock = {
|
|
7
|
+
finished_sub_slots: EndOfSubSlotBundle[];
|
|
8
|
+
reward_chain_block: RewardChainBlockUnfinished;
|
|
9
|
+
challenge_chain_sp_proof: Optional<VDFProof>;
|
|
10
|
+
reward_chain_sp_proof: Optional<VDFProof>;
|
|
11
|
+
foliage: Foliage;
|
|
12
|
+
foliage_transaction_block: Optional<FoliageTransactionBlock>;
|
|
13
|
+
transactions_filter: bytes;
|
|
14
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { bytes, G1Element, PrivateKey, Optional, str, uint32 } from "../types/_python_types_";
|
|
2
|
-
export declare type KeyDataSecrets = {
|
|
3
|
-
mnemonic: str[];
|
|
4
|
-
entropy: bytes;
|
|
5
|
-
private_key: PrivateKey;
|
|
6
|
-
};
|
|
7
|
-
export declare type KeyData = {
|
|
8
|
-
fingerprint: uint32;
|
|
9
|
-
public_key: G1Element;
|
|
10
|
-
label: Optional<str>;
|
|
11
|
-
secrets: Optional<KeyDataSecrets>;
|
|
12
|
-
};
|
|
1
|
+
import { bytes, G1Element, PrivateKey, Optional, str, uint32 } from "../types/_python_types_";
|
|
2
|
+
export declare type KeyDataSecrets = {
|
|
3
|
+
mnemonic: str[];
|
|
4
|
+
entropy: bytes;
|
|
5
|
+
private_key: PrivateKey;
|
|
6
|
+
};
|
|
7
|
+
export declare type KeyData = {
|
|
8
|
+
fingerprint: uint32;
|
|
9
|
+
public_key: G1Element;
|
|
10
|
+
label: Optional<str>;
|
|
11
|
+
secrets: Optional<KeyDataSecrets>;
|
|
12
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/api/chia/util/misc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bytes, uint16 } from "../types/_python_types_";
|
|
2
|
-
export declare type VersionBlob = {
|
|
3
|
-
version: uint16;
|
|
4
|
-
blob: bytes;
|
|
5
|
-
};
|
|
1
|
+
import { bytes, uint16 } from "../types/_python_types_";
|
|
2
|
+
export declare type VersionBlob = {
|
|
3
|
+
version: uint16;
|
|
4
|
+
blob: bytes;
|
|
5
|
+
};
|
package/api/chia/util/misc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { str } from "../../types/_python_types_";
|
|
2
|
-
export declare type CAT = {
|
|
3
|
-
asset_id: str;
|
|
4
|
-
name: str;
|
|
5
|
-
symbol: str;
|
|
6
|
-
};
|
|
1
|
+
import { str } from "../../types/_python_types_";
|
|
2
|
+
export declare type CAT = {
|
|
3
|
+
asset_id: str;
|
|
4
|
+
name: str;
|
|
5
|
+
symbol: str;
|
|
6
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Optional, str, uint32, uint64 } from "../types/_python_types_";
|
|
2
|
-
export declare type Condition = Record<str, any>;
|
|
3
|
-
export declare type ConditionValidTimes = {
|
|
4
|
-
min_secs_since_created: Optional<uint64>;
|
|
5
|
-
min_time: Optional<uint64>;
|
|
6
|
-
min_blocks_since_created: Optional<uint32>;
|
|
7
|
-
min_height: Optional<uint32>;
|
|
8
|
-
max_secs_after_created: Optional<uint64>;
|
|
9
|
-
max_time: Optional<uint64>;
|
|
10
|
-
max_blocks_after_created: Optional<uint32>;
|
|
11
|
-
max_height: Optional<uint32>;
|
|
12
|
-
};
|
|
1
|
+
import { Optional, str, uint32, uint64 } from "../types/_python_types_";
|
|
2
|
+
export declare type Condition = Record<str, any>;
|
|
3
|
+
export declare type ConditionValidTimes = {
|
|
4
|
+
min_secs_since_created: Optional<uint64>;
|
|
5
|
+
min_time: Optional<uint64>;
|
|
6
|
+
min_blocks_since_created: Optional<uint32>;
|
|
7
|
+
min_height: Optional<uint32>;
|
|
8
|
+
max_secs_after_created: Optional<uint64>;
|
|
9
|
+
max_time: Optional<uint64>;
|
|
10
|
+
max_blocks_after_created: Optional<uint32>;
|
|
11
|
+
max_height: Optional<uint32>;
|
|
12
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Optional, uint64 } from "../types/_python_types_";
|
|
2
|
-
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
3
|
-
export declare type LineageProof = {
|
|
4
|
-
parent_name: Optional<bytes32>;
|
|
5
|
-
inner_puzzle_hash: Optional<bytes32>;
|
|
6
|
-
amount: Optional<uint64>;
|
|
7
|
-
};
|
|
1
|
+
import { Optional, uint64 } from "../types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
3
|
+
export declare type LineageProof = {
|
|
4
|
+
parent_name: Optional<bytes32>;
|
|
5
|
+
inner_puzzle_hash: Optional<bytes32>;
|
|
6
|
+
amount: Optional<uint64>;
|
|
7
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { bool, bytes, Optional, str, uint16, uint32, uint64 } from "../../types/_python_types_";
|
|
2
|
-
import { bytes32 } from "../../types/blockchain_format/sized_bytes";
|
|
3
|
-
export declare type NFTInfo = {
|
|
4
|
-
nft_id: str;
|
|
5
|
-
launcher_id: bytes32;
|
|
6
|
-
nft_coin_id: bytes32;
|
|
7
|
-
nft_coin_confirmation_height: uint32;
|
|
8
|
-
owner_did: Optional<bytes32>;
|
|
9
|
-
royalty_percentage: Optional<uint16>;
|
|
10
|
-
royalty_puzzle_hash: Optional<bytes32>;
|
|
11
|
-
data_uris: str[];
|
|
12
|
-
data_hash: bytes;
|
|
13
|
-
metadata_uris: str[];
|
|
14
|
-
metadata_hash: bytes;
|
|
15
|
-
license_uris: str[];
|
|
16
|
-
license_hash: bytes;
|
|
17
|
-
edition_total: uint64;
|
|
18
|
-
edition_number: uint64;
|
|
19
|
-
updater_puzhash: bytes32;
|
|
20
|
-
chain_info: str;
|
|
21
|
-
mint_height: uint32;
|
|
22
|
-
supports_did: bool;
|
|
23
|
-
p2_address: bytes32;
|
|
24
|
-
pending_transaction: bool;
|
|
25
|
-
minter_did: Optional<bytes32>;
|
|
26
|
-
launcher_puzhash: bytes32;
|
|
27
|
-
off_chain_metadata: Optional<str>;
|
|
28
|
-
};
|
|
1
|
+
import { bool, bytes, Optional, str, uint16, uint32, uint64 } from "../../types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../../types/blockchain_format/sized_bytes";
|
|
3
|
+
export declare type NFTInfo = {
|
|
4
|
+
nft_id: str;
|
|
5
|
+
launcher_id: bytes32;
|
|
6
|
+
nft_coin_id: bytes32;
|
|
7
|
+
nft_coin_confirmation_height: uint32;
|
|
8
|
+
owner_did: Optional<bytes32>;
|
|
9
|
+
royalty_percentage: Optional<uint16>;
|
|
10
|
+
royalty_puzzle_hash: Optional<bytes32>;
|
|
11
|
+
data_uris: str[];
|
|
12
|
+
data_hash: bytes;
|
|
13
|
+
metadata_uris: str[];
|
|
14
|
+
metadata_hash: bytes;
|
|
15
|
+
license_uris: str[];
|
|
16
|
+
license_hash: bytes;
|
|
17
|
+
edition_total: uint64;
|
|
18
|
+
edition_number: uint64;
|
|
19
|
+
updater_puzhash: bytes32;
|
|
20
|
+
chain_info: str;
|
|
21
|
+
mint_height: uint32;
|
|
22
|
+
supports_did: bool;
|
|
23
|
+
p2_address: bytes32;
|
|
24
|
+
pending_transaction: bool;
|
|
25
|
+
minter_did: Optional<bytes32>;
|
|
26
|
+
launcher_puzhash: bytes32;
|
|
27
|
+
off_chain_metadata: Optional<str>;
|
|
28
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { str } from "../types/_python_types_";
|
|
2
|
-
export declare type TDriverDictValue = {
|
|
3
|
-
type: str;
|
|
4
|
-
also?: TDriverDict;
|
|
5
|
-
} & Record<str, any>;
|
|
6
|
-
export declare type TDriverDict = Record<str, TDriverDictValue>;
|
|
1
|
+
import { str } from "../types/_python_types_";
|
|
2
|
+
export declare type TDriverDictValue = {
|
|
3
|
+
type: str;
|
|
4
|
+
also?: TDriverDict;
|
|
5
|
+
} & Record<str, any>;
|
|
6
|
+
export declare type TDriverDict = Record<str, TDriverDictValue>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { bool, uint16, uint64 } from "../../../types/_python_types_";
|
|
2
|
-
import { bytes32 } from "../../../types/blockchain_format/sized_bytes";
|
|
3
|
-
export declare type AutoClaimSettings = {
|
|
4
|
-
enabled: bool;
|
|
5
|
-
tx_fee: uint64;
|
|
6
|
-
min_amount: uint64;
|
|
7
|
-
batch_size: uint16;
|
|
8
|
-
};
|
|
9
|
-
export declare type ClawbackMetadata = {
|
|
10
|
-
time_lock: uint64;
|
|
11
|
-
sender_puzzle_hash: bytes32;
|
|
12
|
-
recipient_puzzle_hash: bytes32;
|
|
13
|
-
};
|
|
1
|
+
import { bool, uint16, uint64 } from "../../../types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../../../types/blockchain_format/sized_bytes";
|
|
3
|
+
export declare type AutoClaimSettings = {
|
|
4
|
+
enabled: bool;
|
|
5
|
+
tx_fee: uint64;
|
|
6
|
+
min_amount: uint64;
|
|
7
|
+
batch_size: uint16;
|
|
8
|
+
};
|
|
9
|
+
export declare type ClawbackMetadata = {
|
|
10
|
+
time_lock: uint64;
|
|
11
|
+
sender_puzzle_hash: bytes32;
|
|
12
|
+
recipient_puzzle_hash: bytes32;
|
|
13
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { bool, bytes, int, Optional, str, uint32, uint64, uint8 } from "../types/_python_types_";
|
|
2
|
-
import { Coin } from "../types/blockchain_format/coin";
|
|
3
|
-
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
4
|
-
import { TDriverDict } from "./puzzle_drivers";
|
|
5
|
-
import { ConditionValidTimes } from "./conditions";
|
|
6
|
-
export declare type TradeRecordOld = {
|
|
7
|
-
confirmed_at_index: uint32;
|
|
8
|
-
accepted_at_time: Optional<uint64>;
|
|
9
|
-
created_at_time: uint64;
|
|
10
|
-
is_my_offer: bool;
|
|
11
|
-
sent: uint32;
|
|
12
|
-
offer: bytes;
|
|
13
|
-
taken_offer: Optional<bytes>;
|
|
14
|
-
coins_of_interest: Coin[];
|
|
15
|
-
trade_id: bytes32;
|
|
16
|
-
status: uint32;
|
|
17
|
-
sent_to: Array<[str, uint8, Optional<str>]>;
|
|
18
|
-
};
|
|
19
|
-
export declare type TradeRecord = TradeRecordOld & {
|
|
20
|
-
valid_times: ConditionValidTimes;
|
|
21
|
-
};
|
|
22
|
-
export declare type TradeRecordConvenience = {
|
|
23
|
-
status: str;
|
|
24
|
-
summary: {
|
|
25
|
-
offered: Record<str, int>;
|
|
26
|
-
requested: Record<str, int>;
|
|
27
|
-
infos: TDriverDict;
|
|
28
|
-
fees: int;
|
|
29
|
-
};
|
|
30
|
-
pending: Record<str, int>;
|
|
31
|
-
} & Omit<TradeRecord, "offer">;
|
|
1
|
+
import { bool, bytes, int, Optional, str, uint32, uint64, uint8 } from "../types/_python_types_";
|
|
2
|
+
import { Coin } from "../types/blockchain_format/coin";
|
|
3
|
+
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
4
|
+
import { TDriverDict } from "./puzzle_drivers";
|
|
5
|
+
import { ConditionValidTimes } from "./conditions";
|
|
6
|
+
export declare type TradeRecordOld = {
|
|
7
|
+
confirmed_at_index: uint32;
|
|
8
|
+
accepted_at_time: Optional<uint64>;
|
|
9
|
+
created_at_time: uint64;
|
|
10
|
+
is_my_offer: bool;
|
|
11
|
+
sent: uint32;
|
|
12
|
+
offer: bytes;
|
|
13
|
+
taken_offer: Optional<bytes>;
|
|
14
|
+
coins_of_interest: Coin[];
|
|
15
|
+
trade_id: bytes32;
|
|
16
|
+
status: uint32;
|
|
17
|
+
sent_to: Array<[str, uint8, Optional<str>]>;
|
|
18
|
+
};
|
|
19
|
+
export declare type TradeRecord = TradeRecordOld & {
|
|
20
|
+
valid_times: ConditionValidTimes;
|
|
21
|
+
};
|
|
22
|
+
export declare type TradeRecordConvenience = {
|
|
23
|
+
status: str;
|
|
24
|
+
summary: {
|
|
25
|
+
offered: Record<str, int>;
|
|
26
|
+
requested: Record<str, int>;
|
|
27
|
+
infos: TDriverDict;
|
|
28
|
+
fees: int;
|
|
29
|
+
};
|
|
30
|
+
pending: Record<str, int>;
|
|
31
|
+
} & Omit<TradeRecord, "offer">;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// dependency: TradeRecord, by: `get_trade` of Wallet RPC API
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
// dependency: TradeRecord, by: `get_trade` of Wallet RPC API
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { bool, bytes, Optional, str, uint32, uint64, uint8 } from "../types/_python_types_";
|
|
2
|
-
import { SpendBundle } from "../types/spend_bundle";
|
|
3
|
-
import { Coin } from "../types/blockchain_format/coin";
|
|
4
|
-
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
5
|
-
import { ClawbackMetadata } from "./puzzles/clawback/metadata";
|
|
6
|
-
import { ConditionValidTimes } from "./conditions";
|
|
7
|
-
export declare type TransactionRecordOld = {
|
|
8
|
-
confirmed_at_height: uint32;
|
|
9
|
-
created_at_time: uint64;
|
|
10
|
-
to_puzzle_hash: bytes32;
|
|
11
|
-
amount: uint64;
|
|
12
|
-
fee_amount: uint64;
|
|
13
|
-
confirmed: bool;
|
|
14
|
-
sent: uint32;
|
|
15
|
-
spend_bundle: Optional<SpendBundle>;
|
|
16
|
-
additions: Coin[];
|
|
17
|
-
removals: Coin[];
|
|
18
|
-
wallet_id: uint32;
|
|
19
|
-
sent_to: Array<[string, uint8, string | undefined]>;
|
|
20
|
-
trade_id: Optional<bytes32>;
|
|
21
|
-
type: uint32;
|
|
22
|
-
name: bytes32;
|
|
23
|
-
memos: Array<[bytes32, bytes[]]>;
|
|
24
|
-
};
|
|
25
|
-
export declare type TransactionRecord = TransactionRecordOld & {
|
|
26
|
-
valid_times: ConditionValidTimes;
|
|
27
|
-
};
|
|
28
|
-
export declare type TransactionRecordConvenience = {
|
|
29
|
-
to_address: str;
|
|
30
|
-
memos: Record<str, str>;
|
|
31
|
-
} & TransactionRecord;
|
|
32
|
-
export declare type TransactionRecordConvenienceWithMetadata = {
|
|
33
|
-
metadata: ClawbackMetadata & {
|
|
34
|
-
coin_id: str;
|
|
35
|
-
spent: bool;
|
|
36
|
-
};
|
|
37
|
-
} & TransactionRecordConvenience;
|
|
1
|
+
import { bool, bytes, Optional, str, uint32, uint64, uint8 } from "../types/_python_types_";
|
|
2
|
+
import { SpendBundle } from "../types/spend_bundle";
|
|
3
|
+
import { Coin } from "../types/blockchain_format/coin";
|
|
4
|
+
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
5
|
+
import { ClawbackMetadata } from "./puzzles/clawback/metadata";
|
|
6
|
+
import { ConditionValidTimes } from "./conditions";
|
|
7
|
+
export declare type TransactionRecordOld = {
|
|
8
|
+
confirmed_at_height: uint32;
|
|
9
|
+
created_at_time: uint64;
|
|
10
|
+
to_puzzle_hash: bytes32;
|
|
11
|
+
amount: uint64;
|
|
12
|
+
fee_amount: uint64;
|
|
13
|
+
confirmed: bool;
|
|
14
|
+
sent: uint32;
|
|
15
|
+
spend_bundle: Optional<SpendBundle>;
|
|
16
|
+
additions: Coin[];
|
|
17
|
+
removals: Coin[];
|
|
18
|
+
wallet_id: uint32;
|
|
19
|
+
sent_to: Array<[string, uint8, string | undefined]>;
|
|
20
|
+
trade_id: Optional<bytes32>;
|
|
21
|
+
type: uint32;
|
|
22
|
+
name: bytes32;
|
|
23
|
+
memos: Array<[bytes32, bytes[]]>;
|
|
24
|
+
};
|
|
25
|
+
export declare type TransactionRecord = TransactionRecordOld & {
|
|
26
|
+
valid_times: ConditionValidTimes;
|
|
27
|
+
};
|
|
28
|
+
export declare type TransactionRecordConvenience = {
|
|
29
|
+
to_address: str;
|
|
30
|
+
memos: Record<str, str>;
|
|
31
|
+
} & TransactionRecord;
|
|
32
|
+
export declare type TransactionRecordConvenienceWithMetadata = {
|
|
33
|
+
metadata: ClawbackMetadata & {
|
|
34
|
+
coin_id: str;
|
|
35
|
+
spent: bool;
|
|
36
|
+
};
|
|
37
|
+
} & TransactionRecordConvenience;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { uint32, uint64, uint8 } from "../../types/_python_types_";
|
|
2
|
-
import { bytes32 } from "../../types/blockchain_format/sized_bytes";
|
|
3
|
-
export declare type TransactionTypeFilter = {
|
|
4
|
-
values: uint8[];
|
|
5
|
-
mode: uint8;
|
|
6
|
-
};
|
|
7
|
-
export declare type HashFilter = {
|
|
8
|
-
values: bytes32[];
|
|
9
|
-
mode: uint8;
|
|
10
|
-
};
|
|
11
|
-
export declare type AmountFilter = {
|
|
12
|
-
values: uint64[];
|
|
13
|
-
mode: uint8;
|
|
14
|
-
};
|
|
15
|
-
export declare type UInt32Range = {
|
|
16
|
-
start: uint32;
|
|
17
|
-
stop: uint32;
|
|
18
|
-
};
|
|
19
|
-
export declare type UInt64Range = {
|
|
20
|
-
start: uint64;
|
|
21
|
-
stop: uint64;
|
|
22
|
-
};
|
|
1
|
+
import { uint32, uint64, uint8 } from "../../types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../../types/blockchain_format/sized_bytes";
|
|
3
|
+
export declare type TransactionTypeFilter = {
|
|
4
|
+
values: uint8[];
|
|
5
|
+
mode: uint8;
|
|
6
|
+
};
|
|
7
|
+
export declare type HashFilter = {
|
|
8
|
+
values: bytes32[];
|
|
9
|
+
mode: uint8;
|
|
10
|
+
};
|
|
11
|
+
export declare type AmountFilter = {
|
|
12
|
+
values: uint64[];
|
|
13
|
+
mode: uint8;
|
|
14
|
+
};
|
|
15
|
+
export declare type UInt32Range = {
|
|
16
|
+
start: uint32;
|
|
17
|
+
stop: uint32;
|
|
18
|
+
};
|
|
19
|
+
export declare type UInt64Range = {
|
|
20
|
+
start: uint64;
|
|
21
|
+
stop: uint64;
|
|
22
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { bool, int, Optional, str, uint64 } from "../../types/_python_types_";
|
|
2
|
-
import { bytes32 } from "../../types/blockchain_format/sized_bytes";
|
|
3
|
-
import { Condition } from "../conditions";
|
|
4
|
-
export declare type CoinSelectionConfigLoader = {
|
|
5
|
-
min_coin_amount?: Optional<uint64>;
|
|
6
|
-
max_coin_amount?: Optional<uint64>;
|
|
7
|
-
excluded_coin_amounts?: Optional<uint64[]>;
|
|
8
|
-
excluded_coin_ids?: Optional<bytes32[]>;
|
|
9
|
-
};
|
|
10
|
-
export declare type TxEndpointForCompat = {
|
|
11
|
-
exclude_coin_ids?: Optional<bytes32[]>;
|
|
12
|
-
exclude_coin_amounts?: Optional<uint64[]>;
|
|
13
|
-
exclude_coins?: Optional<bytes32[]>;
|
|
14
|
-
excluded_coins?: Optional<bytes32[]>;
|
|
15
|
-
};
|
|
16
|
-
export declare type TxConfigLoader = CoinSelectionConfigLoader & {
|
|
17
|
-
reuse_puzhash?: Optional<bool>;
|
|
18
|
-
};
|
|
19
|
-
export declare type TxEndpoint = TxConfigLoader & TxEndpointForCompat & {
|
|
20
|
-
extra_conditions?: Array<{
|
|
21
|
-
opcode: str | int;
|
|
22
|
-
args: Condition;
|
|
23
|
-
}>;
|
|
24
|
-
};
|
|
1
|
+
import { bool, int, Optional, str, uint64 } from "../../types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../../types/blockchain_format/sized_bytes";
|
|
3
|
+
import { Condition } from "../conditions";
|
|
4
|
+
export declare type CoinSelectionConfigLoader = {
|
|
5
|
+
min_coin_amount?: Optional<uint64>;
|
|
6
|
+
max_coin_amount?: Optional<uint64>;
|
|
7
|
+
excluded_coin_amounts?: Optional<uint64[]>;
|
|
8
|
+
excluded_coin_ids?: Optional<bytes32[]>;
|
|
9
|
+
};
|
|
10
|
+
export declare type TxEndpointForCompat = {
|
|
11
|
+
exclude_coin_ids?: Optional<bytes32[]>;
|
|
12
|
+
exclude_coin_amounts?: Optional<uint64[]>;
|
|
13
|
+
exclude_coins?: Optional<bytes32[]>;
|
|
14
|
+
excluded_coins?: Optional<bytes32[]>;
|
|
15
|
+
};
|
|
16
|
+
export declare type TxConfigLoader = CoinSelectionConfigLoader & {
|
|
17
|
+
reuse_puzhash?: Optional<bool>;
|
|
18
|
+
};
|
|
19
|
+
export declare type TxEndpoint = TxConfigLoader & TxEndpointForCompat & {
|
|
20
|
+
extra_conditions?: Array<{
|
|
21
|
+
opcode: str | int;
|
|
22
|
+
args: Condition;
|
|
23
|
+
}>;
|
|
24
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { uint32, uint8 } from "../../types/_python_types_";
|
|
2
|
-
export declare const WalletType: {
|
|
3
|
-
readonly STANDARD_WALLET: 0;
|
|
4
|
-
readonly ATOMIC_SWAP: 2;
|
|
5
|
-
readonly AUTHORIZED_PAYEE: 3;
|
|
6
|
-
readonly MULTI_SIG: 4;
|
|
7
|
-
readonly CUSTODY: 5;
|
|
8
|
-
readonly CAT: 6;
|
|
9
|
-
readonly RECOVERABLE: 7;
|
|
10
|
-
readonly DECENTRALIZED_ID: 8;
|
|
11
|
-
readonly POOLING_WALLET: 9;
|
|
12
|
-
readonly NFT: 10;
|
|
13
|
-
readonly DATA_LAYER: 11;
|
|
14
|
-
readonly DATA_LAYER_OFFER: 12;
|
|
15
|
-
readonly VC: 13;
|
|
16
|
-
readonly CRCAT: 57;
|
|
17
|
-
};
|
|
18
|
-
export declare const CoinType: {
|
|
19
|
-
readonly NORMAL: 0;
|
|
20
|
-
readonly CLAWBACK: 1;
|
|
21
|
-
readonly CRCAT_PENDING: 2;
|
|
22
|
-
readonly CRCAT: 3;
|
|
23
|
-
};
|
|
24
|
-
export declare type StreamableWalletIdentifier = {
|
|
25
|
-
id: uint32;
|
|
26
|
-
type: uint8;
|
|
27
|
-
};
|
|
1
|
+
import { uint32, uint8 } from "../../types/_python_types_";
|
|
2
|
+
export declare const WalletType: {
|
|
3
|
+
readonly STANDARD_WALLET: 0;
|
|
4
|
+
readonly ATOMIC_SWAP: 2;
|
|
5
|
+
readonly AUTHORIZED_PAYEE: 3;
|
|
6
|
+
readonly MULTI_SIG: 4;
|
|
7
|
+
readonly CUSTODY: 5;
|
|
8
|
+
readonly CAT: 6;
|
|
9
|
+
readonly RECOVERABLE: 7;
|
|
10
|
+
readonly DECENTRALIZED_ID: 8;
|
|
11
|
+
readonly POOLING_WALLET: 9;
|
|
12
|
+
readonly NFT: 10;
|
|
13
|
+
readonly DATA_LAYER: 11;
|
|
14
|
+
readonly DATA_LAYER_OFFER: 12;
|
|
15
|
+
readonly VC: 13;
|
|
16
|
+
readonly CRCAT: 57;
|
|
17
|
+
};
|
|
18
|
+
export declare const CoinType: {
|
|
19
|
+
readonly NORMAL: 0;
|
|
20
|
+
readonly CLAWBACK: 1;
|
|
21
|
+
readonly CRCAT_PENDING: 2;
|
|
22
|
+
readonly CRCAT: 3;
|
|
23
|
+
};
|
|
24
|
+
export declare type StreamableWalletIdentifier = {
|
|
25
|
+
id: uint32;
|
|
26
|
+
type: uint8;
|
|
27
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CoinType = exports.WalletType = void 0;
|
|
4
|
-
exports.WalletType = {
|
|
5
|
-
// # Wallet Types
|
|
6
|
-
STANDARD_WALLET: 0,
|
|
7
|
-
// RATE_LIMITED: 1, // Deprecated at chia-blockchain@1.6.1
|
|
8
|
-
ATOMIC_SWAP: 2,
|
|
9
|
-
AUTHORIZED_PAYEE: 3,
|
|
10
|
-
MULTI_SIG: 4,
|
|
11
|
-
CUSTODY: 5,
|
|
12
|
-
CAT: 6,
|
|
13
|
-
RECOVERABLE: 7,
|
|
14
|
-
DECENTRALIZED_ID: 8,
|
|
15
|
-
POOLING_WALLET: 9,
|
|
16
|
-
NFT: 10,
|
|
17
|
-
DATA_LAYER: 11,
|
|
18
|
-
DATA_LAYER_OFFER: 12,
|
|
19
|
-
VC: 13,
|
|
20
|
-
CRCAT: 57,
|
|
21
|
-
};
|
|
22
|
-
exports.CoinType = {
|
|
23
|
-
NORMAL: 0,
|
|
24
|
-
CLAWBACK: 1,
|
|
25
|
-
CRCAT_PENDING: 2,
|
|
26
|
-
CRCAT: 3,
|
|
27
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoinType = exports.WalletType = void 0;
|
|
4
|
+
exports.WalletType = {
|
|
5
|
+
// # Wallet Types
|
|
6
|
+
STANDARD_WALLET: 0,
|
|
7
|
+
// RATE_LIMITED: 1, // Deprecated at chia-blockchain@1.6.1
|
|
8
|
+
ATOMIC_SWAP: 2,
|
|
9
|
+
AUTHORIZED_PAYEE: 3,
|
|
10
|
+
MULTI_SIG: 4,
|
|
11
|
+
CUSTODY: 5,
|
|
12
|
+
CAT: 6,
|
|
13
|
+
RECOVERABLE: 7,
|
|
14
|
+
DECENTRALIZED_ID: 8,
|
|
15
|
+
POOLING_WALLET: 9,
|
|
16
|
+
NFT: 10,
|
|
17
|
+
DATA_LAYER: 11,
|
|
18
|
+
DATA_LAYER_OFFER: 12,
|
|
19
|
+
VC: 13,
|
|
20
|
+
CRCAT: 57,
|
|
21
|
+
};
|
|
22
|
+
exports.CoinType = {
|
|
23
|
+
NORMAL: 0,
|
|
24
|
+
CLAWBACK: 1,
|
|
25
|
+
CRCAT_PENDING: 2,
|
|
26
|
+
CRCAT: 3,
|
|
27
|
+
};
|