@ottochain/sdk 1.1.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/dist/cjs/index.js +35 -13
- package/dist/cjs/ottochain/index.js +20 -1
- package/dist/cjs/ottochain/metagraph-client.js +57 -6
- package/dist/cjs/ottochain/snapshot.js +3 -3
- package/dist/cjs/ottochain/transaction.js +251 -0
- package/dist/cjs/verify.js +17 -0
- package/dist/esm/apps/contracts/index.js +28 -10
- package/dist/esm/apps/corporate/index.js +79 -24
- package/dist/esm/apps/governance/index.js +85 -36
- package/dist/esm/apps/identity/constants.js +27 -22
- package/dist/esm/apps/identity/index.js +35 -7
- package/dist/esm/apps/index.js +32 -6
- package/dist/esm/apps/markets/index.js +27 -6
- package/dist/esm/apps/oracles/index.js +27 -7
- package/dist/esm/errors.js +19 -9
- package/dist/esm/generated/google/protobuf/struct.js +39 -33
- package/dist/esm/generated/google/protobuf/timestamp.js +9 -6
- package/dist/esm/generated/index.js +134 -10
- package/dist/esm/generated/ottochain/apps/contracts/v1/contract.js +54 -48
- package/dist/esm/generated/ottochain/apps/corporate/v1/corporate.js +357 -335
- package/dist/esm/generated/ottochain/apps/governance/v1/governance.js +299 -284
- package/dist/esm/generated/ottochain/apps/identity/v1/agent.js +47 -38
- package/dist/esm/generated/ottochain/apps/identity/v1/attestation.js +50 -44
- package/dist/esm/generated/ottochain/apps/markets/v1/market.js +86 -77
- package/dist/esm/generated/ottochain/apps/oracles/v1/oracle.js +72 -66
- package/dist/esm/generated/ottochain/v1/common.js +4 -1
- package/dist/esm/generated/ottochain/v1/fiber.js +96 -90
- package/dist/esm/generated/ottochain/v1/messages.js +82 -79
- package/dist/esm/generated/ottochain/v1/records.js +140 -137
- package/dist/esm/index.js +86 -18
- package/dist/esm/{metakit → ottochain}/drop-nulls.js +5 -1
- package/dist/esm/ottochain/index.js +56 -3
- package/dist/esm/ottochain/metagraph-client.js +65 -10
- package/dist/esm/{metakit → ottochain}/normalize.js +11 -4
- package/dist/esm/ottochain/snapshot.js +20 -10
- package/dist/esm/ottochain/transaction.js +251 -0
- package/dist/esm/ottochain/types.js +2 -1
- package/dist/esm/types.js +7 -2
- package/dist/esm/validation.js +76 -65
- package/dist/esm/verify.js +17 -0
- package/dist/types/index.d.ts +14 -5
- package/dist/types/ottochain/index.d.ts +4 -0
- package/dist/types/ottochain/metagraph-client.d.ts +28 -0
- package/dist/types/ottochain/transaction.d.ts +283 -0
- package/dist/types/validation.d.ts +8 -8
- package/dist/types/verify.d.ts +9 -0
- package/package.json +5 -3
- package/dist/cjs/metakit/binary.js +0 -58
- package/dist/cjs/metakit/canonicalize.js +0 -40
- package/dist/cjs/metakit/codec.js +0 -45
- package/dist/cjs/metakit/currency-transaction.js +0 -319
- package/dist/cjs/metakit/currency-types.js +0 -13
- package/dist/cjs/metakit/hash.js +0 -84
- package/dist/cjs/metakit/index.js +0 -74
- package/dist/cjs/metakit/network/client.js +0 -78
- package/dist/cjs/metakit/network/currency-l1-client.js +0 -101
- package/dist/cjs/metakit/network/data-l1-client.js +0 -76
- package/dist/cjs/metakit/network/index.js +0 -16
- package/dist/cjs/metakit/network/types.js +0 -20
- package/dist/cjs/metakit/sign.js +0 -120
- package/dist/cjs/metakit/signed-object.js +0 -100
- package/dist/cjs/metakit/types.js +0 -14
- package/dist/cjs/metakit/verify.js +0 -217
- package/dist/cjs/metakit/wallet.js +0 -127
- package/dist/esm/metakit/binary.js +0 -53
- package/dist/esm/metakit/canonicalize.js +0 -33
- package/dist/esm/metakit/codec.js +0 -38
- package/dist/esm/metakit/currency-transaction.js +0 -306
- package/dist/esm/metakit/currency-types.js +0 -10
- package/dist/esm/metakit/hash.js +0 -77
- package/dist/esm/metakit/index.js +0 -30
- package/dist/esm/metakit/network/client.js +0 -74
- package/dist/esm/metakit/network/currency-l1-client.js +0 -97
- package/dist/esm/metakit/network/data-l1-client.js +0 -72
- package/dist/esm/metakit/network/index.js +0 -9
- package/dist/esm/metakit/network/types.js +0 -16
- package/dist/esm/metakit/sign.js +0 -114
- package/dist/esm/metakit/signed-object.js +0 -94
- package/dist/esm/metakit/types.js +0 -11
- package/dist/esm/metakit/verify.js +0 -210
- package/dist/esm/metakit/wallet.js +0 -117
- package/dist/types/metakit/binary.d.ts +0 -38
- package/dist/types/metakit/canonicalize.d.ts +0 -26
- package/dist/types/metakit/codec.d.ts +0 -16
- package/dist/types/metakit/currency-transaction.d.ts +0 -157
- package/dist/types/metakit/currency-types.d.ts +0 -55
- package/dist/types/metakit/hash.d.ts +0 -50
- package/dist/types/metakit/index.d.ts +0 -23
- package/dist/types/metakit/network/client.d.ts +0 -23
- package/dist/types/metakit/network/currency-l1-client.d.ts +0 -71
- package/dist/types/metakit/network/data-l1-client.d.ts +0 -57
- package/dist/types/metakit/network/index.d.ts +0 -10
- package/dist/types/metakit/network/types.d.ts +0 -74
- package/dist/types/metakit/sign.d.ts +0 -65
- package/dist/types/metakit/signed-object.d.ts +0 -66
- package/dist/types/metakit/types.d.ts +0 -67
- package/dist/types/metakit/verify.d.ts +0 -55
- package/dist/types/metakit/wallet.d.ts +0 -70
- /package/dist/cjs/{metakit → ottochain}/drop-nulls.js +0 -0
- /package/dist/cjs/{metakit → ottochain}/normalize.js +0 -0
- /package/dist/types/{metakit → ottochain}/drop-nulls.d.ts +0 -0
- /package/dist/types/{metakit → ottochain}/normalize.d.ts +0 -0
package/dist/esm/errors.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Custom Error Classes for OttoChain SDK
|
|
3
4
|
*
|
|
@@ -5,10 +6,12 @@
|
|
|
5
6
|
*
|
|
6
7
|
* @packageDocumentation
|
|
7
8
|
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.wrapError = exports.isErrorCode = exports.TransactionError = exports.SigningError = exports.ValidationError = exports.NetworkError = exports.OttoChainError = exports.ErrorCode = void 0;
|
|
8
11
|
/**
|
|
9
12
|
* Error codes for OttoChain SDK errors
|
|
10
13
|
*/
|
|
11
|
-
|
|
14
|
+
var ErrorCode;
|
|
12
15
|
(function (ErrorCode) {
|
|
13
16
|
/** Unknown or unclassified error */
|
|
14
17
|
ErrorCode["UNKNOWN"] = "UNKNOWN";
|
|
@@ -34,7 +37,7 @@ export var ErrorCode;
|
|
|
34
37
|
ErrorCode["TRANSACTION_NOT_FOUND"] = "TRANSACTION_NOT_FOUND";
|
|
35
38
|
/** Invalid transaction format */
|
|
36
39
|
ErrorCode["INVALID_TRANSACTION"] = "INVALID_TRANSACTION";
|
|
37
|
-
})(ErrorCode || (ErrorCode = {}));
|
|
40
|
+
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
|
|
38
41
|
/**
|
|
39
42
|
* Base error class for all OttoChain SDK errors
|
|
40
43
|
*
|
|
@@ -55,7 +58,7 @@ export var ErrorCode;
|
|
|
55
58
|
* }
|
|
56
59
|
* ```
|
|
57
60
|
*/
|
|
58
|
-
|
|
61
|
+
class OttoChainError extends Error {
|
|
59
62
|
constructor(code, message, cause) {
|
|
60
63
|
super(message);
|
|
61
64
|
this.name = 'OttoChainError';
|
|
@@ -89,6 +92,7 @@ export class OttoChainError extends Error {
|
|
|
89
92
|
};
|
|
90
93
|
}
|
|
91
94
|
}
|
|
95
|
+
exports.OttoChainError = OttoChainError;
|
|
92
96
|
/**
|
|
93
97
|
* Error thrown when network operations fail
|
|
94
98
|
*
|
|
@@ -106,7 +110,7 @@ export class OttoChainError extends Error {
|
|
|
106
110
|
* }
|
|
107
111
|
* ```
|
|
108
112
|
*/
|
|
109
|
-
|
|
113
|
+
class NetworkError extends OttoChainError {
|
|
110
114
|
constructor(message, statusCode, responseBody, cause) {
|
|
111
115
|
const code = statusCode === undefined ? ErrorCode.NETWORK_ERROR : ErrorCode.NETWORK_ERROR;
|
|
112
116
|
super(code, message, cause);
|
|
@@ -130,6 +134,7 @@ export class NetworkError extends OttoChainError {
|
|
|
130
134
|
};
|
|
131
135
|
}
|
|
132
136
|
}
|
|
137
|
+
exports.NetworkError = NetworkError;
|
|
133
138
|
/**
|
|
134
139
|
* Error thrown when input validation fails
|
|
135
140
|
*
|
|
@@ -147,7 +152,7 @@ export class NetworkError extends OttoChainError {
|
|
|
147
152
|
* }
|
|
148
153
|
* ```
|
|
149
154
|
*/
|
|
150
|
-
|
|
155
|
+
class ValidationError extends OttoChainError {
|
|
151
156
|
constructor(message, options) {
|
|
152
157
|
super(ErrorCode.VALIDATION_ERROR, message, options?.cause);
|
|
153
158
|
this.name = 'ValidationError';
|
|
@@ -164,6 +169,7 @@ export class ValidationError extends OttoChainError {
|
|
|
164
169
|
};
|
|
165
170
|
}
|
|
166
171
|
}
|
|
172
|
+
exports.ValidationError = ValidationError;
|
|
167
173
|
/**
|
|
168
174
|
* Error thrown when cryptographic signing operations fail
|
|
169
175
|
*
|
|
@@ -180,7 +186,7 @@ export class ValidationError extends OttoChainError {
|
|
|
180
186
|
* }
|
|
181
187
|
* ```
|
|
182
188
|
*/
|
|
183
|
-
|
|
189
|
+
class SigningError extends OttoChainError {
|
|
184
190
|
constructor(message, options) {
|
|
185
191
|
super(ErrorCode.SIGNING_ERROR, message, options?.cause);
|
|
186
192
|
this.name = 'SigningError';
|
|
@@ -193,6 +199,7 @@ export class SigningError extends OttoChainError {
|
|
|
193
199
|
};
|
|
194
200
|
}
|
|
195
201
|
}
|
|
202
|
+
exports.SigningError = SigningError;
|
|
196
203
|
/**
|
|
197
204
|
* Error thrown when transaction operations fail
|
|
198
205
|
*
|
|
@@ -210,7 +217,7 @@ export class SigningError extends OttoChainError {
|
|
|
210
217
|
* }
|
|
211
218
|
* ```
|
|
212
219
|
*/
|
|
213
|
-
|
|
220
|
+
class TransactionError extends OttoChainError {
|
|
214
221
|
constructor(code, message, options) {
|
|
215
222
|
super(code, message, options?.cause);
|
|
216
223
|
this.name = 'TransactionError';
|
|
@@ -248,6 +255,7 @@ export class TransactionError extends OttoChainError {
|
|
|
248
255
|
};
|
|
249
256
|
}
|
|
250
257
|
}
|
|
258
|
+
exports.TransactionError = TransactionError;
|
|
251
259
|
/**
|
|
252
260
|
* Check if an error is an OttoChain error with a specific code
|
|
253
261
|
*
|
|
@@ -262,9 +270,10 @@ export class TransactionError extends OttoChainError {
|
|
|
262
270
|
* }
|
|
263
271
|
* ```
|
|
264
272
|
*/
|
|
265
|
-
|
|
273
|
+
function isErrorCode(error, code) {
|
|
266
274
|
return error instanceof OttoChainError && error.code === code;
|
|
267
275
|
}
|
|
276
|
+
exports.isErrorCode = isErrorCode;
|
|
268
277
|
/**
|
|
269
278
|
* Wrap an unknown error in an OttoChainError
|
|
270
279
|
*
|
|
@@ -272,7 +281,7 @@ export function isErrorCode(error, code) {
|
|
|
272
281
|
* @param defaultMessage - Default message if error has no message
|
|
273
282
|
* @returns OttoChainError wrapping the original error
|
|
274
283
|
*/
|
|
275
|
-
|
|
284
|
+
function wrapError(error, defaultMessage = 'An error occurred') {
|
|
276
285
|
if (error instanceof OttoChainError) {
|
|
277
286
|
return error;
|
|
278
287
|
}
|
|
@@ -281,3 +290,4 @@ export function wrapError(error, defaultMessage = 'An error occurred') {
|
|
|
281
290
|
}
|
|
282
291
|
return new OttoChainError(ErrorCode.UNKNOWN, String(error) || defaultMessage);
|
|
283
292
|
}
|
|
293
|
+
exports.wrapError = wrapError;
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.11.2
|
|
4
5
|
// protoc unknown
|
|
5
6
|
// source: google/protobuf/struct.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ListValue = exports.Value = exports.Struct_FieldsEntry = exports.Struct = exports.nullValueToNumber = exports.nullValueToJSON = exports.nullValueFromJSON = exports.NullValue = exports.protobufPackage = void 0;
|
|
6
9
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "google.protobuf";
|
|
9
12
|
/**
|
|
10
13
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
11
14
|
* `Value` type union.
|
|
12
15
|
*
|
|
13
16
|
* The JSON representation for `NullValue` is JSON `null`.
|
|
14
17
|
*/
|
|
15
|
-
|
|
18
|
+
var NullValue;
|
|
16
19
|
(function (NullValue) {
|
|
17
20
|
/** NULL_VALUE - Null value. */
|
|
18
21
|
NullValue["NULL_VALUE"] = "NULL_VALUE";
|
|
19
22
|
NullValue["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
20
|
-
})(NullValue || (NullValue = {}));
|
|
21
|
-
|
|
23
|
+
})(NullValue || (exports.NullValue = NullValue = {}));
|
|
24
|
+
function nullValueFromJSON(object) {
|
|
22
25
|
switch (object) {
|
|
23
26
|
case 0:
|
|
24
27
|
case "NULL_VALUE":
|
|
@@ -29,7 +32,8 @@ export function nullValueFromJSON(object) {
|
|
|
29
32
|
return NullValue.UNRECOGNIZED;
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
|
-
|
|
35
|
+
exports.nullValueFromJSON = nullValueFromJSON;
|
|
36
|
+
function nullValueToJSON(object) {
|
|
33
37
|
switch (object) {
|
|
34
38
|
case NullValue.NULL_VALUE:
|
|
35
39
|
return "NULL_VALUE";
|
|
@@ -38,7 +42,8 @@ export function nullValueToJSON(object) {
|
|
|
38
42
|
return "UNRECOGNIZED";
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
|
-
|
|
45
|
+
exports.nullValueToJSON = nullValueToJSON;
|
|
46
|
+
function nullValueToNumber(object) {
|
|
42
47
|
switch (object) {
|
|
43
48
|
case NullValue.NULL_VALUE:
|
|
44
49
|
return 0;
|
|
@@ -47,20 +52,21 @@ export function nullValueToNumber(object) {
|
|
|
47
52
|
return -1;
|
|
48
53
|
}
|
|
49
54
|
}
|
|
55
|
+
exports.nullValueToNumber = nullValueToNumber;
|
|
50
56
|
function createBaseStruct() {
|
|
51
57
|
return { fields: {} };
|
|
52
58
|
}
|
|
53
|
-
|
|
54
|
-
encode(message, writer = new BinaryWriter()) {
|
|
59
|
+
exports.Struct = {
|
|
60
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
55
61
|
globalThis.Object.entries(message.fields).forEach(([key, value]) => {
|
|
56
62
|
if (value !== undefined) {
|
|
57
|
-
Struct_FieldsEntry.encode({ key: key, value }, writer.uint32(10).fork()).join();
|
|
63
|
+
exports.Struct_FieldsEntry.encode({ key: key, value }, writer.uint32(10).fork()).join();
|
|
58
64
|
}
|
|
59
65
|
});
|
|
60
66
|
return writer;
|
|
61
67
|
},
|
|
62
68
|
decode(input, length) {
|
|
63
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
69
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
64
70
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
65
71
|
const message = createBaseStruct();
|
|
66
72
|
while (reader.pos < end) {
|
|
@@ -70,7 +76,7 @@ export const Struct = {
|
|
|
70
76
|
if (tag !== 10) {
|
|
71
77
|
break;
|
|
72
78
|
}
|
|
73
|
-
const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32());
|
|
79
|
+
const entry1 = exports.Struct_FieldsEntry.decode(reader, reader.uint32());
|
|
74
80
|
if (entry1.value !== undefined) {
|
|
75
81
|
message.fields[entry1.key] = entry1.value;
|
|
76
82
|
}
|
|
@@ -108,7 +114,7 @@ export const Struct = {
|
|
|
108
114
|
return obj;
|
|
109
115
|
},
|
|
110
116
|
create(base) {
|
|
111
|
-
return Struct.fromPartial(base ?? {});
|
|
117
|
+
return exports.Struct.fromPartial(base ?? {});
|
|
112
118
|
},
|
|
113
119
|
fromPartial(object) {
|
|
114
120
|
const message = createBaseStruct();
|
|
@@ -142,18 +148,18 @@ export const Struct = {
|
|
|
142
148
|
function createBaseStruct_FieldsEntry() {
|
|
143
149
|
return { key: "", value: undefined };
|
|
144
150
|
}
|
|
145
|
-
|
|
146
|
-
encode(message, writer = new BinaryWriter()) {
|
|
151
|
+
exports.Struct_FieldsEntry = {
|
|
152
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
147
153
|
if (message.key !== "") {
|
|
148
154
|
writer.uint32(10).string(message.key);
|
|
149
155
|
}
|
|
150
156
|
if (message.value !== undefined) {
|
|
151
|
-
Value.encode(Value.wrap(message.value), writer.uint32(18).fork()).join();
|
|
157
|
+
exports.Value.encode(exports.Value.wrap(message.value), writer.uint32(18).fork()).join();
|
|
152
158
|
}
|
|
153
159
|
return writer;
|
|
154
160
|
},
|
|
155
161
|
decode(input, length) {
|
|
156
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
162
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
157
163
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
158
164
|
const message = createBaseStruct_FieldsEntry();
|
|
159
165
|
while (reader.pos < end) {
|
|
@@ -170,7 +176,7 @@ export const Struct_FieldsEntry = {
|
|
|
170
176
|
if (tag !== 18) {
|
|
171
177
|
break;
|
|
172
178
|
}
|
|
173
|
-
message.value = Value.unwrap(Value.decode(reader, reader.uint32()));
|
|
179
|
+
message.value = exports.Value.unwrap(exports.Value.decode(reader, reader.uint32()));
|
|
174
180
|
continue;
|
|
175
181
|
}
|
|
176
182
|
}
|
|
@@ -198,7 +204,7 @@ export const Struct_FieldsEntry = {
|
|
|
198
204
|
return obj;
|
|
199
205
|
},
|
|
200
206
|
create(base) {
|
|
201
|
-
return Struct_FieldsEntry.fromPartial(base ?? {});
|
|
207
|
+
return exports.Struct_FieldsEntry.fromPartial(base ?? {});
|
|
202
208
|
},
|
|
203
209
|
fromPartial(object) {
|
|
204
210
|
const message = createBaseStruct_FieldsEntry();
|
|
@@ -210,8 +216,8 @@ export const Struct_FieldsEntry = {
|
|
|
210
216
|
function createBaseValue() {
|
|
211
217
|
return { kind: undefined };
|
|
212
218
|
}
|
|
213
|
-
|
|
214
|
-
encode(message, writer = new BinaryWriter()) {
|
|
219
|
+
exports.Value = {
|
|
220
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
215
221
|
switch (message.kind?.$case) {
|
|
216
222
|
case "nullValue":
|
|
217
223
|
writer.uint32(8).int32(nullValueToNumber(message.kind.nullValue));
|
|
@@ -226,16 +232,16 @@ export const Value = {
|
|
|
226
232
|
writer.uint32(32).bool(message.kind.boolValue);
|
|
227
233
|
break;
|
|
228
234
|
case "structValue":
|
|
229
|
-
Struct.encode(Struct.wrap(message.kind.structValue), writer.uint32(42).fork()).join();
|
|
235
|
+
exports.Struct.encode(exports.Struct.wrap(message.kind.structValue), writer.uint32(42).fork()).join();
|
|
230
236
|
break;
|
|
231
237
|
case "listValue":
|
|
232
|
-
ListValue.encode(ListValue.wrap(message.kind.listValue), writer.uint32(50).fork()).join();
|
|
238
|
+
exports.ListValue.encode(exports.ListValue.wrap(message.kind.listValue), writer.uint32(50).fork()).join();
|
|
233
239
|
break;
|
|
234
240
|
}
|
|
235
241
|
return writer;
|
|
236
242
|
},
|
|
237
243
|
decode(input, length) {
|
|
238
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
244
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
239
245
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
240
246
|
const message = createBaseValue();
|
|
241
247
|
while (reader.pos < end) {
|
|
@@ -273,14 +279,14 @@ export const Value = {
|
|
|
273
279
|
if (tag !== 42) {
|
|
274
280
|
break;
|
|
275
281
|
}
|
|
276
|
-
message.kind = { $case: "structValue", structValue: Struct.unwrap(Struct.decode(reader, reader.uint32())) };
|
|
282
|
+
message.kind = { $case: "structValue", structValue: exports.Struct.unwrap(exports.Struct.decode(reader, reader.uint32())) };
|
|
277
283
|
continue;
|
|
278
284
|
}
|
|
279
285
|
case 6: {
|
|
280
286
|
if (tag !== 50) {
|
|
281
287
|
break;
|
|
282
288
|
}
|
|
283
|
-
message.kind = { $case: "listValue", listValue: ListValue.unwrap(ListValue.decode(reader, reader.uint32())) };
|
|
289
|
+
message.kind = { $case: "listValue", listValue: exports.ListValue.unwrap(exports.ListValue.decode(reader, reader.uint32())) };
|
|
284
290
|
continue;
|
|
285
291
|
}
|
|
286
292
|
}
|
|
@@ -343,7 +349,7 @@ export const Value = {
|
|
|
343
349
|
return obj;
|
|
344
350
|
},
|
|
345
351
|
create(base) {
|
|
346
|
-
return Value.fromPartial(base ?? {});
|
|
352
|
+
return exports.Value.fromPartial(base ?? {});
|
|
347
353
|
},
|
|
348
354
|
fromPartial(object) {
|
|
349
355
|
const message = createBaseValue();
|
|
@@ -439,15 +445,15 @@ export const Value = {
|
|
|
439
445
|
function createBaseListValue() {
|
|
440
446
|
return { values: [] };
|
|
441
447
|
}
|
|
442
|
-
|
|
443
|
-
encode(message, writer = new BinaryWriter()) {
|
|
448
|
+
exports.ListValue = {
|
|
449
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
444
450
|
for (const v of message.values) {
|
|
445
|
-
Value.encode(Value.wrap(v), writer.uint32(10).fork()).join();
|
|
451
|
+
exports.Value.encode(exports.Value.wrap(v), writer.uint32(10).fork()).join();
|
|
446
452
|
}
|
|
447
453
|
return writer;
|
|
448
454
|
},
|
|
449
455
|
decode(input, length) {
|
|
450
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
456
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
451
457
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
452
458
|
const message = createBaseListValue();
|
|
453
459
|
while (reader.pos < end) {
|
|
@@ -457,7 +463,7 @@ export const ListValue = {
|
|
|
457
463
|
if (tag !== 10) {
|
|
458
464
|
break;
|
|
459
465
|
}
|
|
460
|
-
message.values.push(Value.unwrap(Value.decode(reader, reader.uint32())));
|
|
466
|
+
message.values.push(exports.Value.unwrap(exports.Value.decode(reader, reader.uint32())));
|
|
461
467
|
continue;
|
|
462
468
|
}
|
|
463
469
|
}
|
|
@@ -479,7 +485,7 @@ export const ListValue = {
|
|
|
479
485
|
return obj;
|
|
480
486
|
},
|
|
481
487
|
create(base) {
|
|
482
|
-
return ListValue.fromPartial(base ?? {});
|
|
488
|
+
return exports.ListValue.fromPartial(base ?? {});
|
|
483
489
|
},
|
|
484
490
|
fromPartial(object) {
|
|
485
491
|
const message = createBaseListValue();
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.11.2
|
|
4
5
|
// protoc unknown
|
|
5
6
|
// source: google/protobuf/timestamp.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.Timestamp = exports.protobufPackage = void 0;
|
|
6
9
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "google.protobuf";
|
|
9
12
|
function createBaseTimestamp() {
|
|
10
13
|
return { seconds: 0, nanos: 0 };
|
|
11
14
|
}
|
|
12
|
-
|
|
13
|
-
encode(message, writer = new BinaryWriter()) {
|
|
15
|
+
exports.Timestamp = {
|
|
16
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
14
17
|
if (message.seconds !== 0) {
|
|
15
18
|
writer.uint32(8).int64(message.seconds);
|
|
16
19
|
}
|
|
@@ -20,7 +23,7 @@ export const Timestamp = {
|
|
|
20
23
|
return writer;
|
|
21
24
|
},
|
|
22
25
|
decode(input, length) {
|
|
23
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
26
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
24
27
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
25
28
|
const message = createBaseTimestamp();
|
|
26
29
|
while (reader.pos < end) {
|
|
@@ -65,7 +68,7 @@ export const Timestamp = {
|
|
|
65
68
|
return obj;
|
|
66
69
|
},
|
|
67
70
|
create(base) {
|
|
68
|
-
return Timestamp.fromPartial(base ?? {});
|
|
71
|
+
return exports.Timestamp.fromPartial(base ?? {});
|
|
69
72
|
},
|
|
70
73
|
fromPartial(object) {
|
|
71
74
|
const message = createBaseTimestamp();
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Generated Protobuf Types
|
|
3
4
|
*
|
|
@@ -16,21 +17,144 @@
|
|
|
16
17
|
* ({ value: '...' } wrapped initialState) to plain string format.
|
|
17
18
|
* See docs/type-architecture.md for full migration plan.
|
|
18
19
|
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.MarketDefinition = exports.CancelMarketRequest = exports.SubmitResolutionRequest = exports.CommitToMarketRequest = exports.CreateMarketRequest = exports.Market = exports.Resolution = exports.Commitment = exports.MarketState = exports.MarketType = exports.ContractDefinition = exports.DisputeContractRequest = exports.RejectContractRequest = exports.CompleteContractRequest = exports.AcceptContractRequest = exports.ProposeContractRequest = exports.Contract = exports.ContractState = exports.ReputationConfig = exports.ChallengeRequest = exports.VouchRequest = exports.Attestation = exports.ReputationDelta = exports.AttestationType = exports.AgentIdentityDefinition = exports.AgentIdentity = exports.PlatformLink = exports.Platform = exports.AgentState = exports.CalculatedState = exports.OnChainState = exports.FiberCommit = exports.ScriptFiberRecord = exports.StateMachineFiberRecord = exports.OttochainMessage = exports.InvokeScript = exports.CreateScript = exports.ArchiveStateMachine = exports.TransitionStateMachine = exports.CreateStateMachine = exports.FiberLogEntry = exports.ScriptInvocation = exports.EventReceipt = exports.EmittedEvent = exports.StateMachineDefinition = exports.FiberOwnedAccess = exports.WhitelistAccess = exports.PublicAccess = exports.AccessControlPolicy = exports.FiberStatus = void 0;
|
|
22
|
+
exports.BoardMeeting = exports.QuorumRules = exports.SeatInfo = exports.Director = exports.CorporateBoard = exports.ShareStructure = exports.Incorporator = exports.RegisteredAgent = exports.CorporateEntity = exports.ShareClass = exports.Jurisdiction = exports.ResolutionStatus = exports.BoardMeetingType = exports.OfficerStatus = exports.DirectorStatus = exports.EntityState = exports.EntityType = exports.ExecuteRequest = exports.VoteRequest = exports.ProposeRequest = exports.CreateDAORequest = exports.ThresholdHistoryEntry = exports.ThresholdVotes = exports.ThresholdDAO = exports.TokenProposalResult = exports.TokenDAO = exports.MultisigAction = exports.MultisigDAO = exports.OwnershipTransfer = exports.SingleOwnerAction = exports.SingleOwnerDAO = exports.VoteTally = exports.Vote = exports.Proposal = exports.DAOMetadata = exports.VoteChoice = exports.ProposalStatus = exports.DAOStatus = exports.DAOType = exports.OracleDefinition = exports.WithdrawOracleRequest = exports.SlashOracleRequest = exports.WithdrawStakeRequest = exports.AddStakeRequest = exports.ActivateOracleRequest = exports.RegisterOracleRequest = exports.Oracle = exports.SlashingEvent = exports.OracleReputation = exports.OracleState = void 0;
|
|
23
|
+
exports.ProposeResolutionRequest = exports.IssueSharesRequest = exports.AppointDirectorRequest = exports.CreateEntityRequest = exports.ComplianceRequirement = exports.FilingRecord = exports.CorporateCompliance = exports.SecurityTransfer = exports.SecurityIssuance = exports.CorporateSecurities = exports.ResolutionVote = exports.CorporateResolution = exports.ShareHolding = exports.Shareholder = exports.CorporateShareholders = exports.OfficerAction = exports.Officer = exports.CorporateOfficers = exports.MeetingAttendee = void 0;
|
|
19
24
|
// Core types (primitives - no wrapper messages)
|
|
20
25
|
// Type aliases are in src/types.ts
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
var fiber_js_1 = require("./ottochain/v1/fiber.js");
|
|
27
|
+
Object.defineProperty(exports, "FiberStatus", { enumerable: true, get: function () { return fiber_js_1.FiberStatus; } });
|
|
28
|
+
Object.defineProperty(exports, "AccessControlPolicy", { enumerable: true, get: function () { return fiber_js_1.AccessControlPolicy; } });
|
|
29
|
+
Object.defineProperty(exports, "PublicAccess", { enumerable: true, get: function () { return fiber_js_1.PublicAccess; } });
|
|
30
|
+
Object.defineProperty(exports, "WhitelistAccess", { enumerable: true, get: function () { return fiber_js_1.WhitelistAccess; } });
|
|
31
|
+
Object.defineProperty(exports, "FiberOwnedAccess", { enumerable: true, get: function () { return fiber_js_1.FiberOwnedAccess; } });
|
|
32
|
+
Object.defineProperty(exports, "StateMachineDefinition", { enumerable: true, get: function () { return fiber_js_1.StateMachineDefinition; } });
|
|
33
|
+
Object.defineProperty(exports, "EmittedEvent", { enumerable: true, get: function () { return fiber_js_1.EmittedEvent; } });
|
|
34
|
+
Object.defineProperty(exports, "EventReceipt", { enumerable: true, get: function () { return fiber_js_1.EventReceipt; } });
|
|
35
|
+
Object.defineProperty(exports, "ScriptInvocation", { enumerable: true, get: function () { return fiber_js_1.ScriptInvocation; } });
|
|
36
|
+
Object.defineProperty(exports, "FiberLogEntry", { enumerable: true, get: function () { return fiber_js_1.FiberLogEntry; } });
|
|
37
|
+
var messages_js_1 = require("./ottochain/v1/messages.js");
|
|
38
|
+
Object.defineProperty(exports, "CreateStateMachine", { enumerable: true, get: function () { return messages_js_1.CreateStateMachine; } });
|
|
39
|
+
Object.defineProperty(exports, "TransitionStateMachine", { enumerable: true, get: function () { return messages_js_1.TransitionStateMachine; } });
|
|
40
|
+
Object.defineProperty(exports, "ArchiveStateMachine", { enumerable: true, get: function () { return messages_js_1.ArchiveStateMachine; } });
|
|
41
|
+
Object.defineProperty(exports, "CreateScript", { enumerable: true, get: function () { return messages_js_1.CreateScript; } });
|
|
42
|
+
Object.defineProperty(exports, "InvokeScript", { enumerable: true, get: function () { return messages_js_1.InvokeScript; } });
|
|
43
|
+
Object.defineProperty(exports, "OttochainMessage", { enumerable: true, get: function () { return messages_js_1.OttochainMessage; } });
|
|
44
|
+
var records_js_1 = require("./ottochain/v1/records.js");
|
|
45
|
+
Object.defineProperty(exports, "StateMachineFiberRecord", { enumerable: true, get: function () { return records_js_1.StateMachineFiberRecord; } });
|
|
46
|
+
Object.defineProperty(exports, "ScriptFiberRecord", { enumerable: true, get: function () { return records_js_1.ScriptFiberRecord; } });
|
|
47
|
+
Object.defineProperty(exports, "FiberCommit", { enumerable: true, get: function () { return records_js_1.FiberCommit; } });
|
|
48
|
+
Object.defineProperty(exports, "OnChainState", { enumerable: true, get: function () { return records_js_1.OnChainState; } });
|
|
49
|
+
Object.defineProperty(exports, "CalculatedState", { enumerable: true, get: function () { return records_js_1.CalculatedState; } });
|
|
24
50
|
// App: Identity
|
|
25
|
-
|
|
26
|
-
|
|
51
|
+
var agent_js_1 = require("./ottochain/apps/identity/v1/agent.js");
|
|
52
|
+
Object.defineProperty(exports, "AgentState", { enumerable: true, get: function () { return agent_js_1.AgentState; } });
|
|
53
|
+
Object.defineProperty(exports, "Platform", { enumerable: true, get: function () { return agent_js_1.Platform; } });
|
|
54
|
+
Object.defineProperty(exports, "PlatformLink", { enumerable: true, get: function () { return agent_js_1.PlatformLink; } });
|
|
55
|
+
Object.defineProperty(exports, "AgentIdentity", { enumerable: true, get: function () { return agent_js_1.AgentIdentity; } });
|
|
56
|
+
Object.defineProperty(exports, "AgentIdentityDefinition", { enumerable: true, get: function () { return agent_js_1.AgentIdentityDefinition; } });
|
|
57
|
+
var attestation_js_1 = require("./ottochain/apps/identity/v1/attestation.js");
|
|
58
|
+
Object.defineProperty(exports, "AttestationType", { enumerable: true, get: function () { return attestation_js_1.AttestationType; } });
|
|
59
|
+
Object.defineProperty(exports, "ReputationDelta", { enumerable: true, get: function () { return attestation_js_1.ReputationDelta; } });
|
|
60
|
+
Object.defineProperty(exports, "Attestation", { enumerable: true, get: function () { return attestation_js_1.Attestation; } });
|
|
61
|
+
Object.defineProperty(exports, "VouchRequest", { enumerable: true, get: function () { return attestation_js_1.VouchRequest; } });
|
|
62
|
+
Object.defineProperty(exports, "ChallengeRequest", { enumerable: true, get: function () { return attestation_js_1.ChallengeRequest; } });
|
|
63
|
+
Object.defineProperty(exports, "ReputationConfig", { enumerable: true, get: function () { return attestation_js_1.ReputationConfig; } });
|
|
27
64
|
// App: Contracts
|
|
28
|
-
|
|
65
|
+
var contract_js_1 = require("./ottochain/apps/contracts/v1/contract.js");
|
|
66
|
+
Object.defineProperty(exports, "ContractState", { enumerable: true, get: function () { return contract_js_1.ContractState; } });
|
|
67
|
+
Object.defineProperty(exports, "Contract", { enumerable: true, get: function () { return contract_js_1.Contract; } });
|
|
68
|
+
Object.defineProperty(exports, "ProposeContractRequest", { enumerable: true, get: function () { return contract_js_1.ProposeContractRequest; } });
|
|
69
|
+
Object.defineProperty(exports, "AcceptContractRequest", { enumerable: true, get: function () { return contract_js_1.AcceptContractRequest; } });
|
|
70
|
+
Object.defineProperty(exports, "CompleteContractRequest", { enumerable: true, get: function () { return contract_js_1.CompleteContractRequest; } });
|
|
71
|
+
Object.defineProperty(exports, "RejectContractRequest", { enumerable: true, get: function () { return contract_js_1.RejectContractRequest; } });
|
|
72
|
+
Object.defineProperty(exports, "DisputeContractRequest", { enumerable: true, get: function () { return contract_js_1.DisputeContractRequest; } });
|
|
73
|
+
Object.defineProperty(exports, "ContractDefinition", { enumerable: true, get: function () { return contract_js_1.ContractDefinition; } });
|
|
29
74
|
// App: Markets
|
|
30
|
-
|
|
75
|
+
var market_js_1 = require("./ottochain/apps/markets/v1/market.js");
|
|
76
|
+
Object.defineProperty(exports, "MarketType", { enumerable: true, get: function () { return market_js_1.MarketType; } });
|
|
77
|
+
Object.defineProperty(exports, "MarketState", { enumerable: true, get: function () { return market_js_1.MarketState; } });
|
|
78
|
+
Object.defineProperty(exports, "Commitment", { enumerable: true, get: function () { return market_js_1.Commitment; } });
|
|
79
|
+
Object.defineProperty(exports, "Resolution", { enumerable: true, get: function () { return market_js_1.Resolution; } });
|
|
80
|
+
Object.defineProperty(exports, "Market", { enumerable: true, get: function () { return market_js_1.Market; } });
|
|
81
|
+
Object.defineProperty(exports, "CreateMarketRequest", { enumerable: true, get: function () { return market_js_1.CreateMarketRequest; } });
|
|
82
|
+
Object.defineProperty(exports, "CommitToMarketRequest", { enumerable: true, get: function () { return market_js_1.CommitToMarketRequest; } });
|
|
83
|
+
Object.defineProperty(exports, "SubmitResolutionRequest", { enumerable: true, get: function () { return market_js_1.SubmitResolutionRequest; } });
|
|
84
|
+
Object.defineProperty(exports, "CancelMarketRequest", { enumerable: true, get: function () { return market_js_1.CancelMarketRequest; } });
|
|
85
|
+
Object.defineProperty(exports, "MarketDefinition", { enumerable: true, get: function () { return market_js_1.MarketDefinition; } });
|
|
31
86
|
// App: Oracles
|
|
32
|
-
|
|
87
|
+
var oracle_js_1 = require("./ottochain/apps/oracles/v1/oracle.js");
|
|
88
|
+
Object.defineProperty(exports, "OracleState", { enumerable: true, get: function () { return oracle_js_1.OracleState; } });
|
|
89
|
+
Object.defineProperty(exports, "OracleReputation", { enumerable: true, get: function () { return oracle_js_1.OracleReputation; } });
|
|
90
|
+
Object.defineProperty(exports, "SlashingEvent", { enumerable: true, get: function () { return oracle_js_1.SlashingEvent; } });
|
|
91
|
+
Object.defineProperty(exports, "Oracle", { enumerable: true, get: function () { return oracle_js_1.Oracle; } });
|
|
92
|
+
Object.defineProperty(exports, "RegisterOracleRequest", { enumerable: true, get: function () { return oracle_js_1.RegisterOracleRequest; } });
|
|
93
|
+
Object.defineProperty(exports, "ActivateOracleRequest", { enumerable: true, get: function () { return oracle_js_1.ActivateOracleRequest; } });
|
|
94
|
+
Object.defineProperty(exports, "AddStakeRequest", { enumerable: true, get: function () { return oracle_js_1.AddStakeRequest; } });
|
|
95
|
+
Object.defineProperty(exports, "WithdrawStakeRequest", { enumerable: true, get: function () { return oracle_js_1.WithdrawStakeRequest; } });
|
|
96
|
+
Object.defineProperty(exports, "SlashOracleRequest", { enumerable: true, get: function () { return oracle_js_1.SlashOracleRequest; } });
|
|
97
|
+
Object.defineProperty(exports, "WithdrawOracleRequest", { enumerable: true, get: function () { return oracle_js_1.WithdrawOracleRequest; } });
|
|
98
|
+
Object.defineProperty(exports, "OracleDefinition", { enumerable: true, get: function () { return oracle_js_1.OracleDefinition; } });
|
|
33
99
|
// App: Governance
|
|
34
|
-
|
|
100
|
+
var governance_js_1 = require("./ottochain/apps/governance/v1/governance.js");
|
|
101
|
+
Object.defineProperty(exports, "DAOType", { enumerable: true, get: function () { return governance_js_1.DAOType; } });
|
|
102
|
+
Object.defineProperty(exports, "DAOStatus", { enumerable: true, get: function () { return governance_js_1.DAOStatus; } });
|
|
103
|
+
Object.defineProperty(exports, "ProposalStatus", { enumerable: true, get: function () { return governance_js_1.ProposalStatus; } });
|
|
104
|
+
Object.defineProperty(exports, "VoteChoice", { enumerable: true, get: function () { return governance_js_1.VoteChoice; } });
|
|
105
|
+
Object.defineProperty(exports, "DAOMetadata", { enumerable: true, get: function () { return governance_js_1.DAOMetadata; } });
|
|
106
|
+
Object.defineProperty(exports, "Proposal", { enumerable: true, get: function () { return governance_js_1.Proposal; } });
|
|
107
|
+
Object.defineProperty(exports, "Vote", { enumerable: true, get: function () { return governance_js_1.Vote; } });
|
|
108
|
+
Object.defineProperty(exports, "VoteTally", { enumerable: true, get: function () { return governance_js_1.VoteTally; } });
|
|
109
|
+
Object.defineProperty(exports, "SingleOwnerDAO", { enumerable: true, get: function () { return governance_js_1.SingleOwnerDAO; } });
|
|
110
|
+
Object.defineProperty(exports, "SingleOwnerAction", { enumerable: true, get: function () { return governance_js_1.SingleOwnerAction; } });
|
|
111
|
+
Object.defineProperty(exports, "OwnershipTransfer", { enumerable: true, get: function () { return governance_js_1.OwnershipTransfer; } });
|
|
112
|
+
Object.defineProperty(exports, "MultisigDAO", { enumerable: true, get: function () { return governance_js_1.MultisigDAO; } });
|
|
113
|
+
Object.defineProperty(exports, "MultisigAction", { enumerable: true, get: function () { return governance_js_1.MultisigAction; } });
|
|
114
|
+
Object.defineProperty(exports, "TokenDAO", { enumerable: true, get: function () { return governance_js_1.TokenDAO; } });
|
|
115
|
+
Object.defineProperty(exports, "TokenProposalResult", { enumerable: true, get: function () { return governance_js_1.TokenProposalResult; } });
|
|
116
|
+
Object.defineProperty(exports, "ThresholdDAO", { enumerable: true, get: function () { return governance_js_1.ThresholdDAO; } });
|
|
117
|
+
Object.defineProperty(exports, "ThresholdVotes", { enumerable: true, get: function () { return governance_js_1.ThresholdVotes; } });
|
|
118
|
+
Object.defineProperty(exports, "ThresholdHistoryEntry", { enumerable: true, get: function () { return governance_js_1.ThresholdHistoryEntry; } });
|
|
119
|
+
Object.defineProperty(exports, "CreateDAORequest", { enumerable: true, get: function () { return governance_js_1.CreateDAORequest; } });
|
|
120
|
+
Object.defineProperty(exports, "ProposeRequest", { enumerable: true, get: function () { return governance_js_1.ProposeRequest; } });
|
|
121
|
+
Object.defineProperty(exports, "VoteRequest", { enumerable: true, get: function () { return governance_js_1.VoteRequest; } });
|
|
122
|
+
Object.defineProperty(exports, "ExecuteRequest", { enumerable: true, get: function () { return governance_js_1.ExecuteRequest; } });
|
|
35
123
|
// App: Corporate
|
|
36
|
-
|
|
124
|
+
var corporate_js_1 = require("./ottochain/apps/corporate/v1/corporate.js");
|
|
125
|
+
Object.defineProperty(exports, "EntityType", { enumerable: true, get: function () { return corporate_js_1.EntityType; } });
|
|
126
|
+
Object.defineProperty(exports, "EntityState", { enumerable: true, get: function () { return corporate_js_1.EntityState; } });
|
|
127
|
+
Object.defineProperty(exports, "DirectorStatus", { enumerable: true, get: function () { return corporate_js_1.DirectorStatus; } });
|
|
128
|
+
Object.defineProperty(exports, "OfficerStatus", { enumerable: true, get: function () { return corporate_js_1.OfficerStatus; } });
|
|
129
|
+
Object.defineProperty(exports, "BoardMeetingType", { enumerable: true, get: function () { return corporate_js_1.BoardMeetingType; } });
|
|
130
|
+
Object.defineProperty(exports, "ResolutionStatus", { enumerable: true, get: function () { return corporate_js_1.ResolutionStatus; } });
|
|
131
|
+
Object.defineProperty(exports, "Jurisdiction", { enumerable: true, get: function () { return corporate_js_1.Jurisdiction; } });
|
|
132
|
+
Object.defineProperty(exports, "ShareClass", { enumerable: true, get: function () { return corporate_js_1.ShareClass; } });
|
|
133
|
+
Object.defineProperty(exports, "CorporateEntity", { enumerable: true, get: function () { return corporate_js_1.CorporateEntity; } });
|
|
134
|
+
Object.defineProperty(exports, "RegisteredAgent", { enumerable: true, get: function () { return corporate_js_1.RegisteredAgent; } });
|
|
135
|
+
Object.defineProperty(exports, "Incorporator", { enumerable: true, get: function () { return corporate_js_1.Incorporator; } });
|
|
136
|
+
Object.defineProperty(exports, "ShareStructure", { enumerable: true, get: function () { return corporate_js_1.ShareStructure; } });
|
|
137
|
+
Object.defineProperty(exports, "CorporateBoard", { enumerable: true, get: function () { return corporate_js_1.CorporateBoard; } });
|
|
138
|
+
Object.defineProperty(exports, "Director", { enumerable: true, get: function () { return corporate_js_1.Director; } });
|
|
139
|
+
Object.defineProperty(exports, "SeatInfo", { enumerable: true, get: function () { return corporate_js_1.SeatInfo; } });
|
|
140
|
+
Object.defineProperty(exports, "QuorumRules", { enumerable: true, get: function () { return corporate_js_1.QuorumRules; } });
|
|
141
|
+
Object.defineProperty(exports, "BoardMeeting", { enumerable: true, get: function () { return corporate_js_1.BoardMeeting; } });
|
|
142
|
+
Object.defineProperty(exports, "MeetingAttendee", { enumerable: true, get: function () { return corporate_js_1.MeetingAttendee; } });
|
|
143
|
+
Object.defineProperty(exports, "CorporateOfficers", { enumerable: true, get: function () { return corporate_js_1.CorporateOfficers; } });
|
|
144
|
+
Object.defineProperty(exports, "Officer", { enumerable: true, get: function () { return corporate_js_1.Officer; } });
|
|
145
|
+
Object.defineProperty(exports, "OfficerAction", { enumerable: true, get: function () { return corporate_js_1.OfficerAction; } });
|
|
146
|
+
Object.defineProperty(exports, "CorporateShareholders", { enumerable: true, get: function () { return corporate_js_1.CorporateShareholders; } });
|
|
147
|
+
Object.defineProperty(exports, "Shareholder", { enumerable: true, get: function () { return corporate_js_1.Shareholder; } });
|
|
148
|
+
Object.defineProperty(exports, "ShareHolding", { enumerable: true, get: function () { return corporate_js_1.ShareHolding; } });
|
|
149
|
+
Object.defineProperty(exports, "CorporateResolution", { enumerable: true, get: function () { return corporate_js_1.CorporateResolution; } });
|
|
150
|
+
Object.defineProperty(exports, "ResolutionVote", { enumerable: true, get: function () { return corporate_js_1.ResolutionVote; } });
|
|
151
|
+
Object.defineProperty(exports, "CorporateSecurities", { enumerable: true, get: function () { return corporate_js_1.CorporateSecurities; } });
|
|
152
|
+
Object.defineProperty(exports, "SecurityIssuance", { enumerable: true, get: function () { return corporate_js_1.SecurityIssuance; } });
|
|
153
|
+
Object.defineProperty(exports, "SecurityTransfer", { enumerable: true, get: function () { return corporate_js_1.SecurityTransfer; } });
|
|
154
|
+
Object.defineProperty(exports, "CorporateCompliance", { enumerable: true, get: function () { return corporate_js_1.CorporateCompliance; } });
|
|
155
|
+
Object.defineProperty(exports, "FilingRecord", { enumerable: true, get: function () { return corporate_js_1.FilingRecord; } });
|
|
156
|
+
Object.defineProperty(exports, "ComplianceRequirement", { enumerable: true, get: function () { return corporate_js_1.ComplianceRequirement; } });
|
|
157
|
+
Object.defineProperty(exports, "CreateEntityRequest", { enumerable: true, get: function () { return corporate_js_1.CreateEntityRequest; } });
|
|
158
|
+
Object.defineProperty(exports, "AppointDirectorRequest", { enumerable: true, get: function () { return corporate_js_1.AppointDirectorRequest; } });
|
|
159
|
+
Object.defineProperty(exports, "IssueSharesRequest", { enumerable: true, get: function () { return corporate_js_1.IssueSharesRequest; } });
|
|
160
|
+
Object.defineProperty(exports, "ProposeResolutionRequest", { enumerable: true, get: function () { return corporate_js_1.ProposeResolutionRequest; } });
|