tx · CanoEWnUqrstSE5QjCQSnGnRg7eLXxxMNN5ARRLDR26R 3NCFV4YSBFCEBXDYHwCuh6X5SqMeQXFgEaf: -0.01500000 Waves 2021.06.04 04:29 [1554968] smart account 3NCFV4YSBFCEBXDYHwCuh6X5SqMeQXFgEaf > SELF 0.00000000 Waves
{ "type": 13, "id": "CanoEWnUqrstSE5QjCQSnGnRg7eLXxxMNN5ARRLDR26R", "fee": 1500000, "feeAssetId": null, "timestamp": 1622770242064, "version": 2, "chainId": 84, "sender": "3NCFV4YSBFCEBXDYHwCuh6X5SqMeQXFgEaf", "senderPublicKey": "6zkdpCUGZybpbh7mrJvMphWq6fUvbGoyxafdsQjtwsWA", "proofs": [ "y1CPN9A62xNrzApdPe87SL9PcBBzRouebURgU1T3tAyR9b6D3PU45FGCD71y2gNz5csqAZF65G4kFY5cNKKddPw" ], "script": "base64:AAIEAAAAAAAAABAIAhIFCgMIAQESBQoDAQEIAAAADwAAAAAJR0FNRVNUQVJUAAAAAAAAAAAAAAAAAA5HQU1FSU5QUk9HUkVTUwAAAAAAAAAAAQAAAAAMR0FNRUZJTklTSEVEAAAAAAAAAAACAAAAABZCTE9DS1RPUFJPQ0VTU0ZPUlRIUk9XAAAAAAAAAAABAAAAAAtQQVNTTElORUJFVAIAAAALUEFTU0xJTkVCRVQAAAAAD0RPTlRQQVNTTElORUJFVAIAAAAPRE9OVFBBU1NMSU5FQkVUAAAAAAdDT01FQkVUAgAAAAdDT01FQkVUAAAAAAtET05UQ09NRUJFVAIAAAALRE9OVENPTUVCRVQAAAAACEZJRUxEQkVUAgAAAAhGSUVMREJFVAAAAAAHT0REU0JFVAIAAAAHT0REU0JFVAAAAAAKQklHNk9SOEJFVAIAAAAKQklHNk9SOEJFVAAAAAALUExBQ0VCRVRCVVkCAAAAC1BMQUNFQkVUQlVZAAAAAAxQTEFDRUJFVExPU0UCAAAADFBMQUNFQkVUTE9TRQAAAAALUExBQ0VCRVRMQVkCAAAAC1BMQUNFQkVUTEFZA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kAAGgAAAACBQAAAAZhbW91bnQAAAAAAAAAAAAFAAAAA25pbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFcHJpY2UJAABoAAAAAgUAAAAGYW1vdW50AAAAAAAAAAAABQAAAANuaWwJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABXByaWNlCQAAaAAAAAIFAAAABmFtb3VudAAAAAAAAAAAAAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5aspdvw==", "height": 1554968, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EPUSCA6L3xNQWw3T8vax7pADhsCxAHpowuMtXTVneZkE Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 0 | |
5 | 5 | ||
6 | 6 | let b = 1 | |
7 | 7 | ||
8 | 8 | let c = 2 | |
9 | 9 | ||
10 | 10 | let d = 1 | |
11 | 11 | ||
12 | 12 | let e = "PASSLINEBET" | |
13 | 13 | ||
14 | 14 | let f = "DONTPASSLINEBET" | |
15 | 15 | ||
16 | 16 | let g = "COMEBET" | |
17 | 17 | ||
18 | 18 | let h = "DONTCOMEBET" | |
19 | 19 | ||
20 | 20 | let i = "FIELDBET" | |
21 | 21 | ||
22 | 22 | let j = "ODDSBET" | |
23 | 23 | ||
24 | 24 | let k = "BIG6OR8BET" | |
25 | 25 | ||
26 | 26 | let l = "PLACEBETBUY" | |
27 | 27 | ||
28 | 28 | let m = "PLACEBETLOSE" | |
29 | 29 | ||
30 | 30 | let n = "PLACEBETLAY" | |
31 | 31 | ||
32 | 32 | let o = "PLACEBETWIN" | |
33 | 33 | ||
34 | 34 | @Callable(p) | |
35 | 35 | func getWinningAmount (q,r,s) = throw(q) | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | ||
39 | 39 | @Callable(p) | |
40 | 40 | func getWinningAmountPassLineBets (t,u,q) = { | |
41 | 41 | let v = split(q, "_")[2] | |
42 | 42 | let w = split(q, "_")[0] | |
43 | 43 | let x = value(parseInt(split(q, "_")[1])) | |
44 | 44 | if ((v == e)) | |
45 | 45 | then if ((u == 0)) | |
46 | 46 | then if (if ((t == 7)) | |
47 | 47 | then true | |
48 | 48 | else (t == 11)) | |
49 | 49 | then [IntegerEntry("price", (x * 2))] | |
50 | 50 | else [IntegerEntry("price", (x * 0))] | |
51 | 51 | else if ((t == u)) | |
52 | 52 | then [IntegerEntry("price", (x * 2))] | |
53 | 53 | else if ((u == 7)) | |
54 | 54 | then [IntegerEntry("price", (x * 0))] | |
55 | 55 | else [IntegerEntry("price", (x * 0))] | |
56 | 56 | else if ((v == f)) | |
57 | 57 | then if ((u == 0)) | |
58 | 58 | then if (if ((t == 2)) | |
59 | 59 | then true | |
60 | 60 | else (t == 3)) | |
61 | 61 | then [IntegerEntry("price", (x * 2))] | |
62 | 62 | else if (if ((u == 7)) | |
63 | 63 | then true | |
64 | 64 | else (u == 11)) | |
65 | 65 | then [IntegerEntry("price", (x * 0))] | |
66 | 66 | else [IntegerEntry("price", (x * 0))] | |
67 | 67 | else if (if ((u == 2)) | |
68 | 68 | then true | |
69 | 69 | else (u == 3)) | |
70 | 70 | then [IntegerEntry("price", (x * 2))] | |
71 | 71 | else if ((u == 7)) | |
72 | 72 | then [IntegerEntry("price", (x * 0))] | |
73 | 73 | else [IntegerEntry("price", (x * 0))] | |
74 | 74 | else [IntegerEntry("price", (x * 0))] | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | @Verifier(y) | |
79 | 79 | func z () = { | |
80 | 80 | let A = y | |
81 | 81 | sigVerify(y.bodyBytes, y.proofs[0], y.senderPublicKey) | |
82 | 82 | } | |
83 | 83 |
github/deemru/w8io/169f3d6 32.07 ms ◑