tx · AU1zpHyd9DvZ8qEWB8tVYAiVPd9ZtjavFVzVdnDiqk62
3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW: -0.00100000 Waves
2022.06.18 02:31 [2101032] smart account 3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW > SELF 0.00000000 Waves
{
"type": 13,
"id": "AU1zpHyd9DvZ8qEWB8tVYAiVPd9ZtjavFVzVdnDiqk62",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1655508746783,
"version": 2,
"chainId": 84,
"sender": "3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW",
"senderPublicKey": "5KgB1ZojKX7qznjw2mAXoU9asTrLAHv5nEvk36suSN3c",
"proofs": [
"4XaEJ4nQszguqbD8KshGhM7DP3p5RLFGcJsH5gZPPuo4sdPZCPNip7sAYZDhTQBAFvck2nLUTMuA2prnn4CiKSgp"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEBAAAAAQAAAAAEZGFwcAEAAAAaAVTrUL92ox/G8AFszp2fHW2IZ+gQLSc99iUAAAABAAAAAWkBAAAACWZyZWVXYXZlcwAAAAEAAAAGYW1vdW50AwkAAGYAAAACBQAAAAZhbW91bnQAAAAAAAvrwgAJAAACAAAAAQIAAAAZdGhlIG1heCBhbW91bnQgaXMgMiB3YXZlcwQAAAAGc2VuZGVyCAUAAAABaQAAAAZjYWxsZXIEAAAADGdldE9sZEFtb3VudAkABBoAAAACBQAAAAR0aGlzAgAAAAVXQVZFUwQAAAAJb2xkQW1vdW50BAAAAAckbWF0Y2gwBQAAAAxnZXRPbGRBbW91bnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAACaW4FAAAAByRtYXRjaDAJAABkAAAAAgUAAAACaW4AAAAAAAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQEAAAAAnVuBQAAAAckbWF0Y2gwAAAAAAAAAAAAAAAAAAAAAAAAAwkAAGYAAAACBQAAAAlvbGRBbW91bnQAAAAAADuaygAJAAACAAAAAQIAAAAmdGhlIG1heCBhbW91bnQgdG8gd2l0aGRyYXcgaXMgMTAgd2F2ZXMEAAAACW5ld0Ftb3VudAkAAGQAAAACBQAAAAlvbGRBbW91bnQFAAAABmFtb3VudAQAAAAEc2F2ZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFV0FWRVMFAAAACW5ld0Ftb3VudAUAAAADbmlsBAAAAAh0cmFuc2ZlcgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAUAAAAEdW5pdAUAAAADbmlsBQAAAARzYXZlAAAAADvHGxg=",
"height": 2101032,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: C9SHWysp3sGXXYQbGz3T4JS4tqyPuyKvDcM6b4WiVPCW
Next: FPNRSDTPF5yEEHB1gqnivh1EsKaAc6GpNh9dgttepgLU
Diff:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 5 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW' |
---|
|
28 | 28 | | else { |
---|
29 | 29 | | let j = (f + c) |
---|
30 | 30 | | let k = [IntegerEntry("WAVES", j)] |
---|
31 | | - | let l = Transfer(d, c) |
---|
| 31 | + | let l = [ScriptTransfer(b.caller, c, unit)] |
---|
32 | 32 | | k |
---|
33 | 33 | | } |
---|
34 | 34 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 5 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | 7 | | func freeWaves (c) = if ((c > 200000000)) |
---|
8 | 8 | | then throw("the max amount is 2 waves") |
---|
9 | 9 | | else { |
---|
10 | 10 | | let d = b.caller |
---|
11 | 11 | | let e = getInteger(this, "WAVES") |
---|
12 | 12 | | let f = { |
---|
13 | 13 | | let g = e |
---|
14 | 14 | | if ($isInstanceOf(g, "Int")) |
---|
15 | 15 | | then { |
---|
16 | 16 | | let h = g |
---|
17 | 17 | | (h + 0) |
---|
18 | 18 | | } |
---|
19 | 19 | | else if ($isInstanceOf(g, "Unit")) |
---|
20 | 20 | | then { |
---|
21 | 21 | | let i = g |
---|
22 | 22 | | 0 |
---|
23 | 23 | | } |
---|
24 | 24 | | else 0 |
---|
25 | 25 | | } |
---|
26 | 26 | | if ((f > 1000000000)) |
---|
27 | 27 | | then throw("the max amount to withdraw is 10 waves") |
---|
28 | 28 | | else { |
---|
29 | 29 | | let j = (f + c) |
---|
30 | 30 | | let k = [IntegerEntry("WAVES", j)] |
---|
31 | | - | let l = Transfer(d, c) |
---|
| 31 | + | let l = [ScriptTransfer(b.caller, c, unit)] |
---|
32 | 32 | | k |
---|
33 | 33 | | } |
---|
34 | 34 | | } |
---|
35 | 35 | | |
---|
36 | 36 | | |
---|