@ar.io/sdk 1.2.0-alpha.9 → 1.2.1

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.
@@ -19,6 +19,13 @@ class AoANTReadable {
19
19
  throw new error_js_1.InvalidContractConfigurationError();
20
20
  }
21
21
  }
22
+ async getState() {
23
+ const tags = [{ name: 'Action', value: 'State' }];
24
+ const res = await this.process.read({
25
+ tags,
26
+ });
27
+ return res;
28
+ }
22
29
  async getInfo() {
23
30
  const tags = [{ name: 'Action', value: 'Info' }];
24
31
  const info = await this.process.read({
@@ -38,7 +45,7 @@ class AoANTReadable {
38
45
  async getRecord({ undername }) {
39
46
  const tags = [
40
47
  { name: 'Sub-Domain', value: undername },
41
- { name: 'Action', value: 'Get-Record' },
48
+ { name: 'Action', value: 'Record' },
42
49
  ];
43
50
  const record = await this.process.read({
44
51
  tags,
@@ -54,7 +61,7 @@ class AoANTReadable {
54
61
  * ````
55
62
  */
56
63
  async getRecords() {
57
- const tags = [{ name: 'Action', value: 'Get-Records' }];
64
+ const tags = [{ name: 'Action', value: 'Records' }];
58
65
  const records = await this.process.read({
59
66
  tags,
60
67
  });
@@ -81,7 +88,7 @@ class AoANTReadable {
81
88
  * ```
82
89
  */
83
90
  async getControllers() {
84
- const tags = [{ name: 'Action', value: 'Get-Controllers' }];
91
+ const tags = [{ name: 'Action', value: 'Controllers' }];
85
92
  const controllers = await this.process.read({
86
93
  tags,
87
94
  });
@@ -182,7 +189,7 @@ class AoANTWriteable extends AoANTReadable {
182
189
  */
183
190
  async addController({ controller, }) {
184
191
  const tags = [
185
- { name: 'Action', value: 'Set-Controller' },
192
+ { name: 'Action', value: 'Add-Controller' },
186
193
  { name: 'Controller', value: controller },
187
194
  ];
188
195
  return this.process.send({
@@ -19,6 +19,7 @@ exports.AOProcess = void 0;
19
19
  */
20
20
  const aoconnect_1 = require("@permaweb/aoconnect");
21
21
  const arbundles_1 = require("arbundles");
22
+ const json_js_1 = require("../../utils/json.js");
22
23
  const version_js_1 = require("../../version.js");
23
24
  const error_js_1 = require("../error.js");
24
25
  const logger_js_1 = require("../logger.js");
@@ -60,18 +61,22 @@ class AOProcess {
60
61
  process: this.processId,
61
62
  tags,
62
63
  });
64
+ if (result.Messages.length === 0) {
65
+ throw new Error(`Process ${this.processId} does not support provided action.`);
66
+ }
63
67
  const tagsOutput = result.Messages[0].Tags;
64
68
  const error = tagsOutput.find((tag) => tag.name === 'Error');
65
69
  if (error) {
66
70
  throw new Error(`${error.Value}: ${result.Messages[0].Data}`);
67
71
  }
68
- if (result.Messages.length === 0) {
69
- throw new Error('Process does not support provided action.');
70
- }
71
72
  this.logger.debug(`Read interaction result`, {
72
73
  result: result.Messages[0].Data,
73
74
  });
74
- const response = JSON.parse(result.Messages[0].Data);
75
+ // return empty object if no data is returned
76
+ if (result.Messages[0].Data === undefined) {
77
+ return {};
78
+ }
79
+ const response = (0, json_js_1.safeDecode)(result.Messages[0].Data);
75
80
  return response;
76
81
  }
77
82
  catch (e) {
@@ -131,7 +136,13 @@ class AOProcess {
131
136
  const result = output.Messages[0].Data;
132
137
  throw new error_js_1.WriteInteractionError(`${error.Value}: ${result}`);
133
138
  }
134
- const resultData = JSON.parse(output.Messages[0].Data);
139
+ if (output.Messages.length === 0) {
140
+ throw new Error(`Process ${this.processId} does not support provided action.`);
141
+ }
142
+ if (output.Messages[0].Data === undefined) {
143
+ return { id: messageId };
144
+ }
145
+ const resultData = (0, json_js_1.safeDecode)(output.Messages[0].Data);
135
146
  this.logger.debug('Message result data', {
136
147
  resultData,
137
148
  messageId,
@@ -45,7 +45,7 @@ class IOReadable {
45
45
  constructor(config, arweave = arweave_1.default.init({})) {
46
46
  if (!config) {
47
47
  this.process = new ao_process_js_1.AOProcess({
48
- processId: constants_js_1.ioDevnetProcessId,
48
+ processId: constants_js_1.IO_TESTNET_PROCESS_ID,
49
49
  });
50
50
  }
51
51
  else if ((0, io_js_1.isProcessConfiguration)(config)) {
@@ -64,31 +64,47 @@ class IOReadable {
64
64
  }
65
65
  this.arweave = arweave;
66
66
  }
67
- async getEpoch(epoch) {
67
+ async getInfo() {
68
+ return this.process.read({
69
+ tags: [{ name: 'Action', value: 'Info' }],
70
+ });
71
+ }
72
+ async getEpochSettings(params) {
68
73
  const allTags = [
69
- { name: 'Action', value: 'Epoch' },
74
+ { name: 'Action', value: 'Epoch-Settings' },
70
75
  {
71
- // TODO: default this to the current network time
72
76
  name: 'Timestamp',
73
- value: epoch.timestamp?.toString() ?? '',
77
+ value: params?.timestamp?.toString() ??
78
+ (await this.arweave.blocks.getCurrent().catch(() => {
79
+ return { timestamp: Date.now() }; // fallback to current time
80
+ })).timestamp.toString(),
74
81
  },
75
82
  {
76
- name: 'BlockHeight',
77
- value: epoch?.blockHeight?.toString(),
83
+ name: 'Epoch-Index',
84
+ value: params?.epochIndex?.toString(),
85
+ },
86
+ ];
87
+ const prunedTags = allTags.filter((tag) => tag.value !== undefined);
88
+ return this.process.read({
89
+ tags: prunedTags,
90
+ });
91
+ }
92
+ async getEpoch(epoch) {
93
+ const allTags = [
94
+ { name: 'Action', value: 'Epoch' },
95
+ {
96
+ name: 'Timestamp',
97
+ value: epoch?.timestamp?.toString() ??
98
+ (await this.arweave.blocks.getCurrent().catch(() => {
99
+ return { timestamp: Date.now() }; // fallback to current time
100
+ })).timestamp.toString(),
78
101
  },
79
102
  {
80
- name: 'EpochIndex',
103
+ name: 'Epoch-Index',
81
104
  value: epoch?.epochIndex?.toString(),
82
105
  },
83
106
  ];
84
107
  const prunedTags = allTags.filter((tag) => tag.value !== undefined);
85
- // if it only contains the action, add default timestamp
86
- if (prunedTags.length === 1) {
87
- prunedTags.push({
88
- name: 'Timestamp',
89
- value: (await this.arweave.blocks.getCurrent()).timestamp.toString(),
90
- });
91
- }
92
108
  return this.process.read({
93
109
  tags: prunedTags,
94
110
  });
@@ -108,13 +124,13 @@ class IOReadable {
108
124
  }
109
125
  async getArNSReservedNames() {
110
126
  return this.process.read({
111
- tags: [{ name: 'Action', value: 'ReservedNames' }],
127
+ tags: [{ name: 'Action', value: 'Reserved-Names' }],
112
128
  });
113
129
  }
114
130
  async getArNSReservedName({ name, }) {
115
131
  return this.process.read({
116
132
  tags: [
117
- { name: 'Action', value: 'ReservedName' },
133
+ { name: 'Action', value: 'Reserved-Name' },
118
134
  { name: 'Name', value: name },
119
135
  ],
120
136
  });
@@ -149,125 +165,98 @@ class IOReadable {
149
165
  return this.process.read({
150
166
  tags: [
151
167
  { name: 'Action', value: 'Epoch' },
152
- { name: 'Timestamp', value: `${Date.now()}` },
168
+ {
169
+ name: 'Timestamp',
170
+ value: (await this.arweave.blocks.getCurrent().catch(() => {
171
+ return { timestamp: Date.now() }; // fallback to current time
172
+ })).timestamp.toString(),
173
+ },
153
174
  ],
154
175
  });
155
176
  }
156
177
  async getPrescribedObservers(epoch) {
157
178
  const allTags = [
158
- { name: 'Action', value: 'EpochPrescribedObservers' },
179
+ { name: 'Action', value: 'Epoch-Prescribed-Observers' },
159
180
  {
160
181
  name: 'Timestamp',
161
- value: epoch.timestamp?.toString(),
182
+ value: epoch?.timestamp?.toString() ??
183
+ (await this.arweave.blocks.getCurrent().catch(() => {
184
+ return { timestamp: Date.now() }; // fallback to current time
185
+ })).timestamp.toString(),
162
186
  },
163
187
  {
164
- name: 'BlockHeight',
165
- value: epoch?.blockHeight?.toString(),
166
- },
167
- {
168
- name: 'EpochIndex',
188
+ name: 'Epoch-Index',
169
189
  value: epoch?.epochIndex?.toString(),
170
190
  },
171
191
  ];
172
192
  const prunedTags = allTags.filter((tag) => tag.value !== undefined);
173
- // if it only contains the action, add default timestamp
174
- if (prunedTags.length === 1) {
175
- prunedTags.push({
176
- name: 'Timestamp',
177
- value: `${Date.now()}`,
178
- });
179
- }
180
193
  return this.process.read({
181
194
  tags: prunedTags,
182
195
  });
183
196
  }
184
197
  async getPrescribedNames(epoch) {
185
198
  const allTags = [
186
- { name: 'Action', value: 'EpochPrescribedNames' },
199
+ { name: 'Action', value: 'Epoch-Prescribed-Names' },
187
200
  {
188
201
  name: 'Timestamp',
189
- value: epoch.timestamp?.toString(),
190
- },
191
- {
192
- name: 'BlockHeight',
193
- value: epoch?.blockHeight?.toString(),
202
+ value: epoch?.timestamp?.toString() ??
203
+ (await this.arweave.blocks.getCurrent().catch(() => {
204
+ return { timestamp: Date.now() }; // fallback to current time
205
+ })).timestamp.toString(),
194
206
  },
195
207
  {
196
- name: 'EpochIndex',
208
+ name: 'Epoch-Index',
197
209
  value: epoch?.epochIndex?.toString(),
198
210
  },
199
211
  ];
200
212
  const prunedTags = allTags.filter((tag) => tag.value !== undefined);
201
- // if it only contains the action, add default timestamp
202
- if (prunedTags.length === 1) {
203
- prunedTags.push({
204
- name: 'Timestamp',
205
- value: `${Date.now()}`, // TODO; replace with fetch the current network time
206
- });
207
- }
208
213
  return this.process.read({
209
214
  tags: prunedTags,
210
215
  });
211
216
  }
212
217
  async getObservations(epoch) {
213
218
  const allTags = [
214
- { name: 'Action', value: 'EpochObservations' },
219
+ { name: 'Action', value: 'Epoch-Observations' },
215
220
  {
216
221
  name: 'Timestamp',
217
- value: epoch.timestamp?.toString(),
218
- },
219
- {
220
- name: 'BlockHeight',
221
- value: epoch?.blockHeight?.toString(),
222
+ value: epoch?.timestamp?.toString() ??
223
+ (await this.arweave.blocks.getCurrent().catch(() => {
224
+ return { timestamp: `${Date.now()}` }; // fallback to current time
225
+ })).timestamp.toString(),
222
226
  },
223
227
  {
224
- name: 'EpochIndex',
228
+ name: 'Epoch-Index',
225
229
  value: epoch?.epochIndex?.toString(),
226
230
  },
227
231
  ];
228
232
  const prunedTags = allTags.filter((tag) => tag.value !== undefined);
229
- // if it only contains the action, add default timestamp
230
- if (prunedTags.length === 1) {
231
- prunedTags.push({
232
- name: 'Timestamp',
233
- value: (await this.arweave.blocks.getCurrent()).timestamp.toString(),
234
- });
235
- }
236
233
  return this.process.read({
237
234
  tags: prunedTags,
238
235
  });
239
236
  }
240
237
  async getDistributions(epoch) {
241
238
  const allTags = [
242
- { name: 'Action', value: 'EpochDistributions' },
239
+ { name: 'Action', value: 'Epoch-Distributions' },
243
240
  {
244
241
  name: 'Timestamp',
245
- value: epoch.timestamp?.toString() ?? '',
242
+ value: epoch?.timestamp?.toString() ??
243
+ (await this.arweave.blocks.getCurrent().catch(() => {
244
+ return { timestamp: Date.now() }; // fallback to current time
245
+ })).timestamp.toString(),
246
246
  },
247
247
  {
248
- name: 'BlockHeight',
249
- value: epoch?.blockHeight?.toString(),
250
- },
251
- {
252
- name: 'EpochIndex',
248
+ name: 'Epoch-Index',
253
249
  value: epoch?.epochIndex?.toString(),
254
250
  },
255
251
  ];
256
252
  const prunedTags = allTags.filter((tag) => tag.value !== undefined);
257
- // if it only contains the action, add default timestamp
258
- if (prunedTags.length === 1) {
259
- prunedTags.push({
260
- name: 'Timestamp',
261
- value: (await this.arweave.blocks.getCurrent()).timestamp.toString(),
262
- });
263
- }
264
253
  return this.process.read({
265
254
  tags: prunedTags,
266
255
  });
267
256
  }
268
257
  async getTokenCost({ intent, purchaseType, years, name, quantity, }) {
269
258
  const allTags = [
270
- { name: 'Action', value: 'TokenCost' },
259
+ { name: 'Action', value: 'Token-Cost' },
271
260
  {
272
261
  name: 'Intent',
273
262
  value: intent,
@@ -285,9 +274,15 @@ class IOReadable {
285
274
  value: quantity?.toString(),
286
275
  },
287
276
  {
288
- name: 'PurchaseType',
277
+ name: 'Purchase-Type',
289
278
  value: purchaseType,
290
279
  },
280
+ {
281
+ name: 'Timestamp',
282
+ value: (await this.arweave.blocks.getCurrent().catch(() => {
283
+ return { timestamp: Date.now() }; // fallback to current time
284
+ })).timestamp.toString(),
285
+ },
291
286
  ];
292
287
  const prunedTags = allTags.filter((tag) => tag.value !== undefined);
293
288
  return this.process.read({
@@ -302,7 +297,7 @@ class IOWriteable extends IOReadable {
302
297
  if (Object.keys(config).length === 0) {
303
298
  super({
304
299
  process: new ao_process_js_1.AOProcess({
305
- processId: constants_js_1.ioDevnetProcessId,
300
+ processId: constants_js_1.IO_TESTNET_PROCESS_ID,
306
301
  }),
307
302
  });
308
303
  this.signer = signer;
@@ -345,17 +340,17 @@ class IOWriteable extends IOReadable {
345
340
  const { tags = [] } = options || {};
346
341
  const allTags = [
347
342
  ...tags,
348
- { name: 'Action', value: 'JoinNetwork' },
343
+ { name: 'Action', value: 'Join-Network' },
349
344
  {
350
- name: 'OperatorStake',
345
+ name: 'Operator-Stake',
351
346
  value: operatorStake.valueOf().toString(),
352
347
  },
353
348
  {
354
- name: 'AllowDelegatedStaking',
349
+ name: 'Allow-Delegated-Staking',
355
350
  value: allowDelegatedStaking.toString(),
356
351
  },
357
352
  {
358
- name: 'DelegateRewardShareRatio',
353
+ name: 'Delegate-Reward-Share-Ratio',
359
354
  value: delegateRewardShareRatio.toString(),
360
355
  },
361
356
  {
@@ -367,7 +362,7 @@ class IOWriteable extends IOReadable {
367
362
  value: label,
368
363
  },
369
364
  {
370
- name: 'MinDelegatedStake',
365
+ name: 'Min-Delegated-Stake',
371
366
  value: minDelegatedStake.valueOf().toString(),
372
367
  },
373
368
  {
@@ -387,11 +382,11 @@ class IOWriteable extends IOReadable {
387
382
  value: protocol,
388
383
  },
389
384
  {
390
- name: 'AutoStake',
385
+ name: 'Auto-Stake',
391
386
  value: autoStake.toString(),
392
387
  },
393
388
  {
394
- name: 'ObserverAddress',
389
+ name: 'Observer-Address',
395
390
  value: observerAddress,
396
391
  },
397
392
  ];
@@ -405,27 +400,27 @@ class IOWriteable extends IOReadable {
405
400
  const { tags = [] } = options || {};
406
401
  const allTags = [
407
402
  ...tags,
408
- { name: 'Action', value: 'UpdateGatewaySettings' },
403
+ { name: 'Action', value: 'Update-Gateway-Settings' },
409
404
  { name: 'Label', value: label },
410
405
  { name: 'Note', value: note },
411
406
  { name: 'FQDN', value: fqdn },
412
407
  { name: 'Port', value: port?.toString() },
413
408
  { name: 'Properties', value: properties },
414
409
  { name: 'Protocol', value: protocol },
415
- { name: 'ObserverAddress', value: observerAddress },
410
+ { name: 'Observer-Address', value: observerAddress },
416
411
  {
417
- name: 'AllowDelegatedStaking',
412
+ name: 'Allow-Delegated-Staking',
418
413
  value: allowDelegatedStaking?.toString(),
419
414
  },
420
415
  {
421
- name: 'DelegateRewardShareRatio',
416
+ name: 'Delegate-Reward-Share-Ratio',
422
417
  value: delegateRewardShareRatio?.toString(),
423
418
  },
424
419
  {
425
- name: 'MinDelegatedStake',
420
+ name: 'Min-Delegated-Stake',
426
421
  value: minDelegatedStake?.valueOf().toString(),
427
422
  },
428
- { name: 'AutoStake', value: autoStake?.toString() },
423
+ { name: 'Auto-Stake', value: autoStake?.toString() },
429
424
  ];
430
425
  const prunedTags = allTags.filter((tag) => tag.value !== undefined);
431
426
  return this.process.send({
@@ -439,7 +434,7 @@ class IOWriteable extends IOReadable {
439
434
  signer: this.signer,
440
435
  tags: [
441
436
  ...tags,
442
- { name: 'Action', value: 'DelegateStake' },
437
+ { name: 'Action', value: 'Delegate-Stake' },
443
438
  { name: 'Target', value: params.target },
444
439
  { name: 'Quantity', value: params.stakeQty.valueOf().toString() },
445
440
  ],
@@ -451,7 +446,7 @@ class IOWriteable extends IOReadable {
451
446
  signer: this.signer,
452
447
  tags: [
453
448
  ...tags,
454
- { name: 'Action', value: 'DecreaseDelegateStake' },
449
+ { name: 'Action', value: 'Decrease-Delegate-Stake' },
455
450
  { name: 'Target', value: params.target },
456
451
  { name: 'Quantity', value: params.decreaseQty.valueOf().toString() },
457
452
  ],
@@ -463,7 +458,7 @@ class IOWriteable extends IOReadable {
463
458
  signer: this.signer,
464
459
  tags: [
465
460
  ...tags,
466
- { name: 'Action', value: 'IncreaseOperatorStake' },
461
+ { name: 'Action', value: 'Increase-Operator-Stake' },
467
462
  { name: 'Quantity', value: params.increaseQty.valueOf().toString() },
468
463
  ],
469
464
  });
@@ -474,7 +469,7 @@ class IOWriteable extends IOReadable {
474
469
  signer: this.signer,
475
470
  tags: [
476
471
  ...tags,
477
- { name: 'Action', value: 'DecreaseOperatorStake' },
472
+ { name: 'Action', value: 'Decrease-Operator-Stake' },
478
473
  { name: 'Quantity', value: params.decreaseQty.valueOf().toString() },
479
474
  ],
480
475
  });
@@ -485,13 +480,13 @@ class IOWriteable extends IOReadable {
485
480
  signer: this.signer,
486
481
  tags: [
487
482
  ...tags,
488
- { name: 'Action', value: 'SaveObservations' },
483
+ { name: 'Action', value: 'Save-Observations' },
489
484
  {
490
- name: 'ReportTxId',
485
+ name: 'Report-Tx-Id',
491
486
  value: params.reportTxId,
492
487
  },
493
488
  {
494
- name: 'FailedGateways',
489
+ name: 'Failed-Gateways',
495
490
  value: params.failedGateways.join(','),
496
491
  },
497
492
  ],
@@ -505,11 +500,11 @@ class IOWriteable extends IOReadable {
505
500
  const { tags = [] } = options || {};
506
501
  const allTags = [
507
502
  ...tags,
508
- { name: 'Action', value: 'BuyRecord' },
503
+ { name: 'Action', value: 'Buy-Record' },
509
504
  { name: 'Name', value: params.name },
510
505
  { name: 'Years', value: params.years?.toString() ?? '1' },
511
- { name: 'ProcessId', value: params.processId },
512
- { name: 'PurchaseType', value: params.type || 'lease' },
506
+ { name: 'Process-Id', value: params.processId },
507
+ { name: 'Purchase-Type', value: params.type || 'lease' },
513
508
  ];
514
509
  const prunedTags = allTags.filter((tag) => tag.value !== undefined);
515
510
  return this.process.send({
@@ -523,7 +518,7 @@ class IOWriteable extends IOReadable {
523
518
  signer: this.signer,
524
519
  tags: [
525
520
  ...tags,
526
- { name: 'Action', value: 'ExtendLease' },
521
+ { name: 'Action', value: 'Extend-Lease' },
527
522
  { name: 'Name', value: params.name },
528
523
  { name: 'Years', value: params.years.toString() },
529
524
  ],
@@ -535,7 +530,7 @@ class IOWriteable extends IOReadable {
535
530
  signer: this.signer,
536
531
  tags: [
537
532
  ...tags,
538
- { name: 'Action', value: 'IncreaseUndernameLimit' },
533
+ { name: 'Action', value: 'Increase-Undername-Limit' },
539
534
  { name: 'Name', value: params.name },
540
535
  { name: 'Quantity', value: params.increaseCount.toString() },
541
536
  ],
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_SCHEDULER_ID = exports.ANT_LUA_ID = exports.AOS_MODULE_ID = exports.MIO_PER_IO = exports.ioDevnetProcessId = exports.ARNS_DEVNET_REGISTRY_TX = exports.ARNS_TESTNET_REGISTRY_TX = exports.SORT_KEY_REGEX = exports.FQDN_REGEX = exports.ARWEAVE_TX_REGEX = void 0;
3
+ exports.DEFAULT_SCHEDULER_ID = exports.ANT_LUA_ID = exports.AOS_MODULE_ID = exports.MIO_PER_IO = exports.IO_TESTNET_PROCESS_ID = exports.ioDevnetProcessId = exports.IO_DEVNET_PROCESS_ID = exports.ARNS_DEVNET_REGISTRY_TX = exports.ARNS_TESTNET_REGISTRY_TX = exports.SORT_KEY_REGEX = exports.FQDN_REGEX = exports.ARWEAVE_TX_REGEX = void 0;
4
4
  /**
5
5
  * Copyright (C) 2022-2024 Permanent Data Solutions, Inc. All Rights Reserved.
6
6
  *
@@ -24,8 +24,11 @@ exports.FQDN_REGEX = new RegExp('^(?:(?!-)[A-Za-z0-9-]{1,63}(?<!-)\\.)+[A-Za-z]{
24
24
  exports.SORT_KEY_REGEX = new RegExp('^[0-9]{12},[0-9]{13},[a-fA-F0-9]{64}$');
25
25
  exports.ARNS_TESTNET_REGISTRY_TX = process.env.ARNS_REGISTRY_TX ?? 'bLAgYxAdX2Ry-nt6aH2ixgvJXbpsEYm28NgJgyqfs-U';
26
26
  exports.ARNS_DEVNET_REGISTRY_TX = '_NctcA2sRy1-J4OmIQZbYFPM17piNcbdBPH2ncX2RL8';
27
- exports.ioDevnetProcessId = 'GaQrvEMKBpkjofgnBi_B3IgIDmY_XYelVLB6GcRGrHc';
27
+ exports.IO_DEVNET_PROCESS_ID = 'GaQrvEMKBpkjofgnBi_B3IgIDmY_XYelVLB6GcRGrHc';
28
+ // backwards compatibility - TODO: remove in v2.0.0
29
+ exports.ioDevnetProcessId = exports.IO_DEVNET_PROCESS_ID;
30
+ exports.IO_TESTNET_PROCESS_ID = 'agYcCFJtrMG6cqMuZfskIkFTGvUPddICmtQSBIoPdiA';
28
31
  exports.MIO_PER_IO = 1_000_000;
29
- exports.AOS_MODULE_ID = '9afQ1PLf2mrshqCTZEzzJTR2gWaC9zNPnYgYEqg1Pt4';
30
- exports.ANT_LUA_ID = 'obPBMsBWmG5q2qODj3y-zdKiuhZaJC_nuBaQRvORKkU';
32
+ exports.AOS_MODULE_ID = 'cbn0KKrBZH7hdNkNokuXLtGryrWM--PjSTBqIzw9Kkk';
33
+ exports.ANT_LUA_ID = '3OlGzE5mrsN2GsxCYM0Tae1KzWepGOr5a94deOWmApM';
31
34
  exports.DEFAULT_SCHEDULER_ID = '_GQ33BkPtZrqxA84vM8Zk-N2aO0toNNu_C-l-rawrBA';