-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplutus.json
269 lines (269 loc) · 16.7 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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
{
"preamble": {
"title": "ctf/multisig_treasury_v3",
"description": "Aiken contracts for project 'ctf/multisig_treasury_v3'",
"version": "0.0.0",
"plutusVersion": "v2",
"license": "GPL-3.0"
},
"validators": [
{
"title": "multisig.multisig",
"datum": {
"title": "datum",
"schema": {
"$ref": "#/definitions/types~1MultisigDatum"
}
},
"redeemer": {
"title": "redeemer",
"schema": {
"$ref": "#/definitions/types~1MultisigRedeemer"
}
},
"parameters": [
{
"title": "validation_token_policy",
"schema": {
"$ref": "#/definitions/ByteArray"
}
},
{
"title": "treasury_validator_hash",
"schema": {
"$ref": "#/definitions/ByteArray"
}
}
],
"compiledCode": "5907c30100003232323232323232322322322223232323232533300f323232323232323232323232323232323232323232323253330263370e90011812800899191919299981519b873330013756600e6050600e605001004c00690010991919191919191919299981999b874800000c54ccc0cccdc3803240042a66606666e1c0152000153330333370e00890010a99981999b8732330090012323253330373370e9001000899251303500214a0606a002602a6066602a60660026601203e46022606400290020a9998199991191980080080191299981d0008a50132325333039300500214a2266008008002607c0046eb8c0f0004dd61800981881611980180a80089919299981c181d80109919299981b99b8f00201013370e00290008a50375a60700046eb8c0d800458c0e4004c8cc88c94ccc0dccdc3a4004002200426eacc0f0c0d400cc0d4008cc0300040c12f5bded8c0646600200203444a666070002297adef6c6013232323253330393371e910100002100313303d337606ea4008dd3000998030030019bab303a003375c6070004607800460740022c2c2c2c2c264a66606866e1d2000303300113232323253330383370e9002181b8008991919299981d99b8733301237566030607200c06e02890010a99981d99b8700e4800854ccc0eccdc3806a40042a66607666e1cdd6980d981c8011bad301b30390341533303b3375e60306072004603060720682a66607666ebcc014c0e4008c014c0e40d054ccc0ecc8c8cdc418009bac300b303b0363001375860166076008600200244a66608000229000099b8048008cc008008c10c0044ccccc88888c8c8c8c94ccc11001054ccc11000c54ccc11000840045280a5014a06601000c4a6660886602601000229444cc04c014004cc01c0148cc048014004cc0180148cc044014004cc01400c8cdc399199800800802a4000444a66608e0042002266600600660940046644a66608c66e3c0080184cdc0000a400420026eb8c124008005200222323300100100322533304200114a226464a666082600a0042660080080022940c118008dd718220009bac300930390343758601260720046eb0c014c0e40d00705280a5014a029405280a5016302e001303e001303600116300130350022303c303d303d001303a0013032001163301201c23375e020602860640024607060726072607200244646600200200644a66607000229404c8c94ccc0dccdc78010028a51133004004001303c002375c6074002605e05066446600c00446464a66606866e1d20000011324a06064004266e3c010dd7181c9819001181900098091818180918180009980280d9180698170008149980100b805198009980180c9180598160008049119801801119baf002300f302d0012232333001001003480008894ccc0cc00840044ccc00c00cc0d8008cc894ccc0c8c0180084cdc0000a40042002606a00400244646600200200644a666062002297ae013303230033033001330020023034001162223233223253330303370e9001000880109bad3035302e003302e00232533302e3370e90010008a60103d87a8000132323300100100222533303400114c103d87a800013232323253330353371e014004266e95200033039375000297ae0133006006003375a606c0066eb8c0d0008c0e0008c0d8004dd5981998160011816000a40006600800600444646600200200644a66605e002298103d87a800013232323253330303371e00e004266e95200033034374c00297ae0133006006003375660620066eb8c0bc008c0cc008c0c4004dd7181600098120008b1802981198029811980118118019802181118009811001118149815000a99981119b8748008c0840404c8c8c94ccc094cdc3a400060480022605460460022c66006020466ebc008c014c08c004c0a0004c0800405888c8cc00400400c894ccc0a0004530103d87a8000132325333027300500213374a90001981580125eb804cc010010004c0b0008c0a80048c098004dd6181200098120009811800981100098108011bab301f001301f001301e00237586038002603800260360046eb0c064004c04400cc05c004c05c008c054004c0340185261632533300f3370e90000008a99980918068038a4c2c2a66601e66e1d200200115333012300d00714985858c034018c0040188c94ccc038cdc3a400000226464646464646464a66603260380042646464931980680191bae0013300c0042375c00264a66602e66e1d2000001132323232533301e302100213232498c94ccc074cdc3a400000226464a666044604a0042649319299981019b87480000044c8c94ccc094c0a00084c9263018001163026001301e002153330203370e90010008991919191919299981498160010a4c2c6eb4c0a8004c0a8008dd6981400098140011bad3026001301e00216301e001163023001301b0031533301d3370e90010008a999810180d8018a4c2c2c603600460220062c603e002603e004603a002602a00c2c602a00a2c6eb0c068004c068008dd6180c000980c001180b000980b0011bad3014001300c00216300c00122323300100100322533301200114984c8cc00c00cc058008c00cc0500048c94ccc030cdc3a400000226464a66602260280042930b1bae3012001300a0021533300c3370e9001000899192999808980a0010a4c2c6eb8c048004c02800858c028004dd70009bae001230053754002460066ea80055cd2ab9d5573caae7d5d02ba15745",
"hash": "9ec9552a717ad55c7754bb06f1439d973c9e0c2f6a2eced9cf803fd3"
},
{
"title": "treasury.treasury",
"datum": {
"title": "treasury_input_datum",
"schema": {
"$ref": "#/definitions/types~1TreasuryDatum"
}
},
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Void"
}
},
"compiledCode": "590621010000323232323232323232222323232533300932323232323232323232323232323253330183370e9000180b8008991919299980d99b8748000c0680044c8c8c8c94ccc07ccdc3a4008603c002264646464a66604666e1d20043022001132323232323232533302a3370e6002646600200203a44a66605e002297ae01330303017302a30310013300200230320014801054ccc0a8cdc3980080ca40042a6660540042a66605466646444a66605c66e1cc00c008c00c0044c8cc00400400c894ccc0cc004528899192999819191980080080311299981b8008a501323253330363371e00400c29444cc010010004c0ec008dd7181c8008998020020008a503037002375c606a0022c600200244a66605e00229000099b8048008cc008008c0c8004dd6180698140139bac302f303030303030302800a13322323300100101c22533303100114a026464a666060a66606066ebcc078c0b80080184cdc480298051bab301b302e00214a029444cc010010004c0d4008c0cc004c054c0a0028dd6980c18140050a5014a0294052811919980080080124000444a6660600042002266600600660660046644a66605e6464a66606266e1d20020011324a2605e0042940c0bc004c074c0b4c074c0b40084cdc0000a400420026064004002a66605066e25208092f40100115333028337126eb4c058c0980100044c94ccc0a4cdd798061813813180618138028a99981499b89375a602e604e04c66e00dd6980b9813802800899b8f375c6028604e04c6eb8c050c09c0145280a50375a602c604c010294052818009bab3012302500b232332232533302b3370e9001000880109bad3030302900330290023253330293370e90010008a6103d87a8000132323300100100222533302f00114c103d87a800013232323253330303371e9110000213374a90001981a1ba80014bd700998030030019bad3031003375c605e004606600460620026eacc0b8c09c008c09c0052000323300100100222533302c00114c0103d87a8000132323232533302d3371e9110000213374a9000198189ba60014bd700998030030019bab302e003375c60580046060004605c002603c002605200260420022c600a604000c664464a66604866e1d200000113232323232323232533302f30320021323232498cc0a000c8dd70009981380211bae00132533302d3370e9000000899191919299981a181b8010991924c64a66606666e1d2000001132325333038303b002132498c94ccc0d8cdc3a400000226464a666076607c00426493180b8008b181e000981a0010a99981b19b87480080044c8c8c8c8c8c94ccc0fcc10800852616375a608000260800046eb4c0f8004c0f8008dd6981e000981a0010b181a0008b181c80098188018a99981999b874800800454ccc0d8c0c400c52616163031002301000316303500130350023033001302b00616302b005163758606000260600046eb0c0b8004c0b8008c0b0004c0b0008dd6981500098110010b1811000919299981199b87480000044c8c94ccc0a0c0ac00852616375c605200260420042a66604666e1d2002001132325333028302b002149858dd7181480098108010b18108008009812800980e8008b1800980e1804980e00291811981218120009810800980c8008b19803804919baf00530093019001301e001301600116330040092323232533301b3370e9001000899b8f003375c604060320042940c064004c01cc05cc01cc05cc010c05c008dd71801980b00a9802180a1800980a0011180d980e000a99980a19b8748008c04c0204c8c8c94ccc05ccdc3a4000602c00226038602a0022c66006010466ebc008c014c054004c068004c0480205888c8cc00400400c894ccc068004530103d87a8000132325333019300500213374a90001980e80125eb804cc010010004c078008c0700048c060004dd6180b000980b000980a8011bac3013001300b00330110013011002300f0013007004149858c0040148c94ccc024cdc3a40000022646464646464a666024602a004264931980480091bae001163758602600260260046eb8c044004c044008dd6980780098038010b18038009119198008008019129998068008a4c2646600600660220046006601e0024600a6ea80048c00cdd5000ab9a5573aaae7955cfaba05742ae881",
"hash": "eb86e4854eccadac47929a8456378c628f6f266ab0ebc979f6160393"
},
{
"title": "validation_token.multisig_validation",
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Void"
}
},
"compiledCode": "5904dc0100003232323232323232322253330053232323253330093370e9000180400089919191919191919191919191919191919299980e981000109919299980e19b87480080044c94ccc074cdc39919980080080824000444a66604600420022666006006604c0046644a6660446464a66604866e1d20020011324a260440042940c088004c018c080c018c0800084cdc0000a40042002604a00400290010991929998111812801099299981019b8748010c07c0044c8c8c94ccc08ccc88c8cc00400400c894ccc0a800452889919299981499198008008031129998170008a5013232533302d3371e00400c29444cc010010004c0c8008dd718180008998020020008a50302e002375c60580026eb0c0a0c0a4c0a4c0a4c0840080344cdc399991119199119299981519b874800800440084dd698179814001981400119299981419b87480080045300103d87a8000132323300100100222533302e00114c103d87a8000132323232533302f3371e014004266e95200033033375000297ae0133006006003375a60600066eb8c0b8008c0c8008c0c0004dd5981698130011813000a40006601e0060046eacc0a0c0a4c0840140640252002163323223253330263370e9000000899191919191919192999818981a001099191924c6601a00646eb8004cc0300108dd700099299981799b87480000044c8c8c8c94ccc0d8c0e40084c8c9263253330353370e900000089919299981d181e80109924c64a66607066e1d200000113232533303d3040002132498c06000458c0f8004c0d800854ccc0e0cdc3a40040022646464646464a66608260880042930b1bad30420013042002375a608000260800046eb4c0f8004c0d800858c0d800458c0ec004c0cc00c54ccc0d4cdc3a40040022a66607060660062930b0b181980118088018b181b800981b801181a80098168030b18168028b1bac30320013032002375860600026060004605c002605c0046eb4c0b0004c09000858c09000488c8cc00400400c894ccc0a800452613233003003302e0023003302c00123253330243370e900000089919299981498160010a4c2c6eb8c0a8004c08800854ccc090cdc3a400400226464a66605260580042930b1bae302a00130220021630220010013026001301e00116302430253025301d001163023001323300100101022533302200114bd700991929998109919299981199b87480080044cdc79bae3028302100200914a06042002600a603e600a603e00426604a00466008008002266008008002604c00460480022c460440022a66603866e1d200100114a22940dd6980e8011bae301b00116301e00132332232533301c3370e9001000880109bab3021301a003301a0023300200100f4bd6f7b630191980080080411299980e8008a5eb7bdb1804c8c8c8c94ccc078cdc7a45000021003133022337606ea4008dd3000998030030019bab301f003375c603a0046042004603e00244646600200200644a66603c0022980103d87a8000132323232533301f3371e00e004266e95200033023374c00297ae0133006006003375660400066eb8c078008c088008c080004dd6180d800980d800980d000980c800980c0011bab3016001301600130150023758602600260260026024002601200a6eb8c03c004c01c00458c034004c034008c02c004c00c00452616230053754002460066ea80055cd2ab9d5573caae7d5d02ba157441",
"hash": "43cd535ef4818cdc3f21a5674bfd92f408f8f922171aac7b7cc2c04c"
}
],
"definitions": {
"ByteArray": {
"dataType": "bytes"
},
"Int": {
"dataType": "integer"
},
"List$ByteArray": {
"dataType": "list",
"items": {
"$ref": "#/definitions/ByteArray"
}
},
"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": []
}
]
},
"Void": {
"title": "Unit",
"description": "The nullary constructor.",
"anyOf": [
{
"dataType": "constructor",
"index": 0,
"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"
}
]
}
]
},
"types/MultisigDatum": {
"title": "MultisigDatum",
"anyOf": [
{
"title": "MultisigDatum",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "release_value",
"$ref": "#/definitions/Int"
},
{
"title": "beneficiary",
"$ref": "#/definitions/aiken~1transaction~1credential~1Address"
},
{
"title": "required_signers",
"$ref": "#/definitions/List$ByteArray"
},
{
"title": "signed_users",
"$ref": "#/definitions/List$ByteArray"
}
]
}
]
},
"types/MultisigRedeemer": {
"title": "MultisigRedeemer",
"anyOf": [
{
"title": "Use",
"dataType": "constructor",
"index": 0,
"fields": []
},
{
"title": "Sign",
"dataType": "constructor",
"index": 1,
"fields": []
}
]
},
"types/TreasuryDatum": {
"title": "TreasuryDatum",
"anyOf": [
{
"title": "TreasuryDatum",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "value",
"$ref": "#/definitions/Int"
},
{
"title": "multisig_hash",
"$ref": "#/definitions/ByteArray"
},
{
"title": "owners",
"$ref": "#/definitions/List$ByteArray"
}
]
}
]
}
}
}