tx · 559rsUeVZnXn3eKdX1yYXRBYvF1829hLmxPskHNZfat
3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss: -0.04000000 Waves
2020.08.11 22:08 [1128272] smart account 3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss > SELF 0.00000000 Waves
{
"type": 13,
"id": "559rsUeVZnXn3eKdX1yYXRBYvF1829hLmxPskHNZfat",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1597172901555,
"version": 1,
"sender": "3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss",
"senderPublicKey": "7EaUr5Z6zmEQJXz7jVWXjW7xbJLakPjxFPTZFogi8wzr",
"proofs": [
"3hA68A7kT8Jp3gjcDeVmMqya6J8Lyks6zJG9ivydPexqPyzEVyYh3LHJHV9o4hYipU2cMTnheJLSyEbaC82y2Veq"
],
"script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAGcmFuZG9tAAAAAAQAAAAEaGFzaAkAAfcAAAABCQABmwAAAAECAAAABXRlc3QyBAAAAAZudW1iZXIJAASyAAAAAgUAAAAEaGFzaAAAAAAAAAAAAAQAAAAGcmVzdWx0BQAAAAZudW1iZXIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABm51bWJlcgUAAAAGcmVzdWx0BQAAAANuaWwAAAAASPdKzQ==",
"chainId": 84,
"height": 1128272,
"spentComplexity": 0
}
View: original | compacted
Prev: 7fJYJ3Qjn44pR4NYemasaANsmdy5dHKEySBQ13B2iAFC
Next: 9NPuNqcbwdaNvHaygV6Jiq6UNNWr6apjwnGAYH9AjpRP
Diff:
Old | New | | Differences |
---|
7 | 7 | | func random () = { |
---|
8 | 8 | | let hash = sha256(toBytes("test2")) |
---|
9 | 9 | | let number = toInt(hash, 0) |
---|
10 | | - | let result = (number % 360) |
---|
| 10 | + | let result = number |
---|
11 | 11 | | WriteSet([DataEntry("number", result)]) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
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, 0) |
---|
10 | | - | let result = (number % 360) |
---|
| 10 | + | let result = number |
---|
11 | 11 | | WriteSet([DataEntry("number", result)]) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|