tx · CbJ3iU5NJf444LZgreKNanSPLxpR99ovEVL7M5bxDRSH
3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB: -0.01400000 Waves
2021.06.04 07:05 [1555115] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves
{
"type": 13,
"id": "CbJ3iU5NJf444LZgreKNanSPLxpR99ovEVL7M5bxDRSH",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1622779600558,
"version": 2,
"chainId": 84,
"sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB",
"senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb",
"proofs": [
"557oUABFWvFHgqvfXPRZpqaKHMoePod34G8Rfrfb5wyjo6e54N2w6xExG5mkVPXdM15UXyfwQLR9kWSPqzRWbctm"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAADZm9vAAAAAAQAAAAFY291bnQAAAAAAAAAAAEEAAAAAXIJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM044RG5wd1RmZlVFakRYWEVzbjZidEZyYmdXQzhWWkpoVFoCAAAAA2JhcgkABEwAAAACAAAAAAAAAAAKBQAAAANuaWwFAAAAA25pbAMJAAAAAAAAAgUAAAABcgUAAAABcgkABRQAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAARyLl8yCAUAAAABcgAAAAJfMgUAAAADbmlsBQAAAAR1bml0CQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BYPoKg==",
"height": 1555115,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GospaPeuGrEJDpqYHJdLmKBh7gqiQkf1dYdaP8dNcpAb
Next: vzNjRcAvmMLvGU8niBJxjuHJA8Y3VYgGE2JVaMyrFLk
Diff:
Old | New | | Differences |
---|
8 | 8 | | let count = 1 |
---|
9 | 9 | | let r = invoke(addressFromStringValue("3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ"), "bar", [10], nil) |
---|
10 | 10 | | if ((r == r)) |
---|
11 | | - | then if ((count == 1)) |
---|
12 | | - | then throw(r._2) |
---|
13 | | - | else $Tuple2([IntegerEntry("r._2", r._2)], unit) |
---|
| 11 | + | then $Tuple2([IntegerEntry("r._2", r._2)], unit) |
---|
14 | 12 | | else throw("Strict value is not equal to itself.") |
---|
15 | 13 | | } |
---|
16 | 14 | | |
---|
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 foo () = { |
---|
8 | 8 | | let count = 1 |
---|
9 | 9 | | let r = invoke(addressFromStringValue("3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ"), "bar", [10], nil) |
---|
10 | 10 | | if ((r == r)) |
---|
11 | | - | then if ((count == 1)) |
---|
12 | | - | then throw(r._2) |
---|
13 | | - | else $Tuple2([IntegerEntry("r._2", r._2)], unit) |
---|
| 11 | + | then $Tuple2([IntegerEntry("r._2", r._2)], unit) |
---|
14 | 12 | | else throw("Strict value is not equal to itself.") |
---|
15 | 13 | | } |
---|
16 | 14 | | |
---|
17 | 15 | | |
---|
18 | 16 | | @Verifier(tx) |
---|
19 | 17 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
20 | 18 | | |
---|