tx · DRA93Ydyj7RZ9FMwAD9Ff4SjwFQgNTkWRWz48CXGEYxt

3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV:  -0.01000000 Waves

2021.12.10 20:36 [1828447] smart account 3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV > SELF 0.00000000 Waves

{ "type": 13, "id": "DRA93Ydyj7RZ9FMwAD9Ff4SjwFQgNTkWRWz48CXGEYxt", "fee": 1000000, "feeAssetId": null, "timestamp": 1639157786488, "version": 2, "chainId": 84, "sender": "3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV", "senderPublicKey": "5amLtMwixiEesBDKPy9dkFWntG2fNxhTs5n69JbQE9F7", "proofs": [ "A1j9MxQGNLrYAYhRp471ZjxzwhwfEzR5GQBmWpwkRK3kMoW6UP8jFmXjbq3csciYzvrBArM67jWpyrPJa2h3Vwh" ], "script": "base64:AAIFAAAAAAAAAAkIAhIAEgMKAQgAAAACAAAAAAV0b2tlbgEAAAAg5zmYC5DQKkfOfYR6rLZt3/lvGLH9m+/aCHI3ec3qXmYAAAAAB2FpcmRyb3AJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVS+Xxmw1G5CNHxEd2QN+w1gvRpGRxhc54oAAAACAAAAAWkBAAAABXJlc2V0AAAAAAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAADGJ1cm5pbmdzdGFnZQAAAAAAAAAAAAUAAAADbmlsAAAAAWkBAAAABGNhbGwAAAABAAAABGlkNTgEAAAAC2N1cnJlbnR0aW1lBAAAAAckbWF0Y2gwCQAD7QAAAAEFAAAABmhlaWdodAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAJQmxvY2tJbmZvBAAAAAVibG9jawUAAAAHJG1hdGNoMAgFAAAABWJsb2NrAAAACXRpbWVzdGFtcAkAAAIAAA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AAAAwUAAAAJaXNwcm9vdmVkAwkAAGYAAAACBQAAAApidXJuYW1vdW50AAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMFAAAAC2N1cnJlbnR0aW1lCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADGNhbGxlckFkcmVzcwUAAAAKZHJvcGFtb3VudAUAAAAFdG9rZW4JAARMAAAAAgkBAAAABEJ1cm4AAAACBQAAAAV0b2tlbgAAAAAAAAAD5wUAAAADbmlsCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMFAAAAC2N1cnJlbnR0aW1lCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADGNhbGxlckFkcmVzcwUAAAAKZHJvcGFtb3VudAUAAAAFdG9rZW4FAAAAA25pbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAAHX3Jlc3VsdAUAAAAGcmVzdWx0BQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAABVO5OU=", "height": 1828447, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4vyktjnfmGyWtqBLjzH2vUmfbMNDnYS4eUhAnaG57F7c Next: 9QD2vUGN6LJWaFWK1BZDDyGVL4pmhxAy6TBqDNTwCjnp Diff:
OldNewDifferences
9494 else "")) + (if (t)
9595 then " allready received "
9696 else ("" + (if (u)
97- then (" reseived in " + toString(e))
97+ then ((toBase58String(c.caller.bytes) + " reseived in ") + toString(e))
9898 else ""))))
9999 if (u)
100100 then if ((i > 0))
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 = {
7575 let f = getInteger(toBase58String(c.caller.bytes))
7676 if ($isInstanceOf(f, "Int"))
7777 then {
7878 let j = f
7979 true
8080 }
8181 else false
8282 }
8383 let u = if (if (if ((r > o))
8484 then true
8585 else (n != s))
8686 then true
8787 else t)
8888 then false
8989 else true
9090 let v = (((if ((r > o))
9191 then ("out of time range: " + toString(r))
9292 else "") + (if ((n != s))
9393 then (((" incorrect sender: " + toString(n)) + " / ") + toString(s))
9494 else "")) + (if (t)
9595 then " allready received "
9696 else ("" + (if (u)
97- then (" reseived in " + toString(e))
97+ then ((toBase58String(c.caller.bytes) + " reseived in ") + toString(e))
9898 else ""))))
9999 if (u)
100100 then if ((i > 0))
101101 then [IntegerEntry(toBase58String(c.caller.bytes), e), ScriptTransfer(n, k, a), Burn(a, 999)]
102102 else [IntegerEntry(toBase58String(c.caller.bytes), e), ScriptTransfer(n, k, a)]
103103 else [StringEntry((toBase58String(c.caller.bytes) + "_result"), v)]
104104 }
105105 else throw("Strict value is not equal to itself.")
106106 }
107107
108108

github/deemru/w8io/026f985 
23.47 ms