tx · Fr43DwGkze5AFahHyYtaCWcvnBp8pPxXkugQrdMyfzov

3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL:  -0.01700000 Waves

2022.11.19 23:29 [2324482] smart account 3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL > SELF 0.00000000 Waves

{ "type": 13, "id": "Fr43DwGkze5AFahHyYtaCWcvnBp8pPxXkugQrdMyfzov", "fee": 1700000, "feeAssetId": null, "timestamp": 1668889762416, "version": 2, "chainId": 84, "sender": "3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL", "senderPublicKey": "BefhVEanzhrtdYfeWquaoSsMZw3BEaEZZB86Kosqw7Qb", "proofs": [ "3aDgfqruCZxMspvbLgSTmdoU9q3z7Nt2Erg3fBsWQeQrPsg19ZyJRMoGLfcuBowZGRQXMzE8hBzzM6ecqkn9Ktd7" ], "script": "base64:AAIFAAAAAAAAACAIAhIDCgEBEgMKAQESCAoGCAgICAgIEgMKAQgSAwoBCAAAABoAAAAABWFkbWluAgAAACw3VHQ3NHI4UjdhdVRCVGQ2ckpNQTRxWXI5V0RXamMyU1VISFNyUk13OUJycwAAAAAOcmVzdWx0Q29udHJhY3QCAAAAIzNOQ25FVU5uSlh6NTdRV0FNWW5aQnUzU3FXNHR4b2cxWGVEAAAAAAxiZXRBbW91bnRLZXkCAAAAEGdsb2JhbF9iZXRBbW91bnQAAAAAC2RlYWRsaW5lS2V5AgAAABFnbG9iYWxfZGVhZGxpbmVfaAAAAAAFc2NhbGUAAAAAAAX14QAAAAAAA2ZlZQAAAAAAAAAA+gAAAAAIZmVlc2NhbGUAAAAAAAAAJxAAAAAACWtleXNHcm91cAkABEwAAAACAgAAAApHcm91cEEtMXN0CQAETAAAAAICAAAACkdyb3VwQS0ybmQJAARMAAAAAgIAAAAKR3JvdXBCLTFzdAkABEwAAAACAgAAAApHcm91cEItMm5kCQAETAAAAAICAAAACkdyb3VwQy0xc3QJAARMAAAAAgIAAAAKR3JvdXBDLTJuZ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EwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAAAgkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAAAwkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAABAkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAABQkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAABgkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAABwkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAACAkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAACQkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAACgkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAACwkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAADAkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAAAADQkABEwAAAACCQEAAAAFY29tYm8AAAACBQAAAAdhZGRyZXNzCQABkQAAAAIFAAAACWtleXNHcm91cAAAAAAAAA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jYWxsZXJBZGRyAgAAABBfUXVhcnRlcjQtd2lubmVyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAKY2FsbGVyQWRkcgIAAAANX1NlbWkxLXdpbm5lcgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIFAAAACmNhbGxlckFkZHICAAAADV9TZW1pMi13aW5uZXIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACBQAAAApjYWxsZXJBZGRyAgAAAA1fRmluYWwtd2lubmVyBQAAAANuaWwJAAACAAAAAQIAAAAKT25seSBhZG1pbgAAAAFpAQAAAAlldmFsU2NvcmUAAAABAAAAB2FkZHJlc3MEAAAACmdyb3VwU2NvcmUJAQAAAApldmFsR3JvdXBzAAAAAQUAAAAHYWRkcmVzcwkAAAIAAAABCQABLAAAAAICAAAABlNjb3JlIAkAAaQAAAABBQAAAApncm91cFNjb3JlAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmlLIBN", "height": 2324482, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CjbR1ETeFWZPC3cQx17YiKhx7zzfFLXSQKqFnFXp15KC Next: FNyk9XQir6TPwvGDa5joU2gYyMawdvwt3fHrq9huZs9b Diff:
OldNewDifferences
8484
8585 func checkHandler (accum,keyStr) = {
8686 let baseKey = split(keyStr, "_")[0]
87- (accum + (if ((tryGetResult(baseKey) == tryGetString(keyStr)))
88- then 1
89- else 0))
87+ let resultR = tryGetResult(baseKey)
88+ if ((resultR == resultR))
89+ then {
90+ let guessR = tryGetString(keyStr)
91+ if ((guessR == guessR))
92+ then throw(((((("basekey: " + baseKey) + ", resultR: ") + resultR) + ", guessR: ") + guessR))
93+ else throw("Strict value is not equal to itself.")
94+ }
95+ else throw("Strict value is not equal to itself.")
9096 }
9197
9298
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let admin = "7Tt74r8R7auTBTd6rJMA4qYr9WDWjc2SUHHSrRMw9Brs"
55
66 let resultContract = "3NCnEUNnJXz57QWAMYnZBu3SqW4txog1XeD"
77
88 let betAmountKey = "global_betAmount"
99
1010 let deadlineKey = "global_deadline_h"
1111
1212 let scale = 100000000
1313
1414 let fee = 250
1515
1616 let feescale = 10000
1717
1818 let keysGroup = ["GroupA-1st", "GroupA-2nd", "GroupB-1st", "GroupB-2nd", "GroupC-1st", "GroupC-2nd", "GroupD-1st", "GroupD-2nd", "GroupE-1st", "GroupE-2nd", "GroupF-1st", "GroupF-2nd", "GroupG-1st", "GroupG-2nd", "GroupH-1st", "GroupH-2nd"]
1919
2020 let keysOcto = ["Octo1-winner", "Octo2-winner", "Octo3-winner", "Octo4-winner", "Octo5-winner", "Octo6-winner", "Octo7-winner", "Octo8-winner"]
2121
2222 let keysQuarter = ["Quarter1-winner", "Quarter2-winner", "Quarter3-winner", "Quarter4-winner"]
2323
2424 let keysSemi = ["Semi1-winner", "Semi2-winner"]
2525
2626 let keysFinal = "Final-winner"
2727
2828 func getAssetString (assetId) = match assetId {
2929 case b: ByteVector =>
3030 toBase58String(b)
3131 case _ =>
3232 "WAVES"
3333 }
3434
3535
3636 func getAssetBytes (assetId) = if ((assetId == "WAVES"))
3737 then unit
3838 else fromBase58String(assetId)
3939
4040
4141 func tryGetInteger (key) = match getInteger(this, key) {
4242 case i: Int =>
4343 i
4444 case _ =>
4545 0
4646 }
4747
4848
4949 func tryGetBoolean (key) = match getBoolean(this, key) {
5050 case b: Boolean =>
5151 b
5252 case _ =>
5353 false
5454 }
5555
5656
5757 func tryGetString (key) = match getString(this, key) {
5858 case s: String =>
5959 s
6060 case _ =>
6161 ""
6262 }
6363
6464
6565 func tryGetResult (key) = match getString(addressFromStringValue(resultContract), key) {
6666 case s: String =>
6767 s
6868 case _ =>
6969 ""
7070 }
7171
7272
7373 func allow (callerPBK) = (toBase58String(callerPBK) == admin)
7474
7575
7676 func isBet (address) = tryGetBoolean((address + "_betted"))
7777
7878
7979 func getBetAmount () = tryGetInteger(betAmountKey)
8080
8181
8282 func getDeadLine () = tryGetInteger(deadlineKey)
8383
8484
8585 func checkHandler (accum,keyStr) = {
8686 let baseKey = split(keyStr, "_")[0]
87- (accum + (if ((tryGetResult(baseKey) == tryGetString(keyStr)))
88- then 1
89- else 0))
87+ let resultR = tryGetResult(baseKey)
88+ if ((resultR == resultR))
89+ then {
90+ let guessR = tryGetString(keyStr)
91+ if ((guessR == guessR))
92+ then throw(((((("basekey: " + baseKey) + ", resultR: ") + resultR) + ", guessR: ") + guessR))
93+ else throw("Strict value is not equal to itself.")
94+ }
95+ else throw("Strict value is not equal to itself.")
9096 }
9197
9298
9399 func combo (address,key) = ((address + "_") + key)
94100
95101
96102 func groupsAddressKeys (address) = [combo(address, keysGroup[0]), combo(address, keysGroup[1]), combo(address, keysGroup[2]), combo(address, keysGroup[3]), combo(address, keysGroup[4]), combo(address, keysGroup[5]), combo(address, keysGroup[6]), combo(address, keysGroup[7]), combo(address, keysGroup[8]), combo(address, keysGroup[9]), combo(address, keysGroup[10]), combo(address, keysGroup[11]), combo(address, keysGroup[12]), combo(address, keysGroup[13]), combo(address, keysGroup[14]), combo(address, keysGroup[15])]
97103
98104
99105 func evalGroups (address) = {
100106 let groupAddrKeys = groupsAddressKeys(address)
101107 let $l = groupAddrKeys
102108 let $s = size($l)
103109 let $acc0 = 0
104110 func $f0_1 ($a,$i) = if (($i >= $s))
105111 then $a
106112 else checkHandler($a, $l[$i])
107113
108114 func $f0_2 ($a,$i) = if (($i >= $s))
109115 then $a
110116 else throw("List size exceeds 16")
111117
112118 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16)
113119 }
114120
115121
116122 @Callable(i)
117123 func setBetAmount (amount) = if (allow(i.callerPublicKey))
118124 then [IntegerEntry(betAmountKey, amount)]
119125 else throw("Only admin")
120126
121127
122128
123129 @Callable(i)
124130 func setDeadLine (deadlineHeight) = if (allow(i.callerPublicKey))
125131 then [IntegerEntry(deadlineKey, deadlineHeight)]
126132 else throw("Only admin")
127133
128134
129135
130136 @Callable(i)
131137 func makeBet (group_winners,group_second,octo_winners,quarter_winners,semi_winners,winner) = {
132138 let pmt = i.payments[0]
133139 let pmt_asset = pmt.assetId
134140 let pmt_amount = value(pmt.amount)
135141 let callerAddr = toString(i.caller)
136142 let betted = isBet(callerAddr)
137143 let deadline = getDeadLine()
138144 if ((deadline > height))
139145 then if (!(betted))
140146 then if ((getAssetString(pmt_asset) == "WAVES"))
141147 then {
142148 let betAmount = getBetAmount()
143149 if ((betAmount != 0))
144150 then if ((pmt_amount == betAmount))
145151 then {
146152 let groupWinners = split(group_winners, "_")
147153 let groupSecond = split(group_second, "_")
148154 let octoWinners = split(octo_winners, "_")
149155 let quarterWinners = split(quarter_winners, "_")
150156 let semiWinners = split(semi_winners, "_")
151157 if (if (if (if (if ((size(groupWinners) == 8))
152158 then (size(groupSecond) == 8)
153159 else false)
154160 then (size(octoWinners) == 8)
155161 else false)
156162 then (size(quarterWinners) == 4)
157163 else false)
158164 then (size(semiWinners) == 2)
159165 else false)
160166 then [BooleanEntry((callerAddr + "_betted"), true), IntegerEntry((callerAddr + "_height"), height), IntegerEntry((callerAddr + "_betAmount"), pmt_amount), StringEntry((callerAddr + "_GroupA-1st"), groupWinners[0]), StringEntry((callerAddr + "_GroupA-2nd"), groupSecond[0]), StringEntry((callerAddr + "_GroupB-1st"), groupWinners[1]), StringEntry((callerAddr + "_GroupB-2nd"), groupSecond[1]), StringEntry((callerAddr + "_GroupC-1st"), groupWinners[2]), StringEntry((callerAddr + "_GroupC-2nd"), groupSecond[2]), StringEntry((callerAddr + "_GroupD-1st"), groupWinners[3]), StringEntry((callerAddr + "_GroupD-2nd"), groupSecond[3]), StringEntry((callerAddr + "_GroupE-1st"), groupWinners[4]), StringEntry((callerAddr + "_GroupE-2nd"), groupSecond[4]), StringEntry((callerAddr + "_GroupF-1st"), groupWinners[5]), StringEntry((callerAddr + "_GroupF-2nd"), groupSecond[5]), StringEntry((callerAddr + "_GroupG-1st"), groupWinners[6]), StringEntry((callerAddr + "_GroupG-2nd"), groupSecond[6]), StringEntry((callerAddr + "_GroupH-1st"), groupWinners[7]), StringEntry((callerAddr + "_GroupH-2nd"), groupSecond[7]), StringEntry((callerAddr + "_Octo1-winner"), octoWinners[0]), StringEntry((callerAddr + "_Octo2-winner"), octoWinners[1]), StringEntry((callerAddr + "_Octo3-winner"), octoWinners[2]), StringEntry((callerAddr + "_Octo4-winner"), octoWinners[3]), StringEntry((callerAddr + "_Octo5-winner"), octoWinners[4]), StringEntry((callerAddr + "_Octo6-winner"), octoWinners[5]), StringEntry((callerAddr + "_Octo7-winner"), octoWinners[6]), StringEntry((callerAddr + "_Octo8-winner"), octoWinners[7]), StringEntry((callerAddr + "_Quarter1-winner"), quarterWinners[0]), StringEntry((callerAddr + "_Quarter2-winner"), quarterWinners[1]), StringEntry((callerAddr + "_Quarter3-winner"), quarterWinners[2]), StringEntry((callerAddr + "_Quarter4-winner"), quarterWinners[3]), StringEntry((callerAddr + "_Semi1-winner"), semiWinners[0]), StringEntry((callerAddr + "_Semi2-winner"), semiWinners[1]), StringEntry((callerAddr + "_Final-winner"), winner)]
161167 else throw("Incorrect data arrived in arguments")
162168 }
163169 else throw((("Attach exactly " + toString(betAmount)) + " /100000000 Waves as payment"))
164170 else throw("Zero betAmount from contract storage")
165171 }
166172 else throw("Only Waves is allowed as payment asset to bet")
167173 else throw("Bet already made")
168174 else throw("Betting closed")
169175 }
170176
171177
172178
173179 @Callable(i)
174180 func deleteAddress (address) = {
175181 let callerAddr = address
176182 if (allow(i.callerPublicKey))
177183 then [DeleteEntry((callerAddr + "_betted")), DeleteEntry((callerAddr + "_height")), DeleteEntry((callerAddr + "_betAmount")), DeleteEntry((callerAddr + "_GroupA-1st")), DeleteEntry((callerAddr + "_GroupA-2nd")), DeleteEntry((callerAddr + "_GroupB-1st")), DeleteEntry((callerAddr + "_GroupB-2nd")), DeleteEntry((callerAddr + "_GroupC-1st")), DeleteEntry((callerAddr + "_GroupC-2nd")), DeleteEntry((callerAddr + "_GroupD-1st")), DeleteEntry((callerAddr + "_GroupD-2nd")), DeleteEntry((callerAddr + "_GroupE-1st")), DeleteEntry((callerAddr + "_GroupE-2nd")), DeleteEntry((callerAddr + "_GroupF-1st")), DeleteEntry((callerAddr + "_GroupF-2nd")), DeleteEntry((callerAddr + "_GroupG-1st")), DeleteEntry((callerAddr + "_GroupG-2nd")), DeleteEntry((callerAddr + "_GroupH-1st")), DeleteEntry((callerAddr + "_GroupH-2nd")), DeleteEntry((callerAddr + "_Octo1-winner")), DeleteEntry((callerAddr + "_Octo2-winner")), DeleteEntry((callerAddr + "_Octo3-winner")), DeleteEntry((callerAddr + "_Octo4-winner")), DeleteEntry((callerAddr + "_Octo5-winner")), DeleteEntry((callerAddr + "_Octo6-winner")), DeleteEntry((callerAddr + "_Octo7-winner")), DeleteEntry((callerAddr + "_Octo8-winner")), DeleteEntry((callerAddr + "_Quarter1-winner")), DeleteEntry((callerAddr + "_Quarter2-winner")), DeleteEntry((callerAddr + "_Quarter3-winner")), DeleteEntry((callerAddr + "_Quarter4-winner")), DeleteEntry((callerAddr + "_Semi1-winner")), DeleteEntry((callerAddr + "_Semi2-winner")), DeleteEntry((callerAddr + "_Final-winner"))]
178184 else throw("Only admin")
179185 }
180186
181187
182188
183189 @Callable(i)
184190 func evalScore (address) = {
185191 let groupScore = evalGroups(address)
186192 throw(("Score " + toString(groupScore)))
187193 }
188194
189195
190196 @Verifier(tx)
191197 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
192198

github/deemru/w8io/169f3d6 
39.41 ms