tx · 7pQpib4F4PkPJibH8z6GZgGc1PMv9urSC1rwa6JUMCKA
3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB: -0.01000000 Waves
2022.03.20 20:07 [1972530] smart account 3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB > SELF 0.00000000 Waves
{
"type": 13,
"id": "7pQpib4F4PkPJibH8z6GZgGc1PMv9urSC1rwa6JUMCKA",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1647796070965,
"version": 2,
"chainId": 84,
"sender": "3NBxmy6co128zY2x4nz4tdYE7LBLz2RXHuB",
"senderPublicKey": "5HaVHwTnAqmQF8TLd8vAqExCLoKuBKoJ4wXKhVbSSapf",
"proofs": [
"59z9j6HCZnvwNpKn9cd5FuWLZNe7aG9J59TjDQpY1H8C99mqgKhNwpgNzo293fsS8QGbhw3B1eqkvgBPQqn77v1X"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAFemFyQXQAAAAAAwkAAGYAAAACAAAAAAAAAAABCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzCQAAAgAAAAECAAAAKkJpciBtaWt0YXIgw7ZkZW1lIHlhcG1hbsSxeiBnZXJla21la3RlZGlyLgQAAAABcgkAAGoAAAACCQAAZAAAAAIJAABkAAAAAggFAAAACWxhc3RCbG9jawAAAAZoZWlnaHQIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wCAUAAAAJbGFzdEJsb2NrAAAACmJhc2VUYXJnZXQAAAAAAAAAAAYJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIJAAGkAAAAAQgFAAAAAWkAAAADZmVlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACCAUAAAABaQAAAANmZWUAAAAAAAAAADIFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADTnVtCQABpAAAAAEFAAAAAXIFAAAAA25pbAAAAACWKeR4",
"height": 1972530,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Fi2UfjL2B8WnH42DLppfAKsDDkN7J34viKCqzNuiK9y8
Next: KnpEBUaKkFuGwnnJ3u6UhXVBJdjmaRk2pcQSXxGPfRT
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func zarAt () = if ((1 > size(i.payments))) |
---|
8 | | - | then throw("yok beyb") |
---|
| 8 | + | then throw("Bir miktar ödeme yapmanız gerekmektedir.") |
---|
9 | 9 | | else { |
---|
10 | | - | let r = ((lastBlock.height + lastBlock.timestamp) % 6) |
---|
| 10 | + | let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) |
---|
11 | 11 | | [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (i.fee * 50), unit), StringEntry("Num", toString(r))] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
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 () = if ((1 > size(i.payments))) |
---|
8 | | - | then throw("yok beyb") |
---|
| 8 | + | then throw("Bir miktar ödeme yapmanız gerekmektedir.") |
---|
9 | 9 | | else { |
---|
10 | | - | let r = ((lastBlock.height + lastBlock.timestamp) % 6) |
---|
| 10 | + | let r = (((lastBlock.height + lastBlock.timestamp) + lastBlock.baseTarget) % 6) |
---|
11 | 11 | | [StringEntry(toString(i.caller), toString(i.fee)), ScriptTransfer(i.caller, (i.fee * 50), unit), StringEntry("Num", toString(r))] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|