@misonetwork/sdk 0.2.2 → 0.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/README.md +44 -98
- package/dist/contracts.d.ts +0 -12
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +3 -16
- package/dist/contracts.js.map +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/internal.d.ts +0 -3
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +0 -4
- package/dist/internal.js.map +1 -1
- package/dist/queries.d.ts.map +1 -1
- package/dist/queries.js.map +1 -1
- package/package.json +1 -13
- package/src/contracts.ts +3 -19
- package/src/index.ts +3 -3
- package/src/internal.ts +10 -15
- package/src/queries.ts +5 -4
- package/dist/contracts/composition_credits/composition_credits.d.ts +0 -181
- package/dist/contracts/composition_credits/composition_credits.d.ts.map +0 -1
- package/dist/contracts/composition_credits/composition_credits.js +0 -109
- package/dist/contracts/composition_credits/composition_credits.js.map +0 -1
- package/dist/contracts/composition_credits/composition_party_role.d.ts +0 -119
- package/dist/contracts/composition_credits/composition_party_role.d.ts.map +0 -1
- package/dist/contracts/composition_credits/composition_party_role.js +0 -139
- package/dist/contracts/composition_credits/composition_party_role.js.map +0 -1
- package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts +0 -24
- package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts.map +0 -1
- package/dist/contracts/composition_credits/deps/miso_credit/credit.js +0 -23
- package/dist/contracts/composition_credits/deps/miso_credit/credit.js.map +0 -1
- package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts +0 -37
- package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts.map +0 -1
- package/dist/contracts/composition_credits/deps/sui/vec_map.js +0 -28
- package/dist/contracts/composition_credits/deps/sui/vec_map.js.map +0 -1
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts +0 -87
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts.map +0 -1
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js +0 -80
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js.map +0 -1
- package/dist/contracts/cover_art/cover_art.d.ts +0 -85
- package/dist/contracts/cover_art/cover_art.d.ts.map +0 -1
- package/dist/contracts/cover_art/cover_art.js +0 -68
- package/dist/contracts/cover_art/cover_art.js.map +0 -1
- package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts +0 -52
- package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts.map +0 -1
- package/dist/contracts/cover_art/deps/ori/walrus_data.js +0 -37
- package/dist/contracts/cover_art/deps/ori/walrus_data.js.map +0 -1
- package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts +0 -24
- package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts.map +0 -1
- package/dist/contracts/recording_credits/deps/miso_credit/credit.js +0 -23
- package/dist/contracts/recording_credits/deps/miso_credit/credit.js.map +0 -1
- package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts +0 -37
- package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts.map +0 -1
- package/dist/contracts/recording_credits/deps/sui/vec_map.js +0 -28
- package/dist/contracts/recording_credits/deps/sui/vec_map.js.map +0 -1
- package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts +0 -21
- package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts.map +0 -1
- package/dist/contracts/recording_credits/deps/sui/vec_set.js +0 -20
- package/dist/contracts/recording_credits/deps/sui/vec_set.js.map +0 -1
- package/dist/contracts/recording_credits/recording_credits.d.ts +0 -2313
- package/dist/contracts/recording_credits/recording_credits.d.ts.map +0 -1
- package/dist/contracts/recording_credits/recording_credits.js +0 -270
- package/dist/contracts/recording_credits/recording_credits.js.map +0 -1
- package/dist/contracts/recording_credits/recording_party_role.d.ts +0 -1174
- package/dist/contracts/recording_credits/recording_party_role.d.ts.map +0 -1
- package/dist/contracts/recording_credits/recording_party_role.js +0 -692
- package/dist/contracts/recording_credits/recording_party_role.js.map +0 -1
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts +0 -90
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts.map +0 -1
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js +0 -80
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js.map +0 -1
- package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts +0 -52
- package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts.map +0 -1
- package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js +0 -37
- package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js.map +0 -1
- package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts +0 -46
- package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts.map +0 -1
- package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js +0 -21
- package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js.map +0 -1
- package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts +0 -33
- package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts.map +0 -1
- package/dist/contracts/release_cover_art/deps/per_track/per_track.js +0 -32
- package/dist/contracts/release_cover_art/deps/per_track/per_track.js.map +0 -1
- package/dist/contracts/release_cover_art/release_cover_art.d.ts +0 -300
- package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +0 -1
- package/dist/contracts/release_cover_art/release_cover_art.js +0 -168
- package/dist/contracts/release_cover_art/release_cover_art.js.map +0 -1
- package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts +0 -24
- package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts.map +0 -1
- package/dist/contracts/release_credits/deps/miso_credit/credit.js +0 -23
- package/dist/contracts/release_credits/deps/miso_credit/credit.js.map +0 -1
- package/dist/contracts/release_credits/deps/sui/vec_map.d.ts +0 -37
- package/dist/contracts/release_credits/deps/sui/vec_map.d.ts.map +0 -1
- package/dist/contracts/release_credits/deps/sui/vec_map.js +0 -28
- package/dist/contracts/release_credits/deps/sui/vec_map.js.map +0 -1
- package/dist/contracts/release_credits/release_credits.d.ts +0 -142
- package/dist/contracts/release_credits/release_credits.d.ts.map +0 -1
- package/dist/contracts/release_credits/release_credits.js +0 -108
- package/dist/contracts/release_credits/release_credits.js.map +0 -1
- package/dist/contracts/release_credits/release_party_role.d.ts +0 -58
- package/dist/contracts/release_credits/release_party_role.d.ts.map +0 -1
- package/dist/contracts/release_credits/release_party_role.js +0 -66
- package/dist/contracts/release_credits/release_party_role.js.map +0 -1
- package/dist/contracts/royalty_pool/deps/std/type_name.d.ts +0 -18
- package/dist/contracts/royalty_pool/deps/std/type_name.d.ts.map +0 -1
- package/dist/contracts/royalty_pool/deps/std/type_name.js +0 -20
- package/dist/contracts/royalty_pool/deps/std/type_name.js.map +0 -1
- package/dist/contracts/royalty_pool/deps/sui/balance.d.ts +0 -13
- package/dist/contracts/royalty_pool/deps/sui/balance.d.ts.map +0 -1
- package/dist/contracts/royalty_pool/deps/sui/balance.js +0 -15
- package/dist/contracts/royalty_pool/deps/sui/balance.js.map +0 -1
- package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts +0 -37
- package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts.map +0 -1
- package/dist/contracts/royalty_pool/deps/sui/vec_map.js +0 -28
- package/dist/contracts/royalty_pool/deps/sui/vec_map.js.map +0 -1
- package/dist/contracts/royalty_pool/pool.d.ts +0 -358
- package/dist/contracts/royalty_pool/pool.d.ts.map +0 -1
- package/dist/contracts/royalty_pool/pool.js +0 -352
- package/dist/contracts/royalty_pool/pool.js.map +0 -1
- package/dist/contracts/royalty_pool/stake.d.ts +0 -202
- package/dist/contracts/royalty_pool/stake.d.ts.map +0 -1
- package/dist/contracts/royalty_pool/stake.js +0 -197
- package/dist/contracts/royalty_pool/stake.js.map +0 -1
- package/dist/cover.d.ts +0 -48
- package/dist/cover.d.ts.map +0 -1
- package/dist/cover.js +0 -68
- package/dist/cover.js.map +0 -1
- package/dist/credits.d.ts +0 -171
- package/dist/credits.d.ts.map +0 -1
- package/dist/credits.js +0 -360
- package/dist/credits.js.map +0 -1
- package/dist/extensions/royalty-pool.d.ts +0 -32
- package/dist/extensions/royalty-pool.d.ts.map +0 -1
- package/dist/extensions/royalty-pool.js +0 -33
- package/dist/extensions/royalty-pool.js.map +0 -1
- package/src/contracts/composition_credits/composition_credits.ts +0 -169
- package/src/contracts/composition_credits/composition_party_role.ts +0 -189
- package/src/contracts/composition_credits/deps/miso_credit/credit.ts +0 -27
- package/src/contracts/composition_credits/deps/sui/vec_map.ts +0 -33
- package/src/contracts/composition_royalty_pool/composition_royalty_pool.ts +0 -135
- package/src/contracts/cover_art/cover_art.ts +0 -99
- package/src/contracts/cover_art/deps/ori/walrus_data.ts +0 -36
- package/src/contracts/recording_credits/deps/miso_credit/credit.ts +0 -27
- package/src/contracts/recording_credits/deps/sui/vec_map.ts +0 -33
- package/src/contracts/recording_credits/deps/sui/vec_set.ts +0 -21
- package/src/contracts/recording_credits/recording_credits.ts +0 -458
- package/src/contracts/recording_credits/recording_party_role.ts +0 -1041
- package/src/contracts/recording_royalty_pool/recording_royalty_pool.ts +0 -138
- package/src/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.ts +0 -36
- package/src/contracts/release_cover_art/deps/cover_art/cover_art.ts +0 -23
- package/src/contracts/release_cover_art/deps/per_track/per_track.ts +0 -36
- package/src/contracts/release_cover_art/release_cover_art.ts +0 -251
- package/src/contracts/release_credits/deps/miso_credit/credit.ts +0 -27
- package/src/contracts/release_credits/deps/sui/vec_map.ts +0 -33
- package/src/contracts/release_credits/release_credits.ts +0 -156
- package/src/contracts/release_credits/release_party_role.ts +0 -87
- package/src/contracts/royalty_pool/deps/std/type_name.ts +0 -22
- package/src/contracts/royalty_pool/deps/sui/balance.ts +0 -17
- package/src/contracts/royalty_pool/deps/sui/vec_map.ts +0 -33
- package/src/contracts/royalty_pool/pool.ts +0 -577
- package/src/contracts/royalty_pool/stake.ts +0 -317
- package/src/cover.ts +0 -136
- package/src/credits.ts +0 -645
- package/src/extensions/royalty-pool.ts +0 -85
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* Generic accumulator-based royalty distribution pool.
|
|
6
|
-
*
|
|
7
|
-
* A `RoyaltyPool<Share, Currency>` is a derived object of any UID-bearing parent.
|
|
8
|
-
* Its address is deterministically derived from `(parent_id, Currency)` — at most
|
|
9
|
-
* one pool per `(parent, Currency)` pair. The `Share` phantom identifies which
|
|
10
|
-
* share-token type can stake against the pool.
|
|
11
|
-
*
|
|
12
|
-
* Holders create a `Stake<Share>` (see `royalty_pool::stake`) and register it.
|
|
13
|
-
* Callers fund the pool by handing it a `Balance<Currency>` via `deposit`; the
|
|
14
|
-
* accumulator advances and claims pay out the per-stake proportional share since
|
|
15
|
-
* each stake's last claim.
|
|
16
|
-
*
|
|
17
|
-
* `receive_and_deposit` and `redeem_and_deposit` exist as recovery valves for
|
|
18
|
-
* funds that land directly at the pool's address — either pending `Coin<Currency>`
|
|
19
|
-
* transfers or balances credited to the pool's funds-accumulator. Both are
|
|
20
|
-
* permissionless: anyone who notices stuck funds can fold them in. The canonical
|
|
21
|
-
* funding path remains `deposit(balance)` from a higher-layer extension (e.g.
|
|
22
|
-
* `composition_royalty_distributor`) that pulls from the parent's address.
|
|
23
|
-
*/
|
|
24
|
-
import { MoveStruct, MoveTuple, type RawTransactionArgument } from '../utils/index.js';
|
|
25
|
-
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
26
|
-
export declare const RoyaltyPool: MoveStruct<{
|
|
27
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
28
|
-
balance: MoveStruct<{
|
|
29
|
-
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
30
|
-
}, "0x2::balance::Balance<phantom T>">;
|
|
31
|
-
staked_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
32
|
-
cumulative_reward_per_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
33
|
-
/**
|
|
34
|
-
* Lifetime sum of every deposited value, in currency base units. Read-only
|
|
35
|
-
* analytics — never decremented; not used by any on-chain logic.
|
|
36
|
-
*/
|
|
37
|
-
cumulative_deposits: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u128">;
|
|
38
|
-
}, "@local-pkg/royalty_pool::pool::RoyaltyPool<phantom Share, phantom Currency>">;
|
|
39
|
-
export declare const RoyaltyPoolKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/royalty_pool::pool::RoyaltyPoolKey<phantom Currency>">;
|
|
40
|
-
export declare const RoyaltyPoolCreatedEvent: MoveStruct<{
|
|
41
|
-
pool_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
42
|
-
parent_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
43
|
-
}, "@local-pkg/royalty_pool::pool::RoyaltyPoolCreatedEvent<phantom Share, phantom Currency>">;
|
|
44
|
-
export declare const RoyaltyDepositedEvent: MoveStruct<{
|
|
45
|
-
pool_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
46
|
-
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
47
|
-
}, "@local-pkg/royalty_pool::pool::RoyaltyDepositedEvent<phantom Share, phantom Currency>">;
|
|
48
|
-
export declare const StakeRegisteredEvent: MoveStruct<{
|
|
49
|
-
pool_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
50
|
-
stake_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
51
|
-
staked_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
52
|
-
}, "@local-pkg/royalty_pool::pool::StakeRegisteredEvent<phantom Share, phantom Currency>">;
|
|
53
|
-
export declare const StakeUnregisteredEvent: MoveStruct<{
|
|
54
|
-
pool_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
55
|
-
stake_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
56
|
-
unstaked_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
57
|
-
}, "@local-pkg/royalty_pool::pool::StakeUnregisteredEvent<phantom Share, phantom Currency>">;
|
|
58
|
-
export declare const RoyaltyClaimedEvent: MoveStruct<{
|
|
59
|
-
pool_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
60
|
-
stake_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
61
|
-
reward_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
62
|
-
}, "@local-pkg/royalty_pool::pool::RoyaltyClaimedEvent<phantom Share, phantom Currency>">;
|
|
63
|
-
export interface NewArguments {
|
|
64
|
-
parent: RawTransactionArgument<string>;
|
|
65
|
-
}
|
|
66
|
-
export interface NewOptions {
|
|
67
|
-
package?: string;
|
|
68
|
-
arguments: NewArguments | [
|
|
69
|
-
parent: RawTransactionArgument<string>
|
|
70
|
-
];
|
|
71
|
-
typeArguments: [
|
|
72
|
-
string,
|
|
73
|
-
string
|
|
74
|
-
];
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Construct a pool as a derived object of `parent`. The derivation key includes
|
|
78
|
-
* only the `Currency` `TypeName`, so the pool's address is determined entirely by
|
|
79
|
-
* `(parent_id, Currency)`.
|
|
80
|
-
*
|
|
81
|
-
* Cap-gating happens at the parent: callers must obtain `&mut UID` via whatever
|
|
82
|
-
* cap-gated accessor the parent exposes.
|
|
83
|
-
*/
|
|
84
|
-
export declare function _new(options: NewOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
85
|
-
export interface ShareArguments {
|
|
86
|
-
self: RawTransactionArgument<string>;
|
|
87
|
-
}
|
|
88
|
-
export interface ShareOptions {
|
|
89
|
-
package?: string;
|
|
90
|
-
arguments: ShareArguments | [
|
|
91
|
-
self: RawTransactionArgument<string>
|
|
92
|
-
];
|
|
93
|
-
typeArguments: [
|
|
94
|
-
string,
|
|
95
|
-
string
|
|
96
|
-
];
|
|
97
|
-
}
|
|
98
|
-
/** Share the pool object so holders can register and claim against it. */
|
|
99
|
-
export declare function share(options: ShareOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
100
|
-
export interface DepositArguments {
|
|
101
|
-
self: RawTransactionArgument<string>;
|
|
102
|
-
balance: TransactionArgument;
|
|
103
|
-
}
|
|
104
|
-
export interface DepositOptions {
|
|
105
|
-
package?: string;
|
|
106
|
-
arguments: DepositArguments | [
|
|
107
|
-
self: RawTransactionArgument<string>,
|
|
108
|
-
balance: TransactionArgument
|
|
109
|
-
];
|
|
110
|
-
typeArguments: [
|
|
111
|
-
string,
|
|
112
|
-
string
|
|
113
|
-
];
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Fold a balance into the accumulator. Aborts on zero staked shares (the deposit
|
|
117
|
-
* would be unattributable) or zero value (no-op deposits are rejected to keep
|
|
118
|
-
* events meaningful).
|
|
119
|
-
*
|
|
120
|
-
* Callers obtain the `Balance<Currency>` however they like — typically by pulling
|
|
121
|
-
* from a parent's pending coins or funds accumulator (see e.g.
|
|
122
|
-
* `composition_royalty_distributor`).
|
|
123
|
-
*/
|
|
124
|
-
export declare function deposit(options: DepositOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
125
|
-
export interface ReceiveAndDepositArguments {
|
|
126
|
-
self: RawTransactionArgument<string>;
|
|
127
|
-
coins: TransactionArgument;
|
|
128
|
-
}
|
|
129
|
-
export interface ReceiveAndDepositOptions {
|
|
130
|
-
package?: string;
|
|
131
|
-
arguments: ReceiveAndDepositArguments | [
|
|
132
|
-
self: RawTransactionArgument<string>,
|
|
133
|
-
coins: TransactionArgument
|
|
134
|
-
];
|
|
135
|
-
typeArguments: [
|
|
136
|
-
string,
|
|
137
|
-
string
|
|
138
|
-
];
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Receive `Coin<Currency>` objects sent directly to this pool's address and fold
|
|
142
|
-
* them into the accumulator. Recovery path for funds delivered to the pool's
|
|
143
|
-
* address rather than via the canonical extension path.
|
|
144
|
-
*/
|
|
145
|
-
export declare function receiveAndDeposit(options: ReceiveAndDepositOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
146
|
-
export interface RedeemAndDepositArguments {
|
|
147
|
-
self: RawTransactionArgument<string>;
|
|
148
|
-
value: RawTransactionArgument<number | bigint>;
|
|
149
|
-
}
|
|
150
|
-
export interface RedeemAndDepositOptions {
|
|
151
|
-
package?: string;
|
|
152
|
-
arguments: RedeemAndDepositArguments | [
|
|
153
|
-
self: RawTransactionArgument<string>,
|
|
154
|
-
value: RawTransactionArgument<number | bigint>
|
|
155
|
-
];
|
|
156
|
-
typeArguments: [
|
|
157
|
-
string,
|
|
158
|
-
string
|
|
159
|
-
];
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Redeem `value` base units from the pool's funds-accumulator and fold them into
|
|
163
|
-
* the accumulator. Recovery path for funds delivered via Sui's `send_funds`
|
|
164
|
-
* mechanism rather than via the canonical extension path.
|
|
165
|
-
*/
|
|
166
|
-
export declare function redeemAndDeposit(options: RedeemAndDepositOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
167
|
-
export interface RegisterStakeArguments {
|
|
168
|
-
self: RawTransactionArgument<string>;
|
|
169
|
-
stake: RawTransactionArgument<string>;
|
|
170
|
-
}
|
|
171
|
-
export interface RegisterStakeOptions {
|
|
172
|
-
package?: string;
|
|
173
|
-
arguments: RegisterStakeArguments | [
|
|
174
|
-
self: RawTransactionArgument<string>,
|
|
175
|
-
stake: RawTransactionArgument<string>
|
|
176
|
-
];
|
|
177
|
-
typeArguments: [
|
|
178
|
-
string,
|
|
179
|
-
string
|
|
180
|
-
];
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Register a stake with the pool. Records the stake's entry index so future
|
|
184
|
-
* deposits accrue to it proportionally.
|
|
185
|
-
*
|
|
186
|
-
* Aborts if the stake is already registered with a pool of the same Currency.
|
|
187
|
-
*/
|
|
188
|
-
export declare function registerStake(options: RegisterStakeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
189
|
-
export interface UnregisterStakeArguments {
|
|
190
|
-
self: RawTransactionArgument<string>;
|
|
191
|
-
stake: RawTransactionArgument<string>;
|
|
192
|
-
}
|
|
193
|
-
export interface UnregisterStakeOptions {
|
|
194
|
-
package?: string;
|
|
195
|
-
arguments: UnregisterStakeArguments | [
|
|
196
|
-
self: RawTransactionArgument<string>,
|
|
197
|
-
stake: RawTransactionArgument<string>
|
|
198
|
-
];
|
|
199
|
-
typeArguments: [
|
|
200
|
-
string,
|
|
201
|
-
string
|
|
202
|
-
];
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* Unregister a stake from the pool. All claimable rewards must be drained first —
|
|
206
|
-
* i.e., a final `claim_rewards` call must yield 0. Sub-base-unit residue in
|
|
207
|
-
* `last_claim_index` (left by the consumed-index advance when a reward truncated
|
|
208
|
-
* to 0) does NOT block unregister, since that residue could never be claimed as a
|
|
209
|
-
* whole base unit anyway. Forfeiting it on exit is the deliberate semantics.
|
|
210
|
-
*/
|
|
211
|
-
export declare function unregisterStake(options: UnregisterStakeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
212
|
-
export interface ClaimRewardsArguments {
|
|
213
|
-
self: RawTransactionArgument<string>;
|
|
214
|
-
stake: RawTransactionArgument<string>;
|
|
215
|
-
}
|
|
216
|
-
export interface ClaimRewardsOptions {
|
|
217
|
-
package?: string;
|
|
218
|
-
arguments: ClaimRewardsArguments | [
|
|
219
|
-
self: RawTransactionArgument<string>,
|
|
220
|
-
stake: RawTransactionArgument<string>
|
|
221
|
-
];
|
|
222
|
-
typeArguments: [
|
|
223
|
-
string,
|
|
224
|
-
string
|
|
225
|
-
];
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Claim accrued rewards for a registered stake. Advances the stake's
|
|
229
|
-
* `last_claim_index` to the pool's current accumulator.
|
|
230
|
-
*/
|
|
231
|
-
export declare function claimRewards(options: ClaimRewardsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
232
|
-
export interface PendingRewardsArguments {
|
|
233
|
-
self: RawTransactionArgument<string>;
|
|
234
|
-
stake: RawTransactionArgument<string>;
|
|
235
|
-
}
|
|
236
|
-
export interface PendingRewardsOptions {
|
|
237
|
-
package?: string;
|
|
238
|
-
arguments: PendingRewardsArguments | [
|
|
239
|
-
self: RawTransactionArgument<string>,
|
|
240
|
-
stake: RawTransactionArgument<string>
|
|
241
|
-
];
|
|
242
|
-
typeArguments: [
|
|
243
|
-
string,
|
|
244
|
-
string
|
|
245
|
-
];
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Compute pending rewards for a stake without claiming. Returns 0 if the stake is
|
|
249
|
-
* not registered with this pool.
|
|
250
|
-
*/
|
|
251
|
-
export declare function pendingRewards(options: PendingRewardsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
252
|
-
export interface IdArguments {
|
|
253
|
-
self: RawTransactionArgument<string>;
|
|
254
|
-
}
|
|
255
|
-
export interface IdOptions {
|
|
256
|
-
package?: string;
|
|
257
|
-
arguments: IdArguments | [
|
|
258
|
-
self: RawTransactionArgument<string>
|
|
259
|
-
];
|
|
260
|
-
typeArguments: [
|
|
261
|
-
string,
|
|
262
|
-
string
|
|
263
|
-
];
|
|
264
|
-
}
|
|
265
|
-
export declare function id(options: IdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
266
|
-
export interface BalanceArguments {
|
|
267
|
-
self: RawTransactionArgument<string>;
|
|
268
|
-
}
|
|
269
|
-
export interface BalanceOptions {
|
|
270
|
-
package?: string;
|
|
271
|
-
arguments: BalanceArguments | [
|
|
272
|
-
self: RawTransactionArgument<string>
|
|
273
|
-
];
|
|
274
|
-
typeArguments: [
|
|
275
|
-
string,
|
|
276
|
-
string
|
|
277
|
-
];
|
|
278
|
-
}
|
|
279
|
-
export declare function balance(options: BalanceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
280
|
-
export interface StakedSharesArguments {
|
|
281
|
-
self: RawTransactionArgument<string>;
|
|
282
|
-
}
|
|
283
|
-
export interface StakedSharesOptions {
|
|
284
|
-
package?: string;
|
|
285
|
-
arguments: StakedSharesArguments | [
|
|
286
|
-
self: RawTransactionArgument<string>
|
|
287
|
-
];
|
|
288
|
-
typeArguments: [
|
|
289
|
-
string,
|
|
290
|
-
string
|
|
291
|
-
];
|
|
292
|
-
}
|
|
293
|
-
export declare function stakedShares(options: StakedSharesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
294
|
-
export interface CumulativeRewardPerShareArguments {
|
|
295
|
-
self: RawTransactionArgument<string>;
|
|
296
|
-
}
|
|
297
|
-
export interface CumulativeRewardPerShareOptions {
|
|
298
|
-
package?: string;
|
|
299
|
-
arguments: CumulativeRewardPerShareArguments | [
|
|
300
|
-
self: RawTransactionArgument<string>
|
|
301
|
-
];
|
|
302
|
-
typeArguments: [
|
|
303
|
-
string,
|
|
304
|
-
string
|
|
305
|
-
];
|
|
306
|
-
}
|
|
307
|
-
export declare function cumulativeRewardPerShare(options: CumulativeRewardPerShareOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
308
|
-
export interface CumulativeDepositsArguments {
|
|
309
|
-
self: RawTransactionArgument<string>;
|
|
310
|
-
}
|
|
311
|
-
export interface CumulativeDepositsOptions {
|
|
312
|
-
package?: string;
|
|
313
|
-
arguments: CumulativeDepositsArguments | [
|
|
314
|
-
self: RawTransactionArgument<string>
|
|
315
|
-
];
|
|
316
|
-
typeArguments: [
|
|
317
|
-
string,
|
|
318
|
-
string
|
|
319
|
-
];
|
|
320
|
-
}
|
|
321
|
-
/** Lifetime sum of all deposits, in currency base units. Strictly monotonic. */
|
|
322
|
-
export declare function cumulativeDeposits(options: CumulativeDepositsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
323
|
-
export interface DerivedAddressArguments {
|
|
324
|
-
parentId: RawTransactionArgument<string>;
|
|
325
|
-
}
|
|
326
|
-
export interface DerivedAddressOptions {
|
|
327
|
-
package?: string;
|
|
328
|
-
arguments: DerivedAddressArguments | [
|
|
329
|
-
parentId: RawTransactionArgument<string>
|
|
330
|
-
];
|
|
331
|
-
typeArguments: [
|
|
332
|
-
string
|
|
333
|
-
];
|
|
334
|
-
}
|
|
335
|
-
/**
|
|
336
|
-
* Compute the deterministic address of a pool given its parent ID and `Currency`
|
|
337
|
-
* type parameter. Useful for off-chain derivation and for cross-module checks that
|
|
338
|
-
* the pool was minted from the expected parent.
|
|
339
|
-
*/
|
|
340
|
-
export declare function derivedAddress(options: DerivedAddressOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
341
|
-
export interface AssertDerivedFromArguments {
|
|
342
|
-
self: RawTransactionArgument<string>;
|
|
343
|
-
parentId: RawTransactionArgument<string>;
|
|
344
|
-
}
|
|
345
|
-
export interface AssertDerivedFromOptions {
|
|
346
|
-
package?: string;
|
|
347
|
-
arguments: AssertDerivedFromArguments | [
|
|
348
|
-
self: RawTransactionArgument<string>,
|
|
349
|
-
parentId: RawTransactionArgument<string>
|
|
350
|
-
];
|
|
351
|
-
typeArguments: [
|
|
352
|
-
string,
|
|
353
|
-
string
|
|
354
|
-
];
|
|
355
|
-
}
|
|
356
|
-
/** Read-only verification that the pool was derived from the given parent ID. */
|
|
357
|
-
export declare function assertDerivedFrom(options: AssertDerivedFromOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
358
|
-
//# sourceMappingURL=pool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pool.d.ts","sourceRoot":"","sources":["../../../src/contracts/royalty_pool/pool.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAA0B,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE/G,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGtF,eAAO,MAAM,WAAW;;;;;;;IAKhB;;;OAGG;;iFAEH,CAAC;AACT,eAAO,MAAM,cAAc,sJAAoG,CAAC;AAChI,eAAO,MAAM,uBAAuB;;;6FAG5B,CAAC;AACT,eAAO,MAAM,qBAAqB;;;2FAG1B,CAAC;AACT,eAAO,MAAM,oBAAoB;;;;0FAIzB,CAAC;AACT,eAAO,MAAM,sBAAsB;;;;4FAI3B,CAAC;AACT,eAAO,MAAM,mBAAmB;;;;yFAIxB,CAAC;AACT,MAAM,WAAW,YAAY;I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