tx · GeNUxjtsQhNkTmnE8gUtBhrgQnzAF5Z23VJm6G2tQY9t

3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL:  -0.01000000 Waves

2022.11.14 14:16 [2316732] smart account 3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL > SELF 0.00000000 Waves

{ "type": 13, "id": "GeNUxjtsQhNkTmnE8gUtBhrgQnzAF5Z23VJm6G2tQY9t", "fee": 1000000, "feeAssetId": null, "timestamp": 1668424600333, "version": 2, "chainId": 84, "sender": "3N9QhjBmyFRrGW5d8VQojB4wZhHmQhuvVrL", "senderPublicKey": "BefhVEanzhrtdYfeWquaoSsMZw3BEaEZZB86Kosqw7Qb", "proofs": [ "8X1rcRUNm4hMcBwfYoFvVvStddhnhadSHrZXK18XMti9HQjUwatYKza8Jfw13VhXTnvFuitSd8QVqGfsiGyY1sv" ], "script": "base64:AAIFAAAAAAAAABYIAhIDCgEBEgMKAQESCAoGCAgICAgIAAAADQAAAAAFYWRtaW4CAAAAAAAAAAAOcmVzdWx0Q29udHJhY3QCAAAAAAAAAAAMYmV0QW1vdW50S2V5AgAAABBnbG9iYWxfYmV0QW1vdW50AAAAAAtkZWFkbGluZUtleQIAAAARZ2xvYmFsX2RlYWRsaW5lX2gAAAAABXNjYWxlAAAAAAAF9eEAAQAAAA5nZXRBc3NldFN0cmluZwAAAAEAAAAHYXNzZXRJZAQAAAAHJG1hdGNoMAUAAAAHYXNzZXRJZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAABYgUAAAAHJG1hdGNoMAkAAlgAAAABBQAAAAFiAgAAAAVXQVZFUwEAAAANZ2V0QXNzZXRCeXRlcwAAAAEAAAAHYXNzZXRJZAMJAAAAAAAAAgUAAAAHYXNzZXRJZAIAAAAFV0FWRVMFAAAABHVuaXQJAAJZAAAAAQUAAAAHYXNzZXRJZAEAAAANdHJ5R2V0SW50ZWdlcgAAAAEAAAADa2V5BAAAAAckbWF0Y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AAACmNhbGxlckFkZHICAAAAEF9RdWFydGVyNC13aW5uZXIJAAGRAAAAAgUAAAAOcXVhcnRlcldpbm5lcnMAAAAAAAAAAAMJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACBQAAAApjYWxsZXJBZGRyAgAAAA1fU2VtaTEtd2lubmVyCQABkQAAAAIFAAAAC3NlbWlXaW5uZXJzAAAAAAAAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAAKY2FsbGVyQWRkcgIAAAANX1NlbWkyLXdpbm5lcgkAAZEAAAACBQAAAAtzZW1pV2lubmVycwAAAAAAAAAAAQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAACmNhbGxlckFkZHICAAAADEZpbmFsLXdpbm5lcgUAAAAGd2lubmVyBQAAAANuaWwJAAACAAAAAQIAAAAjSW5jb3JyZWN0IGRhdGEgYXJyaXZlZCBpbiBhcmd1bWVudHMJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAD0F0dGFjaCBleGFjdGx5IAkAAaQAAAABBQAAAAliZXRBbW91bnQCAAAAESBXYXZlcyBhcyBwYXltZW50CQAAAgAAAAECAAAAJFplcm8gYmV0QW1vdW50IGZyb20gY29udHJhY3Qgc3RvcmFnZQkAAAIAAAABAgAAAC1Pbmx5IFdhdmVzIGlzIGFsbG93ZWQgYXMgcGF5bWVudCBhc3NldCB0byBiZXQJAAACAAAAAQIAAAAQQmV0IGFscmVhZHkgbWFkZQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V551UFcg==", "height": 2316732, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AB2ajM9gJcw6PSCN1SptRGettcFW6SqbLPdfm2nmFAZ4 Next: C2uUEFgyxQazoPp1iwJYPiqPsCdwLQNDF27Wc6WJ4Yro Diff:
OldNewDifferences
7878 let pmt_amount = value(pmt.amount)
7979 let callerAddr = toString(i.caller)
8080 let betted = isBet(callerAddr)
81- if (betted)
81+ if (!(betted))
8282 then if ((getAssetString(pmt_asset) == "WAVES"))
8383 then {
8484 let betAmount = getBetAmount()
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let admin = ""
55
66 let resultContract = ""
77
88 let betAmountKey = "global_betAmount"
99
1010 let deadlineKey = "global_deadline_h"
1111
1212 let scale = 100000000
1313
1414 func getAssetString (assetId) = match assetId {
1515 case b: ByteVector =>
1616 toBase58String(b)
1717 case _ =>
1818 "WAVES"
1919 }
2020
2121
2222 func getAssetBytes (assetId) = if ((assetId == "WAVES"))
2323 then unit
2424 else fromBase58String(assetId)
2525
2626
2727 func tryGetInteger (key) = match getInteger(this, key) {
2828 case i: Int =>
2929 i
3030 case _ =>
3131 0
3232 }
3333
3434
3535 func tryGetBoolean (key) = match getBoolean(this, key) {
3636 case b: Boolean =>
3737 b
3838 case _ =>
3939 false
4040 }
4141
4242
4343 func tryGetString (key) = match getString(this, key) {
4444 case s: String =>
4545 s
4646 case _ =>
4747 ""
4848 }
4949
5050
5151 func allow (callerPBK) = (toBase58String(callerPBK) == admin)
5252
5353
5454 func isBet (address) = tryGetBoolean((address + "_betted"))
5555
5656
5757 func getBetAmount () = tryGetInteger(betAmountKey)
5858
5959
6060 @Callable(i)
6161 func setBetAmount (amount) = if (allow(i.callerPublicKey))
6262 then [IntegerEntry(betAmountKey, amount)]
6363 else throw("Only admin")
6464
6565
6666
6767 @Callable(i)
6868 func setDeadLine (deadlineHeight) = if (allow(i.callerPublicKey))
6969 then [IntegerEntry(deadlineKey, deadlineHeight)]
7070 else throw("Only admin")
7171
7272
7373
7474 @Callable(i)
7575 func makeBet (group_winners,group_second,octo_winners,quarter_winners,semi_winners,winner) = {
7676 let pmt = i.payments[0]
7777 let pmt_asset = value(pmt.assetId)
7878 let pmt_amount = value(pmt.amount)
7979 let callerAddr = toString(i.caller)
8080 let betted = isBet(callerAddr)
81- if (betted)
81+ if (!(betted))
8282 then if ((getAssetString(pmt_asset) == "WAVES"))
8383 then {
8484 let betAmount = getBetAmount()
8585 if ((betAmount != 0))
8686 then if ((pmt_amount == (betAmount * scale)))
8787 then {
8888 let groupWinners = split(group_winners, "_")
8989 let groupSecond = split(group_second, "_")
9090 let octoWinners = split(octo_winners, "_")
9191 let quarterWinners = split(quarter_winners, "_")
9292 let semiWinners = split(semi_winners, "_")
9393 if (if (if (if (if ((size(groupWinners) == 8))
9494 then (size(groupSecond) == 8)
9595 else false)
9696 then (size(octoWinners) == 8)
9797 else false)
9898 then (size(quarterWinners) == 4)
9999 else false)
100100 then (size(semiWinners) == 2)
101101 else false)
102102 then [BooleanEntry((callerAddr + "_betted"), true), IntegerEntry((callerAddr + "_height"), height), StringEntry((callerAddr + "_GroupA-1st"), groupWinners[0]), StringEntry((callerAddr + "_GroupA-2nd"), groupSecond[0]), StringEntry((callerAddr + "_GroupB-1st"), groupWinners[1]), StringEntry((callerAddr + "_GroupB-2nd"), groupWinners[1]), StringEntry((callerAddr + "_GroupC-1st"), groupWinners[2]), StringEntry((callerAddr + "_GroupC-2nd"), groupSecond[2]), StringEntry((callerAddr + "_GroupD-1st"), groupWinners[3]), StringEntry((callerAddr + "_GroupD-2nd"), groupWinners[3]), StringEntry((callerAddr + "_GroupE-1st"), groupWinners[4]), StringEntry((callerAddr + "_GroupE-2nd"), groupSecond[4]), StringEntry((callerAddr + "_GroupF-1st"), groupWinners[5]), StringEntry((callerAddr + "_GroupF-2nd"), groupWinners[5]), StringEntry((callerAddr + "_GroupG-1st"), groupWinners[6]), StringEntry((callerAddr + "_GroupG-2nd"), groupSecond[6]), StringEntry((callerAddr + "_GroupH-1st"), groupWinners[7]), StringEntry((callerAddr + "_GroupH-2nd"), groupWinners[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)]
103103 else throw("Incorrect data arrived in arguments")
104104 }
105105 else throw((("Attach exactly " + toString(betAmount)) + " Waves as payment"))
106106 else throw("Zero betAmount from contract storage")
107107 }
108108 else throw("Only Waves is allowed as payment asset to bet")
109109 else throw("Bet already made")
110110 }
111111
112112
113113 @Verifier(tx)
114114 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
115115

github/deemru/w8io/169f3d6 
53.60 ms