tx · 3KrCbV9mqJncMPZGgLNMhckNbW53AA2ZDB2Z7roSAK3h

3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB:  -0.10000000 Waves

2022.03.21 18:53 [1973908] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves

{ "type": 13, "id": "3KrCbV9mqJncMPZGgLNMhckNbW53AA2ZDB2Z7roSAK3h", "fee": 10000000, "feeAssetId": null, "timestamp": 1647878041429, "version": 2, "chainId": 84, "sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB", "senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf", "proofs": [ "5Bs2EruYDUw3bSzp91jcsBaYHYNLFBPEEWeuieQkqQE8V6LhkdjWYY4Xm6h5a9RBfUHKSGPftysMpm5pn67povx4" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN1bmkAAAAAAAAPQkAEAAAAA3RpYwMJAABmAAAAAgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAABhObyBNb25leSBObyBGdW5ueSBIb25leS4DCQAAZgAAAAIIBQAAAAN0aWMAAAAGYW1vdW50AAAAAAAAD0I/BAAAAANnSUQJAASxAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAQAAAABcgkAAGQAAAACCQAAagAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAgFAAAACWxhc3RCbG9jawAAAApiYXNlVGFyZ2V0BQAAAANnSUQAAAAAAAAAAAYAAAAAAAAAAAEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIJAAGkAAAAAQgFAAAAAWkAAAADZmVlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACCQAAaAAAAAIFAAAAAXIAAAAAAAAAAAMFAAAAA3VuaQUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAANOdW0JAAGkAAAAAQUAAAABcgUAAAADbmlsCQAAAgAAAAECAAAAFlRpY2tldHMgYXJlIDAuMDEgV0FWRVMAAAAAOrT2DQ==", "height": 1973908, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2zJLqLpQZukNr7CR4zZ816hxabYn821upkPNesRiTCT9 Next: 14rsqz5iVifN2w6sR6nuFxR5Y32rUHWeL6pitRJ19iWr Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
2-{-# CONTENT_TYPE EXPRESSION #-}
3-func h () = [StringEntry("hey", "ho")]
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
44
5-sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5+
6+@Callable(i)
7+func zarAt () = {
8+ let uni = 1000000
9+ let tic = if ((size(i.payments) > 0))
10+ then i.payments[0]
11+ else throw("No Money No Funny Honey.")
12+ if ((tic.amount > 999999))
13+ then {
14+ let gID = toInt(i.transactionId)
15+ let r = (((((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) + gID) % 6) + 1)
16+[StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, ((r * 3) * uni), unit), StringEntry("Num", toString(r))]
17+ }
18+ else throw("Tickets are 0.01 WAVES")
19+ }
20+
21+

github/deemru/w8io/169f3d6 
21.56 ms