tx · BqQg14HADszBxWRmgzrDMqXeaM4QMYaHYZrY5mFacQEU

3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV:  -0.01000000 Waves

2021.12.11 11:53 [1829361] smart account 3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV > SELF 0.00000000 Waves

{ "type": 13, "id": "BqQg14HADszBxWRmgzrDMqXeaM4QMYaHYZrY5mFacQEU", "fee": 1000000, "feeAssetId": null, "timestamp": 1639212930074, "version": 2, "chainId": 84, "sender": "3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV", "senderPublicKey": "5amLtMwixiEesBDKPy9dkFWntG2fNxhTs5n69JbQE9F7", "proofs": [ "5QuhaJJ5pyDnh1fseapfCCiwcKdBmsrCnEM9QNYaSsmvA8RjiYkimmj3ZxTx7VYqQ6iQRq74Wzn9DbSSF7PDEKqX" ], "script": "base64:AAIFAAAAAAAAAAkIAhIAEgMKAQgAAAACAAAAAAV0b2tlbgEAAAAg5zmYC5DQKkfOfYR6rLZt3/lvGLH9m+/aCHI3ec3qXmYAAAAAB2FpcmRyb3AJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVS+Xxmw1G5CNHxEd2QN+w1gvRpGRxhc54oAAAACAAAAAWkBAAAABXJlc2V0AAAAAAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAADGJ1cm5pbmdzdGFnZQAAAAAAAAAAAAUAAAADbmlsAAAAAWkBAAAABGNhbGwAAAABAAAABGlkNTgEAAAAC2N1cnJlbnR0aW1lBAAAAAckbWF0Y2gwCQAD7QAAAAEFAAAABmhlaWdodAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAJQmxvY2tJbmZvBAAAAAVibG9jawUAAAAHJG1hdGNoMAgFAAAABWJsb2NrAAAACXRpbWVzdGFtcAkAAAIAAAABAgAA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pbiAJAAGkAAAAAQUAAAALY3VycmVudHRpbWUCAAAAAAIAAAAVY2FudCBmaW5kIHRyYW5zYWN0aW9uAwUAAAAJaXNwcm9vdmVkAwkAAGYAAAACBQAAAApidXJuYW1vdW50AAAAAAAAAAAACQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADGNhbGxlckFkcmVzcwUAAAAKZHJvcGFtb3VudAUAAAAFdG9rZW4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAAZyZXN1bHQJAARMAAAAAgkBAAAABEJ1cm4AAAACBQAAAAV0b2tlbgAAAAAAAAAD5wUAAAADbmlsCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMFAAAAC2N1cnJlbnR0aW1lCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADGNhbGxlckFkcmVzcwUAAAAKZHJvcGFtb3VudAUAAAAFdG9rZW4FAAAAA25pbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMFAAAABnJlc3VsdAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAD98QmA", "height": 1829361, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BKiUxiX31xrvnKvU4fKkyBxwGt2PdizczEBMmjdAMHpq Next: 6hAR8Lyx1XZ6uBvpWBi1e9hkttvMKa13CMB9MoS8cLNz Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'GZc7eKnq2KJwqetRmUzSqr2ZaCGseDZufSocz83sUNoo'
55
66 let b = Address(base58'3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV')
77
88 @Callable(c)
99 func reset () = [DeleteEntry(toBase58String(c.caller.bytes)), IntegerEntry("burningstage", 0)]
1010
1111
1212
1313 @Callable(c)
1414 func call (d) = {
1515 let e = {
1616 let f = blockInfoByHeight(height)
1717 if ($isInstanceOf(f, "BlockInfo"))
1818 then {
1919 let g = f
2020 g.timestamp
2121 }
2222 else throw("Can't find block")
2323 }
2424 let h = assetBalance(b, a)
2525 let i = {
2626 let f = getInteger("burningstage")
2727 if ($isInstanceOf(f, "Int"))
2828 then {
2929 let j = f
3030 if (if ((getIntegerValue("burningstage") == 0))
3131 then (e > 1639131654752)
3232 else false)
3333 then fraction(h, 10, 100)
3434 else 0
3535 }
3636 else throw("no burningstage")
3737 }
3838 let k = 100
3939 let l = if ((h > k))
4040 then true
4141 else throw("not enough")
4242 if ((l == l))
4343 then {
4444 let m = fromBase58String(d)
4545 let n = Address(c.caller.bytes)
4646 let o = 1639148135492
4747 let p = {
4848 let f = transferTransactionById(m)
4949 if ($isInstanceOf(f, "TransferTransaction"))
5050 then {
5151 let q = f
5252 true
5353 }
5454 else false
5555 }
5656 let r = {
5757 let f = transferTransactionById(m)
5858 if ($isInstanceOf(f, "TransferTransaction"))
5959 then {
6060 let q = f
6161 q.timestamp
6262 }
6363 else 9999999999999
6464 }
6565 let s = {
6666 let f = transferTransactionById(m)
6767 if ($isInstanceOf(f, "TransferTransaction"))
6868 then {
6969 let q = f
7070 q.sender
7171 }
7272 else b
7373 }
7474 let t = if ((take(valueOrElse(getString(toBase58String(c.caller.bytes)), ""), 8) == "received"))
7575 then true
7676 else false
7777 let u = if (if (if ((r > o))
7878 then true
7979 else (n != s))
8080 then true
8181 else t)
8282 then false
8383 else true
8484 let v = if (p)
8585 then if ((r > o))
8686 then ("transaction is out of time range: " + toString(r))
8787 else ("" + (if ((n != s))
8888 then ((("it is incorrect sender: " + toString(n)) + " / ") + toString(s))
8989 else ("" + (if (t)
9090 then getStringValue(toBase58String(c.caller.bytes))
9191 else ("" + (if (u)
9292 then ("reseived in " + toString(e))
9393 else ""))))))
9494 else "cant find transaction"
9595 if (u)
9696 then if ((i > 0))
9797 then [ScriptTransfer(n, k, a), StringEntry(toBase58String(c.caller.bytes), v), Burn(a, 999)]
9898 else [IntegerEntry(toBase58String(c.caller.bytes), e), ScriptTransfer(n, k, a)]
9999 else [StringEntry(toBase58String(c.caller.bytes), v)]
100100 }
101101 else throw("Strict value is not equal to itself.")
102102 }
103103
104104

github/deemru/w8io/026f985 
20.45 ms