@misofm/sdk 0.15.11 → 0.16.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/README.md +145 -53
- package/dist/client.d.ts +156 -48
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +289 -48
- package/dist/client.js.map +1 -1
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts +11 -11
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts.map +1 -1
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js +9 -9
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js.map +1 -1
- package/dist/contracts/miso_record/deps/std/type_name.d.ts.map +1 -0
- package/dist/contracts/miso_record/deps/std/type_name.js.map +1 -0
- package/dist/contracts/miso_record/deps/sui/vec_set.d.ts +21 -0
- package/dist/contracts/miso_record/deps/sui/vec_set.d.ts.map +1 -0
- package/dist/contracts/miso_record/deps/sui/vec_set.js +20 -0
- package/dist/contracts/miso_record/deps/sui/vec_set.js.map +1 -0
- package/dist/contracts/miso_record/pressing.d.ts +327 -0
- package/dist/contracts/miso_record/pressing.d.ts.map +1 -0
- package/dist/contracts/miso_record/pressing.js +345 -0
- package/dist/contracts/miso_record/pressing.js.map +1 -0
- package/dist/contracts/miso_record/record.d.ts +190 -0
- package/dist/contracts/miso_record/record.d.ts.map +1 -0
- package/dist/contracts/miso_record/record.js +226 -0
- package/dist/contracts/miso_record/record.js.map +1 -0
- package/dist/contracts/miso_record_shop/deps/std/type_name.d.ts +18 -0
- package/dist/contracts/miso_record_shop/deps/std/type_name.d.ts.map +1 -0
- package/dist/contracts/miso_record_shop/deps/std/type_name.js +20 -0
- package/dist/contracts/miso_record_shop/deps/std/type_name.js.map +1 -0
- package/dist/contracts/miso_record_shop/listing.d.ts +387 -0
- package/dist/contracts/miso_record_shop/listing.d.ts.map +1 -0
- package/dist/contracts/miso_record_shop/listing.js +380 -0
- package/dist/contracts/miso_record_shop/listing.js.map +1 -0
- package/dist/contracts/miso_record_shop/witness.d.ts +7 -0
- package/dist/contracts/miso_record_shop/witness.d.ts.map +1 -0
- package/dist/contracts/miso_record_shop/witness.js +9 -0
- package/dist/contracts/miso_record_shop/witness.js.map +1 -0
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts +10 -12
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts.map +1 -1
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js +8 -10
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js.map +1 -1
- package/dist/contracts.d.ts +3 -3
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +5 -4
- package/dist/contracts.js.map +1 -1
- package/dist/deployments.d.ts +37 -4
- package/dist/deployments.d.ts.map +1 -1
- package/dist/deployments.js +40 -2
- package/dist/deployments.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/mix.d.ts +144 -0
- package/dist/mix.d.ts.map +1 -0
- package/dist/mix.js +656 -0
- package/dist/mix.js.map +1 -0
- package/dist/pressing.d.ts +72 -156
- package/dist/pressing.d.ts.map +1 -1
- package/dist/pressing.js +269 -261
- package/dist/pressing.js.map +1 -1
- package/dist/publication.d.ts +5 -2
- package/dist/publication.d.ts.map +1 -1
- package/dist/publication.js +57 -32
- package/dist/publication.js.map +1 -1
- package/dist/read/catalog.d.ts +8 -5
- package/dist/read/catalog.d.ts.map +1 -1
- package/dist/read/catalog.js +47 -35
- package/dist/read/catalog.js.map +1 -1
- package/dist/read/config.d.ts +6 -4
- package/dist/read/config.d.ts.map +1 -1
- package/dist/read/config.js +1 -2
- package/dist/read/config.js.map +1 -1
- package/dist/read/index.d.ts +1 -1
- package/dist/read/index.d.ts.map +1 -1
- package/dist/read/index.js +1 -1
- package/dist/read/index.js.map +1 -1
- package/dist/read/internal/scalars.d.ts.map +1 -1
- package/dist/read/internal/scalars.js +4 -3
- package/dist/read/internal/scalars.js.map +1 -1
- package/dist/read/internal/walrus.d.ts.map +1 -1
- package/dist/read/internal/walrus.js +2 -1
- package/dist/read/internal/walrus.js.map +1 -1
- package/dist/read/receipts.d.ts +21 -12
- package/dist/read/receipts.d.ts.map +1 -1
- package/dist/read/receipts.js +159 -56
- package/dist/read/receipts.js.map +1 -1
- package/dist/read/types.d.ts +34 -24
- package/dist/read/types.d.ts.map +1 -1
- package/dist/read/wallet.d.ts.map +1 -1
- package/dist/read/wallet.js +31 -46
- package/dist/read/wallet.js.map +1 -1
- package/dist/vault.d.ts +40 -11
- package/dist/vault.d.ts.map +1 -1
- package/dist/vault.js +94 -22
- package/dist/vault.js.map +1 -1
- package/package.json +10 -3
- package/src/client.ts +386 -72
- package/src/contracts/composition_royalty_pool/composition_royalty_pool.ts +15 -15
- package/src/contracts/miso_record/deps/sui/vec_set.ts +21 -0
- package/src/contracts/miso_record/pressing.ts +522 -0
- package/src/contracts/miso_record/record.ts +338 -0
- package/src/contracts/miso_record_shop/deps/std/type_name.ts +22 -0
- package/src/contracts/miso_record_shop/listing.ts +602 -0
- package/src/contracts/miso_record_shop/witness.ts +11 -0
- package/src/contracts/recording_royalty_pool/recording_royalty_pool.ts +14 -16
- package/src/contracts.ts +5 -4
- package/src/deployments.ts +131 -38
- package/src/index.ts +2 -0
- package/src/mix.ts +910 -0
- package/src/pressing.ts +428 -423
- package/src/publication.ts +62 -33
- package/src/read/catalog.ts +49 -34
- package/src/read/config.ts +7 -7
- package/src/read/index.ts +9 -1
- package/src/read/internal/scalars.ts +4 -2
- package/src/read/internal/walrus.ts +2 -1
- package/src/read/receipts.ts +181 -66
- package/src/read/types.ts +35 -22
- package/src/read/wallet.ts +29 -50
- package/src/vault.ts +142 -32
- package/dist/contracts/miso_pressing/certificate.d.ts +0 -89
- package/dist/contracts/miso_pressing/certificate.d.ts.map +0 -1
- package/dist/contracts/miso_pressing/certificate.js +0 -108
- package/dist/contracts/miso_pressing/certificate.js.map +0 -1
- package/dist/contracts/miso_pressing/deps/std/type_name.d.ts.map +0 -1
- package/dist/contracts/miso_pressing/deps/std/type_name.js.map +0 -1
- package/dist/contracts/miso_pressing/listing.d.ts +0 -434
- package/dist/contracts/miso_pressing/listing.d.ts.map +0 -1
- package/dist/contracts/miso_pressing/listing.js +0 -401
- package/dist/contracts/miso_pressing/listing.js.map +0 -1
- package/dist/contracts/miso_pressing/pressing.d.ts +0 -334
- package/dist/contracts/miso_pressing/pressing.d.ts.map +0 -1
- package/dist/contracts/miso_pressing/pressing.js +0 -298
- package/dist/contracts/miso_pressing/pressing.js.map +0 -1
- package/src/contracts/miso_pressing/certificate.ts +0 -164
- package/src/contracts/miso_pressing/listing.ts +0 -592
- package/src/contracts/miso_pressing/pressing.ts +0 -399
- /package/dist/contracts/{miso_pressing → miso_record}/deps/std/type_name.d.ts +0 -0
- /package/dist/contracts/{miso_pressing → miso_record}/deps/std/type_name.js +0 -0
- /package/src/contracts/{miso_pressing → miso_record}/deps/std/type_name.ts +0 -0
|
@@ -1,434 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* One currency's offer on a pressing — a _Listing_.
|
|
6
|
-
*
|
|
7
|
-
* A listing answers exactly two questions: **what does it cost** and **can you pay
|
|
8
|
-
* in this currency**. Everything about _what you get_ — the run, the number —
|
|
9
|
-
* belongs to the `Pressing`. So a pressing sold in SUI and in USDC has two
|
|
10
|
-
* listings, each with its own price and switch, both drawing on the same number
|
|
11
|
-
* sequence.
|
|
12
|
-
*
|
|
13
|
-
* A listing's UID is derived off its pressing's UID at `ListingKey<Currency>()`,
|
|
14
|
-
* so there is exactly one listing per (pressing, currency) — ever — and its
|
|
15
|
-
* address is computable from the pressing's alone. The key is _phantom-typed_
|
|
16
|
-
* rather than a stored `TypeName`, which makes the currency part of the key's
|
|
17
|
-
* type: distinct currencies are distinct key types, so `derived_object::claim`
|
|
18
|
-
* enforces once-per-currency by itself and the pressing needs no set of currencies
|
|
19
|
-
* to check against. Listings are **permanent**: never destroyed, never replaced.
|
|
20
|
-
* The offer changes _in place_ — repriced, disabled, re-enabled — and the listing
|
|
21
|
-
* keeps its identity through every change.
|
|
22
|
-
*
|
|
23
|
-
* # Price
|
|
24
|
-
*
|
|
25
|
-
* `Fixed` (pay exactly) or `Floor` (pay at least; overpayment is kept as a tip,
|
|
26
|
-
* not refunded). The whole payment forwards to the release's address. Settable
|
|
27
|
-
* with the `PressingAdminCap` (`set_price`) — repricing is an edit, not a teardown
|
|
28
|
-
* — and a change cannot catch a buyer out: a `Fixed` buyer pays _exactly_, so a
|
|
29
|
-
* stale payment aborts against a new price, and a `Floor` buyer never pays more
|
|
30
|
-
* than the balance they sent.
|
|
31
|
-
*
|
|
32
|
-
* Payment is a `Balance<Currency>`, never a `Coin<Currency>`. A coin is a wrapper
|
|
33
|
-
* an object id, an owner, and a wrapping/unwrapping round trip — that this path
|
|
34
|
-
* has no use for: the money comes in from wherever the PTB got it (a withdrawal
|
|
35
|
-
* off the buyer's accumulator, a `coin::into_balance`, a split of some larger
|
|
36
|
-
* balance) and goes straight back out to the release's address via
|
|
37
|
-
* `balance::send_funds`. Taking the bare value means `buy` never mints an object
|
|
38
|
-
* just to destroy it, and never forces the caller to make one either.
|
|
39
|
-
*
|
|
40
|
-
* # Two switches
|
|
41
|
-
*
|
|
42
|
-
* A listing is `Enabled` or `Disabled`; a disabled listing takes no payment in its
|
|
43
|
-
* currency, while the pressing's other currencies carry on. Above it, the
|
|
44
|
-
* pressing's own `Scheduled → Active → Paused` governs every currency at once
|
|
45
|
-
* (`pressing::mint_next`). A sale needs both open.
|
|
46
|
-
*
|
|
47
|
-
* The **when** lives on the pressing, not here: a drop moment is a fact about the
|
|
48
|
-
* release going on sale, not about one payment rail, and a run that opened in SUI
|
|
49
|
-
* at Friday 8pm and in USDC at some other time would have two drop moments and one
|
|
50
|
-
* number sequence. So a listing carries no schedule — only whether its currency is
|
|
51
|
-
* taken.
|
|
52
|
-
*
|
|
53
|
-
* # The certificate
|
|
54
|
-
*
|
|
55
|
-
* What the buyer paid is not part of the record — it is a fact about the _sale_ —
|
|
56
|
-
* so it rides out on the record's `Certificate`, stamped by `pressing::mint_next`
|
|
57
|
-
* alongside the number. One field, written once, in the transaction that pressed
|
|
58
|
-
* the record. `RecordSoldEvent` also snapshots both the accepted `Price` and the
|
|
59
|
-
* amount paid, so an indexer can distinguish fixed sales from floor sales and
|
|
60
|
-
* compute tips without replaying listing state.
|
|
61
|
-
*/
|
|
62
|
-
import { MoveTuple, MoveEnum, MoveStruct, type RawTransactionArgument } from '../utils/index.js';
|
|
63
|
-
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
64
|
-
export declare const ListingKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/miso_pressing::listing::ListingKey<phantom Currency>">;
|
|
65
|
-
/** Pricing policy for a listing. */
|
|
66
|
-
export declare const Price: MoveEnum<{
|
|
67
|
-
/** Pay exactly `amount`. */
|
|
68
|
-
Fixed: MoveStruct<{
|
|
69
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
70
|
-
}, "Price.Fixed">;
|
|
71
|
-
/** Pay at least `amount`; overpayment is forwarded to the release, not refunded. */
|
|
72
|
-
Floor: MoveStruct<{
|
|
73
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
74
|
-
}, "Price.Floor">;
|
|
75
|
-
}, "@local-pkg/miso_pressing::listing::Price">;
|
|
76
|
-
/** Whether this currency is accepted. Set at creation and by `set_state`. */
|
|
77
|
-
export declare const ListingState: MoveEnum<{
|
|
78
|
-
/** Accepting payment in this currency, if the pressing is also active. */
|
|
79
|
-
Enabled: null;
|
|
80
|
-
/** Not accepting payment in this currency. Other currencies are unaffected. */
|
|
81
|
-
Disabled: null;
|
|
82
|
-
}, "@local-pkg/miso_pressing::listing::ListingState">;
|
|
83
|
-
export declare const Listing: MoveStruct<{
|
|
84
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
85
|
-
/** The release whose address collects the proceeds. */
|
|
86
|
-
release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
87
|
-
/** The pressing these records come out of. */
|
|
88
|
-
pressing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
89
|
-
/** What a buyer must pay per record. */
|
|
90
|
-
price: MoveEnum<{
|
|
91
|
-
/** Pay exactly `amount`. */
|
|
92
|
-
Fixed: MoveStruct<{
|
|
93
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
94
|
-
}, "Price.Fixed">;
|
|
95
|
-
/** Pay at least `amount`; overpayment is forwarded to the release, not refunded. */
|
|
96
|
-
Floor: MoveStruct<{
|
|
97
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
98
|
-
}, "Price.Floor">;
|
|
99
|
-
}, "@local-pkg/miso_pressing::listing::Price">;
|
|
100
|
-
/** Whether this currency is accepted right now. */
|
|
101
|
-
state: MoveEnum<{
|
|
102
|
-
/** Accepting payment in this currency, if the pressing is also active. */
|
|
103
|
-
Enabled: null;
|
|
104
|
-
/** Not accepting payment in this currency. Other currencies are unaffected. */
|
|
105
|
-
Disabled: null;
|
|
106
|
-
}, "@local-pkg/miso_pressing::listing::ListingState">;
|
|
107
|
-
}, "@local-pkg/miso_pressing::listing::Listing<phantom Currency>">;
|
|
108
|
-
export declare const ListingOpenedEvent: MoveStruct<{
|
|
109
|
-
listing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
110
|
-
pressing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
111
|
-
release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
112
|
-
price: MoveEnum<{
|
|
113
|
-
/** Pay exactly `amount`. */
|
|
114
|
-
Fixed: MoveStruct<{
|
|
115
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
116
|
-
}, "Price.Fixed">;
|
|
117
|
-
/** Pay at least `amount`; overpayment is forwarded to the release, not refunded. */
|
|
118
|
-
Floor: MoveStruct<{
|
|
119
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
120
|
-
}, "Price.Floor">;
|
|
121
|
-
}, "@local-pkg/miso_pressing::listing::Price">;
|
|
122
|
-
state: MoveEnum<{
|
|
123
|
-
/** Accepting payment in this currency, if the pressing is also active. */
|
|
124
|
-
Enabled: null;
|
|
125
|
-
/** Not accepting payment in this currency. Other currencies are unaffected. */
|
|
126
|
-
Disabled: null;
|
|
127
|
-
}, "@local-pkg/miso_pressing::listing::ListingState">;
|
|
128
|
-
}, "@local-pkg/miso_pressing::listing::ListingOpenedEvent<phantom Currency>">;
|
|
129
|
-
export declare const RecordSoldEvent: MoveStruct<{
|
|
130
|
-
listing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
131
|
-
pressing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
132
|
-
release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
133
|
-
record_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
134
|
-
number: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
135
|
-
/**
|
|
136
|
-
* The offer accepted by this sale. Together with `paid`, this distinguishes a
|
|
137
|
-
* fixed-price sale from a floor-price sale and makes any tip directly computable.
|
|
138
|
-
*/
|
|
139
|
-
price: MoveEnum<{
|
|
140
|
-
/** Pay exactly `amount`. */
|
|
141
|
-
Fixed: MoveStruct<{
|
|
142
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
143
|
-
}, "Price.Fixed">;
|
|
144
|
-
/** Pay at least `amount`; overpayment is forwarded to the release, not refunded. */
|
|
145
|
-
Floor: MoveStruct<{
|
|
146
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
147
|
-
}, "Price.Floor">;
|
|
148
|
-
}, "@local-pkg/miso_pressing::listing::Price">;
|
|
149
|
-
paid: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
150
|
-
buyer: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
151
|
-
}, "@local-pkg/miso_pressing::listing::RecordSoldEvent<phantom Currency>">;
|
|
152
|
-
export declare const ListingStateChangedEvent: MoveStruct<{
|
|
153
|
-
listing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
154
|
-
pressing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
155
|
-
state: MoveEnum<{
|
|
156
|
-
/** Accepting payment in this currency, if the pressing is also active. */
|
|
157
|
-
Enabled: null;
|
|
158
|
-
/** Not accepting payment in this currency. Other currencies are unaffected. */
|
|
159
|
-
Disabled: null;
|
|
160
|
-
}, "@local-pkg/miso_pressing::listing::ListingState">;
|
|
161
|
-
}, "@local-pkg/miso_pressing::listing::ListingStateChangedEvent<phantom Currency>">;
|
|
162
|
-
export declare const ListingPriceChangedEvent: MoveStruct<{
|
|
163
|
-
listing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
164
|
-
pressing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
165
|
-
price: MoveEnum<{
|
|
166
|
-
/** Pay exactly `amount`. */
|
|
167
|
-
Fixed: MoveStruct<{
|
|
168
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
169
|
-
}, "Price.Fixed">;
|
|
170
|
-
/** Pay at least `amount`; overpayment is forwarded to the release, not refunded. */
|
|
171
|
-
Floor: MoveStruct<{
|
|
172
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
173
|
-
}, "Price.Floor">;
|
|
174
|
-
}, "@local-pkg/miso_pressing::listing::Price">;
|
|
175
|
-
}, "@local-pkg/miso_pressing::listing::ListingPriceChangedEvent<phantom Currency>">;
|
|
176
|
-
export interface NewFixedPriceArguments {
|
|
177
|
-
amount: RawTransactionArgument<number | bigint>;
|
|
178
|
-
}
|
|
179
|
-
export interface NewFixedPriceOptions {
|
|
180
|
-
package?: string;
|
|
181
|
-
arguments: NewFixedPriceArguments | [
|
|
182
|
-
amount: RawTransactionArgument<number | bigint>
|
|
183
|
-
];
|
|
184
|
-
}
|
|
185
|
-
/** A fixed price: a buyer must pay exactly `amount`. */
|
|
186
|
-
export declare function newFixedPrice(options: NewFixedPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
187
|
-
export interface NewFloorPriceArguments {
|
|
188
|
-
amount: RawTransactionArgument<number | bigint>;
|
|
189
|
-
}
|
|
190
|
-
export interface NewFloorPriceOptions {
|
|
191
|
-
package?: string;
|
|
192
|
-
arguments: NewFloorPriceArguments | [
|
|
193
|
-
amount: RawTransactionArgument<number | bigint>
|
|
194
|
-
];
|
|
195
|
-
}
|
|
196
|
-
/** A floor price: a buyer must pay at least `amount`; overpayment is kept. */
|
|
197
|
-
export declare function newFloorPrice(options: NewFloorPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
198
|
-
export interface NewEnabledStateOptions {
|
|
199
|
-
package?: string;
|
|
200
|
-
arguments?: [
|
|
201
|
-
];
|
|
202
|
-
}
|
|
203
|
-
/** The enabled state: this currency is accepted. */
|
|
204
|
-
export declare function newEnabledState(options?: NewEnabledStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
205
|
-
export interface NewDisabledStateOptions {
|
|
206
|
-
package?: string;
|
|
207
|
-
arguments?: [
|
|
208
|
-
];
|
|
209
|
-
}
|
|
210
|
-
/** The disabled state: this currency is not accepted. */
|
|
211
|
-
export declare function newDisabledState(options?: NewDisabledStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
212
|
-
export interface NewArguments {
|
|
213
|
-
pressing: RawTransactionArgument<string>;
|
|
214
|
-
cap: RawTransactionArgument<string>;
|
|
215
|
-
price: TransactionArgument;
|
|
216
|
-
state: TransactionArgument;
|
|
217
|
-
}
|
|
218
|
-
export interface NewOptions {
|
|
219
|
-
package?: string;
|
|
220
|
-
arguments: NewArguments | [
|
|
221
|
-
pressing: RawTransactionArgument<string>,
|
|
222
|
-
cap: RawTransactionArgument<string>,
|
|
223
|
-
price: TransactionArgument,
|
|
224
|
-
state: TransactionArgument
|
|
225
|
-
];
|
|
226
|
-
typeArguments: [
|
|
227
|
-
string
|
|
228
|
-
];
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* List the pressing for sale in `Currency` at the given price and state, and share
|
|
232
|
-
* it.
|
|
233
|
-
*
|
|
234
|
-
* Exactly one listing per (pressing, currency), ever: the slot is a derived-object
|
|
235
|
-
* claim on the pressing at `ListingKey<Currency>()`, and listings are never
|
|
236
|
-
* destroyed — so a second call for the same currency aborts in the claim. Every
|
|
237
|
-
* later change to this currency's offer is an edit to this object, not a
|
|
238
|
-
* replacement of it.
|
|
239
|
-
*/
|
|
240
|
-
export declare function _new(options: NewOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
241
|
-
export interface BuyArguments {
|
|
242
|
-
self: RawTransactionArgument<string>;
|
|
243
|
-
pressing: RawTransactionArgument<string>;
|
|
244
|
-
payment: TransactionArgument;
|
|
245
|
-
}
|
|
246
|
-
export interface BuyOptions {
|
|
247
|
-
package?: string;
|
|
248
|
-
arguments: BuyArguments | [
|
|
249
|
-
self: RawTransactionArgument<string>,
|
|
250
|
-
pressing: RawTransactionArgument<string>,
|
|
251
|
-
payment: TransactionArgument
|
|
252
|
-
];
|
|
253
|
-
typeArguments: [
|
|
254
|
-
string
|
|
255
|
-
];
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* Buy one record: pay this listing's price, take the next number out of the
|
|
259
|
-
* pressing.
|
|
260
|
-
*
|
|
261
|
-
* `payment` is a bare `Balance<Currency>` and must satisfy the price (exactly, for
|
|
262
|
-
* `Fixed`; at least, for `Floor`). The ENTIRE payment forwards to the release's
|
|
263
|
-
* address — under `Floor`, anything above the floor is kept as a tip, not
|
|
264
|
-
* refunded. The record's number is the pressing's next 1-based value, shared with
|
|
265
|
-
* every other currency selling the same run, and its UID is derived off the
|
|
266
|
-
* pressing. The sale's transaction sender and terms are embedded in the record's
|
|
267
|
-
* `Certificate`.
|
|
268
|
-
*
|
|
269
|
-
* Both switches must be open: this listing `Enabled`, checked here, and the run
|
|
270
|
-
* selling at this moment, checked in `pressing::mint_next`.
|
|
271
|
-
*/
|
|
272
|
-
export declare function buy(options: BuyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
273
|
-
export interface SetStateArguments {
|
|
274
|
-
self: RawTransactionArgument<string>;
|
|
275
|
-
cap: RawTransactionArgument<string>;
|
|
276
|
-
state: TransactionArgument;
|
|
277
|
-
}
|
|
278
|
-
export interface SetStateOptions {
|
|
279
|
-
package?: string;
|
|
280
|
-
arguments: SetStateArguments | [
|
|
281
|
-
self: RawTransactionArgument<string>,
|
|
282
|
-
cap: RawTransactionArgument<string>,
|
|
283
|
-
state: TransactionArgument
|
|
284
|
-
];
|
|
285
|
-
typeArguments: [
|
|
286
|
-
string
|
|
287
|
-
];
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* Enable or disable this currency. Leaves every other currency untouched; to stop
|
|
291
|
-
* the whole run at once, pause the pressing (`pressing::set_state`).
|
|
292
|
-
*/
|
|
293
|
-
export declare function setState(options: SetStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
294
|
-
export interface SetPriceArguments {
|
|
295
|
-
self: RawTransactionArgument<string>;
|
|
296
|
-
cap: RawTransactionArgument<string>;
|
|
297
|
-
price: TransactionArgument;
|
|
298
|
-
}
|
|
299
|
-
export interface SetPriceOptions {
|
|
300
|
-
package?: string;
|
|
301
|
-
arguments: SetPriceArguments | [
|
|
302
|
-
self: RawTransactionArgument<string>,
|
|
303
|
-
cap: RawTransactionArgument<string>,
|
|
304
|
-
price: TransactionArgument
|
|
305
|
-
];
|
|
306
|
-
typeArguments: [
|
|
307
|
-
string
|
|
308
|
-
];
|
|
309
|
-
}
|
|
310
|
-
/**
|
|
311
|
-
* Reprice the listing in place. Safe against in-flight buys by construction: a
|
|
312
|
-
* `Fixed` buyer pays exactly, so a stale payment aborts against the new price, and
|
|
313
|
-
* a `Floor` buyer never pays more than the coin they sent.
|
|
314
|
-
*/
|
|
315
|
-
export declare function setPrice(options: SetPriceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
316
|
-
export interface DeriveIdArguments {
|
|
317
|
-
pressingId: RawTransactionArgument<string>;
|
|
318
|
-
}
|
|
319
|
-
export interface DeriveIdOptions {
|
|
320
|
-
package?: string;
|
|
321
|
-
arguments: DeriveIdArguments | [
|
|
322
|
-
pressingId: RawTransactionArgument<string>
|
|
323
|
-
];
|
|
324
|
-
typeArguments: [
|
|
325
|
-
string
|
|
326
|
-
];
|
|
327
|
-
}
|
|
328
|
-
/**
|
|
329
|
-
* The address `Currency`'s listing on `pressing_id` occupies — pure address math,
|
|
330
|
-
* computable before the listing exists.
|
|
331
|
-
*/
|
|
332
|
-
export declare function deriveId(options: DeriveIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
333
|
-
export interface HasListingArguments {
|
|
334
|
-
pressing: RawTransactionArgument<string>;
|
|
335
|
-
}
|
|
336
|
-
export interface HasListingOptions {
|
|
337
|
-
package?: string;
|
|
338
|
-
arguments: HasListingArguments | [
|
|
339
|
-
pressing: RawTransactionArgument<string>
|
|
340
|
-
];
|
|
341
|
-
typeArguments: [
|
|
342
|
-
string
|
|
343
|
-
];
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* Whether `pressing` has a listing in `Currency` yet. Reads the derived slot
|
|
347
|
-
* directly, so the pressing stores no set of currencies; to enumerate every
|
|
348
|
-
* listing, index `ListingOpenedEvent<Currency>`.
|
|
349
|
-
*/
|
|
350
|
-
export declare function hasListing(options: HasListingOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
351
|
-
export interface ReleaseIdArguments {
|
|
352
|
-
self: RawTransactionArgument<string>;
|
|
353
|
-
}
|
|
354
|
-
export interface ReleaseIdOptions {
|
|
355
|
-
package?: string;
|
|
356
|
-
arguments: ReleaseIdArguments | [
|
|
357
|
-
self: RawTransactionArgument<string>
|
|
358
|
-
];
|
|
359
|
-
typeArguments: [
|
|
360
|
-
string
|
|
361
|
-
];
|
|
362
|
-
}
|
|
363
|
-
export declare function releaseId(options: ReleaseIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
364
|
-
export interface PressingIdArguments {
|
|
365
|
-
self: RawTransactionArgument<string>;
|
|
366
|
-
}
|
|
367
|
-
export interface PressingIdOptions {
|
|
368
|
-
package?: string;
|
|
369
|
-
arguments: PressingIdArguments | [
|
|
370
|
-
self: RawTransactionArgument<string>
|
|
371
|
-
];
|
|
372
|
-
typeArguments: [
|
|
373
|
-
string
|
|
374
|
-
];
|
|
375
|
-
}
|
|
376
|
-
export declare function pressingId(options: PressingIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
377
|
-
export interface PriceArguments {
|
|
378
|
-
self: RawTransactionArgument<string>;
|
|
379
|
-
}
|
|
380
|
-
export interface PriceOptions {
|
|
381
|
-
package?: string;
|
|
382
|
-
arguments: PriceArguments | [
|
|
383
|
-
self: RawTransactionArgument<string>
|
|
384
|
-
];
|
|
385
|
-
typeArguments: [
|
|
386
|
-
string
|
|
387
|
-
];
|
|
388
|
-
}
|
|
389
|
-
export declare function price(options: PriceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
390
|
-
export interface StateArguments {
|
|
391
|
-
self: RawTransactionArgument<string>;
|
|
392
|
-
}
|
|
393
|
-
export interface StateOptions {
|
|
394
|
-
package?: string;
|
|
395
|
-
arguments: StateArguments | [
|
|
396
|
-
self: RawTransactionArgument<string>
|
|
397
|
-
];
|
|
398
|
-
typeArguments: [
|
|
399
|
-
string
|
|
400
|
-
];
|
|
401
|
-
}
|
|
402
|
-
export declare function state(options: StateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
403
|
-
export interface IsLiveArguments {
|
|
404
|
-
self: RawTransactionArgument<string>;
|
|
405
|
-
pressing: RawTransactionArgument<string>;
|
|
406
|
-
}
|
|
407
|
-
export interface IsLiveOptions {
|
|
408
|
-
package?: string;
|
|
409
|
-
arguments: IsLiveArguments | [
|
|
410
|
-
self: RawTransactionArgument<string>,
|
|
411
|
-
pressing: RawTransactionArgument<string>
|
|
412
|
-
];
|
|
413
|
-
typeArguments: [
|
|
414
|
-
string
|
|
415
|
-
];
|
|
416
|
-
}
|
|
417
|
-
/**
|
|
418
|
-
* Whether `buy` would be accepted right now: the right pressing, this currency
|
|
419
|
-
* enabled, and the run selling at this moment (open, and past its drop time if it
|
|
420
|
-
* has one).
|
|
421
|
-
*/
|
|
422
|
-
export declare function isLive(options: IsLiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
423
|
-
export interface AmountArguments {
|
|
424
|
-
self: TransactionArgument;
|
|
425
|
-
}
|
|
426
|
-
export interface AmountOptions {
|
|
427
|
-
package?: string;
|
|
428
|
-
arguments: AmountArguments | [
|
|
429
|
-
self: TransactionArgument
|
|
430
|
-
];
|
|
431
|
-
}
|
|
432
|
-
/** The price amount (the fixed price, or the floor). */
|
|
433
|
-
export declare function amount(options: AmountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
434
|
-
//# sourceMappingURL=listing.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listing.d.ts","sourceRoot":"","sources":["../../../src/contracts/miso_pressing/listing.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAA0B,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEzH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEtF,eAAO,MAAM,UAAU,sJAAgG,CAAC;AACxH,oCAAoC;AACpC,eAAO,MAAM,KAAK;IACV,4BAA4B;;;;IAI5B,oFAAoF;;;;8CAIpF,CAAC;AACT,6EAA6E;AAC7E,eAAO,MAAM,YAAY;IACjB,0EAA0E;;IAE1E,+EAA+E;;qDAE/E,CAAC;AACT,eAAO,MAAM,OAAO;;IAEZ,uDAAuD;;IAEvD,8CAA8C;;IAE9C,wCAAwC;;QAtBxC,4BAA4B;;;;QAI5B,oFAAoF;;;;;IAoBpF,mDAAmD;;QAbnD,0EAA0E;;QAE1E,+EAA+E;;;kEAa/E,CAAC;AACT,eAAO,MAAM,kBAAkB;;;;;QA3BvB,4BAA4B;;;;QAI5B,oFAAoF;;;;;;QAOpF,0EAA0E;;QAE1E,+EAA+E;;;6EAoB/E,CAAC;AACT,eAAO,MAAM,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