tx · CFjykDMG8FCTwWJmxrjZ7fysznqBTGFoi9Ma1K6ktVYs

3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd:  -0.10010000 Waves

2021.12.03 00:37 [1817205] smart account 3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd > SELF 0.00000000 Waves

{ "type": 13, "id": "CFjykDMG8FCTwWJmxrjZ7fysznqBTGFoi9Ma1K6ktVYs", "fee": 10010000, "feeAssetId": null, "timestamp": 1638481091239, "version": 2, "chainId": 84, "sender": "3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd", "senderPublicKey": "7Hi4o6vBstRs79NMVMjEove52dmP87RAcvNDAXN8C4Wi", "proofs": [ "3pEtN2uP99zM7g12gPwah4UztjuGaQkD9naJFGLvMhEchnnDWvbaUW1Hqpy16YGjjPcAAuPwATnftVFNUKeurSGU" ], "script": "base64:AAIFAAAAAAAAAU8IAhIDCgEIEgMKAQgaDAoCYTESBmNhc2lubxoLCgJhMhIFV0FWRVMaDAoCYTMSBm1heEJldBoPCgJhNBIJc2VwYXJhdG9yGhAKAmE1EgpnZXRQYXltZW50GgkKAmE2EgNwbXQaFQoCYTcSD2dldEFtb3VudE9yWmVybxoKCgJhOBIEdGhpcxoJCgJhORIDa2V5Gg0KAmIxEgckbWF0Y2gwGgsKAmIyEgVyb3VuZBoTCgJiMxINY2FsbGVyQWRkcmVzcxoQCgJiNBIKY3VyU3VtQmV0cxoSCgJiNRIMY3VycmVudERyYXdzGhMKAmI2Eg1jdXJyZW50UGxheWVyGhAKAmI3Egppbml0aWFsQmV0GhMKAmI4Eg1hdmFpbGFibGVQcm9wGhAKAmI5EgpuZXdTdW1CZXRzGgkKAmMxEgNhYWEaDAoCYzISBnZlcmlmeQAAAAYAAAAAAmExAgAAACMzTXRhQ0w0djFialRhYlVxczdvVTRvZlM4ZmJhaTM0V00xaQAAAAACYTIAAAAAADuaygAAAAAAAmEzCQAAaAAAAAIAAAAAAAAAAGQFAAAAAm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AAAtfaW5pdGlhbEJldAMJAAABAAAAAgUAAAACYjECAAAAA0ludAQAAAABYQUAAAACYjEFAAAAAWEFAAAAAXAEAAAAAmI4CQABLAAAAAIFAAAAAmIyAgAAAApfYXZhaWxhYmxlBAAAAAJiOQkAAGQAAAACBQAAAAJiNAUAAAABcAQAAAACYzEJAAQbAAAAAgUAAAACYTgJAAEsAAAAAgUAAAACYjICAAAABV9zdG9wAwkBAAAACWlzRGVmaW5lZAAAAAEFAAAAAmMxCQAAAgAAAAECAAAAHFRoaXMgcm91bmQgaXMgYWxyZWFkeSBwbGF5ZWQJAAACAAAAAQIAAAAUYmV0MiBmaW5pc2hlZCBhbGwgb2sAAAABaQEAAAAJd2l0aGRyYXcyAAAAAQAAAAJiMgQAAAACYjMJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkAAAIAAAABAgAAAAZjYWxsZWQAAAABAAAAAnR4AQAAAAJjMgAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V50bxBTQ==", "height": 1817205, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GYANRNewjqYbRqneCv5JP2M9k25WsTYKxu9hjb7HeCa8 Next: Hwv93F4KHrHoX69TjzAgDaQxAp6PjdBd9By2tvbVfv7k Diff:
OldNewDifferences
3434 func bet2 (m) = {
3535 let n = toBase58String(f.caller.bytes)
3636 let o = e(f)
37- let p = h(this, (m + "_sumBets"))
37+ let p = h(a8, (m + "_sumBets"))
3838 let q = {
39- let k = getInteger(this, (m + "_drawSequence"))
39+ let k = getInteger(a8, (m + "_drawSequence"))
4040 if ($isInstanceOf(k, "Int"))
4141 then {
4242 let l = k
4545 else 0
4646 }
4747 let r = {
48- let k = getString(this, (m + "_player"))
48+ let k = getString(a8, (m + "_player"))
4949 if ($isInstanceOf(k, "String"))
5050 then {
5151 let l = k
5454 else unit
5555 }
5656 let s = {
57- let k = getInteger(this, (m + "_initialBet"))
57+ let k = getInteger(a8, (m + "_initialBet"))
5858 if ($isInstanceOf(k, "Int"))
5959 then {
6060 let l = k
6464 }
6565 let t = (m + "_available")
6666 let u = (p + o)
67- let v = getBoolean(this, (m + "_stop"))
67+ let v = getBoolean(a8, (m + "_stop"))
6868 if (isDefined(v))
6969 then throw("This round is already played")
7070 else throw("bet2 finished all ok")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3MtaCL4v1bjTabUqs7oU4ofS8fbai34WM1i"
55
66 let b = 1000000000
77
88 let c = (100 * b)
99
1010 let d = ","
1111
1212 func e (f) = if ((size(f.payments) == 0))
1313 then throw("Payment must be attached")
1414 else {
1515 let g = f.payments[0]
1616 if (isDefined(g.assetId))
1717 then throw("This function accepts WAVES tokens only")
1818 else g.amount
1919 }
2020
2121
2222 func h (i,j) = {
2323 let k = getInteger(i, j)
2424 if ($isInstanceOf(k, "Int"))
2525 then {
2626 let l = k
2727 l
2828 }
2929 else 0
3030 }
3131
3232
3333 @Callable(f)
3434 func bet2 (m) = {
3535 let n = toBase58String(f.caller.bytes)
3636 let o = e(f)
37- let p = h(this, (m + "_sumBets"))
37+ let p = h(a8, (m + "_sumBets"))
3838 let q = {
39- let k = getInteger(this, (m + "_drawSequence"))
39+ let k = getInteger(a8, (m + "_drawSequence"))
4040 if ($isInstanceOf(k, "Int"))
4141 then {
4242 let l = k
4343 (l + 1)
4444 }
4545 else 0
4646 }
4747 let r = {
48- let k = getString(this, (m + "_player"))
48+ let k = getString(a8, (m + "_player"))
4949 if ($isInstanceOf(k, "String"))
5050 then {
5151 let l = k
5252 l
5353 }
5454 else unit
5555 }
5656 let s = {
57- let k = getInteger(this, (m + "_initialBet"))
57+ let k = getInteger(a8, (m + "_initialBet"))
5858 if ($isInstanceOf(k, "Int"))
5959 then {
6060 let l = k
6161 l
6262 }
6363 else o
6464 }
6565 let t = (m + "_available")
6666 let u = (p + o)
67- let v = getBoolean(this, (m + "_stop"))
67+ let v = getBoolean(a8, (m + "_stop"))
6868 if (isDefined(v))
6969 then throw("This round is already played")
7070 else throw("bet2 finished all ok")
7171 }
7272
7373
7474
7575 @Callable(f)
7676 func withdraw2 (m) = {
7777 let n = toBase58String(f.caller.bytes)
7878 throw("called")
7979 }
8080
8181
8282 @Verifier(w)
8383 func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
8484

github/deemru/w8io/026f985 
22.57 ms