tx · GhYeJhy1KbKTxjRqBHZTHNytVnBwuweqw6yjL9saFSDF
3MqgqYC6cjQD4PVcj3D8ACYqAzsDUGEsxrK: -0.01000000 Waves
2023.05.26 19:23 [2595181] smart account 3MqgqYC6cjQD4PVcj3D8ACYqAzsDUGEsxrK > SELF 0.00000000 Waves
{
"type": 13,
"id": "GhYeJhy1KbKTxjRqBHZTHNytVnBwuweqw6yjL9saFSDF",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685118284628,
"version": 2,
"chainId": 84,
"sender": "3MqgqYC6cjQD4PVcj3D8ACYqAzsDUGEsxrK",
"senderPublicKey": "4AYPj5vRzRoR7rJwUXy5phqq5CBdHuackEYr5fyx7vCr",
"proofs": [
"CNYKEo6oYbLHsfGTRLNHEg6NdHtud8hVYPkdKWdgtgc9xU9hoLkL25TduUcRbWwmyzA3rnkzCq8AWqaYAT6omiN"
],
"script": "base64:AAIEAAAAAAAAAAYIAhIAEgAAAAABAQAAAA9nZXRSYW5kb21OdW1iZXIAAAAABAAAAA9yYW5kb21TZWVkQmxvY2sJAQAAAAV2YWx1ZQAAAAEJAAPtAAAAAQAAAAAAAAAAAgQAAAAKcmFuZG9tSGFzaAkAC1QAAAABCQEAAAAFdmFsdWUAAAABCAUAAAAPcmFuZG9tU2VlZEJsb2NrAAAAA3ZyZgkABLEAAAABBQAAAApyYW5kb21IYXNoAAAAAgAAAAFpAQAAAAV0ZXN0MQAAAAAJAQAAAAV0aHJvdwAAAAAAAAABaQEAAAAFdGVzdDMAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACnN0cmluZ0RhdGECAAAAATMFAAAAA25pbAAAAAAoJWR+",
"height": 2595181,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DPhf64kLN193wzfXUqn1X2F5FLbwxYotpSKmZDJ72QvW
Next: LTrMnPgbMVRqfBxVVtFRfuq1VkxpNKqs5955MMQPTEq
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 3 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func getRandomNumber () = { |
---|
| 5 | + | let randomSeedBlock = value(blockInfoByHeight(2)) |
---|
| 6 | + | let randomHash = sha256_16Kb(value(randomSeedBlock.vrf)) |
---|
| 7 | + | toInt(randomHash) |
---|
| 8 | + | } |
---|
4 | 9 | | |
---|
5 | 10 | | |
---|
6 | 11 | | @Callable(i) |
---|
7 | | - | func test1 () = throw("test1") |
---|
| 12 | + | func test1 () = throw() |
---|
8 | 13 | | |
---|
9 | 14 | | |
---|
10 | 15 | | |
---|
11 | 16 | | @Callable(i) |
---|
12 | | - | func test3 () = WriteSet([DataEntry("n", 1)]) |
---|
| 17 | + | func test3 () = [StringEntry("stringData", "3")] |
---|
13 | 18 | | |
---|
14 | 19 | | |
---|