@pbgtoken/rwa-contract 1.1.7 → 1.1.17

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/dist/tokens.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { type MintingPolicyHash } from "@helios-lang/ledger";
2
- export declare function makeMetadataAssetClass(mph: MintingPolicyHash, ticker: string): import("@helios-lang/ledger").AssetClass<unknown>;
@@ -1,460 +0,0 @@
1
- import type { IntLike } from "@helios-lang/codec-utils";
2
- import type { Cast, CastConfig, UserFunc } from "@helios-lang/contract-utils";
3
- import type { Address, AssetClass, MintingPolicyHash, PubKeyHash, ScriptHash, TxInput, TxOutputId } from "@helios-lang/ledger";
4
- import type { UplcData, UplcProgram } from "@helios-lang/uplc";
5
- export declare const account_aggregate: {
6
- $name: "account_aggregate";
7
- $purpose: "mixed";
8
- $currentScriptIndex: 0;
9
- $sourceCode: string;
10
- $dependencies: readonly [];
11
- $hashDependencies: never[];
12
- $dependsOnOwnHash: boolean;
13
- $Redeemer: (config: CastConfig) => Cast<{
14
- Other: {
15
- redeemer: UplcData;
16
- };
17
- } | {
18
- Spending: {
19
- redeemer: UplcData;
20
- };
21
- }, {
22
- Other: {
23
- redeemer: UplcData;
24
- };
25
- } | {
26
- Spending: {
27
- redeemer: UplcData;
28
- };
29
- }>;
30
- $Datum: (config: CastConfig) => Cast<UplcData, UplcData>;
31
- $types: {
32
- State: (config: CastConfig) => Cast<{
33
- current_supply: bigint;
34
- supply_after_last_mint: bigint;
35
- transfer_id_before_last_mint: number[];
36
- type: string;
37
- account: number[];
38
- name: string;
39
- description: string;
40
- decimals: bigint;
41
- ticker: string;
42
- url: string;
43
- logo: string;
44
- }, {
45
- current_supply: IntLike;
46
- supply_after_last_mint: IntLike;
47
- transfer_id_before_last_mint: number[];
48
- type: string;
49
- account: number[];
50
- name: string;
51
- description: string;
52
- decimals: IntLike;
53
- ticker: string;
54
- url: string;
55
- logo: string;
56
- }>;
57
- Cip68Extra: (config: CastConfig) => Cast<{
58
- Unused: {};
59
- }, {
60
- Unused: {};
61
- }>;
62
- Metadata: (config: CastConfig) => Cast<{
63
- Cip68: {
64
- state: {
65
- current_supply: bigint;
66
- supply_after_last_mint: bigint;
67
- transfer_id_before_last_mint: number[];
68
- type: string;
69
- account: number[];
70
- name: string;
71
- description: string;
72
- decimals: bigint;
73
- ticker: string;
74
- url: string;
75
- logo: string;
76
- };
77
- version: bigint;
78
- extra: {
79
- Unused: {};
80
- };
81
- };
82
- }, {
83
- Cip68: {
84
- state: {
85
- current_supply: IntLike;
86
- supply_after_last_mint: IntLike;
87
- transfer_id_before_last_mint: number[];
88
- type: string;
89
- account: number[];
90
- name: string;
91
- description: string;
92
- decimals: IntLike;
93
- ticker: string;
94
- url: string;
95
- logo: string;
96
- };
97
- version: IntLike;
98
- extra: {
99
- Unused: {};
100
- };
101
- };
102
- }>;
103
- Redeemer: (config: CastConfig) => Cast<{
104
- total_reserves: number;
105
- reserves_change: number;
106
- latest_transfer_id: number[];
107
- }, {
108
- total_reserves: number;
109
- reserves_change: number;
110
- latest_transfer_id: number[];
111
- }>;
112
- };
113
- $functions: {
114
- "Metadata::state": (uplc: UplcProgram, config: CastConfig) => UserFunc<{
115
- self: {
116
- Cip68: {
117
- state: {
118
- current_supply: IntLike;
119
- supply_after_last_mint: IntLike;
120
- transfer_id_before_last_mint: number[];
121
- type: string;
122
- account: number[];
123
- name: string;
124
- description: string;
125
- decimals: IntLike;
126
- ticker: string;
127
- url: string;
128
- logo: string;
129
- };
130
- version: IntLike;
131
- extra: {
132
- Unused: {};
133
- };
134
- };
135
- };
136
- }, {
137
- current_supply: bigint;
138
- supply_after_last_mint: bigint;
139
- transfer_id_before_last_mint: number[];
140
- type: string;
141
- account: number[];
142
- name: string;
143
- description: string;
144
- decimals: bigint;
145
- ticker: string;
146
- url: string;
147
- logo: string;
148
- }>;
149
- SEED_ID: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, TxOutputId>;
150
- ORACLE_KEYS: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, PubKeyHash[]>;
151
- INITIAL_PRICE: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, number>;
152
- TYPE: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
153
- ACCOUNT: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, number[]>;
154
- TICKER: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
155
- NAME: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
156
- DESCRIPTION: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
157
- DECIMALS: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, bigint>;
158
- URL: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
159
- LOGO: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
160
- ticker_bytes: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, number[]>;
161
- user_token_name: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, number[]>;
162
- ref_token_name: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, number[]>;
163
- own_hash: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, ScriptHash>;
164
- own_mph: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, MintingPolicyHash>;
165
- own_address: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, Address>;
166
- ref_token_asset_class: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, AssetClass>;
167
- user_token_asset_class: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, AssetClass>;
168
- validate_initialization: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
169
- $scriptContext: UplcData;
170
- }, void>;
171
- signed_by_quorum: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
172
- $scriptContext: UplcData;
173
- }, boolean>;
174
- calc_token_price: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
175
- R: number;
176
- Delta: number;
177
- current_supply: IntLike;
178
- supply_after_last_mint: IntLike;
179
- }, number>;
180
- validate_state_change: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
181
- $scriptContext: UplcData;
182
- redeemer: {
183
- total_reserves: number;
184
- reserves_change: number;
185
- latest_transfer_id: number[];
186
- };
187
- input: TxInput;
188
- }, void>;
189
- main: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
190
- $scriptContext: UplcData;
191
- $datum?: UplcData;
192
- args: {
193
- Other: {
194
- redeemer: UplcData;
195
- };
196
- } | {
197
- Spending: {
198
- redeemer: UplcData;
199
- };
200
- };
201
- }, void>;
202
- };
203
- };
204
- export declare const wrapped_asset: {
205
- $name: "wrapped_asset";
206
- $purpose: "mixed";
207
- $currentScriptIndex: 1;
208
- $sourceCode: string;
209
- $dependencies: readonly [];
210
- $hashDependencies: never[];
211
- $dependsOnOwnHash: boolean;
212
- $Redeemer: (config: CastConfig) => Cast<{
213
- Other: {
214
- redeemer: UplcData;
215
- };
216
- } | {
217
- Spending: {
218
- redeemer: UplcData;
219
- };
220
- }, {
221
- Other: {
222
- redeemer: UplcData;
223
- };
224
- } | {
225
- Spending: {
226
- redeemer: UplcData;
227
- };
228
- }>;
229
- $Datum: (config: CastConfig) => Cast<UplcData, UplcData>;
230
- $types: {
231
- State: (config: CastConfig) => Cast<{
232
- supply: bigint;
233
- type: string;
234
- venue: string;
235
- policy: string;
236
- account: string;
237
- ticker: string;
238
- name: string;
239
- description: string;
240
- decimals: bigint;
241
- url: string;
242
- logo: string;
243
- quorum: bigint;
244
- oracles: (PubKeyHash)[];
245
- seed: TxOutputId;
246
- }, {
247
- supply: IntLike;
248
- type: string;
249
- venue: string;
250
- policy: string;
251
- account: string;
252
- ticker: string;
253
- name: string;
254
- description: string;
255
- decimals: IntLike;
256
- url: string;
257
- logo: string;
258
- quorum: IntLike;
259
- oracles: (PubKeyHash | string | number[])[];
260
- seed: TxOutputId | string;
261
- }>;
262
- Cip68Extra: (config: CastConfig) => Cast<{
263
- Unused: {};
264
- }, {
265
- Unused: {};
266
- }>;
267
- Metadata: (config: CastConfig) => Cast<{
268
- Cip68: {
269
- state: {
270
- supply: bigint;
271
- type: string;
272
- venue: string;
273
- policy: string;
274
- account: string;
275
- ticker: string;
276
- name: string;
277
- description: string;
278
- decimals: bigint;
279
- url: string;
280
- logo: string;
281
- quorum: bigint;
282
- oracles: (PubKeyHash)[];
283
- seed: TxOutputId;
284
- };
285
- version: bigint;
286
- extra: {
287
- Unused: {};
288
- };
289
- };
290
- }, {
291
- Cip68: {
292
- state: {
293
- supply: IntLike;
294
- type: string;
295
- venue: string;
296
- policy: string;
297
- account: string;
298
- ticker: string;
299
- name: string;
300
- description: string;
301
- decimals: IntLike;
302
- url: string;
303
- logo: string;
304
- quorum: IntLike;
305
- oracles: (PubKeyHash | string | number[])[];
306
- seed: TxOutputId | string;
307
- };
308
- version: IntLike;
309
- extra: {
310
- Unused: {};
311
- };
312
- };
313
- }>;
314
- Redeemer: (config: CastConfig) => Cast<{
315
- reserves: bigint;
316
- }, {
317
- reserves: IntLike;
318
- }>;
319
- };
320
- $functions: {
321
- "Metadata::state": (uplc: UplcProgram, config: CastConfig) => UserFunc<{
322
- self: {
323
- Cip68: {
324
- state: {
325
- supply: IntLike;
326
- type: string;
327
- venue: string;
328
- policy: string;
329
- account: string;
330
- ticker: string;
331
- name: string;
332
- description: string;
333
- decimals: IntLike;
334
- url: string;
335
- logo: string;
336
- quorum: IntLike;
337
- oracles: (PubKeyHash | string | number[])[];
338
- seed: TxOutputId | string;
339
- };
340
- version: IntLike;
341
- extra: {
342
- Unused: {};
343
- };
344
- };
345
- };
346
- }, {
347
- supply: bigint;
348
- type: string;
349
- venue: string;
350
- policy: string;
351
- account: string;
352
- ticker: string;
353
- name: string;
354
- description: string;
355
- decimals: bigint;
356
- url: string;
357
- logo: string;
358
- quorum: bigint;
359
- oracles: (PubKeyHash)[];
360
- seed: TxOutputId;
361
- }>;
362
- "Metadata::version": (uplc: UplcProgram, config: CastConfig) => UserFunc<{
363
- self: {
364
- Cip68: {
365
- state: {
366
- supply: IntLike;
367
- type: string;
368
- venue: string;
369
- policy: string;
370
- account: string;
371
- ticker: string;
372
- name: string;
373
- description: string;
374
- decimals: IntLike;
375
- url: string;
376
- logo: string;
377
- quorum: IntLike;
378
- oracles: (PubKeyHash | string | number[])[];
379
- seed: TxOutputId | string;
380
- };
381
- version: IntLike;
382
- extra: {
383
- Unused: {};
384
- };
385
- };
386
- };
387
- }, bigint>;
388
- "Metadata::extra": (uplc: UplcProgram, config: CastConfig) => UserFunc<{
389
- self: {
390
- Cip68: {
391
- state: {
392
- supply: IntLike;
393
- type: string;
394
- venue: string;
395
- policy: string;
396
- account: string;
397
- ticker: string;
398
- name: string;
399
- description: string;
400
- decimals: IntLike;
401
- url: string;
402
- logo: string;
403
- quorum: IntLike;
404
- oracles: (PubKeyHash | string | number[])[];
405
- seed: TxOutputId | string;
406
- };
407
- version: IntLike;
408
- extra: {
409
- Unused: {};
410
- };
411
- };
412
- };
413
- }, {
414
- Unused: {};
415
- }>;
416
- TYPE: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
417
- VENUE: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
418
- POLICY: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
419
- ACCOUNT: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
420
- TICKER: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, string>;
421
- DECIMALS: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, bigint>;
422
- ORACLES: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, PubKeyHash[]>;
423
- QUORUM: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, bigint>;
424
- SEED: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, TxOutputId>;
425
- ticker_bytes: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, number[]>;
426
- user_token_name: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, number[]>;
427
- ref_token_name: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, number[]>;
428
- own_hash: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, ScriptHash>;
429
- own_mph: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, MintingPolicyHash>;
430
- own_address: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, Address>;
431
- ref_token_asset_class: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, AssetClass>;
432
- user_token_asset_class: (uplc: UplcProgram, config: CastConfig) => UserFunc<{}, AssetClass>;
433
- validate_initialization: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
434
- $scriptContext: UplcData;
435
- }, void>;
436
- signed_by_quorum: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
437
- $scriptContext: UplcData;
438
- }, boolean>;
439
- validate_state_change: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
440
- $scriptContext: UplcData;
441
- redeemer: {
442
- reserves: IntLike;
443
- };
444
- input: TxInput;
445
- }, void>;
446
- main: (uplc: UplcProgram, config: CastConfig) => UserFunc<{
447
- $scriptContext: UplcData;
448
- $datum?: UplcData;
449
- args: {
450
- Other: {
451
- redeemer: UplcData;
452
- };
453
- } | {
454
- Spending: {
455
- redeemer: UplcData;
456
- };
457
- };
458
- }, void>;
459
- };
460
- };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes