@misonetwork/sdk 0.2.2 → 0.3.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.
- 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 +7 -3
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +22 -4
- package/dist/internal.js.map +1 -1
- package/dist/queries.d.ts +8 -0
- package/dist/queries.d.ts.map +1 -1
- package/dist/queries.js +30 -8
- 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 +34 -15
- package/src/queries.ts +40 -12
- 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,139 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* Defines the roles that parties can hold on a composition. Compositions are the
|
|
6
|
-
* underlying musical works (melody + lyrics), and these roles represent the
|
|
7
|
-
* writing and adaptation contributions to them.
|
|
8
|
-
*
|
|
9
|
-
* ### Design
|
|
10
|
-
*
|
|
11
|
-
* `CompositionPartyRole` is a closed enum: variants can only be constructed and
|
|
12
|
-
* matched inside this module, so the `new_*_role` constructors are the external
|
|
13
|
-
* write-API and `name()` is the external read-API.
|
|
14
|
-
*
|
|
15
|
-
* - **No seniority axis.** Unlike recording roles, composition roles carry no
|
|
16
|
-
* level — a writer either contributed in a given capacity or did not.
|
|
17
|
-
* - **`Custom` is the escape hatch.** The canonical variants cover the common
|
|
18
|
-
* writing vocabulary; anything outside it is a `Custom(name)` whose name is
|
|
19
|
-
* validated. Prefer a canonical variant when one fits.
|
|
20
|
-
* - **`name()` is the canonical identifier**, returned as a stable PascalCase
|
|
21
|
-
* token (e.g. `"Songwriter"`). For `Custom`, `name()` returns the user-supplied
|
|
22
|
-
* string.
|
|
23
|
-
*
|
|
24
|
-
* These identifiers are Miso's own canonical vocabulary; any overlap with an
|
|
25
|
-
* external standard (e.g. DDEX) is coincidental, not a reproduction of it.
|
|
26
|
-
*/
|
|
27
|
-
import { MoveEnum, normalizeMoveArguments } from '../utils/index.js';
|
|
28
|
-
import { bcs } from '@mysten/sui/bcs';
|
|
29
|
-
import {} from '@mysten/sui/transactions';
|
|
30
|
-
const $moduleName = '@local-pkg/composition_credits::composition_party_role';
|
|
31
|
-
/** Represents a party's role on a composition. */
|
|
32
|
-
export const CompositionPartyRole = new MoveEnum({ name: `${$moduleName}::CompositionPartyRole`, fields: {
|
|
33
|
-
/** Adapted an existing work into this composition. */
|
|
34
|
-
Adapter: null,
|
|
35
|
-
/** Arranged the musical parts of the composition. */
|
|
36
|
-
Arranger: null,
|
|
37
|
-
/** Composed the music of the composition. */
|
|
38
|
-
Composer: null,
|
|
39
|
-
/** Wrote the lyrics of the composition. */
|
|
40
|
-
Lyricist: null,
|
|
41
|
-
/** Wrote both music and lyrics of the composition. */
|
|
42
|
-
Songwriter: null,
|
|
43
|
-
/** Translated the lyrics of the composition. */
|
|
44
|
-
Translator: null,
|
|
45
|
-
/**
|
|
46
|
-
* A user-defined role not covered by a canonical variant. Carries the role name
|
|
47
|
-
* (validated). An escape hatch — prefer a canonical variant when one fits.
|
|
48
|
-
*/
|
|
49
|
-
Custom: bcs.string()
|
|
50
|
-
} });
|
|
51
|
-
/** Creates a new Adapter role. */
|
|
52
|
-
export function newAdapterRole(options = {}) {
|
|
53
|
-
const packageAddress = options.package ?? '@local-pkg/composition_credits';
|
|
54
|
-
return (tx) => tx.moveCall({
|
|
55
|
-
package: packageAddress,
|
|
56
|
-
module: 'composition_party_role',
|
|
57
|
-
function: 'new_adapter_role',
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
/** Creates a new Arranger role. */
|
|
61
|
-
export function newArrangerRole(options = {}) {
|
|
62
|
-
const packageAddress = options.package ?? '@local-pkg/composition_credits';
|
|
63
|
-
return (tx) => tx.moveCall({
|
|
64
|
-
package: packageAddress,
|
|
65
|
-
module: 'composition_party_role',
|
|
66
|
-
function: 'new_arranger_role',
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
/** Creates a new Composer role. */
|
|
70
|
-
export function newComposerRole(options = {}) {
|
|
71
|
-
const packageAddress = options.package ?? '@local-pkg/composition_credits';
|
|
72
|
-
return (tx) => tx.moveCall({
|
|
73
|
-
package: packageAddress,
|
|
74
|
-
module: 'composition_party_role',
|
|
75
|
-
function: 'new_composer_role',
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
/** Creates a new Lyricist role. */
|
|
79
|
-
export function newLyricistRole(options = {}) {
|
|
80
|
-
const packageAddress = options.package ?? '@local-pkg/composition_credits';
|
|
81
|
-
return (tx) => tx.moveCall({
|
|
82
|
-
package: packageAddress,
|
|
83
|
-
module: 'composition_party_role',
|
|
84
|
-
function: 'new_lyricist_role',
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
/** Creates a new Songwriter role. */
|
|
88
|
-
export function newSongwriterRole(options = {}) {
|
|
89
|
-
const packageAddress = options.package ?? '@local-pkg/composition_credits';
|
|
90
|
-
return (tx) => tx.moveCall({
|
|
91
|
-
package: packageAddress,
|
|
92
|
-
module: 'composition_party_role',
|
|
93
|
-
function: 'new_songwriter_role',
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
/** Creates a new Translator role. */
|
|
97
|
-
export function newTranslatorRole(options = {}) {
|
|
98
|
-
const packageAddress = options.package ?? '@local-pkg/composition_credits';
|
|
99
|
-
return (tx) => tx.moveCall({
|
|
100
|
-
package: packageAddress,
|
|
101
|
-
module: 'composition_party_role',
|
|
102
|
-
function: 'new_translator_role',
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Creates a new Custom role with a user-defined name. The name freezes into
|
|
107
|
-
* credits, so it is validated here. Prefer a canonical variant when one fits.
|
|
108
|
-
*/
|
|
109
|
-
export function newCustomRole(options) {
|
|
110
|
-
const packageAddress = options.package ?? '@local-pkg/composition_credits';
|
|
111
|
-
const argumentsTypes = [
|
|
112
|
-
'0x1::string::String'
|
|
113
|
-
];
|
|
114
|
-
const parameterNames = ["roleName"];
|
|
115
|
-
return (tx) => tx.moveCall({
|
|
116
|
-
package: packageAddress,
|
|
117
|
-
module: 'composition_party_role',
|
|
118
|
-
function: 'new_custom_role',
|
|
119
|
-
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Returns the canonical identifier of the role as a stable PascalCase token. For
|
|
124
|
-
* `Custom`, returns the user-supplied name.
|
|
125
|
-
*/
|
|
126
|
-
export function name(options) {
|
|
127
|
-
const packageAddress = options.package ?? '@local-pkg/composition_credits';
|
|
128
|
-
const argumentsTypes = [
|
|
129
|
-
null
|
|
130
|
-
];
|
|
131
|
-
const parameterNames = ["self"];
|
|
132
|
-
return (tx) => tx.moveCall({
|
|
133
|
-
package: packageAddress,
|
|
134
|
-
module: 'composition_party_role',
|
|
135
|
-
function: 'name',
|
|
136
|
-
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
//# sourceMappingURL=composition_party_role.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"composition_party_role.js","sourceRoot":"","sources":["../../../src/contracts/composition_credits/composition_party_role.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,QAAQ,EAAE,sBAAsB,EAA+B,MAAM,mBAAmB,CAAC;AAClG,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAA8C,MAAM,0BAA0B,CAAC;AACtF,MAAM,WAAW,GAAG,wDAAwD,CAAC;AAC7E,kDAAkD;AAClD,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,QAAQ,CAAC,EAAE,IAAI,EAAE,GAAG,W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AAQ,EAAE,iBAAiB;QAC3B,SAAS,EAAE,sBAAsB,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC;AAUD;;;GAGG;AACH,MAAM,UAAU,IAAI,CAAC,OAAoB;IACrC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,gCAAgC,CAAC;IAC3E,MAAM,cAAc,GAAG;QACnB,IAAI;KACqB,CAAC;IAC9B,MAAM,cAAc,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,wBAAwB;QAChC,QAAQ,EAAE,MAAM;QAChB,SAAS,EAAE,sBAAsB,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* Represents a party's credit on a work or activity. A credit pairs a display name
|
|
6
|
-
* with one or more roles, identifying how a party contributed to the work.
|
|
7
|
-
*/
|
|
8
|
-
import { type BcsType } from '@mysten/sui/bcs';
|
|
9
|
-
import { MoveStruct } from '../../../utils/index.js';
|
|
10
|
-
/**
|
|
11
|
-
* A credit attributing roles to a party on a work. Generic over the role type to
|
|
12
|
-
* support domain-specific roles.
|
|
13
|
-
*/
|
|
14
|
-
export declare function Credit<Role extends BcsType<any>>(...typeParameters: [
|
|
15
|
-
Role
|
|
16
|
-
]): MoveStruct<{
|
|
17
|
-
/** Human-readable name to display for this credit. */
|
|
18
|
-
display_name: BcsType<string, string, "string">;
|
|
19
|
-
/** Roles assigned to the credited party. */
|
|
20
|
-
roles: BcsType<import("@mysten/bcs").InferBcsType<Role>[], Iterable<import("@mysten/bcs").InferBcsInput<Role>> & {
|
|
21
|
-
length: number;
|
|
22
|
-
}, string>;
|
|
23
|
-
}, `miso_credit::credit::Credit<${Role["name"]}>`>;
|
|
24
|
-
//# sourceMappingURL=credit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credit.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/composition_credits/deps/miso_credit/credit.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;GAGG;AAEH,OAAO,EAAE,KAAK,OAAO,EAAO,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD;;;GAGG;AACH,wBAAgB,MAAM,CAAC,IAAI,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IACjE,IAAI;CACP;IAEW,sDAAsD;;IAEtD,4CAA4C;;;;mDAGvD"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* Represents a party's credit on a work or activity. A credit pairs a display name
|
|
6
|
-
* with one or more roles, identifying how a party contributed to the work.
|
|
7
|
-
*/
|
|
8
|
-
import { bcs } from '@mysten/sui/bcs';
|
|
9
|
-
import { MoveStruct } from '../../../utils/index.js';
|
|
10
|
-
const $moduleName = 'miso_credit::credit';
|
|
11
|
-
/**
|
|
12
|
-
* A credit attributing roles to a party on a work. Generic over the role type to
|
|
13
|
-
* support domain-specific roles.
|
|
14
|
-
*/
|
|
15
|
-
export function Credit(...typeParameters) {
|
|
16
|
-
return new MoveStruct({ name: `${$moduleName}::Credit<${typeParameters[0].name}>`, fields: {
|
|
17
|
-
/** Human-readable name to display for this credit. */
|
|
18
|
-
display_name: bcs.string(),
|
|
19
|
-
/** Roles assigned to the credited party. */
|
|
20
|
-
roles: bcs.vector(typeParameters[0])
|
|
21
|
-
} });
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=credit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credit.js","sourceRoot":"","sources":["../../../../../src/contracts/composition_credits/deps/miso_credit/credit.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;GAGG;AAEH,OAAO,EAAgB,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAC1C;;;GAGG;AACH,MAAM,UAAU,MAAM,CAA4B,GAAG,cAEpD;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,YAAY,cAAc,CAAC,CAAC,CAAC,CAAC,IAAoB,GAAG,EAAE,MAAM,EAAE;YACnG,sDAAsD;YACtD,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE;YAC1B,4CAA4C;YAC5C,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;SACvC,EAAE,CAAC,CAAC;AACb,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
import { type BcsType } from '@mysten/sui/bcs';
|
|
5
|
-
import { MoveStruct } from '../../../utils/index.js';
|
|
6
|
-
/** An entry in the map */
|
|
7
|
-
export declare function Entry<K extends BcsType<any>, V extends BcsType<any>>(...typeParameters: [
|
|
8
|
-
K,
|
|
9
|
-
V
|
|
10
|
-
]): MoveStruct<{
|
|
11
|
-
key: K;
|
|
12
|
-
value: V;
|
|
13
|
-
}, `0x2::vec_map::Entry<${K["name"]}, ${V["name"]}>`>;
|
|
14
|
-
/**
|
|
15
|
-
* A map data structure backed by a vector. The map is guaranteed not to contain
|
|
16
|
-
* duplicate keys, but entries are _not_ sorted by key--entries are included in
|
|
17
|
-
* insertion order. All operations are O(N) in the size of the map--the intention
|
|
18
|
-
* of this data structure is only to provide the convenience of programming against
|
|
19
|
-
* a map API. Large maps should use handwritten parent/child relationships instead.
|
|
20
|
-
* Maps that need sorted iteration rather than insertion order iteration should
|
|
21
|
-
* also be handwritten.
|
|
22
|
-
*/
|
|
23
|
-
export declare function VecMap<K extends BcsType<any>, V extends BcsType<any>>(...typeParameters: [
|
|
24
|
-
K,
|
|
25
|
-
V
|
|
26
|
-
]): MoveStruct<{
|
|
27
|
-
contents: BcsType<{
|
|
28
|
-
key: K extends BcsType<infer U, any, string> ? U : never;
|
|
29
|
-
value: V extends BcsType<infer U, any, string> ? U : never;
|
|
30
|
-
}[], Iterable<{
|
|
31
|
-
key: K extends BcsType<any, infer U_1, string> ? U_1 : never;
|
|
32
|
-
value: V extends BcsType<any, infer U_1, string> ? U_1 : never;
|
|
33
|
-
}> & {
|
|
34
|
-
length: number;
|
|
35
|
-
}, string>;
|
|
36
|
-
}, `0x2::vec_map::VecMap<${K["name"]}, ${V["name"]}>`>;
|
|
37
|
-
//# sourceMappingURL=vec_map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vec_map.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/composition_credits/deps/sui/vec_map.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,KAAK,OAAO,EAAO,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,0BAA0B;AAC1B,wBAAgB,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IACrF,CAAC;IACD,CAAC;CACJ;;;sDAKA;AACD;;;;;;;;GAQG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IACtF,CAAC;IACD,CAAC;CACJ;;;;;;;;;;uDAIA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
import { bcs } from '@mysten/sui/bcs';
|
|
5
|
-
import { MoveStruct } from '../../../utils/index.js';
|
|
6
|
-
const $moduleName = '0x2::vec_map';
|
|
7
|
-
/** An entry in the map */
|
|
8
|
-
export function Entry(...typeParameters) {
|
|
9
|
-
return new MoveStruct({ name: `${$moduleName}::Entry<${typeParameters[0].name}, ${typeParameters[1].name}>`, fields: {
|
|
10
|
-
key: typeParameters[0],
|
|
11
|
-
value: typeParameters[1]
|
|
12
|
-
} });
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* A map data structure backed by a vector. The map is guaranteed not to contain
|
|
16
|
-
* duplicate keys, but entries are _not_ sorted by key--entries are included in
|
|
17
|
-
* insertion order. All operations are O(N) in the size of the map--the intention
|
|
18
|
-
* of this data structure is only to provide the convenience of programming against
|
|
19
|
-
* a map API. Large maps should use handwritten parent/child relationships instead.
|
|
20
|
-
* Maps that need sorted iteration rather than insertion order iteration should
|
|
21
|
-
* also be handwritten.
|
|
22
|
-
*/
|
|
23
|
-
export function VecMap(...typeParameters) {
|
|
24
|
-
return new MoveStruct({ name: `${$moduleName}::VecMap<${typeParameters[0].name}, ${typeParameters[1].name}>`, fields: {
|
|
25
|
-
contents: bcs.vector(Entry(typeParameters[0], typeParameters[1]))
|
|
26
|
-
} });
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=vec_map.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vec_map.js","sourceRoot":"","sources":["../../../../../src/contracts/composition_credits/deps/sui/vec_map.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAgB,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,MAAM,WAAW,GAAG,cAAc,CAAC;AACnC,0BAA0B;AAC1B,MAAM,UAAU,KAAK,CAAiD,GAAG,cAGxE;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,WAAW,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,GAAG,EAAE,MAAM,EAAE;YACvI,GAAG,EAAE,cAAc,CAAC,CAAC,CAAC;YACtB,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC;SAC3B,EAAE,CAAC,CAAC;AACb,CAAC;AACD;;;;;;;;GAQG;AACH,MAAM,UAAU,MAAM,CAAiD,GAAG,cAGzE;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,YAAY,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,GAAG,EAAE,MAAM,EAAE;YACxI,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;SACpE,EAAE,CAAC,CAAC;AACb,CAAC"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* Cap-gated royalty-pool extension for `Composition`.
|
|
6
|
-
*
|
|
7
|
-
* Royalty payers send `Coin<Currency>` directly to the composition's address — a
|
|
8
|
-
* stable, well-known inbox available from the composition's creation. The
|
|
9
|
-
* composition admin (cap holder) folds those funds into the underlying
|
|
10
|
-
* `royalty_pool::pool::RoyaltyPool` via `receive_and_deposit` (for direct coin
|
|
11
|
-
* transfers) or `redeem_and_deposit` (for funds-accumulator balances).
|
|
12
|
-
*
|
|
13
|
-
* All three entry points require `&CompositionAdminCap`, so timing of fold
|
|
14
|
-
* operations stays under admin control.
|
|
15
|
-
*/
|
|
16
|
-
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
17
|
-
import { type RawTransactionArgument } from '../utils/index.js';
|
|
18
|
-
export interface InitializePoolArguments {
|
|
19
|
-
composition: RawTransactionArgument<string>;
|
|
20
|
-
cap: RawTransactionArgument<string>;
|
|
21
|
-
}
|
|
22
|
-
export interface InitializePoolOptions {
|
|
23
|
-
package?: string;
|
|
24
|
-
arguments: InitializePoolArguments | [
|
|
25
|
-
composition: RawTransactionArgument<string>,
|
|
26
|
-
cap: RawTransactionArgument<string>
|
|
27
|
-
];
|
|
28
|
-
typeArguments: [
|
|
29
|
-
string,
|
|
30
|
-
string
|
|
31
|
-
];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Create a royalty pool for a composition. Pool address derives from
|
|
35
|
-
* `(composition_id, Currency)` — calling twice with the same Currency aborts
|
|
36
|
-
* because the address is already claimed.
|
|
37
|
-
*/
|
|
38
|
-
export declare function initializePool(options: InitializePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
39
|
-
export interface ReceiveAndDepositArguments {
|
|
40
|
-
composition: RawTransactionArgument<string>;
|
|
41
|
-
cap: RawTransactionArgument<string>;
|
|
42
|
-
coins: TransactionArgument;
|
|
43
|
-
pool: RawTransactionArgument<string>;
|
|
44
|
-
}
|
|
45
|
-
export interface ReceiveAndDepositOptions {
|
|
46
|
-
package?: string;
|
|
47
|
-
arguments: ReceiveAndDepositArguments | [
|
|
48
|
-
composition: RawTransactionArgument<string>,
|
|
49
|
-
cap: RawTransactionArgument<string>,
|
|
50
|
-
coins: TransactionArgument,
|
|
51
|
-
pool: RawTransactionArgument<string>
|
|
52
|
-
];
|
|
53
|
-
typeArguments: [
|
|
54
|
-
string,
|
|
55
|
-
string
|
|
56
|
-
];
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Receive `Coin<Currency>` objects sent to the composition's address and fold them
|
|
60
|
-
* into the pool's accumulator.
|
|
61
|
-
*/
|
|
62
|
-
export declare function receiveAndDeposit(options: ReceiveAndDepositOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
63
|
-
export interface RedeemAndDepositArguments {
|
|
64
|
-
composition: RawTransactionArgument<string>;
|
|
65
|
-
cap: RawTransactionArgument<string>;
|
|
66
|
-
value: RawTransactionArgument<number | bigint>;
|
|
67
|
-
pool: RawTransactionArgument<string>;
|
|
68
|
-
}
|
|
69
|
-
export interface RedeemAndDepositOptions {
|
|
70
|
-
package?: string;
|
|
71
|
-
arguments: RedeemAndDepositArguments | [
|
|
72
|
-
composition: RawTransactionArgument<string>,
|
|
73
|
-
cap: RawTransactionArgument<string>,
|
|
74
|
-
value: RawTransactionArgument<number | bigint>,
|
|
75
|
-
pool: RawTransactionArgument<string>
|
|
76
|
-
];
|
|
77
|
-
typeArguments: [
|
|
78
|
-
string,
|
|
79
|
-
string
|
|
80
|
-
];
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Redeem `value` base units from the composition's funds accumulator and fold the
|
|
84
|
-
* resulting balance into the pool's accumulator.
|
|
85
|
-
*/
|
|
86
|
-
export declare function redeemAndDeposit(options: RedeemAndDepositOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
87
|
-
//# sourceMappingURL=composition_royalty_pool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"composition_royalty_pool.d.ts","sourceRoot":"","sources":["../../../src/contracts/composition_royalty_pool/composition_royalty_pool.ts"],"names":[],"mappings":"AAAA;;gEAEg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BAAwB,IASvD,IAAI,WAAW,0DAO1B;AACD,MAAM,WAAW,yBAAyB;IACtC,WAAW,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC5C,GAAG,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACpC,KAAK,EAAE,sBAAsB,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC/C,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;CACxC;AACD,MAAM,WAAW,uBAAuB;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,yBAAyB,GAAG;QACnC,WAAW,EAAE,sBAAsB,CAAC,MAAM,CAAC;QAC3C,GAAG,EAAE,sBAAsB,CAAC,MAAM,CAAC;QACnC,KAAK,EAAE,sBAAsB,CAAC,MAAM,GAAG,MAAM,CAAC;QAC9C,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;KACvC,CAAC;IACF,aAAa,EAAE;QACX,MAAM;QACN,MAAM;KACT,CAAC;CACL;AACD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,IASrD,IAAI,WAAW,0DAO1B"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* Cap-gated royalty-pool extension for `Composition`.
|
|
6
|
-
*
|
|
7
|
-
* Royalty payers send `Coin<Currency>` directly to the composition's address — a
|
|
8
|
-
* stable, well-known inbox available from the composition's creation. The
|
|
9
|
-
* composition admin (cap holder) folds those funds into the underlying
|
|
10
|
-
* `royalty_pool::pool::RoyaltyPool` via `receive_and_deposit` (for direct coin
|
|
11
|
-
* transfers) or `redeem_and_deposit` (for funds-accumulator balances).
|
|
12
|
-
*
|
|
13
|
-
* All three entry points require `&CompositionAdminCap`, so timing of fold
|
|
14
|
-
* operations stays under admin control.
|
|
15
|
-
*/
|
|
16
|
-
import {} from '@mysten/sui/transactions';
|
|
17
|
-
import { normalizeMoveArguments } from '../utils/index.js';
|
|
18
|
-
/**
|
|
19
|
-
* Create a royalty pool for a composition. Pool address derives from
|
|
20
|
-
* `(composition_id, Currency)` — calling twice with the same Currency aborts
|
|
21
|
-
* because the address is already claimed.
|
|
22
|
-
*/
|
|
23
|
-
export function initializePool(options) {
|
|
24
|
-
const packageAddress = options.package ?? '@local-pkg/composition_royalty_pool';
|
|
25
|
-
const argumentsTypes = [
|
|
26
|
-
null,
|
|
27
|
-
null
|
|
28
|
-
];
|
|
29
|
-
const parameterNames = ["composition", "cap"];
|
|
30
|
-
return (tx) => tx.moveCall({
|
|
31
|
-
package: packageAddress,
|
|
32
|
-
module: 'composition_royalty_pool',
|
|
33
|
-
function: 'initialize_pool',
|
|
34
|
-
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
|
|
35
|
-
typeArguments: options.typeArguments
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Receive `Coin<Currency>` objects sent to the composition's address and fold them
|
|
40
|
-
* into the pool's accumulator.
|
|
41
|
-
*/
|
|
42
|
-
export function receiveAndDeposit(options) {
|
|
43
|
-
const packageAddress = options.package ?? '@local-pkg/composition_royalty_pool';
|
|
44
|
-
const argumentsTypes = [
|
|
45
|
-
null,
|
|
46
|
-
null,
|
|
47
|
-
'vector<null>',
|
|
48
|
-
null
|
|
49
|
-
];
|
|
50
|
-
const parameterNames = ["composition", "cap", "coins", "pool"];
|
|
51
|
-
return (tx) => tx.moveCall({
|
|
52
|
-
package: packageAddress,
|
|
53
|
-
module: 'composition_royalty_pool',
|
|
54
|
-
function: 'receive_and_deposit',
|
|
55
|
-
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
|
|
56
|
-
typeArguments: options.typeArguments
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Redeem `value` base units from the composition's funds accumulator and fold the
|
|
61
|
-
* resulting balance into the pool's accumulator.
|
|
62
|
-
*/
|
|
63
|
-
export function redeemAndDeposit(options) {
|
|
64
|
-
const packageAddress = options.package ?? '@local-pkg/composition_royalty_pool';
|
|
65
|
-
const argumentsTypes = [
|
|
66
|
-
null,
|
|
67
|
-
null,
|
|
68
|
-
'u64',
|
|
69
|
-
null
|
|
70
|
-
];
|
|
71
|
-
const parameterNames = ["composition", "cap", "value", "pool"];
|
|
72
|
-
return (tx) => tx.moveCall({
|
|
73
|
-
package: packageAddress,
|
|
74
|
-
module: 'composition_royalty_pool',
|
|
75
|
-
function: 'redeem_and_deposit',
|
|
76
|
-
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
|
|
77
|
-
typeArguments: options.typeArguments
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=composition_royalty_pool.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"composition_royalty_pool.js","sourceRoot":"","sources":["../../../src/contracts/composition_royalty_pool/composition_royalty_pool.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;GAWG;AAEH,OAAO,EAA8C,MAAM,0BAA0B,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAA+B,MAAM,mBAAmB,CAAC;AAgBxF;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAC,OAA8B;IACzD,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,qCAAqC,CAAC;IAChF,MAAM,cAAc,GAAG;QACnB,IAAI;QACJ,IAAI;KACqB,CAAC;IAC9B,MAAM,cAAc,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,0BAA0B;QAClC,QAAQ,EAAE,iBAAiB;QAC3B,SA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QACpF,aAAa,EAAE,OAAO,CAAC,aAAa;KACvC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* The evolvable cover art value used by the recording/release cover art
|
|
6
|
-
* extensions.
|
|
7
|
-
*
|
|
8
|
-
* CoverArt format changes over time (static-only → +animated → future formats).
|
|
9
|
-
* Keeping it in an extension rather than immutable core means a new format is a
|
|
10
|
-
* republish of this small package (or a brand-new cover art standard), not of the
|
|
11
|
-
* frozen protocol. `CoverArt` references external storage via `ori::WalrusData`.
|
|
12
|
-
*/
|
|
13
|
-
import { MoveStruct } from '../utils/index.js';
|
|
14
|
-
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
15
|
-
export declare const CoverArt: MoveStruct<{
|
|
16
|
-
still: import("../utils/index.js").MoveEnum<{
|
|
17
|
-
Blob: import("../utils/index.js").MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">, import("../utils/index.js").MoveEnum<{
|
|
18
|
-
Unencrypted: null;
|
|
19
|
-
Encrypted: MoveStruct<{
|
|
20
|
-
dek: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
21
|
-
length: number;
|
|
22
|
-
}, string>;
|
|
23
|
-
}, "Confidentiality.Encrypted">;
|
|
24
|
-
}, "ori::walrus_data::Confidentiality">], "WalrusData.Blob">;
|
|
25
|
-
QuiltPatch: import("../utils/index.js").MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">, import("@mysten/sui/bcs").BcsType<number, number, "u8">, import("@mysten/sui/bcs").BcsType<number, number, "u16">, import("@mysten/sui/bcs").BcsType<number, number, "u16">], "WalrusData.QuiltPatch">;
|
|
26
|
-
}, "ori::walrus_data::WalrusData">;
|
|
27
|
-
animated: import("@mysten/sui/bcs").BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
28
|
-
Blob: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
29
|
-
Unencrypted: true;
|
|
30
|
-
Encrypted: {
|
|
31
|
-
dek: number[];
|
|
32
|
-
};
|
|
33
|
-
}, "Unencrypted" | "Encrypted">];
|
|
34
|
-
QuiltPatch: [string, number, number, number];
|
|
35
|
-
}, "Blob" | "QuiltPatch"> | null, import("@mysten/bcs").EnumInputShape<{
|
|
36
|
-
Blob: readonly [string | number | bigint, import("@mysten/bcs").EnumInputShape<{
|
|
37
|
-
Unencrypted: boolean | object | null;
|
|
38
|
-
Encrypted: {
|
|
39
|
-
dek: Iterable<number> & {
|
|
40
|
-
length: number;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
}>];
|
|
44
|
-
QuiltPatch: readonly [string | number | bigint, number, number, number];
|
|
45
|
-
}> | null | undefined, "Option<ori::walrus_data::WalrusData>">;
|
|
46
|
-
}, "@local-pkg/cover_art::cover_art::CoverArt">;
|
|
47
|
-
export interface NewArguments {
|
|
48
|
-
still: TransactionArgument;
|
|
49
|
-
animated: TransactionArgument;
|
|
50
|
-
}
|
|
51
|
-
export interface NewOptions {
|
|
52
|
-
package?: string;
|
|
53
|
-
arguments: NewArguments | [
|
|
54
|
-
still: TransactionArgument,
|
|
55
|
-
animated: TransactionArgument
|
|
56
|
-
];
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Creates cover art with a still image and optional animated version. Both
|
|
60
|
-
* references must be Walrus blobs.
|
|
61
|
-
*/
|
|
62
|
-
export declare function _new(options: NewOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
63
|
-
export interface StillArguments {
|
|
64
|
-
self: TransactionArgument;
|
|
65
|
-
}
|
|
66
|
-
export interface StillOptions {
|
|
67
|
-
package?: string;
|
|
68
|
-
arguments: StillArguments | [
|
|
69
|
-
self: TransactionArgument
|
|
70
|
-
];
|
|
71
|
-
}
|
|
72
|
-
/** Returns a reference to the still image data. */
|
|
73
|
-
export declare function still(options: StillOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
74
|
-
export interface AnimatedArguments {
|
|
75
|
-
self: TransactionArgument;
|
|
76
|
-
}
|
|
77
|
-
export interface AnimatedOptions {
|
|
78
|
-
package?: string;
|
|
79
|
-
arguments: AnimatedArguments | [
|
|
80
|
-
self: TransactionArgument
|
|
81
|
-
];
|
|
82
|
-
}
|
|
83
|
-
/** Returns a reference to the optional animated cover art data. */
|
|
84
|
-
export declare function animated(options: AnimatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
85
|
-
//# sourceMappingURL=cover_art.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cover_art.d.ts","sourceRoot":"","sources":["../../../src/contracts/cover_art/cover_art.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAA0B,MAAM,mBAAmB,CAAC;AAEvE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGtF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAGb,CAAC;AACT,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,EAAE,mBAAmB,CAAC;CACjC;AACD,MAAM,WAAW,UAAU;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,YAAY,GAAG;QACtB,KAAK,EAAE,mBAAmB;QAC1B,QAAQ,EAAE,mBAAmB;KAChC,CAAC;CACL;AACD;;;GAGG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,UAAU,IAO5B,IAAI,WAAW,0DAM1B;AACD,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,mBAAmB,CAAC;CAC7B;AACD,MAAM,WAAW,YAAY;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,cAAc,GAAG;QACxB,IAAI,EAAE,mBAAmB;KAC5B,CAAC;CACL;AACD,mDAAmD;AACnD,wBAAgB,KAAK,CAAC,OAAO,EAAE,YAAY,IAM/B,IAAI,WAAW,0DAM1B;AACD,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,mBAAmB,CAAC;CAC7B;AACD,MAAM,WAAW,eAAe;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,iBAAiB,GAAG;QAC3B,IAAI,EAAE,mBAAmB;KAC5B,CAAC;CACL;AACD,mEAAmE;AACnE,wBAAgB,QAAQ,CAAC,OAAO,EAAE,eAAe,IAMrC,IAAI,WAAW,0DAM1B"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* The evolvable cover art value used by the recording/release cover art
|
|
6
|
-
* extensions.
|
|
7
|
-
*
|
|
8
|
-
* CoverArt format changes over time (static-only → +animated → future formats).
|
|
9
|
-
* Keeping it in an extension rather than immutable core means a new format is a
|
|
10
|
-
* republish of this small package (or a brand-new cover art standard), not of the
|
|
11
|
-
* frozen protocol. `CoverArt` references external storage via `ori::WalrusData`.
|
|
12
|
-
*/
|
|
13
|
-
import { MoveStruct, normalizeMoveArguments } from '../utils/index.js';
|
|
14
|
-
import { bcs } from '@mysten/sui/bcs';
|
|
15
|
-
import {} from '@mysten/sui/transactions';
|
|
16
|
-
import * as walrus_data from './deps/ori/walrus_data.js';
|
|
17
|
-
const $moduleName = '@local-pkg/cover_art::cover_art';
|
|
18
|
-
export const CoverArt = new MoveStruct({ name: `${$moduleName}::CoverArt`, fields: {
|
|
19
|
-
still: walrus_data.WalrusData,
|
|
20
|
-
animated: bcs.option(walrus_data.WalrusData)
|
|
21
|
-
} });
|
|
22
|
-
/**
|
|
23
|
-
* Creates cover art with a still image and optional animated version. Both
|
|
24
|
-
* references must be Walrus blobs.
|
|
25
|
-
*/
|
|
26
|
-
export function _new(options) {
|
|
27
|
-
const packageAddress = options.package ?? '@local-pkg/cover_art';
|
|
28
|
-
const argumentsTypes = [
|
|
29
|
-
null,
|
|
30
|
-
null
|
|
31
|
-
];
|
|
32
|
-
const parameterNames = ["still", "animated"];
|
|
33
|
-
return (tx) => tx.moveCall({
|
|
34
|
-
package: packageAddress,
|
|
35
|
-
module: 'cover_art',
|
|
36
|
-
function: 'new',
|
|
37
|
-
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
/** Returns a reference to the still image data. */
|
|
41
|
-
export function still(options) {
|
|
42
|
-
const packageAddress = options.package ?? '@local-pkg/cover_art';
|
|
43
|
-
const argumentsTypes = [
|
|
44
|
-
null
|
|
45
|
-
];
|
|
46
|
-
const parameterNames = ["self"];
|
|
47
|
-
return (tx) => tx.moveCall({
|
|
48
|
-
package: packageAddress,
|
|
49
|
-
module: 'cover_art',
|
|
50
|
-
function: 'still',
|
|
51
|
-
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
/** Returns a reference to the optional animated cover art data. */
|
|
55
|
-
export function animated(options) {
|
|
56
|
-
const packageAddress = options.package ?? '@local-pkg/cover_art';
|
|
57
|
-
const argumentsTypes = [
|
|
58
|
-
null
|
|
59
|
-
];
|
|
60
|
-
const parameterNames = ["self"];
|
|
61
|
-
return (tx) => tx.moveCall({
|
|
62
|
-
package: packageAddress,
|
|
63
|
-
module: 'cover_art',
|
|
64
|
-
function: 'animated',
|
|
65
|
-
arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
//# sour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