@mainsail/contracts 0.0.1-evm.37 → 0.0.1-evm.39

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.
Files changed (99) hide show
  1. package/distribution/constants/environment-variables.d.ts +1 -1
  2. package/distribution/constants/environment-variables.d.ts.map +1 -1
  3. package/distribution/constants/environment-variables.js +1 -0
  4. package/distribution/constants/environment-variables.js.map +1 -1
  5. package/distribution/contracts/kernel/events.d.ts +14 -15
  6. package/distribution/contracts/kernel/events.d.ts.map +1 -1
  7. package/distribution/contracts/p2p/endpoints.d.ts +2 -5
  8. package/distribution/contracts/p2p/endpoints.d.ts.map +1 -1
  9. package/distribution/contracts/p2p/index.d.ts +1 -1
  10. package/distribution/contracts/p2p/index.d.ts.map +1 -1
  11. package/distribution/contracts/p2p/index.js +1 -1
  12. package/distribution/contracts/p2p/index.js.map +1 -1
  13. package/distribution/contracts/p2p/server.d.ts +24 -1
  14. package/distribution/contracts/p2p/server.d.ts.map +1 -1
  15. package/distribution/contracts/p2p/statistic.d.ts +85 -0
  16. package/distribution/contracts/p2p/statistic.d.ts.map +1 -0
  17. package/distribution/contracts/p2p/statistic.js +2 -0
  18. package/distribution/contracts/p2p/statistic.js.map +1 -0
  19. package/distribution/identifiers.d.ts +5 -1
  20. package/distribution/identifiers.d.ts.map +1 -1
  21. package/distribution/identifiers.js +5 -1
  22. package/distribution/identifiers.js.map +1 -1
  23. package/distribution/index.d.ts +0 -1
  24. package/distribution/index.d.ts.map +1 -1
  25. package/distribution/index.js +0 -1
  26. package/distribution/index.js.map +1 -1
  27. package/package.json +3 -2
  28. package/distribution/contracts/p2p/peer-statistic.d.ts +0 -4
  29. package/distribution/contracts/p2p/peer-statistic.d.ts.map +0 -1
  30. package/distribution/contracts/p2p/peer-statistic.js +0 -2
  31. package/distribution/contracts/p2p/peer-statistic.js.map +0 -1
  32. package/distribution/exceptions/base.d.ts +0 -4
  33. package/distribution/exceptions/base.d.ts.map +0 -1
  34. package/distribution/exceptions/base.js +0 -15
  35. package/distribution/exceptions/base.js.map +0 -1
  36. package/distribution/exceptions/cli.d.ts +0 -8
  37. package/distribution/exceptions/cli.d.ts.map +0 -1
  38. package/distribution/exceptions/cli.js +0 -12
  39. package/distribution/exceptions/cli.js.map +0 -1
  40. package/distribution/exceptions/config.d.ts +0 -19
  41. package/distribution/exceptions/config.d.ts.map +0 -1
  42. package/distribution/exceptions/config.js +0 -25
  43. package/distribution/exceptions/config.js.map +0 -1
  44. package/distribution/exceptions/consensus.d.ts +0 -5
  45. package/distribution/exceptions/consensus.d.ts.map +0 -1
  46. package/distribution/exceptions/consensus.js +0 -7
  47. package/distribution/exceptions/consensus.js.map +0 -1
  48. package/distribution/exceptions/container.d.ts +0 -18
  49. package/distribution/exceptions/container.d.ts.map +0 -1
  50. package/distribution/exceptions/container.js +0 -22
  51. package/distribution/exceptions/container.js.map +0 -1
  52. package/distribution/exceptions/crypto.d.ts +0 -207
  53. package/distribution/exceptions/crypto.d.ts.map +0 -1
  54. package/distribution/exceptions/crypto.js +0 -345
  55. package/distribution/exceptions/crypto.js.map +0 -1
  56. package/distribution/exceptions/filesystem.d.ts +0 -12
  57. package/distribution/exceptions/filesystem.d.ts.map +0 -1
  58. package/distribution/exceptions/filesystem.js +0 -16
  59. package/distribution/exceptions/filesystem.js.map +0 -1
  60. package/distribution/exceptions/index.d.ts +0 -17
  61. package/distribution/exceptions/index.d.ts.map +0 -1
  62. package/distribution/exceptions/index.js +0 -17
  63. package/distribution/exceptions/index.js.map +0 -1
  64. package/distribution/exceptions/logic.d.ts +0 -28
  65. package/distribution/exceptions/logic.d.ts.map +0 -1
  66. package/distribution/exceptions/logic.js +0 -36
  67. package/distribution/exceptions/logic.js.map +0 -1
  68. package/distribution/exceptions/p2p.d.ts +0 -24
  69. package/distribution/exceptions/p2p.d.ts.map +0 -1
  70. package/distribution/exceptions/p2p.js +0 -37
  71. package/distribution/exceptions/p2p.js.map +0 -1
  72. package/distribution/exceptions/plugins.d.ts +0 -27
  73. package/distribution/exceptions/plugins.d.ts.map +0 -1
  74. package/distribution/exceptions/plugins.js +0 -43
  75. package/distribution/exceptions/plugins.js.map +0 -1
  76. package/distribution/exceptions/pool.d.ts +0 -46
  77. package/distribution/exceptions/pool.d.ts.map +0 -1
  78. package/distribution/exceptions/pool.js +0 -76
  79. package/distribution/exceptions/pool.js.map +0 -1
  80. package/distribution/exceptions/processor.d.ts +0 -53
  81. package/distribution/exceptions/processor.d.ts.map +0 -1
  82. package/distribution/exceptions/processor.js +0 -84
  83. package/distribution/exceptions/processor.js.map +0 -1
  84. package/distribution/exceptions/rpc.d.ts +0 -6
  85. package/distribution/exceptions/rpc.d.ts.map +0 -1
  86. package/distribution/exceptions/rpc.js +0 -9
  87. package/distribution/exceptions/rpc.js.map +0 -1
  88. package/distribution/exceptions/runtime.d.ts +0 -9
  89. package/distribution/exceptions/runtime.d.ts.map +0 -1
  90. package/distribution/exceptions/runtime.js +0 -12
  91. package/distribution/exceptions/runtime.js.map +0 -1
  92. package/distribution/exceptions/state.d.ts +0 -8
  93. package/distribution/exceptions/state.d.ts.map +0 -1
  94. package/distribution/exceptions/state.js +0 -12
  95. package/distribution/exceptions/state.js.map +0 -1
  96. package/distribution/exceptions/validation.d.ts +0 -5
  97. package/distribution/exceptions/validation.d.ts.map +0 -1
  98. package/distribution/exceptions/validation.js +0 -7
  99. package/distribution/exceptions/validation.js.map +0 -1
@@ -1,18 +0,0 @@
1
- import { Exception } from "./base.js";
2
- export declare class ContainerException extends Exception {
3
- }
4
- export declare class EntryNotFound extends ContainerException {
5
- }
6
- export declare class BindingResolution extends ContainerException {
7
- }
8
- export declare class ParameterNotFound extends ContainerException {
9
- }
10
- export declare class ServiceNotFound extends ContainerException {
11
- }
12
- export declare class InvalidBindingName extends ContainerException {
13
- constructor(name: string);
14
- }
15
- export declare class DriverCannotBeResolved extends ContainerException {
16
- constructor(name: string);
17
- }
18
- //# sourceMappingURL=container.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../source/exceptions/container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,qBAAa,kBAAmB,SAAQ,SAAS;CAAG;AAEpD,qBAAa,aAAc,SAAQ,kBAAkB;CAAG;AAExD,qBAAa,iBAAkB,SAAQ,kBAAkB;CAAG;AAE5D,qBAAa,iBAAkB,SAAQ,kBAAkB;CAAG;AAE5D,qBAAa,eAAgB,SAAQ,kBAAkB;CAAG;AAE1D,qBAAa,kBAAmB,SAAQ,kBAAkB;gBACtC,IAAI,EAAE,MAAM;CAG/B;AAED,qBAAa,sBAAuB,SAAQ,kBAAkB;gBAC1C,IAAI,EAAE,MAAM;CAG/B"}
@@ -1,22 +0,0 @@
1
- import { Exception } from "./base.js";
2
- export class ContainerException extends Exception {
3
- }
4
- export class EntryNotFound extends ContainerException {
5
- }
6
- export class BindingResolution extends ContainerException {
7
- }
8
- export class ParameterNotFound extends ContainerException {
9
- }
10
- export class ServiceNotFound extends ContainerException {
11
- }
12
- export class InvalidBindingName extends ContainerException {
13
- constructor(name) {
14
- super(`The name [${name}] is reserved.`);
15
- }
16
- }
17
- export class DriverCannotBeResolved extends ContainerException {
18
- constructor(name) {
19
- super(`Unable to resolve driver for [${name}].'`);
20
- }
21
- }
22
- //# sourceMappingURL=container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"container.js","sourceRoot":"","sources":["../../source/exceptions/container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,OAAO,kBAAmB,SAAQ,SAAS;CAAG;AAEpD,MAAM,OAAO,aAAc,SAAQ,kBAAkB;CAAG;AAExD,MAAM,OAAO,iBAAkB,SAAQ,kBAAkB;CAAG;AAE5D,MAAM,OAAO,iBAAkB,SAAQ,kBAAkB;CAAG;AAE5D,MAAM,OAAO,eAAgB,SAAQ,kBAAkB;CAAG;AAE1D,MAAM,OAAO,kBAAmB,SAAQ,kBAAkB;IACzD,YAAmB,IAAY;QAC9B,KAAK,CAAC,aAAa,IAAI,gBAAgB,CAAC,CAAC;IAC1C,CAAC;CACD;AAED,MAAM,OAAO,sBAAuB,SAAQ,kBAAkB;IAC7D,YAAmB,IAAY;QAC9B,KAAK,CAAC,iCAAiC,IAAI,KAAK,CAAC,CAAC;IACnD,CAAC;CACD"}
@@ -1,207 +0,0 @@
1
- import { Wallet } from "../contracts/state/wallets.js";
2
- import { Exception } from "./base.js";
3
- export declare class Bip38CompressionError extends Exception {
4
- constructor(expected: string | number, given: string | number);
5
- }
6
- export declare class Bip38LengthError extends Exception {
7
- constructor(expected: string | number, given: string | number);
8
- }
9
- export declare class Bip38PrefixError extends Exception {
10
- constructor(expected: string | number, given: string | number);
11
- }
12
- export declare class Bip38TypeError extends Exception {
13
- constructor(expected: string | number, given: string | number);
14
- }
15
- export declare class NetworkVersionError extends Exception {
16
- constructor(expected: string | number, given: string | number);
17
- }
18
- export declare class PrivateKeyLengthError extends Exception {
19
- constructor(expected: string | number, given: string | number);
20
- }
21
- export declare class PublicKeyError extends Exception {
22
- constructor(given: string);
23
- }
24
- export declare class AddressNetworkError extends Exception {
25
- constructor(what: string);
26
- }
27
- export declare class MessageSchemaError extends Exception {
28
- constructor(type: string, what: string);
29
- }
30
- export declare class TransactionTypeError extends Exception {
31
- constructor(given: string);
32
- }
33
- export declare class InvalidTransactionBytesError extends Exception {
34
- constructor(message: string);
35
- }
36
- export declare class TransactionSchemaError extends Exception {
37
- constructor(what: string);
38
- }
39
- export declare class TransactionVersionError extends Exception {
40
- constructor(given: number);
41
- }
42
- export declare class UnkownTransactionError extends Exception {
43
- constructor(given: string);
44
- }
45
- export declare class TransactionAlreadyRegisteredError extends Exception {
46
- constructor(name: string);
47
- }
48
- export declare class TransactionKeyAlreadyRegisteredError extends Exception {
49
- constructor(name: string);
50
- }
51
- export declare class TransactionVersionAlreadyRegisteredError extends Exception {
52
- constructor(name: string, version: number);
53
- }
54
- export declare class CoreTransactionTypeGroupImmutableError extends Exception {
55
- constructor();
56
- }
57
- export declare class MissingMilestoneFeeError extends Exception {
58
- constructor(name: string);
59
- }
60
- export declare class MaximumPaymentCountExceededError extends Exception {
61
- constructor(limit: number);
62
- }
63
- export declare class MinimumPaymentCountSubceededError extends Exception {
64
- constructor();
65
- }
66
- export declare class MissingTransactionSignatureError extends Exception {
67
- constructor();
68
- }
69
- export declare class BlockSchemaError extends Exception {
70
- constructor(height: number, what: string);
71
- }
72
- export declare class PreviousBlockIdFormatError extends Exception {
73
- constructor(thisBlockHeight: number, previousBlockId: string);
74
- }
75
- export declare class EvmCallIncompleteAssetError extends Exception {
76
- constructor();
77
- }
78
- export declare class EvmCallMissingRecipientError extends Exception {
79
- constructor();
80
- }
81
- export declare class InvalidMilestoneConfigurationError extends Exception {
82
- constructor(message: string);
83
- }
84
- export declare class InvalidNumberOfRoundValidatorsError extends Exception {
85
- constructor(message: string);
86
- }
87
- export declare class InvalidMultiSignatureAssetError extends Exception {
88
- constructor();
89
- }
90
- export declare class DuplicateParticipantInMultiSignatureError extends Exception {
91
- constructor();
92
- }
93
- export declare class InvalidTransactionTypeError extends Exception {
94
- constructor(type: number);
95
- }
96
- export declare class DeactivatedTransactionHandlerError extends Exception {
97
- constructor(type: number);
98
- }
99
- export declare class UnsatisfiedDependencyError extends Exception {
100
- constructor(type: number);
101
- }
102
- export declare class AlreadyRegisteredError extends Exception {
103
- constructor(type: number);
104
- }
105
- export declare class UnexpectedNonceError extends Exception {
106
- constructor(txNonce: any, sender: Wallet);
107
- }
108
- export declare class ColdWalletError extends Exception {
109
- constructor();
110
- }
111
- export declare class InsufficientBalanceError extends Exception {
112
- constructor();
113
- }
114
- export declare class SenderWalletMismatchError extends Exception {
115
- constructor();
116
- }
117
- export declare class UnexpectedLegacySecondSignatureError extends Exception {
118
- constructor();
119
- }
120
- export declare class InvalidLegacySecondSignatureError extends Exception {
121
- constructor();
122
- }
123
- export declare class MissingLegacySecondSignatureError extends Exception {
124
- constructor();
125
- }
126
- export declare class MissingMultiSignatureOnSenderError extends Exception {
127
- constructor();
128
- }
129
- export declare class InvalidMultiSignaturesError extends Exception {
130
- constructor();
131
- }
132
- export declare class UnsupportedMultiSignatureRegistrationTransactionError extends Exception {
133
- constructor();
134
- }
135
- export declare class UnsupportedMultiSignatureRegistrationException extends Exception {
136
- constructor();
137
- }
138
- export declare class WalletAlreadyResignedError extends Exception {
139
- constructor();
140
- }
141
- export declare class WalletNotAValidatorError extends Exception {
142
- constructor();
143
- }
144
- export declare class WalletIsAlreadyValidatorError extends Exception {
145
- constructor();
146
- }
147
- export declare class ValidatorPublicKeyAlreadyRegisteredError extends Exception {
148
- constructor(validatorPublicKey: string);
149
- }
150
- export declare class WalletUsernameAlreadyRegisteredError extends Exception {
151
- constructor(username: string);
152
- }
153
- export declare class WalletUsernameNotRegisteredError extends Exception {
154
- constructor();
155
- }
156
- export declare class AlreadyVotedError extends Exception {
157
- constructor();
158
- }
159
- export declare class NoVoteError extends Exception {
160
- constructor();
161
- }
162
- export declare class UnvoteMismatchError extends Exception {
163
- constructor();
164
- }
165
- export declare class VotedForNonValidatorError extends Exception {
166
- constructor(vote: string);
167
- }
168
- export declare class VotedForResignedValidatorError extends Exception {
169
- constructor(vote: string);
170
- }
171
- export declare class EmptyVoteError extends Exception {
172
- constructor();
173
- }
174
- export declare class MaxVotesExceeededError extends Exception {
175
- constructor();
176
- }
177
- export declare class MaxUnvotesExceeededError extends Exception {
178
- constructor();
179
- }
180
- export declare class NotEnoughValidatorsError extends Exception {
181
- constructor();
182
- }
183
- export declare class InvalidSignatureError extends Exception {
184
- constructor();
185
- }
186
- export declare class MultiSignatureAlreadyRegisteredError extends Exception {
187
- constructor();
188
- }
189
- export declare class InvalidMultiSignatureError extends Exception {
190
- constructor();
191
- }
192
- export declare class LegacyMultiSignatureError extends Exception {
193
- constructor();
194
- }
195
- export declare class LegacyMultiSignatureRegistrationError extends Exception {
196
- constructor();
197
- }
198
- export declare class MultiSignatureMinimumKeysError extends Exception {
199
- constructor();
200
- }
201
- export declare class MultiSignatureKeyCountMismatchError extends Exception {
202
- constructor();
203
- }
204
- export declare class MultiPaymentAmountMismatchError extends Exception {
205
- constructor();
206
- }
207
- //# sourceMappingURL=crypto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../source/exceptions/crypto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,qBAAa,qBAAsB,SAAQ,SAAS;gBAChC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;CAGpE;AAED,qBAAa,gBAAiB,SAAQ,SAAS;gBAC3B,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;CAGpE;AAED,qBAAa,gBAAiB,SAAQ,SAAS;gBAC3B,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;CAGpE;AAED,qBAAa,cAAe,SAAQ,SAAS;gBACzB,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;CAGpE;AAED,qBAAa,mBAAoB,SAAQ,SAAS;gBAC9B,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;CAGpE;AAED,qBAAa,qBAAsB,SAAQ,SAAS;gBAChC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;CAGpE;AAED,qBAAa,cAAe,SAAQ,SAAS;gBACzB,KAAK,EAAE,MAAM;CAGhC;AAED,qBAAa,mBAAoB,SAAQ,SAAS;gBAC9B,IAAI,EAAE,MAAM;CAG/B;AAED,qBAAa,kBA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AAa,iBAAkB,SAAQ,SAAS;;CAI/C;AAED,qBAAa,WAAY,SAAQ,SAAS;;CAIzC;AAED,qBAAa,mBAAoB,SAAQ,SAAS;;CAIjD;AAED,qBAAa,yBAA0B,SAAQ,SAAS;gBACpC,IAAI,EAAE,MAAM;CAG/B;AAED,qBAAa,8BAA+B,SAAQ,SAAS;gBACzC,IAAI,EAAE,MAAM;CAG/B;AAED,qBAAa,cAAe,SAAQ,SAAS;;CAI5C;AACD,qBAAa,sBAAuB,SAAQ,SAAS;;CAIpD;AAED,qBAAa,wBAAyB,SAAQ,SAAS;;CAItD;AAED,qBAAa,wBAAyB,SAAQ,SAAS;;CAItD;AAED,qBAAa,qBAAsB,SAAQ,SAAS;;CAInD;AAED,qBAAa,oCAAqC,SAAQ,SAAS;;CAIlE;AAED,qBAAa,0BAA2B,SAAQ,SAAS;;CAIxD;AAED,qBAAa,yBAA0B,SAAQ,SAAS;;CAIvD;AAED,qBAAa,qCAAsC,SAAQ,SAAS;;CAInE;AAED,qBAAa,8BAA+B,SAAQ,SAAS;;CAI5D;AAED,qBAAa,mCAAoC,SAAQ,SAAS;;CAMjE;AAED,qBAAa,+BAAgC,SAAQ,SAAS;;CAI7D"}
@@ -1,345 +0,0 @@
1
- import { Exception } from "./base.js";
2
- export class Bip38CompressionError extends Exception {
3
- constructor(expected, given) {
4
- super(`Expected flag to be ${expected}, but got ${given}.`);
5
- }
6
- }
7
- export class Bip38LengthError extends Exception {
8
- constructor(expected, given) {
9
- super(`Expected length to be ${expected}, but got ${given}.`);
10
- }
11
- }
12
- export class Bip38PrefixError extends Exception {
13
- constructor(expected, given) {
14
- super(`Expected prefix to be ${expected}, but got ${given}.`);
15
- }
16
- }
17
- export class Bip38TypeError extends Exception {
18
- constructor(expected, given) {
19
- super(`Expected type to be ${expected}, but got ${given}.`);
20
- }
21
- }
22
- export class NetworkVersionError extends Exception {
23
- constructor(expected, given) {
24
- super(`Expected version to be ${expected}, but got ${given}.`);
25
- }
26
- }
27
- export class PrivateKeyLengthError extends Exception {
28
- constructor(expected, given) {
29
- super(`Expected length to be ${expected}, but got ${given}.`);
30
- }
31
- }
32
- export class PublicKeyError extends Exception {
33
- constructor(given) {
34
- super(`Expected ${given} to be a valid public key.`);
35
- }
36
- }
37
- export class AddressNetworkError extends Exception {
38
- constructor(what) {
39
- super(what);
40
- }
41
- }
42
- export class MessageSchemaError extends Exception {
43
- constructor(type, what) {
44
- super(`${type}: ${what}`);
45
- }
46
- }
47
- export class TransactionTypeError extends Exception {
48
- constructor(given) {
49
- super(`Type ${given} not supported.`);
50
- }
51
- }
52
- export class InvalidTransactionBytesError extends Exception {
53
- constructor(message) {
54
- super(`Failed to deserialize transaction, encountered invalid bytes: ${message}`);
55
- }
56
- }
57
- export class TransactionSchemaError extends Exception {
58
- constructor(what) {
59
- super(what);
60
- }
61
- }
62
- export class TransactionVersionError extends Exception {
63
- constructor(given) {
64
- super(`Version ${given} not supported.`);
65
- }
66
- }
67
- export class UnkownTransactionError extends Exception {
68
- constructor(given) {
69
- super(`Unknown transaction type: ${given}`);
70
- }
71
- }
72
- export class TransactionAlreadyRegisteredError extends Exception {
73
- constructor(name) {
74
- super(`Transaction type ${name} is already registered.`);
75
- }
76
- }
77
- export class TransactionKeyAlreadyRegisteredError extends Exception {
78
- constructor(name) {
79
- super(`Transaction key ${name} is already registered.`);
80
- }
81
- }
82
- export class TransactionVersionAlreadyRegisteredError extends Exception {
83
- constructor(name, version) {
84
- super(`Transaction type ${name} is already registered in version ${version}.`);
85
- }
86
- }
87
- export class CoreTransactionTypeGroupImmutableError extends Exception {
88
- constructor() {
89
- super(`The Core transaction type group is immutable.`);
90
- }
91
- }
92
- export class MissingMilestoneFeeError extends Exception {
93
- constructor(name) {
94
- super(`Missing milestone fee for '${name}'.`);
95
- }
96
- }
97
- export class MaximumPaymentCountExceededError extends Exception {
98
- constructor(limit) {
99
- super(`Number of payments exceeded the allowed maximum of ${limit}.`);
100
- }
101
- }
102
- export class MinimumPaymentCountSubceededError extends Exception {
103
- constructor() {
104
- super(`Number of payments subceeded the required minimum of 2.`);
105
- }
106
- }
107
- export class MissingTransactionSignatureError extends Exception {
108
- constructor() {
109
- super(`Expected the transaction to be signed.`);
110
- }
111
- }
112
- export class BlockSchemaError extends Exception {
113
- constructor(height, what) {
114
- super(`Height (${height}): ${what}`);
115
- }
116
- }
117
- export class PreviousBlockIdFormatError extends Exception {
118
- constructor(thisBlockHeight, previousBlockId) {
119
- super(`The config denotes that the block at height ${thisBlockHeight - 1} ` +
120
- `must use full SHA256 block id, but the next block (at ${thisBlockHeight}) ` +
121
- `contains previous block id "${previousBlockId}"`);
122
- }
123
- }
124
- export class EvmCallIncompleteAssetError extends Exception {
125
- constructor() {
126
- super(`EvmCall asset is incomplete`);
127
- }
128
- }
129
- export class EvmCallMissingRecipientError extends Exception {
130
- constructor() {
131
- super(`EvmCall is missing recipient`);
132
- }
133
- }
134
- export class InvalidMilestoneConfigurationError extends Exception {
135
- constructor(message) {
136
- super(message);
137
- }
138
- }
139
- export class InvalidNumberOfRoundValidatorsError extends Exception {
140
- constructor(message) {
141
- super(message);
142
- }
143
- }
144
- export class InvalidMultiSignatureAssetError extends Exception {
145
- constructor() {
146
- super(`The multi signature asset is invalid.`);
147
- }
148
- }
149
- export class DuplicateParticipantInMultiSignatureError extends Exception {
150
- constructor() {
151
- super(`Invalid multi signature, because duplicate participant found.`);
152
- }
153
- }
154
- export class InvalidTransactionTypeError extends Exception {
155
- constructor(type) {
156
- super(`Transaction type ${type.toString()} does not exist.`);
157
- }
158
- }
159
- export class DeactivatedTransactionHandlerError extends Exception {
160
- constructor(type) {
161
- super(`Transaction type ${type.toString()} is deactivated.`);
162
- }
163
- }
164
- export class UnsatisfiedDependencyError extends Exception {
165
- constructor(type) {
166
- super(`Transaction type ${type.toString()} is missing required dependencies`);
167
- }
168
- }
169
- export class AlreadyRegisteredError extends Exception {
170
- constructor(type) {
171
- super(`Transaction type ${type.toString()} is already registered`);
172
- }
173
- }
174
- export class UnexpectedNonceError extends Exception {
175
- constructor(txNonce, sender) {
176
- super(`Cannot apply a transaction with nonce ${txNonce.toFixed()}: the ` +
177
- `sender ${sender.getAddress()} has nonce ${sender.getNonce().toFixed()}${sender.getNonce().isZero() ? " (this might be due to a wrong signature)" : ""}.`);
178
- }
179
- }
180
- export class ColdWalletError extends Exception {
181
- constructor() {
182
- super(`Insufficient balance in database wallet. Wallet is not allowed to spend before funding is confirmed.`);
183
- }
184
- }
185
- export class InsufficientBalanceError extends Exception {
186
- constructor() {
187
- super(`Insufficient balance in the wallet.`);
188
- }
189
- }
190
- export class SenderWalletMismatchError extends Exception {
191
- constructor() {
192
- super(`Failed to apply transaction, because the public key does not match the wallet.`);
193
- }
194
- }
195
- export class UnexpectedLegacySecondSignatureError extends Exception {
196
- constructor() {
197
- super(`Failed to apply transaction, because wallet does not allow legacy second signatures.`);
198
- }
199
- }
200
- export class InvalidLegacySecondSignatureError extends Exception {
201
- constructor() {
202
- super(`Failed to apply transaction, because the legacy second signature could not be verified.`);
203
- }
204
- }
205
- export class MissingLegacySecondSignatureError extends Exception {
206
- constructor() {
207
- super(`Failed to apply transaction, because the legacy second signature is missing.`);
208
- }
209
- }
210
- export class MissingMultiSignatureOnSenderError extends Exception {
211
- constructor() {
212
- super(`Failed to apply transaction, because sender does not have a multi signature.`);
213
- }
214
- }
215
- export class InvalidMultiSignaturesError extends Exception {
216
- constructor() {
217
- super(`Failed to apply transaction, because the multi signatures are invalid.`);
218
- }
219
- }
220
- export class UnsupportedMultiSignatureRegistrationTransactionError extends Exception {
221
- constructor() {
222
- super(`Failed to apply transaction, because the transaction does not support multi signatures.`);
223
- }
224
- }
225
- export class UnsupportedMultiSignatureRegistrationException extends Exception {
226
- constructor() {
227
- super(`Failed to apply transaction, because the transaction does not support multi signatures.`);
228
- }
229
- }
230
- export class WalletAlreadyResignedError extends Exception {
231
- constructor() {
232
- super(`Failed to apply transaction, because the wallet already resigned as validator.`);
233
- }
234
- }
235
- export class WalletNotAValidatorError extends Exception {
236
- constructor() {
237
- super(`Failed to apply transaction, because the wallet is not a validator.`);
238
- }
239
- }
240
- export class WalletIsAlreadyValidatorError extends Exception {
241
- constructor() {
242
- super(`Failed to apply transaction, because the wallet is already a validator.`);
243
- }
244
- }
245
- export class ValidatorPublicKeyAlreadyRegisteredError extends Exception {
246
- constructor(validatorPublicKey) {
247
- super(`Failed to apply transaction, because the validator public key '${validatorPublicKey}' is already registered.`);
248
- }
249
- }
250
- export class WalletUsernameAlreadyRegisteredError extends Exception {
251
- constructor(username) {
252
- super(`Failed to apply transaction, because the username '${username}' is already registered.`);
253
- }
254
- }
255
- export class WalletUsernameNotRegisteredError extends Exception {
256
- constructor() {
257
- super(`Failed to apply transaction, because the username is not registered.`);
258
- }
259
- }
260
- export class AlreadyVotedError extends Exception {
261
- constructor() {
262
- super(`Failed to apply transaction, because the sender wallet has already voted.`);
263
- }
264
- }
265
- export class NoVoteError extends Exception {
266
- constructor() {
267
- super(`Failed to apply transaction, because the wallet has not voted.`);
268
- }
269
- }
270
- export class UnvoteMismatchError extends Exception {
271
- constructor() {
272
- super(`Failed to apply transaction, because the wallet vote does not match.`);
273
- }
274
- }
275
- export class VotedForNonValidatorError extends Exception {
276
- constructor(vote) {
277
- super(`Failed to apply transaction, because only validators can be voted.`);
278
- }
279
- }
280
- export class VotedForResignedValidatorError extends Exception {
281
- constructor(vote) {
282
- super(`Failed to apply transaction, because it votes for a resigned validator.`);
283
- }
284
- }
285
- export class EmptyVoteError extends Exception {
286
- constructor() {
287
- super(`Failed to apply transaction, because it doesn't contain any votes or unvotes.`);
288
- }
289
- }
290
- export class MaxVotesExceeededError extends Exception {
291
- constructor() {
292
- super(`Failed to apply transaction, because it exceeds max votes.`);
293
- }
294
- }
295
- export class MaxUnvotesExceeededError extends Exception {
296
- constructor() {
297
- super(`Failed to apply transaction, because it exceeds max unvotes`);
298
- }
299
- }
300
- export class NotEnoughValidatorsError extends Exception {
301
- constructor() {
302
- super(`Failed to apply transaction, because not enough validators to allow resignation.`);
303
- }
304
- }
305
- export class InvalidSignatureError extends Exception {
306
- constructor() {
307
- super(`Failed to apply transaction, because signature is invalid.`);
308
- }
309
- }
310
- export class MultiSignatureAlreadyRegisteredError extends Exception {
311
- constructor() {
312
- super(`Failed to apply transaction, because multi signature is already enabled.`);
313
- }
314
- }
315
- export class InvalidMultiSignatureError extends Exception {
316
- constructor() {
317
- super(`Failed to apply transaction, because the multi signature could not be verified.`);
318
- }
319
- }
320
- export class LegacyMultiSignatureError extends Exception {
321
- constructor() {
322
- super(`Failed to apply transaction, because legacy multi signature is no longer supported.`);
323
- }
324
- }
325
- export class LegacyMultiSignatureRegistrationError extends Exception {
326
- constructor() {
327
- super(`Failed to apply transaction, because legacy multi signature registrations are no longer supported.`);
328
- }
329
- }
330
- export class MultiSignatureMinimumKeysError extends Exception {
331
- constructor() {
332
- super(`Failed to apply transaction, because too few keys were provided.`);
333
- }
334
- }
335
- export class MultiSignatureKeyCountMismatchError extends Exception {
336
- constructor() {
337
- super(`Failed to apply transaction, because the number of provided keys does not match the number of signatures.`);
338
- }
339
- }
340
- export class MultiPaymentAmountMismatchError extends Exception {
341
- constructor() {
342
- super(`Payment amounts mismatch.`);
343
- }
344
- }
345
- //# sourceMappingURL=crypto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto.js","sourceRoot":"","sources":["../../source/exceptions/crypto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IACnD,YAAmB,QAAyB,EAAE,KAAsB;QACnE,KAAK,CAAC,uBAAuB,QAAQ,aAAa,KAAK,GAAG,CAAC,CAAC;IAC7D,CAAC;CACD;AAED,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC9C,YAAmB,QAAyB,EAAE,KAAsB;QACnE,KAAK,CAAC,yBAAyB,QAAQ,aAAa,KAAK,GAAG,CAAC,CAAC;IAC/D,CAAC;CACD;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O,yBAA0B,SAAQ,SAAS;IACvD;QACC,KAAK,CAAC,qFAAqF,CAAC,CAAC;IAC9F,CAAC;CACD;AAED,MAAM,OAAO,qCAAsC,SAAQ,SAAS;IACnE;QACC,KAAK,CAAC,oGAAoG,CAAC,CAAC;IAC7G,CAAC;CACD;AAED,MAAM,OAAO,8BAA+B,SAAQ,SAAS;IAC5D;QACC,KAAK,CAAC,kEAAkE,CAAC,CAAC;IAC3E,CAAC;CACD;AAED,MAAM,OAAO,mCAAoC,SAAQ,SAAS;IACjE;QACC,KAAK,CACJ,2GAA2G,CAC3G,CAAC;IACH,CAAC;CACD;AAED,MAAM,OAAO,+BAAgC,SAAQ,SAAS;IAC7D;QACC,KAAK,CAAC,2BAA2B,CAAC,CAAC;IACpC,CAAC;CACD"}
@@ -1,12 +0,0 @@
1
- import { RuntimeException } from "./runtime.js";
2
- export declare class FileException extends RuntimeException {
3
- }
4
- export declare class AccessDenied extends FileException {
5
- constructor(path: string);
6
- }
7
- export declare class CannotWriteFile extends FileException {
8
- }
9
- export declare class DirectoryCannotBeFound extends FileException {
10
- constructor(value: string);
11
- }
12
- //# sourceMappingURL=filesystem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../../source/exceptions/filesystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,qBAAa,aAAc,SAAQ,gBAAgB;CAAG;AAEtD,qBAAa,YAAa,SAAQ,aAAa;gBAC3B,IAAI,EAAE,MAAM;CAG/B;AAED,qBAAa,eAAgB,SAAQ,aAAa;CAAG;AAErD,qBAAa,sBAAuB,SAAQ,aAAa;gBACrC,KAAK,EAAE,MAAM;CAGhC"}
@@ -1,16 +0,0 @@
1
- import { RuntimeException } from "./runtime.js";
2
- export class FileException extends RuntimeException {
3
- }
4
- export class AccessDenied extends FileException {
5
- constructor(path) {
6
- super(`The file ${path} could not be accessed.`);
7
- }
8
- }
9
- export class CannotWriteFile extends FileException {
10
- }
11
- export class DirectoryCannotBeFound extends FileException {
12
- constructor(value) {
13
- super(`Directory [${value}] could not be found.`);
14
- }
15
- }
16
- //# sourceMappingURL=filesystem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filesystem.js","sourceRoot":"","sources":["../../source/exceptions/filesystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,OAAO,aAAc,SAAQ,gBAAgB;CAAG;AAEtD,MAAM,OAAO,YAAa,SAAQ,aAAa;IAC9C,YAAmB,IAAY;QAC9B,KAAK,CAAC,YAAY,IAAI,yBAAyB,CAAC,CAAC;IAClD,CAAC;CACD;AAED,MAAM,OAAO,eAAgB,SAAQ,aAAa;CAAG;AAErD,MAAM,OAAO,sBAAuB,SAAQ,aAAa;IACxD,YAAmB,KAAa;QAC/B,KAAK,CAAC,cAAc,KAAK,uBAAuB,CAAC,CAAC;IACnD,CAAC;CACD"}
@@ -1,17 +0,0 @@
1
- export * from "./base.js";
2
- export * from "./cli.js";
3
- export * from "./config.js";
4
- export * from "./consensus.js";
5
- export * from "./container.js";
6
- export * from "./crypto.js";
7
- export * from "./filesystem.js";
8
- export * from "./logic.js";
9
- export * from "./p2p.js";
10
- export * from "./plugins.js";
11
- export * from "./pool.js";
12
- export * from "./processor.js";
13
- export * from "./rpc.js";
14
- export * from "./runtime.js";
15
- export * from "./state.js";
16
- export * from "./validation.js";
17
- //# sourceMappingURL=index.d.ts.map