tx · 8a6w6jKpKCMhxmCV69tVF5xs4BMSZHwVs6EcTaargBGP

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01000000 Waves

2022.06.09 17:16 [2088952] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "8a6w6jKpKCMhxmCV69tVF5xs4BMSZHwVs6EcTaargBGP", "fee": 1000000, "feeAssetId": null, "timestamp": 1654784198041, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "3dRw4BA4qmzEsdGsoPavTvfQiBpmYofLdfRyTZgMvMRwaXSB1ufPEnP18D55mJRNUepky5V4HXTd4QbbhnEdNKxZ" ], "script": "base64:AAIFAAAAAAAAAAsIAhIAEgMKAQgSAAAAAA0AAAAABEhBU0gBAAAAIJklwE3i+u/bc48vf4d/BnVXhMLmuX4eB+81QVXPc36rAAAAAAhLcm9zc0NhcgEAAAAgNewIuJ8fl0L3aDIXfe5KYUI4pQbPPcpdLtTikAZosrsAAAAABlRvd2luZwEAAAAgLzVn9FxXOELHRV9NM7WHnRz83AP0i2FsXYU/kxb44koAAAAACGRBcHBGZWVzAQAAABoBV5prAZfpnthmNq2ZMbws44Htl6ZEmG28iwAAAAAJQWRtaW5kQXBwAQAAABoBV9BDQuIchL6bmoa833jKal/OBiGoZGoQDgAAAAAJTWluQW1vdW50AAAAAAAAAAK8AAAAAA5Lcm9zc0NhclJld2FyZAAAAAAAAAAAAQAAAAAMVG93aW5nUmV3YXJkAAAAAAAAAAABAAAAAApSZWZlcnJlVGlwAAAAAAAAAAABAAAAAAxtaW5Kb2luV2Vla3MAAAAAAAAAAAgAAAAAClRpbWVUb3dpbmcAAAAAAAAAAAIAAAAABFdlZWsAAAAAAAAAAAoAAAAAA0RheQAAAAAAAAAABQAAAAMAAAABaQ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AAADFVzZXJNYXR1cml0eQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABAAAABRMYXN0VG93aW5nQmxvY2tWYWx1ZQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAA9MYXN0VG93aW5nQmxvY2sDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAMDAwkAAGYAAAACCQAAaAAAAAIFAAAACU1pbkFtb3VudAAAAAAABfXhAAkAAGkAAAACCQAAaAAAAAIFAAAABmFtb3VudAkAAGUAAAACBQAAAAZoZWlnaHQFAAAAEVVzZXJNYXR1cml0eVZhbHVlBQAAAARXZWVrBgkAAGYAAAACCQAAaAAAAAIFAAAADG1pbkpvaW5XZWVrcwUAAAAEV2VlawkAAGUAAAACBQAAAAZoZWlnaHQFAAAAEVVzZXJNYXR1cml0eVZhbHVlBgkAAGYAAAACCQAAaAAAAAIFAAAAClRpbWVUb3dpbmcFAAAAA0RheQUAAAAUTGFzdFRvd2luZ0Jsb2NrVmFsdWUJAAACAAAAAQIAAAARWW91IFNob3VsZCBDb21wbHkJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAgAAABBfTGFzdFRvd2luZ0Jsb2NrBQAAAAZoZWlnaHQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIFAAAADFRvd2luZ1Jld2FyZAAAAAAABfXhAAUAAAAGVG93aW5nBQAAAANuaWwAAAAAc6fomA==", "height": 2088952, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Hr1Sw3p32CJ1mZrtK4kbFf5Zpz6kmHiqWgqjFdqZCoUP Next: 7BADF1V97xoAH3XYte3NnPVbcpR7BabHwyHRKn4ModBC Diff:
OldNewDifferences
2121
2222 let j = 8
2323
24-let k = 30
24+let k = 2
2525
2626 let l = 10
2727
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
24-let k = 30
24+let k = 2
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")
4545 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) = if ((u == ""))
5959 then throw("Referrer Wallet Address cannot be empty !")
6060 else {
6161 let v = addressFromStringValue(u)
6262 let o = (toBase58String(n.caller.bytes) + "_Deposit")
6363 let w = (toBase58String(n.caller.bytes) + "_TippedStatus")
6464 let p = {
6565 let q = getInteger(this, o)
6666 if ($isInstanceOf(q, "Int"))
6767 then {
6868 let r = q
6969 r
7070 }
7171 else 0
7272 }
7373 let x = {
7474 let q = getString(this, w)
7575 if ($isInstanceOf(q, "String"))
7676 then {
7777 let r = q
7878 r
7979 }
8080 else "NO"
8181 }
8282 if ((x == "YES"))
8383 then throw("You already tipped a User, you only can tip once a user")
8484 else if (((f * 100000000) > p))
8585 then throw((("To tip your referrer you must have at least deposited: " + toString(f)) + " HASH"))
8686 else [StringEntry((toBase58String(n.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(v, (i * 100000000), b)]
8787 }
8888
8989
9090
9191 @Callable(n)
9292 func RequestTowing () = {
9393 let o = (toBase58String(n.caller.bytes) + "_Deposit")
9494 let y = (toBase58String(n.caller.bytes) + "_DepositBlock")
9595 let z = (toBase58String(n.caller.bytes) + "_LastTowingBlock")
9696 let p = {
9797 let q = getInteger(this, o)
9898 if ($isInstanceOf(q, "Int"))
9999 then {
100100 let r = q
101101 r
102102 }
103103 else 0
104104 }
105105 let A = {
106106 let q = getInteger(this, y)
107107 if ($isInstanceOf(q, "Int"))
108108 then {
109109 let r = q
110110 r
111111 }
112112 else 0
113113 }
114114 let B = {
115115 let q = getInteger(this, z)
116116 if ($isInstanceOf(q, "Int"))
117117 then {
118118 let r = q
119119 r
120120 }
121121 else 0
122122 }
123123 if (if (if (((f * 100000000) > ((p * (height - A)) / l)))
124124 then true
125125 else ((j * l) > (height - A)))
126126 then true
127127 else ((k * m) > B))
128128 then throw("You Should Comply")
129129 else [IntegerEntry((toBase58String(n.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(n.caller, (h * 100000000), c)]
130130 }
131131
132132

github/deemru/w8io/026f985 
31.19 ms