tx · 4TKUWPBoMW8BGMBYAYHawuoGfx2F6aun89AZ34CnmKmP

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01000000 Waves

2022.06.08 22:09 [2087788] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "4TKUWPBoMW8BGMBYAYHawuoGfx2F6aun89AZ34CnmKmP", "fee": 1000000, "feeAssetId": null, "timestamp": 1654715383375, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "3czyJggy3cQxfeKJav2TBJiyUy43pPWDRf8xDdrbDdmQgCYsxhSYJ4E3GPQFHwEQa4XAzeU1iVmTBrbaQHieLmGJ" ], "script": "base64:AAIFAAAAAAAAAAsIAhIAEgMKAQgSAAAAAA0AAAAABEhBU0gBAAAAIJklwE3i+u/bc48vf4d/BnVXhMLmuX4eB+81QVXPc36rAAAAAAhLcm9zc0NhcgEAAAAgNewIuJ8fl0L3aDIXfe5KYUI4pQbPPcpdLtTikAZosrsAAAAABlRvd2luZwEAAAAgLzVn9FxXOELHRV9NM7WHnRz83AP0i2FsXYU/kxb44koAAAAACGRBcHBGZWVzAQAAABoBV5prAZfpnthmNq2ZMbws44Htl6ZEmG28iwAAAAAJQWRtaW5kQXBwAQAAABoBV9BDQuIchL6bmoa833jKal/OBiGoZGoQDgAAAAAJTWluQW1vdW50AAAAAAAAAAK8AAAAAA5Lcm9zc0NhclJld2FyZAAAAAAAAAAAAQAAAAAMVG93aW5nUmV3YXJkAAAAAAAAAAABAAAAAApSZWZlcnJlVGlwAAAAAAAAAAABAAAAAAxtaW5Kb2luV2Vla3MAAAAAAAAAAAgAAAAAClRpbWVUb3dpbmcAAAAAAAAAAB4AAAAABFdlZWsAAAAAAAAAAAoAAAAAA0RheQAAAAAAAAAABQAAAAMAAAAB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IFAAAACU1pbkFtb3VudAAAAAAABfXhAAkAAGkAAAACCQAAaAAAAAIFAAAABmFtb3VudAkAAGUAAAACBQAAAAZoZWlnaHQFAAAAEVVzZXJNYXR1cml0eVZhbHVlBQAAAARXZWVrBgkAAGYAAAACCQAAaAAAAAIFAAAADG1pbkpvaW5XZWVrcwUAAAAEV2VlawkAAGUAAAACBQAAAAZoZWlnaHQFAAAAEVVzZXJNYXR1cml0eVZhbHVlBgkAAGYAAAACCQAAaAAAAAIFAAAAClRpbWVUb3dpbmcFAAAAA0RheQUAAAAUTGFzdFRvd2luZ0Jsb2NrVmFsdWUJAAACAAAAAQIAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAAQX0xhc3RUb3dpbmdCbG9jawUAAAAGaGVpZ2h0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACBQAAAAxUb3dpbmdSZXdhcmQAAAAAAAX14QAFAAAABlRvd2luZwUAAAADbmlsAAAAABpTTZE=", "height": 2087788, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8wn6b7KHg9Xxt7x4Frs34WsdRdZg2nSba621tRE6U7TJ Next: FCV8jNouP2vzJST2wBHZK4yJN4xETN5ftGQbMpLLqqrc Diff:
OldNewDifferences
4242 let s = if ((size(n.payments) == 1))
4343 then n.payments[0]
4444 else throw("Attached payment is required")
45- if (if (((f * 100000000) >= s.amount))
45+ if (if (((f * 100000000) > s.amount))
4646 then true
4747 else (s.assetId != a))
4848 then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'BJpmNoB9MABJ1ytHhbLNxuUaeoYcYVeTM1r7kh39P24i'
55
66 let b = base58'4dVMkKtzaWuHC21kmxBBUwKQ5LGayLZLV9snpkJxsGeW'
77
88 let c = base58'4BHPskP7pBoXLD7U8nk54CstqbsqRvuWr3SDP8uMrz5w'
99
1010 let d = base58'3PG1NyiC2rdgX46jb8c5zPGuEAzWXhr4L2W'
1111
1212 let e = base58'3PLv5rYMqR4gSiP5ZSjrX2FStLhHTRgFPbb'
1313
1414 let f = 700
1515
1616 let g = 1
1717
1818 let h = 1
1919
2020 let i = 1
2121
2222 let j = 8
2323
2424 let k = 30
2525
2626 let l = 10
2727
2828 let m = 5
2929
3030 @Callable(n)
3131 func DepositHASH () = {
3232 let o = (toBase58String(n.caller.bytes) + "_Deposit")
3333 let p = {
3434 let q = getInteger(this, o)
3535 if ($isInstanceOf(q, "Int"))
3636 then {
3737 let r = q
3838 r
3939 }
4040 else 0
4141 }
4242 let s = if ((size(n.payments) == 1))
4343 then n.payments[0]
4444 else throw("Attached payment is required")
45- if (if (((f * 100000000) >= s.amount))
45+ if (if (((f * 100000000) > s.amount))
4646 then true
4747 else (s.assetId != a))
4848 then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH")
4949 else {
5050 let t = (p + s.amount)
5151 [IntegerEntry((toBase58String(n.caller.bytes) + "_Deposit"), t), IntegerEntry((toBase58String(n.caller.bytes) + "_DepositBlock"), height), ScriptTransfer(n.caller, (g * 100000000), b)]
5252 }
5353 }
5454
5555
5656
5757 @Callable(n)
5858 func RewardReferrer (u) = {
5959 let o = (toBase58String(n.caller.bytes) + "_Deposit")
6060 let v = (toBase58String(n.caller.bytes) + "_TippedStatus")
6161 let p = {
6262 let q = getInteger(this, o)
6363 if ($isInstanceOf(q, "Int"))
6464 then {
6565 let r = q
6666 r
6767 }
6868 else 0
6969 }
7070 let w = getStringValue(this, v)
7171 if ((w == "YES"))
7272 then throw("You already tipped a User, you only can tip once a user")
7373 else if (((f * 100000000) > p))
7474 then throw((("To tip your referrer you must have at least deposited: " + toString(f)) + " HASH"))
7575 else [StringEntry((toBase58String(n.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(n.caller, (i * 100000000), b)]
7676 }
7777
7878
7979
8080 @Callable(n)
8181 func RequestTowing () = {
8282 let o = (toBase58String(n.caller.bytes) + "_Deposit")
8383 let x = (toBase58String(n.caller.bytes) + "_DepositBlock")
8484 let y = (toBase58String(n.caller.bytes) + "_LastTowingBlock")
8585 let p = {
8686 let q = getInteger(this, o)
8787 if ($isInstanceOf(q, "Int"))
8888 then {
8989 let r = q
9090 r
9191 }
9292 else 0
9393 }
9494 let z = {
9595 let q = getInteger(this, x)
9696 if ($isInstanceOf(q, "Int"))
9797 then {
9898 let r = q
9999 r
100100 }
101101 else 0
102102 }
103103 let A = {
104104 let q = getInteger(this, y)
105105 if ($isInstanceOf(q, "Int"))
106106 then {
107107 let r = q
108108 r
109109 }
110110 else 0
111111 }
112112 if (if (if (((f * 100000000) > ((p * (height - z)) / l)))
113113 then true
114114 else ((j * l) > (height - z)))
115115 then true
116116 else ((k * m) > A))
117117 then throw("")
118118 else [IntegerEntry((toBase58String(n.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(n.caller, (h * 100000000), c)]
119119 }
120120
121121

github/deemru/w8io/169f3d6 
40.58 ms