tx · 8vpcDNTSJ1Knd4xSTmGJZ6MM2QYPKR9fckBCdFLDQ2QS 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq: -0.01000000 Waves 2023.09.10 00:58 [2748427] smart account 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq > SELF 0.00000000 Waves
{ "type": 13, "id": "8vpcDNTSJ1Knd4xSTmGJZ6MM2QYPKR9fckBCdFLDQ2QS", "fee": 1000000, "feeAssetId": null, "timestamp": 1694296765627, "version": 2, "chainId": 84, "sender": "3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq", "senderPublicKey": "ERewvWFUFQfR1eCnipNAv9n7SdQhof2ESP6PGVjTueLd", "proofs": [ "idvcPjzfb8bUaNLMV6fiBeTAstXXrQtgCbBbymbE6foXqrCwCKpmKxyUbigF25H34RY1bLaQwHkyqNqkiLnDEV9" ], "script": "base64:BgILCAISABIAEgMKAQEHAAZ1c2RuSWQBIA/yHBKs5MQ8muxGGqslqLDsugcrRsxtiHLwteKSSQG0AA53YXZlczJMVG9rZW5JZAEg5M0p6rvBF5U2UTZL5Gl9iE5RU627hhSF/AmO2XdvzrEADHB1enpsZUxlbmRTQwIjM04zRG5WZmZuVXladHoyTVJiazVVN2dpTjExMldlbXBNTmQAEGZha2VQdXp6bGVTd2FwU0MCIzNNczhmcWJYTTRSaG1NNkNQVHI0NGhVd0hlMkNDbVZDZlZBAA51c2RuQWRkcmVzc1N0cgIsMjVGRXFFalJrcUs2eUNraVQ3THo2U0FZejdnVUZDdHhmQ0NobnJWRkQ1QVQAD3dhdmVzMkxUb2tlblN0cgIsR1E5UU5WTEdmWVNiTlo0ZFM4TlJ5dkdHRUxaTDRzV1BLaVZqODhDVjFySkwBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAADAWkBCW1pbnRMb25nMgADAwkBAiE9AgkAkAMBCAU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ZSByZXN1bHQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5s44gdg==", "height": 2748427, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7Scjj8pQjSxXvQdEBNUJ3YLEruhis6iwojS7CcjT1zZj Next: GC2UTxyZ58WtV3PKWLFsN1XKyy4yScrHKEigC87qPdL9 Diff:
Old | New | Differences | |
---|---|---|---|
109 | 109 | let p = invoke(addressFromStringValue(c), "supply", nil, [AttachedPayment(unit, o)]) | |
110 | 110 | if ((p == p)) | |
111 | 111 | then { | |
112 | - | let q = [70000, 49000 | |
112 | + | let q = [70000, 49000] | |
113 | 113 | func r (s,t) = { | |
114 | 114 | let u = invoke(addressFromStringValue(c), "borrow", [e, ((l * s) / 100000)], nil) | |
115 | 115 | if ((u == u)) | |
132 | 132 | ||
133 | 133 | func G (E,F) = if ((F >= B)) | |
134 | 134 | then E | |
135 | - | else throw("List size exceeds | |
135 | + | else throw("List size exceeds 2") | |
136 | 136 | ||
137 | - | G(D(D( | |
137 | + | G(D(D(C, 0), 1), 2) | |
138 | 138 | } | |
139 | 139 | [IntegerEntry("res", z), IntegerEntry("firstSwappedAmountValue", o)] | |
140 | 140 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
5 | 5 | ||
6 | 6 | let b = base58'GQ9QNVLGfYSbNZ4dS8NRyvGGELZL4sWPKiVj88CV1rJL' | |
7 | 7 | ||
8 | 8 | let c = "3N3DnVffnUyZtz2MRbk5U7giN112WempMNd" | |
9 | 9 | ||
10 | 10 | let d = "3Ms8fqbXM4RhmM6CPTr44hUwHe2CCmVCfVA" | |
11 | 11 | ||
12 | 12 | let e = "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" | |
13 | 13 | ||
14 | 14 | let f = "GQ9QNVLGfYSbNZ4dS8NRyvGGELZL4sWPKiVj88CV1rJL" | |
15 | 15 | ||
16 | 16 | func g (h) = { | |
17 | 17 | let i = getInteger(this, h) | |
18 | 18 | if ($isInstanceOf(i, "Int")) | |
19 | 19 | then { | |
20 | 20 | let j = i | |
21 | 21 | j | |
22 | 22 | } | |
23 | 23 | else 0 | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | @Callable(k) | |
28 | 28 | func mintLong2 () = if (if ((size(k.payments) != 1)) | |
29 | 29 | then true | |
30 | 30 | else (k.payments[0].amount == 0)) | |
31 | 31 | then throw("1 payment has to be attached mint") | |
32 | 32 | else { | |
33 | 33 | let l = k.payments[0].amount | |
34 | 34 | let m = toString(k.caller) | |
35 | 35 | let n = invoke(addressFromStringValue(d), "swapToWaves", [toString(k.caller), l], nil) | |
36 | 36 | if ((n == n)) | |
37 | 37 | then { | |
38 | 38 | let i = n | |
39 | 39 | if ($isInstanceOf(i, "Int")) | |
40 | 40 | then { | |
41 | 41 | let o = i | |
42 | 42 | let p = invoke(addressFromStringValue(c), "supply", nil, [AttachedPayment(unit, o)]) | |
43 | 43 | if ((p == p)) | |
44 | 44 | then { | |
45 | 45 | let q = [70000, 49000, 34300, 24010, 16807] | |
46 | 46 | func r (s,t) = { | |
47 | 47 | let u = invoke(addressFromStringValue(c), "borrow", [e, ((l * s) / 100000)], nil) | |
48 | 48 | if ((u == u)) | |
49 | 49 | then { | |
50 | 50 | let v = invoke(addressFromStringValue(d), "swapToWaves", [toString(k.caller), ((o * s) / 100000)], nil) | |
51 | 51 | if ((v == v)) | |
52 | 52 | then { | |
53 | 53 | let w = v | |
54 | 54 | if ($isInstanceOf(w, "Int")) | |
55 | 55 | then { | |
56 | 56 | let x = w | |
57 | 57 | let y = invoke(addressFromStringValue(c), "supply", nil, [AttachedPayment(unit, x)]) | |
58 | 58 | if ((y == y)) | |
59 | 59 | then (((o * s) / 100000) + ((o * t) / 100000)) | |
60 | 60 | else throw("Strict value is not equal to itself.") | |
61 | 61 | } | |
62 | 62 | else throw("Incorrect invoke result") | |
63 | 63 | } | |
64 | 64 | else throw("Strict value is not equal to itself.") | |
65 | 65 | } | |
66 | 66 | else throw("Strict value is not equal to itself.") | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | let z = { | |
70 | 70 | let A = q | |
71 | 71 | let B = size(A) | |
72 | 72 | let C = 0 | |
73 | 73 | func D (E,F) = if ((F >= B)) | |
74 | 74 | then E | |
75 | 75 | else r(E, A[F]) | |
76 | 76 | ||
77 | 77 | func G (E,F) = if ((F >= B)) | |
78 | 78 | then E | |
79 | 79 | else throw("List size exceeds 5") | |
80 | 80 | ||
81 | 81 | G(D(D(D(D(D(C, 0), 1), 2), 3), 4), 5) | |
82 | 82 | } | |
83 | 83 | [ScriptTransfer(k.caller, z, b)] | |
84 | 84 | } | |
85 | 85 | else throw("Strict value is not equal to itself.") | |
86 | 86 | } | |
87 | 87 | else throw("Incorrect invoke result") | |
88 | 88 | } | |
89 | 89 | else throw("Strict value is not equal to itself.") | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | ||
94 | 94 | @Callable(k) | |
95 | 95 | func mintLong2_test () = if (if ((size(k.payments) != 1)) | |
96 | 96 | then true | |
97 | 97 | else (k.payments[0].amount == 0)) | |
98 | 98 | then throw("1 payment has to be attached mint") | |
99 | 99 | else { | |
100 | 100 | let l = k.payments[0].amount | |
101 | 101 | let m = toString(k.caller) | |
102 | 102 | let n = invoke(addressFromStringValue(d), "swapToWaves", [toString(k.caller), l], nil) | |
103 | 103 | if ((n == n)) | |
104 | 104 | then { | |
105 | 105 | let i = n | |
106 | 106 | if ($isInstanceOf(i, "Int")) | |
107 | 107 | then { | |
108 | 108 | let o = i | |
109 | 109 | let p = invoke(addressFromStringValue(c), "supply", nil, [AttachedPayment(unit, o)]) | |
110 | 110 | if ((p == p)) | |
111 | 111 | then { | |
112 | - | let q = [70000, 49000 | |
112 | + | let q = [70000, 49000] | |
113 | 113 | func r (s,t) = { | |
114 | 114 | let u = invoke(addressFromStringValue(c), "borrow", [e, ((l * s) / 100000)], nil) | |
115 | 115 | if ((u == u)) | |
116 | 116 | then { | |
117 | 117 | let v = invoke(addressFromStringValue(d), "swapToWaves", [toString(k.caller), ((o * s) / 100000)], nil) | |
118 | 118 | if ((v == v)) | |
119 | 119 | then (s + t) | |
120 | 120 | else throw("Strict value is not equal to itself.") | |
121 | 121 | } | |
122 | 122 | else throw("Strict value is not equal to itself.") | |
123 | 123 | } | |
124 | 124 | ||
125 | 125 | let z = { | |
126 | 126 | let A = q | |
127 | 127 | let B = size(A) | |
128 | 128 | let C = 0 | |
129 | 129 | func D (E,F) = if ((F >= B)) | |
130 | 130 | then E | |
131 | 131 | else r(E, A[F]) | |
132 | 132 | ||
133 | 133 | func G (E,F) = if ((F >= B)) | |
134 | 134 | then E | |
135 | - | else throw("List size exceeds | |
135 | + | else throw("List size exceeds 2") | |
136 | 136 | ||
137 | - | G(D(D( | |
137 | + | G(D(D(C, 0), 1), 2) | |
138 | 138 | } | |
139 | 139 | [IntegerEntry("res", z), IntegerEntry("firstSwappedAmountValue", o)] | |
140 | 140 | } | |
141 | 141 | else throw("Strict value is not equal to itself.") | |
142 | 142 | } | |
143 | 143 | else throw("Incorrect invoke result") | |
144 | 144 | } | |
145 | 145 | else throw("Strict value is not equal to itself.") | |
146 | 146 | } | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | ||
150 | 150 | @Callable(k) | |
151 | 151 | func redeem (H) = { | |
152 | 152 | let I = toString(k.caller) | |
153 | 153 | let J = invoke(addressFromStringValue(d), "swapToUSDN", [H, I], nil) | |
154 | 154 | if ((J == J)) | |
155 | 155 | then { | |
156 | 156 | let i = J | |
157 | 157 | if ($isInstanceOf(i, "Int")) | |
158 | 158 | then { | |
159 | 159 | let K = i | |
160 | 160 | [IntegerEntry((I + "_redeemed"), K)] | |
161 | 161 | } | |
162 | 162 | else throw("Incorrect invoke result") | |
163 | 163 | } | |
164 | 164 | else throw("Strict value is not equal to itself.") | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | @Verifier(L) | |
169 | 169 | func M () = sigVerify(L.bodyBytes, L.proofs[0], L.senderPublicKey) | |
170 | 170 |
github/deemru/w8io/169f3d6 73.93 ms ◑