BCD

Tezos Contract Explorer
Search Networks Deploy
  • Home
  • /
  • Mainnet
  • /
  • Tezos Domains TLDRegistrar
operations (757K)Storage Code Interact Tokens Metadata Fork Statistics Details
Latest
​x
329
 
1
parameter (or
2
            (lambda %admin_update
3
              (pair
4
                (pair
5
                  (big_map %actions string
6
                                    (lambda
7
                                      (pair
8
                                        (pair (address %original_sender)
9
                                              (bytes %payload))
10
                                        (pair
11
                                          (pair
12
                                            (pair
13
                                              (pair
14
                                                (big_map %auctions bytes
15
                                                                   (pair
16
                                                                     (pair
17
                                                                       (timestamp %ends_at)
18
                                                                       (mutez %last_bid))
19
                                                                     (pair
20
                                                                       (address %last_bidder)
21
                                                                       (nat %ownership_period))))
22
                                                (big_map %bidder_balances address mutez))
23
                                              (pair
24
                                                (big_map %commitments bytes timestamp)
25
                                                (map %config nat nat)))
26
                                            (pair
27
                                              (pair (big_map %data bytes bytes)
28
                                                    (big_map %metadata string bytes))
29
                                              (pair (address %name_registry)
30
                                                    (address %owner))))
31
                                          (pair
32
                                            (big_map %records bytes
33
                                                              (pair (timestamp %expiry)
34
                                                                    (map %internal_data
35
                                                                      string
36
                                                                      bytes)))
37
                                            (bytes %tld))))
38
                                      (pair (list operation)
39
                                            (pair
40
                                              (pair
41
                                                (pair
42
                                                  (pair
43
                                                    (big_map %auctions bytes
44
                                                                       (pair
45
                                                                         (pair
46
                                                                           (timestamp %ends_at)
47
                                                                           (mutez %last_bid))
48
                                                                         (pair
49
                                                                           (address %last_bidder)
50
                                                                           (nat %ownership_period))))
51
                                                    (big_map %bidder_balances address
52
                                                                              mutez))
53
                                                  (pair
54
                                                    (big_map %commitments bytes
55
                                                                          timestamp)
56
                                                    (map %config nat nat)))
57
                                                (pair
58
                                                  (pair (big_map %data bytes bytes)
59
                                                        (big_map %metadata string bytes))
60
                                                  (pair (address %name_registry)
61
                                                        (address %owner))))
62
                                              (pair
63
                                                (big_map %records bytes
64
                                                                  (pair
65
                                                                    (timestamp %expiry)
66
                                                                    (map %internal_data
67
                                                                      string
68
                                                                      bytes)))
69
                                                (bytes %tld))))))
70
                  (pair %store
71
                    (pair
72
                      (pair
73
                        (pair
74
                          (big_map %auctions bytes
75
                                             (pair
76
                                               (pair (timestamp %ends_at)
77
                                                     (mutez %last_bid))
78
                                               (pair (address %last_bidder)
79
                                                     (nat %ownership_period))))
80
                          (big_map %bidder_balances address mutez))
81
                        (pair (big_map %commitments bytes timestamp)
82
                              (map %config nat nat)))
83
                      (pair
84
                        (pair (big_map %data bytes bytes)
85
                              (big_map %metadata string bytes))
86
                        (pair (address %name_registry) (address %owner))))
87
                    (pair
88
                      (big_map %records bytes
89
                                        (pair (timestamp %expiry)
90
                                              (map %internal_data string bytes)))
91
                      (bytes %tld))))
92
                (set %trusted_senders address))
93
              (pair (list operation)
94
                    (pair
95
                      (pair
96
                        (big_map %actions string
97
                                          (lambda
98
                                            (pair
99
                                              (pair (address %original_sender)
100
                                                    (bytes %payload))
101
                                              (pair
102
                                                (pair
103
                                                  (pair
104
                                                    (pair
105
                                                      (big_map %auctions bytes
106
                                                                         (pair
107
                                                                           (pair
108
                                                                             (timestamp %ends_at)
109
                                                                             (mutez %last_bid))
110
                                                                           (pair
111
                                                                             (address %last_bidder)
112
                                                                             (nat %ownership_period))))
113
                                                      (big_map %bidder_balances address
114
                                                                                mutez))
115
                                                    (pair
116
                                                      (big_map %commitments bytes
117
                                                                            timestamp)
118
                                                      (map %config nat nat)))
119
                                                  (pair
120
                                                    (pair (big_map %data bytes bytes)
121
                                                          (big_map %metadata string
122
                                                                             bytes))
123
                                                    (pair (address %name_registry)
124
                                                          (address %owner))))
125
                                                (pair
126
                                                  (big_map %records bytes
127
                                                                    (pair
128
                                                                      (timestamp %expiry)
129
                                                                      (map %internal_data
130
                                                                        string
131
                                                                        bytes)))
132
                                                  (bytes %tld))))
133
                                            (pair (list operation)
134
                                                  (pair
135
                                                    (pair
136
                                                      (pair
137
                                                        (pair
138
                                                          (big_map %auctions bytes
139
                                                                             (pair
140
                                                                               (pair
141
                                                                                 (timestamp %ends_at)
142
                                                                                 (mutez %last_bid))
143
                                                                               (pair
144
                                                                                 (address %last_bidder)
145
                                                                                 (nat %ownership_period))))
146
                                                          (big_map %bidder_balances
147
                                                            address
148
                                                            mutez))
149
                                                        (pair
150
                                                          (big_map %commitments bytes
151
                                                                                timestamp)
152
                                                          (map %config nat nat)))
153
                                                      (pair
154
                                                        (pair
155
                                                          (big_map %data bytes bytes)
156
                                                          (big_map %metadata string
157
                                                                             bytes))
158
                                                        (pair (address %name_registry)
159
                                                              (address %owner))))
160
                                                    (pair
161
                                                      (big_map %records bytes
162
                                                                        (pair
163
                                                                          (timestamp %expiry)
164
                                                                          (map %internal_data
165
                                                                            string
166
                                                                            bytes)))
167
                                                      (bytes %tld))))))
168
                        (pair %store
169
                          (pair
170
                            (pair
171
                              (pair
172
                                (big_map %auctions bytes
173
                                                   (pair
174
                                                     (pair (timestamp %ends_at)
175
                                                           (mutez %last_bid))
176
                                                     (pair (address %last_bidder)
177
                                                           (nat %ownership_period))))
178
                                (big_map %bidder_balances address mutez))
179
                              (pair (big_map %commitments bytes timestamp)
180
                                    (map %config nat nat)))
181
                            (pair
182
                              (pair (big_map %data bytes bytes)
183
                                    (big_map %metadata string bytes))
184
                              (pair (address %name_registry) (address %owner))))
185
                          (pair
186
                            (big_map %records bytes
187
                                              (pair (timestamp %expiry)
188
                                                    (map %internal_data string bytes)))
189
                            (bytes %tld))))
190
                      (set %trusted_senders address))))
191
            (pair %execute (string %action_name)
192
                           (pair (bytes %payload) (address %original_sender))));
193
storage (pair
194
          (pair
195
            (big_map %actions string
196
                              (lambda
197
                                (pair (pair (address %original_sender) (bytes %payload))
198
                                      (pair
199
                                        (pair
200
                                          (pair
201
                                            (pair
202
                                              (big_map %auctions bytes
203
                                                                 (pair
204
                                                                   (pair
205
                                                                     (timestamp %ends_at)
206
                                                                     (mutez %last_bid))
207
                                                                   (pair
208
                                                                     (address %last_bidder)
209
                                                                     (nat %ownership_period))))
210
                                              (big_map %bidder_balances address mutez))
211
                                            (pair (big_map %commitments bytes timestamp)
212
                                                  (map %config nat nat)))
213
                                          (pair
214
                                            (pair (big_map %data bytes bytes)
215
                                                  (big_map %metadata string bytes))
216
                                            (pair (address %name_registry)
217
                                                  (address %owner))))
218
                                        (pair
219
                                          (big_map %records bytes
220
                                                            (pair (timestamp %expiry)
221
                                                                  (map %internal_data
222
                                                                    string
223
                                                                    bytes)))
224
                                          (bytes %tld))))
225
                                (pair (list operation)
226
                                      (pair
227
                                        (pair
228
                                          (pair
229
                                            (pair
230
                                              (big_map %auctions bytes
231
                                                                 (pair
232
                                                                   (pair
233
                                                                     (timestamp %ends_at)
234
                                                                     (mutez %last_bid))
235
                                                                   (pair
236
                                                                     (address %last_bidder)
237
                                                                     (nat %ownership_period))))
238
                                              (big_map %bidder_balances address mutez))
239
                                            (pair (big_map %commitments bytes timestamp)
240
                                                  (map %config nat nat)))
241
                                          (pair
242
                                            (pair (big_map %data bytes bytes)
243
                                                  (big_map %metadata string bytes))
244
                                            (pair (address %name_registry)
245
                                                  (address %owner))))
246
                                        (pair
247
                                          (big_map %records bytes
248
                                                            (pair (timestamp %expiry)
249
                                                                  (map %internal_data
250
                                                                    string
251
                                                                    bytes)))
252
                                          (bytes %tld))))))
253
            (pair %store
254
              (pair
255
                (pair
256
                  (pair
257
                    (big_map %auctions bytes
258
                                       (pair
259
                                         (pair (timestamp %ends_at) (mutez %last_bid))
260
                                         (pair (address %last_bidder)
261
                                               (nat %ownership_period))))
262
                    (big_map %bidder_balances address mutez))
263
                  (pair (big_map %commitments bytes timestamp) (map %config nat nat)))
264
                (pair
265
                  (pair (big_map %data bytes bytes) (big_map %metadata string bytes))
266
                  (pair (address %name_registry) (address %owner))))
267
              (pair
268
                (big_map %records bytes
269
                                  (pair (timestamp %expiry)
270
                                        (map %internal_data string bytes)))
271
                (bytes %tld))))
272
          (set %trusted_senders address));
273
code { UNPAIR ;
274
       IF_LEFT
275
         { SWAP ;
276
           DUP ;
277
           DUG 2 ;
278
           CAR ;
279
           CDR ;
280
           CAR ;
281
           CDR ;
282
           CDR ;
283
           CDR ;
284
           SENDER ;
285
           COMPARE ;
286
           EQ ;
287
           IF { SWAP ; EXEC } { DROP 2 ; PUSH string "NOT_AUTHORIZED" ; FAILWITH } }
288
         { SWAP ;
289
           DUP ;
290
           DUG 2 ;
291
           CDR ;
292
           SENDER ;
293
           MEM ;
294
           IF {} { PUSH string "NOT_TRUSTED_SENDER" ; FAILWITH } ;
295
           SWAP ;
296
           DUP ;
297
           DUG 2 ;
298
           CAR ;
299
           CAR ;
300
           SWAP ;
301
           DUP ;
302
           DUG 2 ;
303
           CAR ;
304
           GET ;
305
           IF_NONE
306
             { DROP 2 ; PUSH string "UNKNOWN_ACTION" ; FAILWITH }
307
             { DUP 3 ;
308
               CAR ;
309
               CDR ;
310
               DUP 3 ;
311
               CDR ;
312
               CAR ;
313
               DIG 3 ;
314
               CDR ;
315
               CDR ;
316
               PAIR ;
317
               PAIR ;
318
               EXEC ;
319
               UNPAIR ;
320
               DUP 3 ;
321
               CDR ;
322
               DIG 2 ;
323
               DIG 3 ;
324
               CAR ;
325
               CAR ;
326
               PAIR ;
327
               PAIR ;
328
               SWAP ;
329
               PAIR } } }