tx · 8gKENtSgjtdFU55ub1msJhJef5JorXt4PLwxXTSLq68a
3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss: -0.01000000 Waves
2020.08.11 20:37 [1128175] smart account 3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss > SELF 0.00000000 Waves
{
"type": 13,
"id": "8gKENtSgjtdFU55ub1msJhJef5JorXt4PLwxXTSLq68a",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1597167478995,
"version": 1,
"sender": "3N1x2A7NumZqydu5zGntLZSMe26rcpdyoss",
"senderPublicKey": "7EaUr5Z6zmEQJXz7jVWXjW7xbJLakPjxFPTZFogi8wzr",
"proofs": [
"4jRLeZrZUpeWdicWAb1H5acSwkAKjZxZ32tM6oJjyi8P8EG84CBERBE1gNmka8qHckwm5pAN4c6aTLqoQDAG4W2t"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAAGcmFuZG9tAAAAAQAAAARzZWVkBAAAAARoYXNoCQAB9wAAAAEJAAGbAAAAAQUAAAAEc2VlZAQAAAAGbnVtYmVyCQAEsQAAAAEFAAAABGhhc2gJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABm51bWJlcgUAAAAGbnVtYmVyBQAAAANuaWwAAAAAZl2ptQ==",
"chainId": 84,
"height": 1128175,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 6qy2QwYYfrcarqwAZhg1kBkLDYEj7ijRkywwcn93GSx8
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(a) |
---|
| 7 | + | func random (b) = { |
---|
| 8 | + | let c = sha256(toBytes(b)) |
---|
| 9 | + | let d = toInt(c) |
---|
| 10 | + | WriteSet([DataEntry("number", d)]) |
---|
| 11 | + | } |
---|
| 12 | + | |
---|
| 13 | + | |
---|