@airgap/coinlib-core 0.13.8-beta.8 → 0.13.8
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/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.d.ts +230 -0
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.js +471 -0
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.js.map +1 -0
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.d.ts +76 -0
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.js +455 -0
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.js.map +1 -0
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.d.ts +27 -0
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.js +848 -0
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.js.map +1 -0
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.d.ts +22 -0
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.js +14 -0
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.js.map +1 -0
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.d.ts +29 -0
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.js +63 -0
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.d.ts +36 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.js +87 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.d.ts +8 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.js +33 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.d.ts +11 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.js +5 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.d.ts +8 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.js +43 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.d.ts +8 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.js +37 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.js.map +1 -0
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.d.ts +73 -0
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.js +552 -0
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.js.map +1 -0
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.d.ts +73 -0
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.js +552 -0
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.js.map +1 -0
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.d.ts +18 -0
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.js +29 -0
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/codec.d.ts +22 -4
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/codec.js +104 -13
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/codec.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/constants.d.ts +17 -1
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/constants.js +44 -6
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/constants.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/decoder.d.ts +1 -1
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/decoder.js +30 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/decoder.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/encoder.d.ts +0 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/encoder.js +28 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/encoder.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.d.ts +89 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.js +169 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1/packages/taquito/src/forger → local-forging-15.0.1/packages/taquito-local-forging/src}/interface.d.ts +1 -1
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1/packages/taquito/src/forger → local-forging-15.0.1/packages/taquito-local-forging/src}/interface.js +0 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/interface.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/michelson/codec.d.ts +6 -5
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/michelson/codec.js +62 -19
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/michelson/codec.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.d.ts +15 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.js +80 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.d.ts +12 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.js +184 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.d.ts +5 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.js +81 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.d.ts +4 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.js +76 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.d.ts +14 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.js +150 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.d.ts +17 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.js +41 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.d.ts +150 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.js +217 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.d.ts +26 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.js +115 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/uint8array-consumer.d.ts +0 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/uint8array-consumer.js +2 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/uint8array-consumer.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/utils.d.ts +0 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/utils.js +0 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/utils.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.d.ts +13 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.js +52 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.d.ts +4 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.js +9 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.d.ts +34 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.js +39 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.d.ts +1590 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js +35 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js.map +1 -0
- package/dependencies/src/@taquito/{utils-8.0.1-beta.1 → utils-15.0.1}/packages/taquito-utils/src/constants.d.ts +27 -3
- package/dependencies/src/@taquito/{utils-8.0.1-beta.1 → utils-15.0.1}/packages/taquito-utils/src/constants.js +40 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.d.ts +145 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.js +270 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.d.ts +4 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.js +33 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.d.ts +163 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.js +438 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.js.map +1 -0
- package/dependencies/src/@taquito/{utils-8.0.1-beta.1 → utils-15.0.1}/packages/taquito-utils/src/validators.d.ts +63 -9
- package/dependencies/src/@taquito/{utils-8.0.1-beta.1 → utils-15.0.1}/packages/taquito-utils/src/validators.js +85 -8
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/validators.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.d.ts +24 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.js +126 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.d.ts +4 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.js +9 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.js.map +1 -0
- package/dependencies/src/typedarray-to-buffer-4.0.0/index.js +17 -0
- package/package.json +2 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito/src/forger/interface.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/codec.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/constants.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/decoder.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/encoder.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/michelson/codec.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/schema/operation.d.ts +0 -86
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/schema/operation.js +0 -149
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/schema/operation.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/taquito-local-forging.d.ts +0 -16
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/taquito-local-forging.js +0 -51
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/taquito-local-forging.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/uint8array-consumer.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/utils.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/opkind.d.ts +0 -13
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/opkind.js +0 -18
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/opkind.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.d.ts +0 -598
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.js +0 -3
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.js.map +0 -1
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/constants.js.map +0 -1
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/taquito-utils.d.ts +0 -83
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/taquito-utils.js +0 -245
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/taquito-utils.js.map +0 -1
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/validators.js.map +0 -1
package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.d.ts
DELETED
|
@@ -1,598 +0,0 @@
|
|
|
1
|
-
import BigNumber from '../../../../../bignumber.js-9.0.0/bignumber';
|
|
2
|
-
import { OpKind } from './opkind';
|
|
3
|
-
export declare type BalanceResponse = BigNumber;
|
|
4
|
-
export declare type StorageResponse = ScriptedContracts['storage'];
|
|
5
|
-
export declare type ScriptResponse = ScriptedContracts;
|
|
6
|
-
export declare type BigMapGetResponse = MichelsonV1Expression;
|
|
7
|
-
export declare type ManagerResponse = {
|
|
8
|
-
manager: string;
|
|
9
|
-
};
|
|
10
|
-
export declare type ManagerKeyResponse = string | {
|
|
11
|
-
key: string;
|
|
12
|
-
};
|
|
13
|
-
export declare type DelegateResponse = string | null;
|
|
14
|
-
export declare type OperationHash = string;
|
|
15
|
-
export interface DelegatesResponse {
|
|
16
|
-
balance: BigNumber;
|
|
17
|
-
frozen_balance: BigNumber;
|
|
18
|
-
frozen_balance_by_cycle: Frozenbalancebycycle[];
|
|
19
|
-
staking_balance: BigNumber;
|
|
20
|
-
delegated_contracts: string[];
|
|
21
|
-
delegated_balance: BigNumber;
|
|
22
|
-
deactivated: boolean;
|
|
23
|
-
grace_period: number;
|
|
24
|
-
}
|
|
25
|
-
interface Frozenbalancebycycle {
|
|
26
|
-
cycle: number;
|
|
27
|
-
deposit: BigNumber;
|
|
28
|
-
fees: BigNumber;
|
|
29
|
-
rewards: BigNumber;
|
|
30
|
-
}
|
|
31
|
-
export declare type BigMapKey = {
|
|
32
|
-
key: {
|
|
33
|
-
[key: string]: string;
|
|
34
|
-
};
|
|
35
|
-
type: {
|
|
36
|
-
prim: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export interface BlockFullHeader {
|
|
40
|
-
level: number;
|
|
41
|
-
proto: number;
|
|
42
|
-
predecessor: string;
|
|
43
|
-
timestamp: TimeStampMixed;
|
|
44
|
-
validation_pass: number;
|
|
45
|
-
operations_hash: string;
|
|
46
|
-
fitness: string[];
|
|
47
|
-
context: string;
|
|
48
|
-
priority: number;
|
|
49
|
-
proof_of_work_nonce: string;
|
|
50
|
-
seed_nonce_hash?: string;
|
|
51
|
-
signature: string;
|
|
52
|
-
}
|
|
53
|
-
export declare type InlinedEndorsementKindEnum = OpKind.ENDORSEMENT;
|
|
54
|
-
export interface InlinedEndorsementContents {
|
|
55
|
-
kind: InlinedEndorsementKindEnum;
|
|
56
|
-
level: number;
|
|
57
|
-
}
|
|
58
|
-
export interface InlinedEndorsement {
|
|
59
|
-
branch: string;
|
|
60
|
-
operations: InlinedEndorsementContents;
|
|
61
|
-
signature?: string;
|
|
62
|
-
}
|
|
63
|
-
export declare type OperationContentsBallotEnum = 'nay' | 'yay' | 'pass';
|
|
64
|
-
export interface OperationContentsEndorsement {
|
|
65
|
-
kind: OpKind.ENDORSEMENT;
|
|
66
|
-
level: number;
|
|
67
|
-
}
|
|
68
|
-
export interface OperationContentsRevelation {
|
|
69
|
-
kind: OpKind.SEED_NONCE_REVELATION;
|
|
70
|
-
level: number;
|
|
71
|
-
nonce: string;
|
|
72
|
-
}
|
|
73
|
-
export interface OperationContentsDoubleEndorsement {
|
|
74
|
-
kind: OpKind.DOUBLE_ENDORSEMENT_EVIDENCE;
|
|
75
|
-
op1: InlinedEndorsement;
|
|
76
|
-
op2: InlinedEndorsement;
|
|
77
|
-
}
|
|
78
|
-
export interface OperationContentsDoubleBaking {
|
|
79
|
-
kind: OpKind.DOUBLE_BAKING_EVIDENCE;
|
|
80
|
-
bh1: BlockFullHeader;
|
|
81
|
-
bh2: BlockFullHeader;
|
|
82
|
-
}
|
|
83
|
-
export interface OperationContentsActivateAccount {
|
|
84
|
-
kind: OpKind.ACTIVATION;
|
|
85
|
-
pkh: string;
|
|
86
|
-
secret: string;
|
|
87
|
-
}
|
|
88
|
-
export interface OperationContentsProposals {
|
|
89
|
-
kind: OpKind.PROPOSALS;
|
|
90
|
-
source: string;
|
|
91
|
-
period: number;
|
|
92
|
-
proposals: string[];
|
|
93
|
-
}
|
|
94
|
-
export interface OperationContentsBallot {
|
|
95
|
-
kind: OpKind.BALLOT;
|
|
96
|
-
source: string;
|
|
97
|
-
period: number;
|
|
98
|
-
proposal: string;
|
|
99
|
-
ballot: OperationContentsBallotEnum;
|
|
100
|
-
}
|
|
101
|
-
export interface OperationContentsReveal {
|
|
102
|
-
kind: OpKind.REVEAL;
|
|
103
|
-
source: string;
|
|
104
|
-
fee: string;
|
|
105
|
-
counter: string;
|
|
106
|
-
gas_limit: string;
|
|
107
|
-
storage_limit: string;
|
|
108
|
-
public_key: string;
|
|
109
|
-
}
|
|
110
|
-
export interface OperationContentsTransaction {
|
|
111
|
-
kind: OpKind.TRANSACTION;
|
|
112
|
-
source: string;
|
|
113
|
-
fee: string;
|
|
114
|
-
counter: string;
|
|
115
|
-
gas_limit: string;
|
|
116
|
-
storage_limit: string;
|
|
117
|
-
amount: string;
|
|
118
|
-
destination: string;
|
|
119
|
-
parameters?: TransactionOperationParameter;
|
|
120
|
-
}
|
|
121
|
-
export interface OperationContentsOrigination {
|
|
122
|
-
kind: OpKind.ORIGINATION;
|
|
123
|
-
source: string;
|
|
124
|
-
fee: string;
|
|
125
|
-
counter: string;
|
|
126
|
-
gas_limit: string;
|
|
127
|
-
storage_limit: string;
|
|
128
|
-
balance: string;
|
|
129
|
-
delegate?: string;
|
|
130
|
-
script?: ScriptedContracts;
|
|
131
|
-
}
|
|
132
|
-
export interface OperationContentsDelegation {
|
|
133
|
-
kind: OpKind.DELEGATION;
|
|
134
|
-
source: string;
|
|
135
|
-
fee: string;
|
|
136
|
-
counter: string;
|
|
137
|
-
gas_limit: string;
|
|
138
|
-
storage_limit: string;
|
|
139
|
-
delegate?: string;
|
|
140
|
-
}
|
|
141
|
-
export declare type OperationContents = OperationContentsEndorsement | OperationContentsRevelation | OperationContentsDoubleEndorsement | OperationContentsDoubleBaking | OperationContentsActivateAccount | OperationContentsProposals | OperationContentsBallot | OperationContentsReveal | OperationContentsTransaction | OperationContentsOrigination | OperationContentsDelegation;
|
|
142
|
-
export interface OperationContentsAndResultMetadataExtended {
|
|
143
|
-
balance_updates: OperationMetadataBalanceUpdates[];
|
|
144
|
-
delegate: string;
|
|
145
|
-
slots: number[];
|
|
146
|
-
}
|
|
147
|
-
export interface OperationContentsAndResultMetadataReveal {
|
|
148
|
-
balance_updates: OperationMetadataBalanceUpdates[];
|
|
149
|
-
operation_result: OperationResultReveal;
|
|
150
|
-
internal_operation_results?: InternalOperationResult[];
|
|
151
|
-
}
|
|
152
|
-
export interface OperationContentsAndResultMetadataTransaction {
|
|
153
|
-
balance_updates: OperationMetadataBalanceUpdates[];
|
|
154
|
-
operation_result: OperationResultTransaction;
|
|
155
|
-
internal_operation_results?: InternalOperationResult[];
|
|
156
|
-
}
|
|
157
|
-
export interface OperationContentsAndResultMetadataDelegation {
|
|
158
|
-
balance_updates: OperationMetadataBalanceUpdates[];
|
|
159
|
-
operation_result: OperationResultDelegation;
|
|
160
|
-
internal_operation_results?: InternalOperationResult[];
|
|
161
|
-
}
|
|
162
|
-
export interface OperationContentsAndResultMetadata {
|
|
163
|
-
balance_updates: OperationMetadataBalanceUpdates[];
|
|
164
|
-
}
|
|
165
|
-
export interface OperationContentsAndResultEndorsement {
|
|
166
|
-
kind: OpKind.ENDORSEMENT;
|
|
167
|
-
level: number;
|
|
168
|
-
metadata: OperationContentsAndResultMetadataExtended;
|
|
169
|
-
}
|
|
170
|
-
export interface OperationContentsAndResultRevelation {
|
|
171
|
-
kind: OpKind.SEED_NONCE_REVELATION;
|
|
172
|
-
level: number;
|
|
173
|
-
nonce: string;
|
|
174
|
-
metadata: OperationContentsAndResultMetadata;
|
|
175
|
-
}
|
|
176
|
-
export interface OperationContentsAndResultDoubleEndorsement {
|
|
177
|
-
kind: OpKind.DOUBLE_ENDORSEMENT_EVIDENCE;
|
|
178
|
-
op1: InlinedEndorsement;
|
|
179
|
-
op2: InlinedEndorsement;
|
|
180
|
-
metadata: OperationContentsAndResultMetadata;
|
|
181
|
-
}
|
|
182
|
-
export interface OperationContentsAndResultDoubleBaking {
|
|
183
|
-
kind: OpKind.DOUBLE_BAKING_EVIDENCE;
|
|
184
|
-
bh1: BlockFullHeader;
|
|
185
|
-
bh2: BlockFullHeader;
|
|
186
|
-
metadata: OperationContentsAndResultMetadata;
|
|
187
|
-
}
|
|
188
|
-
export interface OperationContentsAndResultActivateAccount {
|
|
189
|
-
kind: OpKind.ACTIVATION;
|
|
190
|
-
pkh: string;
|
|
191
|
-
secret: string;
|
|
192
|
-
metadata: OperationContentsAndResultMetadata;
|
|
193
|
-
}
|
|
194
|
-
export interface OperationContentsAndResultProposals {
|
|
195
|
-
kind: OpKind.PROPOSALS;
|
|
196
|
-
source: string;
|
|
197
|
-
period: number;
|
|
198
|
-
proposals: string[];
|
|
199
|
-
}
|
|
200
|
-
export interface OperationContentsAndResultBallot {
|
|
201
|
-
kind: OpKind.BALLOT;
|
|
202
|
-
source: string;
|
|
203
|
-
period: number;
|
|
204
|
-
proposal: string;
|
|
205
|
-
ballot: OperationContentsBallotEnum;
|
|
206
|
-
}
|
|
207
|
-
export interface OperationContentsAndResultReveal {
|
|
208
|
-
kind: OpKind.REVEAL;
|
|
209
|
-
source: string;
|
|
210
|
-
fee: string;
|
|
211
|
-
counter: string;
|
|
212
|
-
gas_limit: string;
|
|
213
|
-
storage_limit: string;
|
|
214
|
-
public_key: string;
|
|
215
|
-
metadata: OperationContentsAndResultMetadataReveal;
|
|
216
|
-
}
|
|
217
|
-
export interface OperationContentsAndResultTransaction {
|
|
218
|
-
kind: OpKind.TRANSACTION;
|
|
219
|
-
source: string;
|
|
220
|
-
fee: string;
|
|
221
|
-
counter: string;
|
|
222
|
-
gas_limit: string;
|
|
223
|
-
storage_limit: string;
|
|
224
|
-
amount: string;
|
|
225
|
-
destination: string;
|
|
226
|
-
parameters?: TransactionOperationParameter;
|
|
227
|
-
metadata: OperationContentsAndResultMetadataTransaction;
|
|
228
|
-
}
|
|
229
|
-
export interface OperationContentsAndResultDelegation {
|
|
230
|
-
kind: OpKind.DELEGATION;
|
|
231
|
-
source: string;
|
|
232
|
-
fee: string;
|
|
233
|
-
counter: string;
|
|
234
|
-
gas_limit: string;
|
|
235
|
-
storage_limit: string;
|
|
236
|
-
delegate?: string;
|
|
237
|
-
metadata: OperationContentsAndResultMetadataDelegation;
|
|
238
|
-
}
|
|
239
|
-
export declare type OperationContentsAndResult = OperationContentsAndResultEndorsement | OperationContentsAndResultRevelation | OperationContentsAndResultDoubleEndorsement | OperationContentsAndResultDoubleBaking | OperationContentsAndResultActivateAccount | OperationContentsAndResultProposals | OperationContentsAndResultBallot | OperationContentsAndResultReveal | OperationContentsAndResultTransaction | OperationContentsAndResultOrigination | OperationContentsAndResultDelegation;
|
|
240
|
-
export interface OperationEntry {
|
|
241
|
-
protocol: string;
|
|
242
|
-
chain_id: string;
|
|
243
|
-
hash: string;
|
|
244
|
-
branch: string;
|
|
245
|
-
contents: (OperationContents | OperationContentsAndResult)[];
|
|
246
|
-
signature?: string;
|
|
247
|
-
}
|
|
248
|
-
export interface BlockResponse {
|
|
249
|
-
protocol: string;
|
|
250
|
-
chain_id: string;
|
|
251
|
-
hash: string;
|
|
252
|
-
header: BlockFullHeader;
|
|
253
|
-
metadata: BlockMetadata;
|
|
254
|
-
operations: OperationEntry[][];
|
|
255
|
-
}
|
|
256
|
-
export declare type BakingRightsArgumentsDelegate = string | string[];
|
|
257
|
-
export declare type BakingRightsArgumentsCycle = number | number[];
|
|
258
|
-
export declare type BakingRightsArgumentsLevel = number | number[];
|
|
259
|
-
export interface BakingRightsQueryArguments {
|
|
260
|
-
level?: BakingRightsArgumentsLevel;
|
|
261
|
-
cycle?: BakingRightsArgumentsCycle;
|
|
262
|
-
delegate?: BakingRightsArgumentsDelegate;
|
|
263
|
-
max_priority?: number;
|
|
264
|
-
all?: null;
|
|
265
|
-
}
|
|
266
|
-
export interface BakingRightsResponseItem {
|
|
267
|
-
level: number;
|
|
268
|
-
delegate: string;
|
|
269
|
-
priority: number;
|
|
270
|
-
estimated_time?: Date;
|
|
271
|
-
}
|
|
272
|
-
export declare type BakingRightsResponse = BakingRightsResponseItem[];
|
|
273
|
-
export declare type EndorsingRightsArgumentsDelegate = string | string[];
|
|
274
|
-
export declare type EndorsingRightsArgumentsCycle = number | number[];
|
|
275
|
-
export declare type EndorsingRightsArgumentsLevel = number | number[];
|
|
276
|
-
export interface EndorsingRightsQueryArguments {
|
|
277
|
-
level?: EndorsingRightsArgumentsLevel;
|
|
278
|
-
cycle?: EndorsingRightsArgumentsCycle;
|
|
279
|
-
delegate?: EndorsingRightsArgumentsDelegate;
|
|
280
|
-
}
|
|
281
|
-
export interface EndorsingRightsResponseItem {
|
|
282
|
-
level: number;
|
|
283
|
-
delegate: string;
|
|
284
|
-
slots: number[];
|
|
285
|
-
estimated_time?: Date;
|
|
286
|
-
}
|
|
287
|
-
export declare type EndorsingRightsResponse = EndorsingRightsResponseItem[];
|
|
288
|
-
export declare type BallotListResponseEnum = 'nay' | 'yay' | 'pass';
|
|
289
|
-
export interface BallotListResponseItem {
|
|
290
|
-
pkh: string;
|
|
291
|
-
ballot: BallotListResponseEnum;
|
|
292
|
-
}
|
|
293
|
-
export declare type BallotListResponse = BallotListResponseItem[];
|
|
294
|
-
export interface BallotsResponse {
|
|
295
|
-
yay: number;
|
|
296
|
-
nay: number;
|
|
297
|
-
pass: number;
|
|
298
|
-
}
|
|
299
|
-
export declare type PeriodKindResponse = 'proposal' | 'testing_vote' | 'testing' | 'promotion_vote';
|
|
300
|
-
export declare type CurrentProposalResponse = string | null;
|
|
301
|
-
export declare type CurrentQuorumResponse = number;
|
|
302
|
-
export interface VotesListingsResponseItem {
|
|
303
|
-
pkh: string;
|
|
304
|
-
rolls: number;
|
|
305
|
-
}
|
|
306
|
-
export declare type VotesListingsResponse = VotesListingsResponseItem[];
|
|
307
|
-
export declare type ProposalsResponseItem = [string, number];
|
|
308
|
-
export declare type ProposalsResponse = ProposalsResponseItem[];
|
|
309
|
-
export interface RawBlockHeaderResponse {
|
|
310
|
-
protocol: string;
|
|
311
|
-
chain_id: string;
|
|
312
|
-
hash: string;
|
|
313
|
-
level: number;
|
|
314
|
-
proto: number;
|
|
315
|
-
predecessor: string;
|
|
316
|
-
timestamp: string;
|
|
317
|
-
validation_pass: number;
|
|
318
|
-
operations_hash: string;
|
|
319
|
-
fitness: string[];
|
|
320
|
-
context: string;
|
|
321
|
-
priority: number;
|
|
322
|
-
proof_of_work_nonce: string;
|
|
323
|
-
signature: string;
|
|
324
|
-
}
|
|
325
|
-
export interface BlockHeaderResponse {
|
|
326
|
-
protocol: string;
|
|
327
|
-
chain_id: string;
|
|
328
|
-
hash: string;
|
|
329
|
-
level: number;
|
|
330
|
-
proto: number;
|
|
331
|
-
predecessor: string;
|
|
332
|
-
timestamp: string;
|
|
333
|
-
validation_pass: number;
|
|
334
|
-
operations_hash: string;
|
|
335
|
-
fitness: string[];
|
|
336
|
-
context: string;
|
|
337
|
-
priority: number;
|
|
338
|
-
proof_of_work_nonce: string;
|
|
339
|
-
signature: string;
|
|
340
|
-
}
|
|
341
|
-
export interface PackDataParams {
|
|
342
|
-
data: MichelsonV1Expression;
|
|
343
|
-
type: MichelsonV1Expression;
|
|
344
|
-
gas?: BigNumber;
|
|
345
|
-
}
|
|
346
|
-
export declare type HexString = string;
|
|
347
|
-
export interface PackDataResponse {
|
|
348
|
-
packed: HexString;
|
|
349
|
-
gas?: BigNumber | 'unaccounted';
|
|
350
|
-
}
|
|
351
|
-
export declare type BigMapResponse = MichelsonV1Expression | MichelsonV1Expression[];
|
|
352
|
-
export declare type PreapplyParams = OperationObject[];
|
|
353
|
-
export declare type PreapplyResponse = {
|
|
354
|
-
contents: OperationContentsAndResult[];
|
|
355
|
-
};
|
|
356
|
-
export declare type ForgeOperationsParams = Pick<OperationObject, 'branch' | 'contents'>;
|
|
357
|
-
export declare type TimeStampMixed = Date | string;
|
|
358
|
-
export declare type BalanceUpdateKindEnum = 'contract' | 'freezer';
|
|
359
|
-
export declare type BalanceUpdateCategoryEnum = 'rewards' | 'fees' | 'deposits';
|
|
360
|
-
export interface MichelsonV1ExpressionBase {
|
|
361
|
-
int?: string;
|
|
362
|
-
string?: string;
|
|
363
|
-
bytes?: string;
|
|
364
|
-
}
|
|
365
|
-
export interface MichelsonV1ExpressionExtended {
|
|
366
|
-
prim: string;
|
|
367
|
-
args?: MichelsonV1Expression[];
|
|
368
|
-
annots?: string[];
|
|
369
|
-
}
|
|
370
|
-
export declare type MichelsonV1Expression = MichelsonV1ExpressionBase | MichelsonV1ExpressionExtended | MichelsonV1Expression[];
|
|
371
|
-
export interface ScriptedContracts {
|
|
372
|
-
code: MichelsonV1Expression[];
|
|
373
|
-
storage: MichelsonV1Expression;
|
|
374
|
-
}
|
|
375
|
-
export interface OperationBalanceUpdatesItem {
|
|
376
|
-
kind: BalanceUpdateKindEnum;
|
|
377
|
-
category?: BalanceUpdateCategoryEnum;
|
|
378
|
-
delegate?: string;
|
|
379
|
-
cycle?: number;
|
|
380
|
-
contract?: string;
|
|
381
|
-
change: string;
|
|
382
|
-
}
|
|
383
|
-
export declare type OperationBalanceUpdates = OperationBalanceUpdatesItem[];
|
|
384
|
-
export interface OperationObject {
|
|
385
|
-
branch?: string;
|
|
386
|
-
contents?: OperationContents[];
|
|
387
|
-
protocol?: string;
|
|
388
|
-
signature?: string;
|
|
389
|
-
}
|
|
390
|
-
export declare type InternalOperationResultKindEnum = OpKind.REVEAL | OpKind.TRANSACTION | OpKind.ORIGINATION | OpKind.DELEGATION;
|
|
391
|
-
export declare type InternalOperationResultEnum = OperationResultReveal | OperationResultTransaction | OperationResultDelegation | OperationResultOrigination;
|
|
392
|
-
export interface OperationResultDelegation {
|
|
393
|
-
status: OperationResultStatusEnum;
|
|
394
|
-
consumed_gas?: string;
|
|
395
|
-
errors?: TezosGenericOperationError[];
|
|
396
|
-
consumed_milligas?: string;
|
|
397
|
-
}
|
|
398
|
-
export interface ContractBigMapDiffItem {
|
|
399
|
-
key_hash: string;
|
|
400
|
-
key: MichelsonV1Expression;
|
|
401
|
-
value?: MichelsonV1Expression;
|
|
402
|
-
}
|
|
403
|
-
export declare type ContractBigMapDiff = ContractBigMapDiffItem[];
|
|
404
|
-
export interface TezosGenericOperationError {
|
|
405
|
-
kind: string;
|
|
406
|
-
id: string;
|
|
407
|
-
}
|
|
408
|
-
export interface OperationResultTransaction {
|
|
409
|
-
status: OperationResultStatusEnum;
|
|
410
|
-
storage?: MichelsonV1Expression;
|
|
411
|
-
big_map_diff?: ContractBigMapDiff;
|
|
412
|
-
balance_updates?: OperationBalanceUpdates;
|
|
413
|
-
originated_contracts?: string[];
|
|
414
|
-
consumed_gas?: string;
|
|
415
|
-
storage_size?: string;
|
|
416
|
-
paid_storage_size_diff?: string;
|
|
417
|
-
allocated_destination_contract?: boolean;
|
|
418
|
-
errors?: TezosGenericOperationError[];
|
|
419
|
-
consumed_milligas?: string;
|
|
420
|
-
}
|
|
421
|
-
export interface OperationResultReveal {
|
|
422
|
-
status: OperationResultStatusEnum;
|
|
423
|
-
consumed_gas?: string;
|
|
424
|
-
errors?: TezosGenericOperationError[];
|
|
425
|
-
consumed_milligas?: string;
|
|
426
|
-
}
|
|
427
|
-
export interface TransactionOperationParameter {
|
|
428
|
-
entrypoint: string;
|
|
429
|
-
value: MichelsonV1Expression;
|
|
430
|
-
}
|
|
431
|
-
export interface InternalOperationResult {
|
|
432
|
-
kind: InternalOperationResultKindEnum;
|
|
433
|
-
source: string;
|
|
434
|
-
nonce: number;
|
|
435
|
-
amount?: string;
|
|
436
|
-
destination?: string;
|
|
437
|
-
parameters?: TransactionOperationParameter;
|
|
438
|
-
public_key?: string;
|
|
439
|
-
balance?: string;
|
|
440
|
-
delegate?: string;
|
|
441
|
-
script?: ScriptedContracts;
|
|
442
|
-
result: InternalOperationResultEnum;
|
|
443
|
-
}
|
|
444
|
-
export declare type MetadataBalanceUpdatesKindEnum = 'contract' | 'freezer';
|
|
445
|
-
export declare type MetadataBalanceUpdatesCategoryEnum = 'rewards' | 'fees' | 'deposits';
|
|
446
|
-
export interface OperationMetadataBalanceUpdates {
|
|
447
|
-
kind: MetadataBalanceUpdatesKindEnum;
|
|
448
|
-
category?: MetadataBalanceUpdatesCategoryEnum;
|
|
449
|
-
contract?: string;
|
|
450
|
-
delegate?: string;
|
|
451
|
-
cycle?: number;
|
|
452
|
-
change: string;
|
|
453
|
-
}
|
|
454
|
-
export declare type OperationResultStatusEnum = 'applied' | 'failed' | 'skipped' | 'backtracked';
|
|
455
|
-
export interface OperationResultOrigination {
|
|
456
|
-
status: OperationResultStatusEnum;
|
|
457
|
-
balance_updates?: OperationBalanceUpdates;
|
|
458
|
-
originated_contracts?: string[];
|
|
459
|
-
consumed_gas?: string;
|
|
460
|
-
storage_size?: string;
|
|
461
|
-
paid_storage_size_diff?: string;
|
|
462
|
-
errors?: TezosGenericOperationError[];
|
|
463
|
-
consumed_milligas?: string;
|
|
464
|
-
}
|
|
465
|
-
export interface OperationContentsAndResultMetadataOrigination {
|
|
466
|
-
balance_updates: OperationMetadataBalanceUpdates[];
|
|
467
|
-
operation_result: OperationResultOrigination;
|
|
468
|
-
internal_operation_results?: InternalOperationResult[];
|
|
469
|
-
}
|
|
470
|
-
export declare type ConstantsResponse = ConstantsResponseCommon & ConstantsResponseProto007 & ConstantsResponseProto006 & ConstantsResponseProto005 & ConstantsResponseProto004 & ConstantsResponseProto003 & ConstantsResponseProto001And002;
|
|
471
|
-
export interface ConstantsResponseCommon {
|
|
472
|
-
proof_of_work_nonce_size: number;
|
|
473
|
-
nonce_length: number;
|
|
474
|
-
max_operation_data_length: number;
|
|
475
|
-
preserved_cycles: number;
|
|
476
|
-
blocks_per_cycle: number;
|
|
477
|
-
blocks_per_commitment: number;
|
|
478
|
-
blocks_per_roll_snapshot: number;
|
|
479
|
-
blocks_per_voting_period: number;
|
|
480
|
-
time_between_blocks: BigNumber[];
|
|
481
|
-
endorsers_per_block: number;
|
|
482
|
-
hard_gas_limit_per_operation: BigNumber;
|
|
483
|
-
hard_gas_limit_per_block: BigNumber;
|
|
484
|
-
proof_of_work_threshold: BigNumber;
|
|
485
|
-
tokens_per_roll: BigNumber;
|
|
486
|
-
michelson_maximum_type_size: number;
|
|
487
|
-
seed_nonce_revelation_tip: BigNumber;
|
|
488
|
-
block_security_deposit: BigNumber;
|
|
489
|
-
endorsement_security_deposit: BigNumber;
|
|
490
|
-
endorsement_reward: BigNumber | BigNumber[];
|
|
491
|
-
cost_per_byte: BigNumber;
|
|
492
|
-
hard_storage_limit_per_operation: BigNumber;
|
|
493
|
-
}
|
|
494
|
-
export interface ConstantsResponseProto007 extends Omit<ConstantsResponseProto006, 'max_revelations_per_block'> {
|
|
495
|
-
max_anon_ops_per_block?: number;
|
|
496
|
-
}
|
|
497
|
-
export interface ConstantsResponseProto006 extends Omit<ConstantsResponseProto005, 'block_reward'> {
|
|
498
|
-
baking_reward_per_endorsement?: BigNumber[];
|
|
499
|
-
}
|
|
500
|
-
export interface ConstantsResponseProto005 extends ConstantsResponseProto004 {
|
|
501
|
-
quorum_min?: number;
|
|
502
|
-
quorum_max?: number;
|
|
503
|
-
min_proposal_quorum?: number;
|
|
504
|
-
initial_endorsers?: number;
|
|
505
|
-
delay_per_missing_endorsement?: BigNumber;
|
|
506
|
-
}
|
|
507
|
-
export interface ConstantsResponseProto004 extends ConstantsResponseProto003 {
|
|
508
|
-
test_chain_duration?: BigNumber;
|
|
509
|
-
}
|
|
510
|
-
export interface ConstantsResponseProto003 extends Omit<ConstantsResponseProto001And002, 'origination_burn'> {
|
|
511
|
-
origination_size?: number;
|
|
512
|
-
max_proposals_per_delegate?: number;
|
|
513
|
-
}
|
|
514
|
-
export interface ConstantsResponseProto001And002 {
|
|
515
|
-
max_revelations_per_block?: number;
|
|
516
|
-
origination_burn?: string;
|
|
517
|
-
block_reward?: BigNumber;
|
|
518
|
-
}
|
|
519
|
-
export interface ContractResponse {
|
|
520
|
-
balance: BigNumber;
|
|
521
|
-
script: ScriptedContracts;
|
|
522
|
-
counter?: string;
|
|
523
|
-
delegate?: string;
|
|
524
|
-
}
|
|
525
|
-
export interface TestChainStatus {
|
|
526
|
-
status: string;
|
|
527
|
-
}
|
|
528
|
-
export interface MaxOperationListLength {
|
|
529
|
-
max_size: number;
|
|
530
|
-
max_op: number;
|
|
531
|
-
}
|
|
532
|
-
export interface Level {
|
|
533
|
-
level: number;
|
|
534
|
-
level_position: number;
|
|
535
|
-
cycle: number;
|
|
536
|
-
cycle_position: number;
|
|
537
|
-
voting_period: number;
|
|
538
|
-
voting_period_position: number;
|
|
539
|
-
expected_commitment: boolean;
|
|
540
|
-
}
|
|
541
|
-
export interface BlockMetadata {
|
|
542
|
-
protocol: string;
|
|
543
|
-
next_protocol: string;
|
|
544
|
-
test_chain_status: TestChainStatus;
|
|
545
|
-
max_operations_ttl: number;
|
|
546
|
-
max_operation_data_length: number;
|
|
547
|
-
max_block_header_length: number;
|
|
548
|
-
max_operation_list_length: MaxOperationListLength[];
|
|
549
|
-
baker: string;
|
|
550
|
-
level: Level;
|
|
551
|
-
voting_period_kind: string;
|
|
552
|
-
nonce_hash?: any;
|
|
553
|
-
consumed_gas: string;
|
|
554
|
-
deactivated: any[];
|
|
555
|
-
balance_updates: OperationBalanceUpdates;
|
|
556
|
-
}
|
|
557
|
-
export declare type RPCRunOperationParam = {
|
|
558
|
-
operation: OperationObject;
|
|
559
|
-
chain_id: string;
|
|
560
|
-
};
|
|
561
|
-
export declare type RPCRunCodeParam = {
|
|
562
|
-
script: MichelsonV1ExpressionExtended[];
|
|
563
|
-
storage: MichelsonV1Expression;
|
|
564
|
-
input: MichelsonV1Expression;
|
|
565
|
-
amount: string;
|
|
566
|
-
chain_id: string;
|
|
567
|
-
source?: string;
|
|
568
|
-
payer?: string;
|
|
569
|
-
gas?: BigNumber;
|
|
570
|
-
entrypoint?: string;
|
|
571
|
-
balance?: string;
|
|
572
|
-
};
|
|
573
|
-
export declare type RunCodeResult = {
|
|
574
|
-
storage: MichelsonV1Expression;
|
|
575
|
-
operations: InternalOperationResult[];
|
|
576
|
-
big_map_diff?: ContractBigMapDiff;
|
|
577
|
-
};
|
|
578
|
-
export declare type EntrypointsResponse = {
|
|
579
|
-
entrypoints: {
|
|
580
|
-
[key: string]: Object;
|
|
581
|
-
};
|
|
582
|
-
unreachable?: {
|
|
583
|
-
path: ('Left' | 'Right')[];
|
|
584
|
-
};
|
|
585
|
-
};
|
|
586
|
-
export interface OperationContentsAndResultOrigination {
|
|
587
|
-
kind: OpKind.ORIGINATION;
|
|
588
|
-
source: string;
|
|
589
|
-
fee: string;
|
|
590
|
-
counter: string;
|
|
591
|
-
gas_limit: string;
|
|
592
|
-
storage_limit: string;
|
|
593
|
-
balance: string;
|
|
594
|
-
delegate?: string;
|
|
595
|
-
script?: ScriptedContracts;
|
|
596
|
-
metadata: OperationContentsAndResultMetadataOrigination;
|
|
597
|
-
}
|
|
598
|
-
export {};
|
package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../../src/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.ts"],"names":[],"mappings":""}
|
package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/constants.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../../src/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/constants.ts"],"names":[],"mappings":";;;;AAAA,IAAY,MAqCX;AArCD,WAAY,MAAM;IAChB,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,mBAAS,CAAA;IACT,qBAAW,CAAA;IAEX,yBAAe,CAAA;IACf,uBAAa,CAAA;IACb,uBAAa,CAAA;IAEb,uB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AE,EAAE,GAAG,CAAC,CAAC;QACzC;AAEW,QAAA,YAAY;IACvB,GAAC,MAAM,CAAC,GAAG,IAAG,EAAE;IAChB,GAAC,MAAM,CAAC,GAAG,IAAG,EAAE;IAChB,GAAC,MAAM,CAAC,GAAG,IAAG,EAAE;IAChB,GAAC,MAAM,CAAC,EAAE,IAAG,EAAE;IACf,GAAC,MAAM,CAAC,GAAG,IAAG,EAAE;IAChB,GAAC,MAAM,CAAC,IAAI,IAAG,EAAE;IACjB,GAAC,MAAM,CAAC,IAAI,IAAG,EAAE;IACjB,GAAC,MAAM,CAAC,IAAI,IAAG,EAAE;IACjB,GAAC,MAAM,CAAC,KAAK,IAAG,EAAE;IAClB,GAAC,MAAM,CAAC,KAAK,IAAG,EAAE;IAClB,GAAC,MAAM,CAAC,KAAK,IAAG,EAAE;IAClB,GAAC,MAAM,CAAC,GAAG,IAAG,EAAE;IAChB,GAAC,MAAM,CAAC,GAAG,IAAG,CAAC;IACf,GAAC,MAAM,CAAC,CAAC,IAAG,EAAE;IACd,GAAC,MAAM,CAAC,CAAC,IAAG,EAAE;QACd"}
|
package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/taquito-utils.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { Buffer } from '../../../../../buffer-5.6.0/index';
|
|
2
|
-
export * from './validators';
|
|
3
|
-
export { prefix, Prefix, prefixLength } from './constants';
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* @description Hash a string using the BLAKE2b algorithm, base58 encode the hash obtained and appends the prefix 'expr' to it
|
|
7
|
-
*
|
|
8
|
-
* @param value Value in hex
|
|
9
|
-
*/
|
|
10
|
-
export declare function encodeExpr(value: string): any;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @description Base58 encode a string or a Uint8Array and append a prefix to it
|
|
14
|
-
*
|
|
15
|
-
* @param value Value to base58 encode
|
|
16
|
-
* @param prefix prefix to append to the encoded string
|
|
17
|
-
*/
|
|
18
|
-
export declare function b58cencode(value: string | Uint8Array, prefix: Uint8Array): any;
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @description Base58 decode a string and remove the prefix from it
|
|
22
|
-
*
|
|
23
|
-
* @param value Value to base58 decode
|
|
24
|
-
* @param prefix prefix to remove from the decoded string
|
|
25
|
-
*/
|
|
26
|
-
export declare const b58cdecode: (enc: string, prefixArg: Uint8Array) => Uint8Array;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @description Base58 decode a string with predefined prefix
|
|
30
|
-
*
|
|
31
|
-
* @param value Value to base58 decode
|
|
32
|
-
*/
|
|
33
|
-
export declare function b58decode(payload: string): string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @description Base58 encode a public key using predefined prefix
|
|
37
|
-
*
|
|
38
|
-
* @param value Public Key to base58 encode
|
|
39
|
-
*/
|
|
40
|
-
export declare function encodePubKey(value: string): any;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @description Base58 encode a key according to its prefix
|
|
44
|
-
*
|
|
45
|
-
* @param value Key to base58 encode
|
|
46
|
-
*/
|
|
47
|
-
export declare function encodeKey(value: string): any;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @description Base58 encode a key hash according to its prefix
|
|
51
|
-
*
|
|
52
|
-
* @param value Key to base58 encode
|
|
53
|
-
*/
|
|
54
|
-
export declare function encodeKeyHash(value: string): any;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @description Convert an hex string to a Uint8Array
|
|
58
|
-
*
|
|
59
|
-
* @param hex Hex string to convert
|
|
60
|
-
*/
|
|
61
|
-
export declare const hex2buf: (hex: string) => Uint8Array;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @description Merge 2 buffers together
|
|
65
|
-
*
|
|
66
|
-
* @param b1 First buffer
|
|
67
|
-
* @param b2 Second buffer
|
|
68
|
-
*/
|
|
69
|
-
export declare const mergebuf: (b1: Uint8Array, b2: Uint8Array) => Uint8Array;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @description Flatten a michelson json representation to an array
|
|
73
|
-
*
|
|
74
|
-
* @param s michelson json
|
|
75
|
-
*/
|
|
76
|
-
export declare const mic2arr: (s: any) => any;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @description Convert a buffer to an hex string
|
|
80
|
-
*
|
|
81
|
-
* @param buffer Buffer to convert
|
|
82
|
-
*/
|
|
83
|
-
export declare const buf2hex: (buffer: Buffer) => string;
|