-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplutus.json
255 lines (255 loc) · 12.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
{
"preamble": {
"title": "coddeys/fractional-nft-real-estate",
"description": "Aiken contracts for project 'coddeys/fractional-nft-real-estate'",
"version": "0.0.0",
"plutusVersion": "v2",
"compiler": {
"name": "Aiken",
"version": "v1.0.26-alpha+4f99c81"
},
"license": "Apache-2.0"
},
"validators": [
{
"title": "platform_nft.platform_nft",
"redeemer": {
"title": "rdmr",
"schema": {
"$ref": "#/definitions/platform_nft~1Action"
}
},
"parameters": [
{
"title": "token_name",
"schema": {
"$ref": "#/definitions/ByteArray"
}
},
{
"title": "utxo_ref",
"schema": {
"$ref": "#/definitions/aiken~1transaction~1OutputReference"
}
}
],
"compiledCode": "590371010000323232323232323232323223222323232322533300c323232533300f3007301137540022646464a66602c0022a660260202c264a66602e603400426464a66602a601a602e6ea803854ccc054c034c05cdd5191980080080311299980d8008a6103d87a80001323253330193375e603e60386ea80080504cdd2a40006603c00497ae0133004004001301f002301d00115333015300c00113371e004022294054cc05924016365787065637420536f6d65285f696e70757429203d0a202020202020202020206c6973742e66696e6428696e707574732c20666e28696e70757429207b20696e7075742e6f75747075745f7265666572656e6365203d3d207574786f5f726566207d290016153330153370e0029000899b8f00201114a06eb4c05c008dd7180a8008a9980a0088b180c000999119299980a1805980b1baa00114bd6f7b63009bab301a30173754002646600200200644a666032002298103d87a8000132323253330183371e00c6eb8c06800c4cdd2a40006603a6e980052f5c026600a00a0046eacc068008c074008c06c004c8cc004004dd5980c180c980c980c980c80191299980b8008a5eb7bdb1804c8c8c8c94ccc05ccdc7a4500002100313301c337606ea4008dd3000998030030019bab3019003375c602e004603600460320026eb8c05cc050dd50019bac3016001301237540042a66020921236578706563742074782e4d696e7428706f6c6963795f696429203d20707572706f73650016301430150023013001300f37540022930a99806a491856616c696461746f722072657475726e65642066616c7365001365632533300b30030011533300f300e37540082930a998060050b0a99980598010008a99980798071baa004149854cc0300285854cc03002858c030dd50019b8748008dc3a4000a66666601e00220022a6601000c2c2a6601000c2c2a6601000c2c2a6601000c2c6eb800524018a657870656374205b2861737365745f6e616d652c20616d6f756e74295d203d0a2020202020206d696e740a20202020202020207c3e2076616c75652e66726f6d5f6d696e7465645f76616c75650a20202020202020207c3e2076616c75652e746f6b656e7328706f6c6963795f6964290a20202020202020207c3e20646963742e746f5f6c69737428290049010c72646d723a20416374696f6e005734ae7155ceaab9e5573eae815d0aba257481",
"hash": "af7e819ea6fec529c7da8ab1cc0aee088a4d589f08d8f8e7bdffe117"
},
{
"title": "property_funds.property_funds",
"datum": {
"title": "datum",
"schema": {
"$ref": "#/definitions/property_funds~1DatumFunds"
}
},
"redeemer": {
"title": "redeemer",
"schema": {
"$ref": "#/definitions/property_funds~1ReedemerFunds"
}
},
"parameters": [
{
"title": "manager",
"schema": {
"$ref": "#/definitions/ByteArray"
}
},
{
"title": "lock_until",
"schema": {
"$ref": "#/definitions/Int"
}
},
{
"title": "property_price",
"schema": {
"$ref": "#/definitions/Int"
}
},
{
"title": "property_size",
"schema": {
"$ref": "#/definitions/Int"
}
},
{
"title": "token_name",
"schema": {
"$ref": "#/definitions/ByteArray"
}
},
{
"title": "policy_id",
"schema": {
"$ref": "#/definitions/ByteArray"
}
}
],
"compiledCode": "5905c20100003232323232323232323232232232232232232232232323232232322533301832323232533301c300b301e37540022646464646464a666044602060486ea8c004c094dd5005899192999812180998131baa00f1533302453330244a2294454cc0952401156d7573745f62655f6166746572203f2046616c73650014a02a666048660026004604e6ea80340804c8c8cdd79ba73322323300100100322533302e0011003132323300100133004004303300322533303100114bd7009919299981799b870020051001133034375000466008008002606a0046eb4c0cc004c94ccc0acc068c0b4dd500089807981898171baa001153302c49012765787065637420536f6d65287929203d20726174696f6e616c2e6e657728782c20707269636529001633010375a606000201a6600200c46660066eacc018c0a8dd500080c80d9980080391998019bab3006302a3754605a605c60546ea80052201004881004c0101800022323300100100322533302d00114bd700998171ba83003302f0013300200230300012223253330283016302a37540022900009bad302e302b375400264a666050602c60546ea80045300103d87a8000132330010013756605e60586ea8008894ccc0b8004530103d87a80001323232533302d3371e00e6eb8c0bc00c4c050cc0c8dd4000a5eb804cc014014008dd698178011819001181800099198008008021129998168008a6103d87a80001323232533302c3371e00e6eb8c0b800c4c04ccc0c4dd3000a5eb804cc014014008dd59817001181880118178008a5014a02a666048a6660489445288a99812a49156d7573745f62655f6166746572203f2046616c73650014a0264a66604a6026604e6ea80544c94cc09d24010969735f7369676e656400133003002001375c605660506ea805454cc09924012765787065637420496e766573746f722863726564656e7469616c2c202e2e29203d20646174756d001630023027375401a294088c8cc004004dd618161816981698169816981698169816981698149baa00322533302b00114a0264a66605066e3cdd718170010020a51133003003001302e0012302900114a04605060520026eb0c098c09cc09c008dd6181280098109baa30243021375400e6002604660406ea80088c8cdc19bad3024001375a6048604a00260406ea800454cc07524013c65787065637420536f6d65287929203d20726174696f6e616c2e6e65772870726f70657274795f70726963652c2070726f70657274795f73697a652900163300101301122533301c300b00114c0103d87a80001533301c33710002900009801998109801998109ba8337029000001198109ba8337029000000a5eb812f5c026006660426006660426ea0008cc084dd4000a5eb812f5c06e9520003370466e08cdc119b823370490022401c9018240f0903c241a01e2930a9980ca4811856616c696461746f722072657475726e65642066616c7365001365632533301730060011533301b301a37540042930a9980c00a8b0a99980b98028008a99980d980d1baa002149854cc0600545854cc06005458c060dd5000a99999980e80088008a9980b0098b0a9980b0098b0a9980b0098b0a9980b0098b19299980a18018008a99980c180b9baa004149854cc05404c5854ccc050c0080044c94ccc06400454cc058050584c8c94ccc06c00454cc060058584c94ccc070c07c0085261533019017163253333330200011533019017161533019017161533019017161533019017161375c002603a002603a00464a66666603c0022a6602e02a2c2a6602e02a2c2a6602e02a2c2a6602e02a2c26eb8004c06c004c05cdd50020a9980a8098b180a9baa003370e90011b87480014cccccc060004400454cc04403c5854cc04403c5854cc04403c5854cc04403c58dd70009bae001375a0026eb4004dd68009bae00149011772656465656d65723a2052656564656d657246756e647300490111646174756d3a20446174756d46756e6473005734ae7155ceaab9e5573eae815d0aba257481",
"hash": "65007a88ec4b577e501a079755a84c48470ce9d2cb320a717a21cb3a"
},
{
"title": "property_funds.property_token",
"redeemer": {
"title": "rdmr",
"schema": {
"$ref": "#/definitions/property_funds~1Action"
}
},
"parameters": [
{
"title": "manager",
"schema": {
"$ref": "#/definitions/ByteArray"
}
},
{
"title": "property_size",
"schema": {
"$ref": "#/definitions/Int"
}
},
{
"title": "token_name",
"schema": {
"$ref": "#/definitions/ByteArray"
}
},
{
"title": "utxo_ref",
"schema": {
"$ref": "#/definitions/aiken~1transaction~1OutputReference"
}
}
],
"compiledCode": "5903e50100003232323232323232323232232232232223232322533300f32323253330123006301437540022646464a6660320022a6602c0262c264a666034603a004264646464a666034601c60386ea803c54ccc068c038c070dd519198008008041129998100008a6103d87a800013232533301e3375e600a60426ea80080544cdd2a40006604600497ae0133004004001302400230220011533301a3370e0060282a66603466e3c0100484cc008c004c074dd500600b0a5014a02a6603692016365787065637420536f6d65285f696e70757429203d0a202020202020202020206c6973742e66696e6428696e707574732c20666e28696e70757429207b20696e7075742e6f75747075745f7265666572656e6365203d3d207574786f5f726566207d2900161533301a3370e0060282a66603466e3c0100484cc008c004c074dd500600b0a5014a0460400024464660020026eb0c084c088c088c088c088c088c088c088c088c078dd50019129998100008a50132533301d3371e6eb8c08c00801052889980180180098118009bad301a002375c60300022a6602e0282c6036002664464a66602e66e1d200230193754002297adef6c6013756603a60346ea8004c8cc00400400c894ccc070004530103d87a80001323232533301b3371e00c6eb8c07400c4cdd2a4000660406e980052f5c026600a00a0046eacc074008c080008c078004c8cc004004dd5980d980e180e180e180e00191299980d0008a5eb7bdb1804c8c8c8c94ccc068cdc7a4500002100313301f337606ea4008dd3000998030030019bab301c003375c6034004603c00460380026eb8c068c05cdd50019bac3019001301537540042a66026921236578706563742074782e4d696e7428706f6c6963795f696429203d20707572706f73650016301730180023016001301237540022930a998082491856616c696461746f722072657475726e65642066616c7365001365632533300e300200115333012301137540062930a998078068b0a99980719b874800800454ccc048c044dd50018a4c2a6601e01a2c2a6601e01a2c601e6ea8008dc3a4000a66666602600220022a660180142c2a660180142c2a660180142c2a660180142c6eb8004dd68009bae00149018a657870656374205b2861737365745f6e616d652c20616d6f756e74295d203d0a2020202020206d696e740a20202020202020207c3e2076616c75652e66726f6d5f6d696e7465645f76616c75650a20202020202020207c3e2076616c75652e746f6b656e7328706f6c6963795f6964290a20202020202020207c3e20646963742e746f5f6c69737428290049010c72646d723a20416374696f6e005734ae7155ceaab9e5573eae815d0aba257481",
"hash": "d5eb8345de7350a9ccac3eb9b51e2a0f2b27c6908fbff270a6abc64d"
}
],
"definitions": {
"ByteArray": {
"dataType": "bytes"
},
"Int": {
"dataType": "integer"
},
"aiken/transaction/OutputReference": {
"title": "OutputReference",
"description": "An `OutputReference` is a unique reference to an output on-chain. The `output_index`\n corresponds to the position in the output list of the transaction (identified by its id)\n that produced that output",
"anyOf": [
{
"title": "OutputReference",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "transaction_id",
"$ref": "#/definitions/aiken~1transaction~1TransactionId"
},
{
"title": "output_index",
"$ref": "#/definitions/Int"
}
]
}
]
},
"aiken/transaction/TransactionId": {
"title": "TransactionId",
"description": "A unique transaction identifier, as the hash of a transaction body. Note that the transaction id\n isn't a direct hash of the `Transaction` as visible on-chain. Rather, they correspond to hash\n digests of transaction body as they are serialized on the network.",
"anyOf": [
{
"title": "TransactionId",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "hash",
"$ref": "#/definitions/ByteArray"
}
]
}
]
},
"platform_nft/Action": {
"title": "Action",
"anyOf": [
{
"title": "Mint",
"dataType": "constructor",
"index": 0,
"fields": []
},
{
"title": "Burn",
"dataType": "constructor",
"index": 1,
"fields": []
}
]
},
"property_funds/Action": {
"title": "Action",
"anyOf": [
{
"title": "Mint",
"dataType": "constructor",
"index": 0,
"fields": []
},
{
"title": "Burn",
"dataType": "constructor",
"index": 1,
"fields": []
}
]
},
"property_funds/DatumFunds": {
"title": "DatumFunds",
"anyOf": [
{
"title": "DatumVoid",
"dataType": "constructor",
"index": 0,
"fields": []
},
{
"title": "Investor",
"dataType": "constructor",
"index": 1,
"fields": [
{
"title": "credential",
"$ref": "#/definitions/ByteArray"
},
{
"title": "address",
"$ref": "#/definitions/ByteArray"
}
]
}
]
},
"property_funds/ReedemerFunds": {
"title": "ReedemerFunds",
"anyOf": [
{
"title": "ReleaseTokens",
"dataType": "constructor",
"index": 0,
"fields": []
},
{
"title": "Refund",
"dataType": "constructor",
"index": 1,
"fields": []
}
]
}
}
}