@airgap/coinlib-core 0.13.45-beta.3 → 0.13.45-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions/Action.js +83 -30
- package/actions/Action.js.map +1 -1
- package/actions/LinkedAction.js +82 -18
- package/actions/LinkedAction.js.map +1 -1
- package/actions/RepeatableAction.js +83 -20
- package/actions/RepeatableAction.js.map +1 -1
- package/actions/SimpleAction.js +74 -12
- package/actions/SimpleAction.js.map +1 -1
- package/actions/StateMachine.js +17 -16
- package/actions/StateMachine.js.map +1 -1
- package/data/KeyPair.d.ts +1 -0
- package/data/Lazy.js +64 -15
- package/data/Lazy.js.map +1 -1
- package/data/RPCBody.js +6 -3
- package/data/RPCBody.js.map +1 -1
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.d.ts +12 -12
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.js +130 -88
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.js.map +1 -1
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.d.ts +3 -3
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.js +61 -57
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.js.map +1 -1
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.js +96 -96
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.js.map +1 -1
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.js +2 -1
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.js.map +1 -1
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.js +10 -8
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.js.map +1 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.js +28 -22
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.js.map +1 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.js +10 -9
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.js.map +1 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.js +11 -10
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.js.map +1 -1
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.js +8 -7
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.js.map +1 -1
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.d.ts +3 -3
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.js +63 -61
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.js.map +1 -1
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.d.ts +4 -4
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.js +63 -61
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.js.map +1 -1
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.d.ts +1 -1
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.js +3 -2
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/codec.js +111 -111
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/codec.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/constants.js +15 -15
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/constants.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/decoder.d.ts +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/decoder.js +76 -47
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/decoder.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/encoder.d.ts +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/encoder.js +61 -46
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/encoder.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.js +106 -61
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/interface.d.ts +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/michelson/codec.d.ts +6 -6
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/michelson/codec.js +100 -95
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/michelson/codec.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.js +33 -33
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.js +9 -9
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.d.ts +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.js +75 -46
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.d.ts +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.js +70 -45
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.js +41 -41
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.js +4 -4
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.d.ts +2 -2
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.js +63 -58
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.js +33 -30
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/uint8array-consumer.js +20 -18
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/uint8array-consumer.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/utils.d.ts +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/utils.js +12 -5
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/utils.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.js +13 -13
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.js +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.js.map +1 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.d.ts +78 -78
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js +2 -2
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js.map +1 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.d.ts +45 -45
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.js +76 -75
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.js.map +1 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.js +178 -115
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.js.map +1 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.d.ts +1 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.js +9 -6
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.js.map +1 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.js +83 -78
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.js.map +1 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/validators.js +36 -27
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/validators.js.map +1 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.d.ts +1 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.js +26 -25
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.js.map +1 -1
- package/dependencies/src/cosmjs/index.d.ts +230 -14
- package/dependencies/src/cosmjs/index.js +480 -373
- package/dependencies/src/cosmjs/index.js.map +1 -1
- package/dependencies/src/eciesjs-0.3.9/src/index.d.ts +1 -0
- package/dependencies/src/eciesjs-0.3.9/src/index.js +19 -15
- package/dependencies/src/eciesjs-0.3.9/src/index.js.map +1 -1
- package/dependencies/src/eciesjs-0.3.9/src/keys/PrivateKey.d.ts +1 -0
- package/dependencies/src/eciesjs-0.3.9/src/keys/PrivateKey.js +28 -37
- package/dependencies/src/eciesjs-0.3.9/src/keys/PrivateKey.js.map +1 -1
- package/dependencies/src/eciesjs-0.3.9/src/keys/PublicKey.d.ts +1 -0
- package/dependencies/src/eciesjs-0.3.9/src/keys/PublicKey.js +30 -38
- package/dependencies/src/eciesjs-0.3.9/src/keys/PublicKey.js.map +1 -1
- package/dependencies/src/eciesjs-0.3.9/src/utils.d.ts +1 -0
- package/dependencies/src/eciesjs-0.3.9/src/utils.js +24 -33
- package/dependencies/src/eciesjs-0.3.9/src/utils.js.map +1 -1
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-key.js +34 -42
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-key.js.map +1 -1
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-wallet.js +10 -6
- package/dependencies/src/hd-wallet-js-b216450e56954a6e82ace0aade9474673de5d9d5/src/hd-wallet.js.map +1 -1
- package/errors/coinlib-error.d.ts +2 -1
- package/errors/coinlib-error.js +38 -16
- package/errors/coinlib-error.js.map +1 -1
- package/errors/index.d.ts +2 -2
- package/errors/index.js +148 -89
- package/errors/index.js.map +1 -1
- package/index.js +19 -19
- package/index.js.map +1 -1
- package/interfaces/IAirGapSignedTransaction.d.ts +1 -1
- package/interfaces/IAirGapTransaction.js +3 -3
- package/interfaces/IAirGapTransaction.js.map +1 -1
- package/networks.js +9 -9
- package/networks.js.map +1 -1
- package/package.json +1 -1
- package/protocols/BlockExplorerProtocol.js +54 -7
- package/protocols/BlockExplorerProtocol.js.map +1 -1
- package/protocols/CryptoClient.js +78 -19
- package/protocols/CryptoClient.js.map +1 -1
- package/protocols/Ed25519CryptoClient.js +98 -30
- package/protocols/Ed25519CryptoClient.js.map +1 -1
- package/protocols/ICoinSubProtocol.js +1 -1
- package/protocols/ICoinSubProtocol.js.map +1 -1
- package/protocols/NonExtendedProtocol.js +29 -26
- package/protocols/NonExtendedProtocol.js.map +1 -1
- package/protocols/Secp256k1CryptoClient.js +73 -9
- package/protocols/Secp256k1CryptoClient.js.map +1 -1
- package/protocols/Sr25519CryptoClient.js +76 -12
- package/protocols/Sr25519CryptoClient.js.map +1 -1
- package/utils/AES.js +132 -81
- package/utils/AES.js.map +1 -1
- package/utils/ErrorWithData.js +23 -5
- package/utils/ErrorWithData.js.map +1 -1
- package/utils/Network.js +1 -1
- package/utils/Network.js.map +1 -1
- package/utils/ProtocolBlockExplorer.js +4 -3
- package/utils/ProtocolBlockExplorer.js.map +1 -1
- package/utils/ProtocolNetwork.js +16 -11
- package/utils/ProtocolNetwork.js.map +1 -1
- package/utils/ProtocolSymbols.d.ts +3 -1
- package/utils/ProtocolSymbols.js +8 -6
- package/utils/ProtocolSymbols.js.map +1 -1
- package/utils/array.js +15 -14
- package/utils/array.js.map +1 -1
- package/utils/assert.js +12 -8
- package/utils/assert.js.map +1 -1
- package/utils/base64Check.d.ts +1 -0
- package/utils/base64Check.js +15 -15
- package/utils/base64Check.js.map +1 -1
- package/utils/blake2b.js +14 -11
- package/utils/blake2b.js.map +1 -1
- package/utils/buffer.d.ts +1 -0
- package/utils/buffer.js +1 -1
- package/utils/buffer.js.map +1 -1
- package/utils/cache.js +87 -38
- package/utils/cache.js.map +1 -1
- package/utils/error.js +3 -2
- package/utils/error.js.map +1 -1
- package/utils/hex.d.ts +2 -1
- package/utils/hex.js +38 -31
- package/utils/hex.js.map +1 -1
- package/utils/interfaces.js +4 -3
- package/utils/interfaces.js.map +1 -1
- package/utils/object.js +7 -5
- package/utils/object.js.map +1 -1
- package/utils/padStart.js +2 -1
- package/utils/padStart.js.map +1 -1
- package/utils/remote-data/HttpRemoteData.js +107 -24
- package/utils/remote-data/HttpRemoteData.js.map +1 -1
- package/utils/remote-data/IpfsRemoteData.js +116 -32
- package/utils/remote-data/IpfsRemoteData.js.map +1 -1
- package/utils/remote-data/RemoteData.d.ts +1 -0
- package/utils/remote-data/RemoteData.js +4 -3
- package/utils/remote-data/RemoteData.js.map +1 -1
- package/utils/remote-data/RemoteDataFactory.d.ts +2 -2
- package/utils/remote-data/RemoteDataFactory.js +20 -13
- package/utils/remote-data/RemoteDataFactory.js.map +1 -1
- package/utils/remote-data/Sha256RemoteData.d.ts +1 -0
- package/utils/remote-data/Sha256RemoteData.js +117 -44
- package/utils/remote-data/Sha256RemoteData.js.map +1 -1
- package/utils/string.js +9 -8
- package/utils/string.js.map +1 -1
- package/utils/type.js +4 -3
- package/utils/type.js.map +1 -1
- package/utils/xxhash.d.ts +1 -0
- package/utils/xxhash.js +11 -9
- package/utils/xxhash.js.map +1 -1
- package/wallet/AirGapCoinWallet.js +183 -64
- package/wallet/AirGapCoinWallet.js.map +1 -1
- package/wallet/AirGapMarketWallet.js +201 -88
- package/wallet/AirGapMarketWallet.js.map +1 -1
- package/wallet/AirGapNFTWallet.js +165 -48
- package/wallet/AirGapNFTWallet.js.map +1 -1
- package/wallet/AirGapWallet.js +145 -58
- package/wallet/AirGapWallet.js.map +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import BigNumber from '../../../../../bignumber.js-9.0.0/bignumber';
|
|
2
2
|
import { OpKind } from './opkind';
|
|
3
|
-
export type BalanceResponse = BigNumber;
|
|
4
|
-
export type StorageResponse = ScriptedContracts['storage'];
|
|
5
|
-
export type ScriptResponse = ScriptedContracts;
|
|
6
|
-
export type BigMapGetResponse = MichelsonV1Expression;
|
|
7
|
-
export type ManagerResponse = {
|
|
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
8
|
manager: string;
|
|
9
9
|
};
|
|
10
|
-
export type ManagerKeyResponse = string | {
|
|
10
|
+
export declare type ManagerKeyResponse = string | {
|
|
11
11
|
key: string;
|
|
12
12
|
};
|
|
13
|
-
export type DelegateResponse = string | null;
|
|
14
|
-
export type OperationHash = string;
|
|
13
|
+
export declare type DelegateResponse = string | null;
|
|
14
|
+
export declare type OperationHash = string;
|
|
15
15
|
interface INodeExtender {
|
|
16
16
|
length: string;
|
|
17
17
|
segment: string;
|
|
18
18
|
proof: string;
|
|
19
19
|
}
|
|
20
|
-
type OtherEltsInner = {
|
|
20
|
+
declare type OtherEltsInner = {
|
|
21
21
|
value: any;
|
|
22
22
|
} | {
|
|
23
23
|
inode_extender: INodeExtender;
|
|
24
24
|
};
|
|
25
|
-
export type OtherElts = {
|
|
25
|
+
export declare type OtherElts = {
|
|
26
26
|
node: [string, {
|
|
27
27
|
value: string;
|
|
28
28
|
} | {
|
|
@@ -31,7 +31,7 @@ export type OtherElts = {
|
|
|
31
31
|
} | {
|
|
32
32
|
other_elts: OtherEltsInner;
|
|
33
33
|
};
|
|
34
|
-
type State = {
|
|
34
|
+
declare type State = {
|
|
35
35
|
inode: Inode;
|
|
36
36
|
} | {
|
|
37
37
|
other_elts: OtherElts;
|
|
@@ -40,7 +40,7 @@ export interface Inode {
|
|
|
40
40
|
length: string;
|
|
41
41
|
proofs: [string | null, string | null];
|
|
42
42
|
}
|
|
43
|
-
type TxRollupProofContextHash = {
|
|
43
|
+
declare type TxRollupProofContextHash = {
|
|
44
44
|
value: string;
|
|
45
45
|
} | {
|
|
46
46
|
node: string;
|
|
@@ -98,11 +98,11 @@ export interface DelegatesResponse {
|
|
|
98
98
|
active_consensus_key?: string;
|
|
99
99
|
pending_consensus_keys?: PendingConsensusKey[];
|
|
100
100
|
}
|
|
101
|
-
export type PendingConsensusKey = {
|
|
101
|
+
export declare type PendingConsensusKey = {
|
|
102
102
|
cycle: number;
|
|
103
103
|
pkh: string;
|
|
104
104
|
};
|
|
105
|
-
export type VotingInfoResponse = {
|
|
105
|
+
export declare type VotingInfoResponse = {
|
|
106
106
|
voting_power?: string;
|
|
107
107
|
current_ballot?: BallotListResponseEnum;
|
|
108
108
|
current_proposals?: string[];
|
|
@@ -115,7 +115,7 @@ interface Frozenbalancebycycle {
|
|
|
115
115
|
fees: BigNumber;
|
|
116
116
|
rewards: BigNumber;
|
|
117
117
|
}
|
|
118
|
-
export type BigMapKey = {
|
|
118
|
+
export declare type BigMapKey = {
|
|
119
119
|
key: {
|
|
120
120
|
[key: string]: string | object[];
|
|
121
121
|
};
|
|
@@ -124,7 +124,7 @@ export type BigMapKey = {
|
|
|
124
124
|
args?: object[];
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
export type LiquidityBakingToggleVotes = 'on' | 'off' | 'pass';
|
|
127
|
+
export declare type LiquidityBakingToggleVotes = 'on' | 'off' | 'pass';
|
|
128
128
|
export interface BlockFullHeader {
|
|
129
129
|
level: number;
|
|
130
130
|
proto: number;
|
|
@@ -143,7 +143,7 @@ export interface BlockFullHeader {
|
|
|
143
143
|
liquidity_baking_toggle_vote?: LiquidityBakingToggleVotes;
|
|
144
144
|
signature: string;
|
|
145
145
|
}
|
|
146
|
-
export type InlinedEndorsementKindEnum = OpKind.ENDORSEMENT;
|
|
146
|
+
export declare type InlinedEndorsementKindEnum = OpKind.ENDORSEMENT;
|
|
147
147
|
export interface InlinedEndorsementContents {
|
|
148
148
|
kind: InlinedEndorsementKindEnum;
|
|
149
149
|
slot?: number;
|
|
@@ -168,7 +168,7 @@ export interface InlinedPreEndorsement {
|
|
|
168
168
|
operations: InlinedPreEndorsementContents;
|
|
169
169
|
signature?: string;
|
|
170
170
|
}
|
|
171
|
-
export type BallotVote = 'nay' | 'yay' | 'pass';
|
|
171
|
+
export declare type BallotVote = 'nay' | 'yay' | 'pass';
|
|
172
172
|
export interface OperationContentsEndorsement {
|
|
173
173
|
kind: OpKind.ENDORSEMENT;
|
|
174
174
|
level: number;
|
|
@@ -421,7 +421,7 @@ export interface OperationContentsIncreasePaidStorage {
|
|
|
421
421
|
amount: string;
|
|
422
422
|
destination: string;
|
|
423
423
|
}
|
|
424
|
-
export type OperationContents = OperationContentsEndorsement | OperationContentsPreEndorsement | OperationContentsDoublePreEndorsement | OperationContentsRevelation | OperationContentsVdfRevelation | OperationContentsDoubleEndorsement | OperationContentsDoubleBaking | OperationContentsActivateAccount | OperationContentsProposals | OperationContentsBallot | OperationContentsReveal | OperationContentsTransaction | OperationContentsOrigination | OperationContentsDelegation | OperationContentsEndorsementWithSlot | OperationContentsFailingNoop | OperationContentsRegisterGlobalConstant | OperationContentsSetDepositsLimit | OperationContentsTxRollupOrigination | OperationContentsTxRollupSubmitBatch | OperationContentsTxRollupCommit | OperationContentsTxRollupReturnBond | OperationContentsTxRollupFinalizeCommitment | OperationContentsTxRollupRemoveCommitment | OperationContentsTxRollupRejection | OperationContentsTransferTicket | OperationContentsUpdateConsensusKey | OperationContentsDrainDelegate | OperationContentsIncreasePaidStorage;
|
|
424
|
+
export declare type OperationContents = OperationContentsEndorsement | OperationContentsPreEndorsement | OperationContentsDoublePreEndorsement | OperationContentsRevelation | OperationContentsVdfRevelation | OperationContentsDoubleEndorsement | OperationContentsDoubleBaking | OperationContentsActivateAccount | OperationContentsProposals | OperationContentsBallot | OperationContentsReveal | OperationContentsTransaction | OperationContentsOrigination | OperationContentsDelegation | OperationContentsEndorsementWithSlot | OperationContentsFailingNoop | OperationContentsRegisterGlobalConstant | OperationContentsSetDepositsLimit | OperationContentsTxRollupOrigination | OperationContentsTxRollupSubmitBatch | OperationContentsTxRollupCommit | OperationContentsTxRollupReturnBond | OperationContentsTxRollupFinalizeCommitment | OperationContentsTxRollupRemoveCommitment | OperationContentsTxRollupRejection | OperationContentsTransferTicket | OperationContentsUpdateConsensusKey | OperationContentsDrainDelegate | OperationContentsIncreasePaidStorage;
|
|
425
425
|
export interface OperationContentsAndResultMetadataExtended {
|
|
426
426
|
balance_updates?: OperationMetadataBalanceUpdates[];
|
|
427
427
|
delegate: string;
|
|
@@ -785,7 +785,7 @@ export interface OperationContentsAndResultVdfRevelation {
|
|
|
785
785
|
solution: string[];
|
|
786
786
|
metadata: OperationContentsAndResultMetadata;
|
|
787
787
|
}
|
|
788
|
-
export type OperationContentsAndResult = OperationContentsAndResultEndorsement | OperationContentsAndResultPreEndorsement | OperationContentsAndResultDoublePreEndorsement | OperationContentsAndResultRevelation | OperationContentsAndResultDoubleEndorsement | OperationContentsAndResultDoubleBaking | OperationContentsAndResultActivateAccount | OperationContentsAndResultProposals | OperationContentsAndResultBallot | OperationContentsAndResultReveal | OperationContentsAndResultTransaction | OperationContentsAndResultOrigination | OperationContentsAndResultDelegation | OperationContentsAndResultEndorsementWithSlot | OperationContentsAndResultRegisterGlobalConstant | OperationContentsAndResultSetDepositsLimit | OperationContentsAndResultTxRollupOrigination | OperationContentsAndResultTxRollupSubmitBatch | OperationContentsAndResultTxRollupCommit | OperationContentsAndResultTxRollupDispatchTickets | OperationContentsAndResultTxRollupReturnBond | OperationContentsAndResultTxRollupFinalizeCommitment | OperationContentsAndResultTxRollupRemoveCommitment | OperationContentsAndResultTxRollupRejection | OperationContentsAndResultTransferTicket | OperationContentsAndResultIncreasePaidStorage | OperationContentsAndResultUpdateConsensusKey | OperationContentsAndResultDrainDelegate | OperationContentsAndResultVdfRevelation;
|
|
788
|
+
export declare type OperationContentsAndResult = OperationContentsAndResultEndorsement | OperationContentsAndResultPreEndorsement | OperationContentsAndResultDoublePreEndorsement | OperationContentsAndResultRevelation | OperationContentsAndResultDoubleEndorsement | OperationContentsAndResultDoubleBaking | OperationContentsAndResultActivateAccount | OperationContentsAndResultProposals | OperationContentsAndResultBallot | OperationContentsAndResultReveal | OperationContentsAndResultTransaction | OperationContentsAndResultOrigination | OperationContentsAndResultDelegation | OperationContentsAndResultEndorsementWithSlot | OperationContentsAndResultRegisterGlobalConstant | OperationContentsAndResultSetDepositsLimit | OperationContentsAndResultTxRollupOrigination | OperationContentsAndResultTxRollupSubmitBatch | OperationContentsAndResultTxRollupCommit | OperationContentsAndResultTxRollupDispatchTickets | OperationContentsAndResultTxRollupReturnBond | OperationContentsAndResultTxRollupFinalizeCommitment | OperationContentsAndResultTxRollupRemoveCommitment | OperationContentsAndResultTxRollupRejection | OperationContentsAndResultTransferTicket | OperationContentsAndResultIncreasePaidStorage | OperationContentsAndResultUpdateConsensusKey | OperationContentsAndResultDrainDelegate | OperationContentsAndResultVdfRevelation;
|
|
789
789
|
export declare enum OPERATION_METADATA {
|
|
790
790
|
TOO_LARGE = "too large"
|
|
791
791
|
}
|
|
@@ -806,10 +806,10 @@ export interface BlockResponse {
|
|
|
806
806
|
metadata: BlockMetadata;
|
|
807
807
|
operations: OperationEntry[][];
|
|
808
808
|
}
|
|
809
|
-
export type BakingRightsArgumentsDelegate = string | string[];
|
|
810
|
-
export type BakingRightsArgumentsCycle = number | number[];
|
|
811
|
-
export type BakingRightsArgumentsLevel = number | number[];
|
|
812
|
-
export type BakingRightsQueryArguments = BakingRightsQueryArgumentsBase;
|
|
809
|
+
export declare type BakingRightsArgumentsDelegate = string | string[];
|
|
810
|
+
export declare type BakingRightsArgumentsCycle = number | number[];
|
|
811
|
+
export declare type BakingRightsArgumentsLevel = number | number[];
|
|
812
|
+
export declare type BakingRightsQueryArguments = BakingRightsQueryArgumentsBase;
|
|
813
813
|
export interface BakingRightsQueryArgumentsBase {
|
|
814
814
|
level?: BakingRightsArgumentsLevel;
|
|
815
815
|
cycle?: BakingRightsArgumentsCycle;
|
|
@@ -827,10 +827,10 @@ export interface BakingRightsResponseItem {
|
|
|
827
827
|
estimated_time?: Date;
|
|
828
828
|
consensus_key?: string;
|
|
829
829
|
}
|
|
830
|
-
export type BakingRightsResponse = BakingRightsResponseItem[];
|
|
831
|
-
export type EndorsingRightsArgumentsDelegate = string | string[];
|
|
832
|
-
export type EndorsingRightsArgumentsCycle = number | number[];
|
|
833
|
-
export type EndorsingRightsArgumentsLevel = number | number[];
|
|
830
|
+
export declare type BakingRightsResponse = BakingRightsResponseItem[];
|
|
831
|
+
export declare type EndorsingRightsArgumentsDelegate = string | string[];
|
|
832
|
+
export declare type EndorsingRightsArgumentsCycle = number | number[];
|
|
833
|
+
export declare type EndorsingRightsArgumentsLevel = number | number[];
|
|
834
834
|
export interface EndorsingRightsQueryArguments {
|
|
835
835
|
level?: EndorsingRightsArgumentsLevel;
|
|
836
836
|
cycle?: EndorsingRightsArgumentsCycle;
|
|
@@ -850,29 +850,29 @@ export interface EndorsingRightsResponseItem {
|
|
|
850
850
|
slots?: number[];
|
|
851
851
|
estimated_time?: Date;
|
|
852
852
|
}
|
|
853
|
-
export type EndorsingRightsResponse = EndorsingRightsResponseItem[];
|
|
854
|
-
export type BallotListResponseEnum = 'nay' | 'yay' | 'pass';
|
|
853
|
+
export declare type EndorsingRightsResponse = EndorsingRightsResponseItem[];
|
|
854
|
+
export declare type BallotListResponseEnum = 'nay' | 'yay' | 'pass';
|
|
855
855
|
export interface BallotListResponseItem {
|
|
856
856
|
pkh: string;
|
|
857
857
|
ballot: BallotListResponseEnum;
|
|
858
858
|
}
|
|
859
|
-
export type BallotListResponse = BallotListResponseItem[];
|
|
859
|
+
export declare type BallotListResponse = BallotListResponseItem[];
|
|
860
860
|
export interface BallotsResponse {
|
|
861
861
|
yay: BigNumber;
|
|
862
862
|
nay: BigNumber;
|
|
863
863
|
pass: BigNumber;
|
|
864
864
|
}
|
|
865
|
-
export type PeriodKindResponse = 'proposal' | 'testing_vote' | 'testing' | 'promotion_vote' | 'exploration' | 'cooldown' | 'promotion' | 'adoption';
|
|
866
|
-
export type CurrentProposalResponse = string | null;
|
|
867
|
-
export type CurrentQuorumResponse = number;
|
|
865
|
+
export declare type PeriodKindResponse = 'proposal' | 'testing_vote' | 'testing' | 'promotion_vote' | 'exploration' | 'cooldown' | 'promotion' | 'adoption';
|
|
866
|
+
export declare type CurrentProposalResponse = string | null;
|
|
867
|
+
export declare type CurrentQuorumResponse = number;
|
|
868
868
|
export interface VotesListingsResponseItem {
|
|
869
869
|
pkh: string;
|
|
870
870
|
rolls?: number;
|
|
871
871
|
voting_power?: BigNumber;
|
|
872
872
|
}
|
|
873
|
-
export type VotesListingsResponse = VotesListingsResponseItem[];
|
|
874
|
-
export type ProposalsResponseItem = [string, BigNumber];
|
|
875
|
-
export type ProposalsResponse = ProposalsResponseItem[];
|
|
873
|
+
export declare type VotesListingsResponse = VotesListingsResponseItem[];
|
|
874
|
+
export declare type ProposalsResponseItem = [string, BigNumber];
|
|
875
|
+
export declare type ProposalsResponse = ProposalsResponseItem[];
|
|
876
876
|
export interface BlockHeaderResponse {
|
|
877
877
|
protocol: string;
|
|
878
878
|
chain_id: string;
|
|
@@ -897,26 +897,26 @@ export interface PackDataParams {
|
|
|
897
897
|
type: MichelsonV1Expression;
|
|
898
898
|
gas?: BigNumber;
|
|
899
899
|
}
|
|
900
|
-
export type HexString = string;
|
|
900
|
+
export declare type HexString = string;
|
|
901
901
|
export interface PackDataResponse {
|
|
902
902
|
packed: HexString;
|
|
903
903
|
gas?: BigNumber | 'unaccounted';
|
|
904
904
|
}
|
|
905
|
-
export type BigMapResponse = MichelsonV1Expression | MichelsonV1Expression[];
|
|
906
|
-
export type SaplingDiffResponse = {
|
|
905
|
+
export declare type BigMapResponse = MichelsonV1Expression | MichelsonV1Expression[];
|
|
906
|
+
export declare type SaplingDiffResponse = {
|
|
907
907
|
root: SaplingTransactionCommitmentHash;
|
|
908
908
|
commitments_and_ciphertexts: CommitmentsAndCiphertexts[];
|
|
909
909
|
nullifiers: string[];
|
|
910
910
|
};
|
|
911
|
-
export type SaplingTransactionCommitmentHash = string;
|
|
912
|
-
export type PreapplyParams = OperationObject[];
|
|
913
|
-
export type PreapplyResponse = {
|
|
911
|
+
export declare type SaplingTransactionCommitmentHash = string;
|
|
912
|
+
export declare type PreapplyParams = OperationObject[];
|
|
913
|
+
export declare type PreapplyResponse = {
|
|
914
914
|
contents: OperationContentsAndResult[];
|
|
915
915
|
};
|
|
916
|
-
export type ForgeOperationsParams = Pick<OperationObject, 'branch' | 'contents'>;
|
|
917
|
-
export type TimeStampMixed = Date | string;
|
|
918
|
-
export type BalanceUpdateKindEnum = MetadataBalanceUpdatesKindEnum;
|
|
919
|
-
export type BalanceUpdateCategoryEnum = MetadataBalanceUpdatesCategoryEnum;
|
|
916
|
+
export declare type ForgeOperationsParams = Pick<OperationObject, 'branch' | 'contents'>;
|
|
917
|
+
export declare type TimeStampMixed = Date | string;
|
|
918
|
+
export declare type BalanceUpdateKindEnum = MetadataBalanceUpdatesKindEnum;
|
|
919
|
+
export declare type BalanceUpdateCategoryEnum = MetadataBalanceUpdatesCategoryEnum;
|
|
920
920
|
export interface MichelsonV1ExpressionBase {
|
|
921
921
|
int?: string;
|
|
922
922
|
string?: string;
|
|
@@ -927,12 +927,12 @@ export interface MichelsonV1ExpressionExtended {
|
|
|
927
927
|
args?: MichelsonV1Expression[];
|
|
928
928
|
annots?: string[];
|
|
929
929
|
}
|
|
930
|
-
export type MichelsonV1Expression = MichelsonV1ExpressionBase | MichelsonV1ExpressionExtended | MichelsonV1Expression[];
|
|
930
|
+
export declare type MichelsonV1Expression = MichelsonV1ExpressionBase | MichelsonV1ExpressionExtended | MichelsonV1Expression[];
|
|
931
931
|
export interface ScriptedContracts {
|
|
932
932
|
code: MichelsonV1Expression[];
|
|
933
933
|
storage: MichelsonV1Expression;
|
|
934
934
|
}
|
|
935
|
-
export type BondId = {
|
|
935
|
+
export declare type BondId = {
|
|
936
936
|
sc_rollup?: never;
|
|
937
937
|
tx_rollup: string;
|
|
938
938
|
} | {
|
|
@@ -952,16 +952,16 @@ export interface OperationBalanceUpdatesItem {
|
|
|
952
952
|
committer?: string;
|
|
953
953
|
bond_id?: BondId;
|
|
954
954
|
}
|
|
955
|
-
export type OperationBalanceUpdates = OperationBalanceUpdatesItem[];
|
|
955
|
+
export declare type OperationBalanceUpdates = OperationBalanceUpdatesItem[];
|
|
956
956
|
export interface OperationObject {
|
|
957
957
|
branch?: string;
|
|
958
958
|
contents?: OperationContents[];
|
|
959
959
|
protocol?: string;
|
|
960
960
|
signature?: string;
|
|
961
961
|
}
|
|
962
|
-
export type InternalOperationResultKindEnum = OpKind.REVEAL | OpKind.TRANSACTION | OpKind.ORIGINATION | OpKind.DELEGATION | OpKind.EVENT;
|
|
963
|
-
export type SuccessfulManagerOperationResultKindEnum = OpKind.REVEAL | OpKind.TRANSACTION | OpKind.ORIGINATION | OpKind.DELEGATION;
|
|
964
|
-
export type InternalOperationResultEnum = OperationResultReveal | OperationResultTransaction | OperationResultDelegation | OperationResultOrigination | OperationResultEvent;
|
|
962
|
+
export declare type InternalOperationResultKindEnum = OpKind.REVEAL | OpKind.TRANSACTION | OpKind.ORIGINATION | OpKind.DELEGATION | OpKind.EVENT;
|
|
963
|
+
export declare type SuccessfulManagerOperationResultKindEnum = OpKind.REVEAL | OpKind.TRANSACTION | OpKind.ORIGINATION | OpKind.DELEGATION;
|
|
964
|
+
export declare type InternalOperationResultEnum = OperationResultReveal | OperationResultTransaction | OperationResultDelegation | OperationResultOrigination | OperationResultEvent;
|
|
965
965
|
export interface OperationResultTxRollupOrigination {
|
|
966
966
|
status: OperationResultStatusEnum;
|
|
967
967
|
balance_updates?: OperationBalanceUpdates;
|
|
@@ -1075,7 +1075,7 @@ export interface ContractBigMapDiffItem {
|
|
|
1075
1075
|
key_type?: MichelsonV1Expression;
|
|
1076
1076
|
value_type?: MichelsonV1Expression;
|
|
1077
1077
|
}
|
|
1078
|
-
export type ContractBigMapDiff = ContractBigMapDiffItem[];
|
|
1078
|
+
export declare type ContractBigMapDiff = ContractBigMapDiffItem[];
|
|
1079
1079
|
export interface TezosGenericOperationError {
|
|
1080
1080
|
kind: string;
|
|
1081
1081
|
id: string;
|
|
@@ -1092,7 +1092,7 @@ export interface TicketUpdates {
|
|
|
1092
1092
|
amount: string;
|
|
1093
1093
|
}[];
|
|
1094
1094
|
}
|
|
1095
|
-
export type TicketReceipt = TicketUpdates;
|
|
1095
|
+
export declare type TicketReceipt = TicketUpdates;
|
|
1096
1096
|
export interface OperationResultTransaction {
|
|
1097
1097
|
status: OperationResultStatusEnum;
|
|
1098
1098
|
storage?: MichelsonV1Expression;
|
|
@@ -1150,7 +1150,7 @@ export interface SuccessfulManagerOperationResult {
|
|
|
1150
1150
|
paid_storage_size_diff?: string;
|
|
1151
1151
|
lazy_storage_diff?: LazyStorageDiff[];
|
|
1152
1152
|
}
|
|
1153
|
-
export type MetadataBalanceUpdatesKindEnum = 'contract' | 'freezer' | 'accumulator' | 'burned' | 'commitment' | 'minted';
|
|
1153
|
+
export declare type MetadataBalanceUpdatesKindEnum = 'contract' | 'freezer' | 'accumulator' | 'burned' | 'commitment' | 'minted';
|
|
1154
1154
|
export declare enum METADATA_BALANCE_UPDATES_CATEGORY {
|
|
1155
1155
|
BAKING_REWARDS = "baking rewards",
|
|
1156
1156
|
REWARDS = "rewards",
|
|
@@ -1177,8 +1177,8 @@ export declare enum METADATA_BALANCE_UPDATES_CATEGORY {
|
|
|
1177
1177
|
TX_ROLLUP_REJECTION_PUNISHMENTS = "tx_rollup_rejection_punishments",
|
|
1178
1178
|
BONDS = "bonds"
|
|
1179
1179
|
}
|
|
1180
|
-
export type MetadataBalanceUpdatesCategoryEnum = METADATA_BALANCE_UPDATES_CATEGORY;
|
|
1181
|
-
export type MetadataBalanceUpdatesOriginEnum = 'block' | 'migration' | 'subsidy' | 'simulation';
|
|
1180
|
+
export declare type MetadataBalanceUpdatesCategoryEnum = METADATA_BALANCE_UPDATES_CATEGORY;
|
|
1181
|
+
export declare type MetadataBalanceUpdatesOriginEnum = 'block' | 'migration' | 'subsidy' | 'simulation';
|
|
1182
1182
|
export interface OperationMetadataBalanceUpdates {
|
|
1183
1183
|
kind: MetadataBalanceUpdatesKindEnum;
|
|
1184
1184
|
category?: MetadataBalanceUpdatesCategoryEnum;
|
|
@@ -1191,9 +1191,9 @@ export interface OperationMetadataBalanceUpdates {
|
|
|
1191
1191
|
change: string;
|
|
1192
1192
|
origin?: MetadataBalanceUpdatesOriginEnum;
|
|
1193
1193
|
}
|
|
1194
|
-
export type OperationResultStatusEnum = 'applied' | 'failed' | 'skipped' | 'backtracked';
|
|
1195
|
-
export type DiffActionEnum = 'update' | 'remove' | 'copy' | 'alloc';
|
|
1196
|
-
export type LazyStorageDiff = LazyStorageDiffBigMap | LazyStorageDiffSaplingState;
|
|
1194
|
+
export declare type OperationResultStatusEnum = 'applied' | 'failed' | 'skipped' | 'backtracked';
|
|
1195
|
+
export declare type DiffActionEnum = 'update' | 'remove' | 'copy' | 'alloc';
|
|
1196
|
+
export declare type LazyStorageDiff = LazyStorageDiffBigMap | LazyStorageDiffSaplingState;
|
|
1197
1197
|
export interface LazyStorageDiffBigMap {
|
|
1198
1198
|
kind: 'big_map';
|
|
1199
1199
|
id: string;
|
|
@@ -1222,11 +1222,11 @@ export interface LazyStorageDiffUpdatesBigMap {
|
|
|
1222
1222
|
key: MichelsonV1Expression;
|
|
1223
1223
|
value?: MichelsonV1Expression;
|
|
1224
1224
|
}
|
|
1225
|
-
export type CommitmentsAndCiphertexts = [
|
|
1225
|
+
export declare type CommitmentsAndCiphertexts = [
|
|
1226
1226
|
SaplingTransactionCommitment,
|
|
1227
1227
|
SaplingTransactionCiphertext
|
|
1228
1228
|
];
|
|
1229
|
-
export type SaplingTransactionCommitment = string;
|
|
1229
|
+
export declare type SaplingTransactionCommitment = string;
|
|
1230
1230
|
export interface LazyStorageDiffUpdatesSaplingState {
|
|
1231
1231
|
commitments_and_ciphertexts: CommitmentsAndCiphertexts[];
|
|
1232
1232
|
nullifiers: string[];
|
|
@@ -1261,7 +1261,7 @@ export interface OperationContentsAndResultMetadataOrigination {
|
|
|
1261
1261
|
operation_result: OperationResultOrigination;
|
|
1262
1262
|
internal_operation_results?: InternalOperationResult[];
|
|
1263
1263
|
}
|
|
1264
|
-
export type ConstantsResponse = ConstantsResponseCommon & ConstantsResponseProto015 & ConstantsResponseProto014 & ConstantsResponseProto013 & ConstantsResponseProto012 & ConstantsResponseProto011 & ConstantsResponseProto010 & ConstantsResponseProto009 & ConstantsResponseProto008 & ConstantsResponseProto007 & ConstantsResponseProto006 & ConstantsResponseProto005 & ConstantsResponseProto004 & ConstantsResponseProto003 & ConstantsResponseProto001And002;
|
|
1264
|
+
export declare type ConstantsResponse = ConstantsResponseCommon & ConstantsResponseProto015 & ConstantsResponseProto014 & ConstantsResponseProto013 & ConstantsResponseProto012 & ConstantsResponseProto011 & ConstantsResponseProto010 & ConstantsResponseProto009 & ConstantsResponseProto008 & ConstantsResponseProto007 & ConstantsResponseProto006 & ConstantsResponseProto005 & ConstantsResponseProto004 & ConstantsResponseProto003 & ConstantsResponseProto001And002;
|
|
1265
1265
|
export interface ConstantsResponseCommon {
|
|
1266
1266
|
proof_of_work_nonce_size: number;
|
|
1267
1267
|
nonce_length: number;
|
|
@@ -1285,7 +1285,7 @@ export interface ConstantsResponseCommon {
|
|
|
1285
1285
|
cost_per_byte: BigNumber;
|
|
1286
1286
|
hard_storage_limit_per_operation: BigNumber;
|
|
1287
1287
|
}
|
|
1288
|
-
export type Ratio = {
|
|
1288
|
+
export declare type Ratio = {
|
|
1289
1289
|
numerator: number;
|
|
1290
1290
|
denominator: number;
|
|
1291
1291
|
};
|
|
@@ -1466,11 +1466,11 @@ export interface BlockMetadata {
|
|
|
1466
1466
|
proposer_consensus_key?: string;
|
|
1467
1467
|
baker_consensus_key?: string;
|
|
1468
1468
|
}
|
|
1469
|
-
export type RPCRunOperationParam = {
|
|
1469
|
+
export declare type RPCRunOperationParam = {
|
|
1470
1470
|
operation: OperationObject;
|
|
1471
1471
|
chain_id: string;
|
|
1472
1472
|
};
|
|
1473
|
-
export type RPCRunCodeParam = {
|
|
1473
|
+
export declare type RPCRunCodeParam = {
|
|
1474
1474
|
script: MichelsonV1ExpressionExtended[];
|
|
1475
1475
|
storage: MichelsonV1Expression;
|
|
1476
1476
|
input: MichelsonV1Expression;
|
|
@@ -1486,13 +1486,13 @@ export type RPCRunCodeParam = {
|
|
|
1486
1486
|
now?: string;
|
|
1487
1487
|
level?: string;
|
|
1488
1488
|
};
|
|
1489
|
-
export type RunCodeResult = {
|
|
1489
|
+
export declare type RunCodeResult = {
|
|
1490
1490
|
storage: MichelsonV1Expression;
|
|
1491
1491
|
operations: InternalOperationResult[];
|
|
1492
1492
|
big_map_diff?: ContractBigMapDiff;
|
|
1493
1493
|
lazy_storage_diff?: LazyStorageDiff;
|
|
1494
1494
|
};
|
|
1495
|
-
export type RPCRunScriptViewParam = {
|
|
1495
|
+
export declare type RPCRunScriptViewParam = {
|
|
1496
1496
|
contract: string;
|
|
1497
1497
|
view: string;
|
|
1498
1498
|
input: MichelsonV1Expression;
|
|
@@ -1505,10 +1505,10 @@ export type RPCRunScriptViewParam = {
|
|
|
1505
1505
|
now?: string;
|
|
1506
1506
|
level?: string;
|
|
1507
1507
|
};
|
|
1508
|
-
export type RunScriptViewResult = {
|
|
1508
|
+
export declare type RunScriptViewResult = {
|
|
1509
1509
|
data: MichelsonV1Expression;
|
|
1510
1510
|
};
|
|
1511
|
-
export type RPCRunViewParam = {
|
|
1511
|
+
export declare type RPCRunViewParam = {
|
|
1512
1512
|
contract: string;
|
|
1513
1513
|
entrypoint: string;
|
|
1514
1514
|
input: MichelsonV1Expression;
|
|
@@ -1518,10 +1518,10 @@ export type RPCRunViewParam = {
|
|
|
1518
1518
|
gas?: BigNumber;
|
|
1519
1519
|
unparsing_mode?: UnparsingModeEnum;
|
|
1520
1520
|
};
|
|
1521
|
-
export type RunViewResult = {
|
|
1521
|
+
export declare type RunViewResult = {
|
|
1522
1522
|
data: MichelsonV1Expression;
|
|
1523
1523
|
};
|
|
1524
|
-
export type EntrypointsResponse = {
|
|
1524
|
+
export declare type EntrypointsResponse = {
|
|
1525
1525
|
entrypoints: {
|
|
1526
1526
|
[key: string]: MichelsonV1ExpressionExtended;
|
|
1527
1527
|
};
|
|
@@ -1551,21 +1551,21 @@ export interface VotingPeriodBlockResult {
|
|
|
1551
1551
|
position: number;
|
|
1552
1552
|
remaining: number;
|
|
1553
1553
|
}
|
|
1554
|
-
export type UnparsingModeEnum = 'Readable' | 'Optimized' | 'Optimized_legacy';
|
|
1555
|
-
export type UnparsingMode = {
|
|
1554
|
+
export declare type UnparsingModeEnum = 'Readable' | 'Optimized' | 'Optimized_legacy';
|
|
1555
|
+
export declare type UnparsingMode = {
|
|
1556
1556
|
unparsing_mode: UnparsingModeEnum;
|
|
1557
1557
|
};
|
|
1558
|
-
export type ProtocolsResponse = {
|
|
1558
|
+
export declare type ProtocolsResponse = {
|
|
1559
1559
|
protocol: string;
|
|
1560
1560
|
next_protocol: string;
|
|
1561
1561
|
};
|
|
1562
|
-
export type Next = {
|
|
1562
|
+
export declare type Next = {
|
|
1563
1563
|
next: number;
|
|
1564
1564
|
} | {
|
|
1565
1565
|
newest: number;
|
|
1566
1566
|
oldest: number;
|
|
1567
1567
|
};
|
|
1568
|
-
export type LastRemovedCommitmentHashes = {
|
|
1568
|
+
export declare type LastRemovedCommitmentHashes = {
|
|
1569
1569
|
last_message_hash: string;
|
|
1570
1570
|
commitment_hash: string;
|
|
1571
1571
|
};
|
|
@@ -4,7 +4,7 @@ exports.METADATA_BALANCE_UPDATES_CATEGORY = exports.OPERATION_METADATA = void 0;
|
|
|
4
4
|
var OPERATION_METADATA;
|
|
5
5
|
(function (OPERATION_METADATA) {
|
|
6
6
|
OPERATION_METADATA["TOO_LARGE"] = "too large";
|
|
7
|
-
})(OPERATION_METADATA
|
|
7
|
+
})(OPERATION_METADATA = exports.OPERATION_METADATA || (exports.OPERATION_METADATA = {}));
|
|
8
8
|
var METADATA_BALANCE_UPDATES_CATEGORY;
|
|
9
9
|
(function (METADATA_BALANCE_UPDATES_CATEGORY) {
|
|
10
10
|
METADATA_BALANCE_UPDATES_CATEGORY["BAKING_REWARDS"] = "baking rewards";
|
|
@@ -31,5 +31,5 @@ var METADATA_BALANCE_UPDATES_CATEGORY;
|
|
|
31
31
|
METADATA_BALANCE_UPDATES_CATEGORY["TX_ROLLUP_REJECTION_REWARDS"] = "tx_rollup_rejection_rewards";
|
|
32
32
|
METADATA_BALANCE_UPDATES_CATEGORY["TX_ROLLUP_REJECTION_PUNISHMENTS"] = "tx_rollup_rejection_punishments";
|
|
33
33
|
METADATA_BALANCE_UPDATES_CATEGORY["BONDS"] = "bonds";
|
|
34
|
-
})(METADATA_BALANCE_UPDATES_CATEGORY
|
|
34
|
+
})(METADATA_BALANCE_UPDATES_CATEGORY = exports.METADATA_BALANCE_UPDATES_CATEGORY || (exports.METADATA_BALANCE_UPDATES_CATEGORY = {}));
|
|
35
35
|
//# sourceMappingURL=types.js.map
|
package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../../src/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.ts"],"names":[],"mappings":";;;AAm7BA,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC5B,6CAAuB,CAAA;AACzB,CAAC,EAFW,kBAAkB,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../../src/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.ts"],"names":[],"mappings":";;;AAm7BA,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC5B,6CAAuB,CAAA;AACzB,CAAC,EAFW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAE7B;AAidD,IAAY,iCAyBX;AAzBD,WAAY,iCAAiC;IAC3C,sEAAiC,CAAA;IACjC,wDAAmB,CAAA;IACnB,kDAAa,CAAA;IACb,0DAAqB,CAAA;IACrB,sEAAiC,CAAA;IACjC,gEAA2B,CAAA;IAC3B,wEAAmC,CAAA;IACnC,8DAAyB,CAAA;IACzB,0FAAqD,CAAA;IACrD,wGAAmE,CAAA;IACnE,4EAAuC,CAAA;IACvC,sEAAiC,CAAA;IACjC,kEAA6B,CAAA;IAC7B,gEAA2B,CAAA;IAC3B,sFAAiD,CAAA;IACjD,wDAAmB,CAAA;IACnB,sDAAiB,CAAA;IACjB,8DAAyB,CAAA;IACzB,4DAAuB,CAAA;IACvB,wDAAmB,CAAA;IACnB,sDAAiB,CAAA;IACjB,gGAA2D,CAAA;IAC3D,wGAAmE,CAAA;IACnE,oDAAe,CAAA;AACjB,CAAC,EAzBW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAyB5C"}
|
|
@@ -31,9 +31,9 @@ export declare enum Prefix {
|
|
|
31
31
|
ID = "id",
|
|
32
32
|
EXPR = "expr",
|
|
33
33
|
TZ = "TZ",
|
|
34
|
-
VH = "vh"
|
|
35
|
-
SASK = "sask"
|
|
36
|
-
ZET1 = "zet1"
|
|
34
|
+
VH = "vh",
|
|
35
|
+
SASK = "sask",
|
|
36
|
+
ZET1 = "zet1",
|
|
37
37
|
TXR1 = "txr1",
|
|
38
38
|
TXI = "txi",
|
|
39
39
|
TXM = "txm",
|
|
@@ -43,48 +43,48 @@ export declare enum Prefix {
|
|
|
43
43
|
TXW = "txw"
|
|
44
44
|
}
|
|
45
45
|
export declare const prefix: {
|
|
46
|
-
tz1: Uint8Array
|
|
47
|
-
tz2: Uint8Array
|
|
48
|
-
tz3: Uint8Array
|
|
49
|
-
tz4: Uint8Array
|
|
50
|
-
KT: Uint8Array
|
|
51
|
-
KT1: Uint8Array
|
|
52
|
-
edsk: Uint8Array
|
|
53
|
-
edsk2: Uint8Array
|
|
54
|
-
spsk: Uint8Array
|
|
55
|
-
p2sk: Uint8Array
|
|
56
|
-
edpk: Uint8Array
|
|
57
|
-
sppk: Uint8Array
|
|
58
|
-
p2pk: Uint8Array
|
|
59
|
-
BLpk: Uint8Array
|
|
60
|
-
edesk: Uint8Array
|
|
61
|
-
spesk: Uint8Array
|
|
62
|
-
p2esk: Uint8Array
|
|
63
|
-
edsig: Uint8Array
|
|
64
|
-
spsig: Uint8Array
|
|
65
|
-
p2sig: Uint8Array
|
|
66
|
-
sig: Uint8Array
|
|
67
|
-
Net: Uint8Array
|
|
68
|
-
nce: Uint8Array
|
|
69
|
-
B: Uint8Array
|
|
70
|
-
o: Uint8Array
|
|
71
|
-
Lo: Uint8Array
|
|
72
|
-
LLo: Uint8Array
|
|
73
|
-
P: Uint8Array
|
|
74
|
-
Co: Uint8Array
|
|
75
|
-
id: Uint8Array
|
|
76
|
-
expr: Uint8Array
|
|
77
|
-
TZ: Uint8Array
|
|
78
|
-
vh: Uint8Array
|
|
79
|
-
sask: Uint8Array
|
|
80
|
-
zet1: Uint8Array
|
|
81
|
-
txr1: Uint8Array
|
|
82
|
-
txi: Uint8Array
|
|
83
|
-
txm: Uint8Array
|
|
84
|
-
txc: Uint8Array
|
|
85
|
-
txmr: Uint8Array
|
|
86
|
-
txM: Uint8Array
|
|
87
|
-
txw: Uint8Array
|
|
46
|
+
tz1: Uint8Array;
|
|
47
|
+
tz2: Uint8Array;
|
|
48
|
+
tz3: Uint8Array;
|
|
49
|
+
tz4: Uint8Array;
|
|
50
|
+
KT: Uint8Array;
|
|
51
|
+
KT1: Uint8Array;
|
|
52
|
+
edsk: Uint8Array;
|
|
53
|
+
edsk2: Uint8Array;
|
|
54
|
+
spsk: Uint8Array;
|
|
55
|
+
p2sk: Uint8Array;
|
|
56
|
+
edpk: Uint8Array;
|
|
57
|
+
sppk: Uint8Array;
|
|
58
|
+
p2pk: Uint8Array;
|
|
59
|
+
BLpk: Uint8Array;
|
|
60
|
+
edesk: Uint8Array;
|
|
61
|
+
spesk: Uint8Array;
|
|
62
|
+
p2esk: Uint8Array;
|
|
63
|
+
edsig: Uint8Array;
|
|
64
|
+
spsig: Uint8Array;
|
|
65
|
+
p2sig: Uint8Array;
|
|
66
|
+
sig: Uint8Array;
|
|
67
|
+
Net: Uint8Array;
|
|
68
|
+
nce: Uint8Array;
|
|
69
|
+
B: Uint8Array;
|
|
70
|
+
o: Uint8Array;
|
|
71
|
+
Lo: Uint8Array;
|
|
72
|
+
LLo: Uint8Array;
|
|
73
|
+
P: Uint8Array;
|
|
74
|
+
Co: Uint8Array;
|
|
75
|
+
id: Uint8Array;
|
|
76
|
+
expr: Uint8Array;
|
|
77
|
+
TZ: Uint8Array;
|
|
78
|
+
vh: Uint8Array;
|
|
79
|
+
sask: Uint8Array;
|
|
80
|
+
zet1: Uint8Array;
|
|
81
|
+
txr1: Uint8Array;
|
|
82
|
+
txi: Uint8Array;
|
|
83
|
+
txm: Uint8Array;
|
|
84
|
+
txc: Uint8Array;
|
|
85
|
+
txmr: Uint8Array;
|
|
86
|
+
txM: Uint8Array;
|
|
87
|
+
txw: Uint8Array;
|
|
88
88
|
};
|
|
89
89
|
export declare const prefixLength: {
|
|
90
90
|
[key: string]: number;
|