tx · 3kcsuPAZnnCheoqUjMDaa9ET79uq1GCDRhKHdhmpPkDE
3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB: -0.01000000 Waves
2022.03.20 21:16 [1972608] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves
{
"type": 13,
"id": "3kcsuPAZnnCheoqUjMDaa9ET79uq1GCDRhKHdhmpPkDE",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1647800190335,
"version": 2,
"chainId": 84,
"sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB",
"senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf",
"proofs": [
"4XLWZTpu7bmRzr4EPvopTY2umSFvsxmkG5mdnWK5HFipUA5W1NpFnNzp1gfikCVbDk27p5HhR2rWsLnvjgQ4tcUu"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN0aWMDCQAAZgAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAYTm8gTW9uZXkgTm8gRnVubnkgSG9uZXkuAwkAAGYAAAACCAUAAAADdGljAAAABmFtb3VudAAAAAAAAJiWfwQAAAABcgkAAGQAAAACCQAAagAAAAIJAABkAAAAAgkAAGQAAAACCAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAIBQAAAAlsYXN0QmxvY2sAAAAKYmFzZVRhcmdldAAAAAAAAAAABgAAAAAAAAAAAQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgkAAaQAAAABCAUAAAABaQAAAANmZWUJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIFAAAAAXIAAAAAAAAAAAMFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADTnVtCQABpAAAAAEFAAAAAXIFAAAAA25pbAkAAAIAAAABAgAAABVUaWNrZXRzIGFyZSAwLjEgV0FWRVMAAAAAiQR+sg==",
"height": 1972608,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2vGfBcBKX2CBQ1s8pJyWaA6zjGn41tBgYDvLa9Ppo8Ae
Next: EJaEdSpsUDVEAJosNz78jxtJuLGtgUmxkowTF2Yvbws7
Diff:
Old | New | | Differences |
---|
11 | 11 | | if ((b.amount > 9999999)) |
---|
12 | 12 | | then { |
---|
13 | 13 | | let c = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1) |
---|
14 | | - | [StringEntry(toString(a.caller), toString(a.fee)), ScriptTransfer(a.caller, (c * 3), unit), StringEntry("Num", toString(c)), throw(toString((c * 3)))] |
---|
| 14 | + | [StringEntry(toString(a.caller), toString(a.fee)), ScriptTransfer(a.caller, (c * 3), unit), StringEntry("Num", toString(c))] |
---|
15 | 15 | | } |
---|
16 | 16 | | else throw("Tickets are 0.1 WAVES") |
---|
17 | 17 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func zarAt () = { |
---|
8 | 8 | | let b = if ((size(a.payments) > 0)) |
---|
9 | 9 | | then a.payments[0] |
---|
10 | 10 | | else throw("No Money No Funny Honey.") |
---|
11 | 11 | | if ((b.amount > 9999999)) |
---|
12 | 12 | | then { |
---|
13 | 13 | | let c = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1) |
---|
14 | | - | [StringEntry(toString(a.caller), toString(a.fee)), ScriptTransfer(a.caller, (c * 3), unit), StringEntry("Num", toString(c)), throw(toString((c * 3)))] |
---|
| 14 | + | [StringEntry(toString(a.caller), toString(a.fee)), ScriptTransfer(a.caller, (c * 3), unit), StringEntry("Num", toString(c))] |
---|
15 | 15 | | } |
---|
16 | 16 | | else throw("Tickets are 0.1 WAVES") |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|