tx · AYN5BhAF6DAYG7TdKPCPunwJZr9ZMQQAYxDEx41DPXjQ
3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB: -0.01000000 Waves
2022.03.20 21:19 [1972612] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves
{
"type": 13,
"id": "AYN5BhAF6DAYG7TdKPCPunwJZr9ZMQQAYxDEx41DPXjQ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1647800397500,
"version": 2,
"chainId": 84,
"sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB",
"senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf",
"proofs": [
"37cvtJTExbh4KksP2Za3MUW3XPcGv9if9m45XyKSsNCZCMYmrReRgxa9hUUtV6UuYk54x1qhk3DFaL6ngKbNvpqn"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN1bmkAAAAAAAAPQkAEAAAAA3RpYwMJAABmAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAABhObyBNb25leSBObyBGdW5ueSBIb25leS4DCQAAZgAAAAIIBQAAAAN0aWMAAAAGYW1vdW50AAAAAAAAmJZ/BAAAAAFyCQAAZAAAAAIJAABqAAAAAgkAAGQAAAACCQAAZAAAAAIIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAgFAAAACWxhc3RCbG9jawAAAApiYXNlVGFyZ2V0AAAAAAAAAAAGAAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyCQABpAAAAAEIBQAAAAFpAAAAA2ZlZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABoAAAAAgkAAGgAAAACBQAAAAFyAAAAAAAAAAADBQAAAAN1bmkFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADTnVtCQABpAAAAAEFAAAAAXIFAAAAA25pbAkAAAIAAAABAgAAABVUaWNrZXRzIGFyZSAwLjEgV0FWRVMAAAAAHZWU9g==",
"height": 1972612,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EJaEdSpsUDVEAJosNz78jxtJuLGtgUmxkowTF2Yvbws7
Next: ATA9xu3T5v5Ss2B8ZhhF2jwpV8SpkecyZzvFoepezz14
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func zarAt () = { |
---|
8 | | - | let uni = 10000000 |
---|
| 8 | + | let uni = 1000000 |
---|
9 | 9 | | let tic = if ((size(i.payments) > 0)) |
---|
10 | 10 | | then i.payments[0] |
---|
11 | 11 | | else throw("No Money No Funny Honey.") |
---|
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(i) |
---|
7 | 7 | | func zarAt () = { |
---|
8 | | - | let uni = 10000000 |
---|
| 8 | + | let uni = 1000000 |
---|
9 | 9 | | let tic = if ((size(i.payments) > 0)) |
---|
10 | 10 | | then i.payments[0] |
---|
11 | 11 | | else throw("No Money No Funny Honey.") |
---|
12 | 12 | | if ((tic.amount > 9999999)) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let r = ((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) + 1) |
---|
15 | 15 | | [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, ((r * 3) * uni), unit), StringEntry("Num", toString(r))] |
---|
16 | 16 | | } |
---|
17 | 17 | | else throw("Tickets are 0.1 WAVES") |
---|
18 | 18 | | } |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|