-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplutus.json
222 lines (222 loc) · 8.99 KB
/
plutus.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
"preamble": {
"title": "minswap/cip_68_nft_management",
"description": "Aiken contracts for project 'minswap/cip_68_nft_management'",
"version": "0.0.0",
"plutusVersion": "v2",
"compiler": {
"name": "Aiken",
"version": "v1.0.29-alpha+16fb02e"
},
"license": "Apache-2.0"
},
"validators": [
{
"title": "nft_management_validator.spend",
"datum": {
"title": "datum",
"schema": {
"$ref": "#/definitions/nft_management_validator~1ValidatorDatum"
}
},
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Data"
}
},
"compiledCode": "5905650100003232323232323223232323232225333009323232533300c3009300d37540022646464646464646464a66602a6026602c6ea80044c8c8c8c8c8c8c94ccc070c068c074dd500089919299980f180e180f9baa001132533301f3370e900218101baa00113232533302100715333021005153330213375e601260466ea8c028c08cdd5010180498119baa300a30233754004264a666044604060466ea80044cdc4240006eb4c09cc090dd50008b19198008009bab30113024375400644a66604c002298103d87a8000132323253330263371e91108646563696d616c7300375c604e006260286605400297ae01330050050023027002302a002302800114a02940528180d800981218109baa0011630233024302430203754604660406ea800458cc02803894ccc078cdd7980698101baa300d30203754002601a60406ea80204c06cccc014dd5980318101baa001375c601a60406ea8c018c080dd5180398101baa01d375c600c60406ea8c018c080dd5180398101baa01d14a064646600200201c44a66604400229404c94ccc080cdc79bae302500200414a2266006006002604a0026eb8c084c078dd50008b1810180e9baa300a301d37546008603a6ea8068c05cccc004dd5980f98100029bae3009301c3754600460386ea8c00cc070dd500c9bae3002301c3754600460386ea8c00cc070dd500c91119299980e980d180f1baa0011480004dd69811180f9baa00132533301d301a301e3754002298103d87a8000132330010013756604660406ea8008894ccc088004530103d87a80001323232325333023337220100042a66604666e3c0200084c044cc09cdd4000a5eb80530103d87a8000133006006003375a60480066eb8c088008c098008c090004c8cc004004010894ccc0840045300103d87a80001323232325333022337220100042a66604466e3c0200084c040cc098dd3000a5eb80530103d87a8000133006006003375660460066eb8c084008c094008c08c0048c078c07c0048c074c078c078004c06c004c05cdd5180d180d980b9baa301a301737540022c660026eb0c06401c8cdd79802180b9baa00100922323300100100322533301a00114c0103d87a80001323253330193005002130073301d0024bd70099802002000980f001180e0009ba5480008c05c004dd6180a980b180b180b180b180b180b0011bac301400130143014001300f37540066022601c6ea800458c040c044008c03c004c02cdd50008a4c26cac600200a4a66600c6008600e6ea80044c8c8c8c8c8c94ccc03cc0480084c8c926533300d300b300e3754004264646464a666028602e00426464932999809180818099baa0021323232325333019301c002149858dd7180d000980d0011bae3018001301437540042ca666022601e60246ea800c4c8c8c8c94ccc060c06c0084c8c926325333017301500113232533301c301f002132498c94ccc068c0600044c8c94ccc07cc0880084c9263018001163020001301c37540042a666034602e0022646464646464a666046604c0042930b1bad30240013024002375a604400260440046eb4c080004c070dd50010b180d1baa00116301d001301937540062a66602e60280022a66603460326ea800c52616163017375400460220062c60320026032004602e00260266ea800c5858c054004c054008c04c004c03cdd50010b19198008008031129998088008a4c26466006006602a004646460240046eb8c040004c04c00458c040004c040008dd6980700098070011bab300c001300837540022c464a66600c600800226464a666016601c0042930b1bae300c001300837540042a66600c600600226464a666016601c0042930b1bae300c001300837540042c600c6ea8004dc3a40046e1d20005734aae7555cf2ab9f5740ae855d11",
"hash": "3d4542ae47d8289b9c262e085dcdb0329a88832f47760d852ec97587"
}
],
"definitions": {
"ByteArray": {
"dataType": "bytes"
},
"Data": {
"title": "Data",
"description": "Any Plutus data."
},
"Int": {
"dataType": "integer"
},
"List$Pair$ByteArray_Data": {
"dataType": "map",
"keys": {
"$ref": "#/definitions/ByteArray"
},
"values": {
"$ref": "#/definitions/Data"
}
},
"Option$aiken/transaction/credential/Referenced$aiken/transaction/credential/Credential": {
"title": "Optional",
"anyOf": [
{
"title": "Some",
"description": "An optional value.",
"dataType": "constructor",
"index": 0,
"fields": [
{
"$ref": "#/definitions/aiken~1transaction~1credential~1Referenced$aiken~1transaction~1credential~1Credential"
}
]
},
{
"title": "None",
"description": "Nothing.",
"dataType": "constructor",
"index": 1,
"fields": []
}
]
},
"aiken/transaction/credential/Address": {
"title": "Address",
"description": "A Cardano `Address` typically holding one or two credential references.\n\n Note that legacy bootstrap addresses (a.k.a. 'Byron addresses') are\n completely excluded from Plutus contexts. Thus, from an on-chain\n perspective only exists addresses of type 00, 01, ..., 07 as detailed\n in [CIP-0019 :: Shelley Addresses](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0019/#shelley-addresses).",
"anyOf": [
{
"title": "Address",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "payment_credential",
"$ref": "#/definitions/aiken~1transaction~1credential~1Credential"
},
{
"title": "stake_credential",
"$ref": "#/definitions/Option$aiken~1transaction~1credential~1Referenced$aiken~1transaction~1credential~1Credential"
}
]
}
]
},
"aiken/transaction/credential/Credential": {
"title": "Credential",
"description": "A general structure for representing an on-chain `Credential`.\n\n Credentials are always one of two kinds: a direct public/private key\n pair, or a script (native or Plutus).",
"anyOf": [
{
"title": "VerificationKeyCredential",
"dataType": "constructor",
"index": 0,
"fields": [
{
"$ref": "#/definitions/ByteArray"
}
]
},
{
"title": "ScriptCredential",
"dataType": "constructor",
"index": 1,
"fields": [
{
"$ref": "#/definitions/ByteArray"
}
]
}
]
},
"aiken/transaction/credential/Referenced$aiken/transaction/credential/Credential": {
"title": "Referenced",
"description": "Represent a type of object that can be represented either inline (by hash)\n or via a reference (i.e. a pointer to an on-chain location).\n\n This is mainly use for capturing pointers to a stake credential\n registration certificate in the case of so-called pointer addresses.",
"anyOf": [
{
"title": "Inline",
"dataType": "constructor",
"index": 0,
"fields": [
{
"$ref": "#/definitions/aiken~1transaction~1credential~1Credential"
}
]
},
{
"title": "Pointer",
"dataType": "constructor",
"index": 1,
"fields": [
{
"title": "slot_number",
"$ref": "#/definitions/Int"
},
{
"title": "transaction_index",
"$ref": "#/definitions/Int"
},
{
"title": "certificate_index",
"$ref": "#/definitions/Int"
}
]
}
]
},
"nft_management_validator/Asset": {
"title": "Asset",
"anyOf": [
{
"title": "Asset",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "policy_id",
"$ref": "#/definitions/ByteArray"
},
{
"title": "asset_name",
"$ref": "#/definitions/ByteArray"
}
]
}
]
},
"nft_management_validator/Extra": {
"title": "Extra",
"anyOf": [
{
"title": "Extra",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "address",
"$ref": "#/definitions/aiken~1transaction~1credential~1Address"
},
{
"title": "nft",
"$ref": "#/definitions/nft_management_validator~1Asset"
}
]
}
]
},
"nft_management_validator/ValidatorDatum": {
"title": "ValidatorDatum",
"anyOf": [
{
"title": "ValidatorDatum",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "metadata",
"$ref": "#/definitions/List$Pair$ByteArray_Data"
},
{
"title": "version",
"$ref": "#/definitions/Int"
},
{
"title": "extra",
"$ref": "#/definitions/nft_management_validator~1Extra"
}
]
}
]
}
}
}