tx · 6xGLTZue8e9aXVLTqTWDWGotF94RJWK9F4YwWRoB7mms 3MxssetYXJfiGwzo9pqChsSwYj3tCYq5FFH: -0.00500000 Waves 2022.09.25 20:39 [2244975] smart account 3MxssetYXJfiGwzo9pqChsSwYj3tCYq5FFH > SELF 0.00000000 Waves
{ "type": 13, "id": "6xGLTZue8e9aXVLTqTWDWGotF94RJWK9F4YwWRoB7mms", "fee": 500000, "feeAssetId": null, "timestamp": 1664127581360, "version": 2, "chainId": 84, "sender": "3MxssetYXJfiGwzo9pqChsSwYj3tCYq5FFH", "senderPublicKey": "46sMMaC9rMPQdyTE87RpcnevTY9oheuDqzfnuQzoyCtv", "proofs": [ "4T8nxvtwLboxFmJAmnMXY4pjsgViHtgSoLCCF4ZYcuX8vFz6EHoG2e5eM4qYxvWuuytu4xCaYDSpojVBkXsSXhgL" ], "script": "base64:BgIkCAISBwoFAQEBAQESBAoCAQgSBQoDAQgBEgQKAgEYEgQKAgEYCwERZ2V0SW50ZWdlck9yVGhyb3cCB2FkZHJlc3MDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJoIAgUHYWRkcmVzcwUDa2V5CQCsAgIJAKwCAgkArAICAgxDYW4ndCByZWFkICcFA2tleQINJyBhdCBhZGRyZXNzIAkApQgBBQdhZGRyZXNzARNnZXRJbnRlZ2VyT3JEZWZhdWx0AwdhZGRyZXNzA2tleQdkZWZhdWx0CQELdmFsdWVPckVsc2UCCQCaCAIFB2FkZHJlc3MFA2tleQUHZGVmYXVsdAERcGFyc2VJbnRPckRlZmF1bHQCCG1heWJlSW50B2RlZmF1bHQJAQt2YWx1ZU9yRWxzZQIJALYJAQUIbWF5YmVJbnQFB2RlZmF1bHQACGF1Y1N0YXJ0CQERZ2V0SW50ZWdlck9yVGhyb3cCBQR0aGlzAg5pbml0X3RpbWVzdGFtcAALYmlkRHVyYXRpb24JARFnZXRJbnRlZ2VyT3JUaHJvdwIFBHRoaXMCDGJpZF9kdXJhdGlvbgAOcmV2Z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AwMDCQBmAgUJYmlkQW1vdW50BQx0b3BCaWRBbW91bnQJAGcCBQdkZXBvc2l0BQliaWRBbW91bnQHCQAAAgUJYXVjdGlvbklkBQx0b3BBdWN0aW9uSWQHCQDNCAIFCXJldmVhbEJpZAkBC1N0cmluZ0VudHJ5AgUGdG9wS2V5BQlyZXZlYWxLZXkFCXJldmVhbEJpZAMJAGcCBQdkZXBvc2l0BQliaWRBbW91bnQJAM0IAgUJcmV2ZWFsQmlkCQELU3RyaW5nRW50cnkCBQZ0b3BLZXkFCXJldmVhbEtleQUJcmV2ZWFsQmlkA2ludgEIZmluYWxpemUCCWF1Y3Rpb25JZAZoYXNoZXMEB2FkZHJlc3MIBQNpbnYGY2FsbGVyCQENd3JhcEZpbmFsbGl6ZQMFCWF1Y3Rpb25JZAUGaGFzaGVzBQdhZGRyZXNzA2ludgEOZmluYWxpemVPcmlnaW4CCWF1Y3Rpb25JZAZoYXNoZXMEB2FkZHJlc3MIBQNpbnYMb3JpZ2luQ2FsbGVyCQENd3JhcEZpbmFsbGl6ZQMFCWF1Y3Rpb25JZAUGaGFzaGVzBQdhZGRyZXNzAKPHFBc=", "height": 2244975, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C6SMm233V6fiwz69ZX7nbYk3AdVXthZ8cFiMkoQYsgpb Next: D9r9AcdsTGQt4SjWSAktJsqH7D6bQLhy6BeHf534iYUn Diff:
Old | New | Differences | |
---|---|---|---|
45 | 45 | let G = ("reveal_" + E) | |
46 | 46 | let H = getString(this, G) | |
47 | 47 | let I = { | |
48 | - | let J = split(valueOrErrorMessage(H, (("Bid with hash " + D) + " not found")), " | |
48 | + | let J = split(valueOrErrorMessage(H, (("Bid with hash " + D) + " not found")), "_") | |
49 | 49 | $Tuple3(parseIntValue(J[0]), parseIntValue(J[1]), J[2]) | |
50 | 50 | } | |
51 | 51 | let K = I._1 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b,c) = valueOrErrorMessage(getInteger(b, c), ((("Can't read '" + c) + "' at address ") + toString(b))) | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | func d (b,c,e) = valueOrElse(getInteger(b, c), e) | |
8 | 8 | ||
9 | 9 | ||
10 | 10 | func f (g,e) = valueOrElse(parseInt(g), e) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | let h = a(this, "init_timestamp") | |
14 | 14 | ||
15 | 15 | let i = a(this, "bid_duration") | |
16 | 16 | ||
17 | 17 | let j = a(this, "reveal_duration") | |
18 | 18 | ||
19 | 19 | let k = a(this, "error_fee") | |
20 | 20 | ||
21 | 21 | let l = a(this, "minimal_bid") | |
22 | 22 | ||
23 | 23 | func m () = { | |
24 | 24 | let n = (i + j) | |
25 | 25 | let o = ((lastBlock.timestamp - h) / n) | |
26 | 26 | let p = ((o * n) + h) | |
27 | 27 | let q = (lastBlock.timestamp - p) | |
28 | 28 | let r = if ((q > i)) | |
29 | 29 | then "reveal" | |
30 | 30 | else "bid" | |
31 | 31 | $Tuple2(o, r) | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func s (t,u) = toBase58String(blake2b256_16Kb(keccak256_16Kb((toBytes(t) + toBytes(u))))) | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func v (w,x,b) = { | |
39 | 39 | let y = toString(b) | |
40 | 40 | let z = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
41 | 41 | func A (B,C) = { | |
42 | 42 | let D = x[C] | |
43 | 43 | let E = ((((toString(w) + "_") + y) + "_") + D) | |
44 | 44 | let F = ("bid_" + E) | |
45 | 45 | let G = ("reveal_" + E) | |
46 | 46 | let H = getString(this, G) | |
47 | 47 | let I = { | |
48 | - | let J = split(valueOrErrorMessage(H, (("Bid with hash " + D) + " not found")), " | |
48 | + | let J = split(valueOrErrorMessage(H, (("Bid with hash " + D) + " not found")), "_") | |
49 | 49 | $Tuple3(parseIntValue(J[0]), parseIntValue(J[1]), J[2]) | |
50 | 50 | } | |
51 | 51 | let K = I._1 | |
52 | 52 | let L = I._2 | |
53 | 53 | let t = I._3 | |
54 | 54 | let M = ("top_" + t) | |
55 | 55 | let N = valueOrErrorMessage(getString(this, M), "Auction winner has not been determined") | |
56 | 56 | let O = parseIntValue(split(N, "_")[1]) | |
57 | 57 | let P = if (if ((L > K)) | |
58 | 58 | then true | |
59 | 59 | else (O != w)) | |
60 | 60 | then (K - fraction(K, 10, 100)) | |
61 | 61 | else if ((N == G)) | |
62 | 62 | then (K - L) | |
63 | 63 | else K | |
64 | 64 | let Q = [DeleteEntry(G), DeleteEntry(F), ScriptTransfer(b, P, unit)] | |
65 | 65 | (B ++ Q) | |
66 | 66 | } | |
67 | 67 | ||
68 | 68 | let R = z | |
69 | 69 | let S = size(R) | |
70 | 70 | let T = nil | |
71 | 71 | func U (V,W) = if ((W >= S)) | |
72 | 72 | then V | |
73 | 73 | else A(V, R[W]) | |
74 | 74 | ||
75 | 75 | func X (V,W) = if ((W >= S)) | |
76 | 76 | then V | |
77 | 77 | else throw("List size exceeds 10") | |
78 | 78 | ||
79 | 79 | X(U(U(U(U(U(U(U(U(U(U(T, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | @Callable(Y) | |
84 | 84 | func init (Z,i,j,k,l) = if ((this != Y.caller)) | |
85 | 85 | then throw("only self calls are allowed") | |
86 | 86 | else [IntegerEntry("init_timestamp", Z), IntegerEntry("bid_duration", i), IntegerEntry("reveal_duration", j), IntegerEntry("error_fee", k), IntegerEntry("minimal_bid", l)] | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | ||
90 | 90 | @Callable(Y) | |
91 | 91 | func bid (w,D) = { | |
92 | 92 | let b = toString(Y.caller) | |
93 | 93 | let F = ((((("bid_" + toString(w)) + "_") + b) + "_") + D) | |
94 | 94 | let aa = if (if ((size(Y.payments) == 1)) | |
95 | 95 | then (Y.payments[0].assetId == unit) | |
96 | 96 | else false) | |
97 | 97 | then Y.payments[0].amount | |
98 | 98 | else throw("Single payment required") | |
99 | 99 | let ab = m() | |
100 | 100 | let o = ab._1 | |
101 | 101 | let ac = ab._2 | |
102 | 102 | if ((o != w)) | |
103 | 103 | then throw("Auctions is already over") | |
104 | 104 | else if ((ac != "bid")) | |
105 | 105 | then throw("Bid period is over") | |
106 | 106 | else if (isDefined(getInteger(this, F))) | |
107 | 107 | then throw("Bid with exact amount already presented") | |
108 | 108 | else [IntegerEntry(F, aa)] | |
109 | 109 | } | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | ||
113 | 113 | @Callable(Y) | |
114 | 114 | func reveal (w,t,ad) = { | |
115 | 115 | let b = toString(Y.caller) | |
116 | 116 | let D = s(t, ad) | |
117 | 117 | let E = ((((toString(w) + "_") + b) + "_") + D) | |
118 | 118 | let G = ("reveal_" + E) | |
119 | 119 | let M = ("top_" + t) | |
120 | 120 | let K = valueOrErrorMessage(getInteger(this, ("bid_" + E)), ("Bid doesn't exists " + D)) | |
121 | 121 | let ae = m() | |
122 | 122 | let o = ae._1 | |
123 | 123 | let ac = ae._2 | |
124 | 124 | if ((o != w)) | |
125 | 125 | then throw("Auctions is already over") | |
126 | 126 | else if ((ac != "reveal")) | |
127 | 127 | then throw("Reveal period is over") | |
128 | 128 | else if (isDefined(getString(this, G))) | |
129 | 129 | then throw("Bid is already revealed") | |
130 | 130 | else { | |
131 | 131 | let af = [StringEntry(G, ((((toString(K) + ",") + toString(ad)) + ",") + t))] | |
132 | 132 | let ag = getString(this, M) | |
133 | 133 | if (isDefined(ag)) | |
134 | 134 | then { | |
135 | 135 | let ah = value(ag) | |
136 | 136 | let ai = value(getString(this, ah)) | |
137 | 137 | let aj = parseIntValue(split(ai, ",")[1]) | |
138 | 138 | let ak = parseIntValue(split(ah, "_")[1]) | |
139 | 139 | if (if (if ((ad > aj)) | |
140 | 140 | then (K >= ad) | |
141 | 141 | else false) | |
142 | 142 | then (w == ak) | |
143 | 143 | else false) | |
144 | 144 | then (af :+ StringEntry(M, G)) | |
145 | 145 | else af | |
146 | 146 | } | |
147 | 147 | else if ((K >= ad)) | |
148 | 148 | then (af :+ StringEntry(M, G)) | |
149 | 149 | else af | |
150 | 150 | } | |
151 | 151 | } | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | ||
155 | 155 | @Callable(Y) | |
156 | 156 | func finalize (w,x) = { | |
157 | 157 | let b = Y.caller | |
158 | 158 | v(w, x, b) | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | ||
163 | 163 | @Callable(Y) | |
164 | 164 | func finalizeOrigin (w,x) = { | |
165 | 165 | let b = Y.originCaller | |
166 | 166 | v(w, x, b) | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 |
github/deemru/w8io/fabc49c 49.83 ms ◑