tx · J2kZejSHfEe5KcUg6aBBvEc8cZZ4bSLmfkC8QFk3Rbyn
3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB: -0.01000000 Waves
2022.03.20 21:06 [1972597] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves
{
"type": 13,
"id": "J2kZejSHfEe5KcUg6aBBvEc8cZZ4bSLmfkC8QFk3Rbyn",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1647799669828,
"version": 2,
"chainId": 84,
"sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB",
"senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf",
"proofs": [
"JYb9SEFvTcP7R4oHzLji3t6DSevWCyEFCAodvEabdAG5X7ut3KN7LGM618CvcWEkZ1m7Qv5eWr8pZ7bqsSHe3iH"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAABAAAAAN0aWMDCQAAZgAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAqQmlyIG1pa3RhciDDtmRlbWUgeWFwbWFuxLF6IGdlcmVrbWVrdGVkaXIuAwkAAGYAAAACCAUAAAADdGljAAAABmFtb3VudAAAAAAAAJiWfwQAAAABcgkAAGoAAAACCQAAZAAAAAIJAABkAAAAAggFAAAACWxhc3RCbG9jawAAAAZoZWlnaHQIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wCAUAAAAJbGFzdEJsb2NrAAAACmJhc2VUYXJnZXQAAAAAAAAAAAYJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIJAAGkAAAAAQgFAAAAAWkAAAADZmVlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACCAUAAAABaQAAAANmZWUAAAAAAAAAADIFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADTnVtCQABpAAAAAEFAAAAAXIFAAAAA25pbAkAAAIAAAABAgAAAA9CaWxldCAwLjEgV0FWRVMAAAAAHD8tqQ==",
"height": 1972597,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HfmKQjUkJtwV8Qt8N6ehcDkvApRjKECGY5KAJAE6iiEY
Next: 2vGfBcBKX2CBQ1s8pJyWaA6zjGn41tBgYDvLa9Ppo8Ae
Diff:
Old | New | | Differences |
---|
8 | 8 | | let tic = if ((size(i.payments) > 0)) |
---|
9 | 9 | | then i.payments[0] |
---|
10 | 10 | | else throw("Bir miktar ödeme yapmanız gerekmektedir.") |
---|
11 | | - | if ((tic.amount > 99999999)) |
---|
| 11 | + | if ((tic.amount > 9999999)) |
---|
12 | 12 | | then { |
---|
13 | 13 | | let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) |
---|
14 | 14 | | [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (i.fee * 50), unit), StringEntry("Num", toString(r))] |
---|
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 | 8 | | let tic = if ((size(i.payments) > 0)) |
---|
9 | 9 | | then i.payments[0] |
---|
10 | 10 | | else throw("Bir miktar ödeme yapmanız gerekmektedir.") |
---|
11 | | - | if ((tic.amount > 99999999)) |
---|
| 11 | + | if ((tic.amount > 9999999)) |
---|
12 | 12 | | then { |
---|
13 | 13 | | let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) |
---|
14 | 14 | | [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (i.fee * 50), unit), StringEntry("Num", toString(r))] |
---|
15 | 15 | | } |
---|
16 | 16 | | else throw("Bilet 0.1 WAVES") |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|