tx · 2nHUtjmTkjUrzyq4QvqQPPenYwKGTXEpGxppzvupabjp
3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss: -0.04000000 Waves
2020.08.11 21:47 [1128250] smart account 3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss > SELF 0.00000000 Waves
{
"type": 13,
"id": "2nHUtjmTkjUrzyq4QvqQPPenYwKGTXEpGxppzvupabjp",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1597171686145,
"version": 1,
"sender": "3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss",
"senderPublicKey": "7EaUr5Z6zmEQJXz7jVWXjW7xbJLakPjxFPTZFogi8wzr",
"proofs": [
"2axrqcceCH1TCgM5r8QTK1ftjAsDdsRmRYRFdHBVCkptQnccEhSeCryRKX7VR7V6L7wEnzc8bjUVRDmCZb32xpEB"
],
"script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAGcmFuZG9tAAAAAAQAAAAEaGFzaAkAAfcAAAABCQABmwAAAAECAAAABXRlc3QyBAAAAAZudW1iZXIJAASxAAAAAQUAAAAEaGFzaAQAAAAGcmVzdWx0CQAAagAAAAIFAAAABm51bWJlcgAAAAAAAAABaAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAGbnVtYmVyBQAAAARoYXNoBQAAAANuaWwAAAAAQ+hJeg==",
"chainId": 84,
"height": 1128250,
"spentComplexity": 0
}
View: original | compacted
Prev: CQjPERXL1sHyoXVJ6JMwzUWvo2r283jyceVeRRoQ4sKr
Next: 7ziQXRK9kaP7iC5AKC6sF87nUEbyXcmpGoSeDUhmKyYc
Diff:
Old | New | | Differences |
---|
8 | 8 | | let hash = sha256(toBytes("test2")) |
---|
9 | 9 | | let number = toInt(hash) |
---|
10 | 10 | | let result = (number % 360) |
---|
11 | | - | WriteSet([DataEntry("number", result)]) |
---|
| 11 | + | WriteSet([DataEntry("number", hash)]) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func random () = { |
---|
8 | 8 | | let hash = sha256(toBytes("test2")) |
---|
9 | 9 | | let number = toInt(hash) |
---|
10 | 10 | | let result = (number % 360) |
---|
11 | | - | WriteSet([DataEntry("number", result)]) |
---|
| 11 | + | WriteSet([DataEntry("number", hash)]) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|