tx · Gvf7JAQoy1qEHYyUoY76STd3soFx14oAPH2ZhTnrjkDC
3N2XpUqCtTfja6qx9PYTK5rMqPqPGHjUKBk: -0.01000000 Waves
2022.04.07 18:40 [1998336] smart account 3N2XpUqCtTfja6qx9PYTK5rMqPqPGHjUKBk > SELF 0.00000000 Waves
{
"type": 13,
"id": "Gvf7JAQoy1qEHYyUoY76STd3soFx14oAPH2ZhTnrjkDC",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1649346106942,
"version": 2,
"chainId": 84,
"sender": "3N2XpUqCtTfja6qx9PYTK5rMqPqPGHjUKBk",
"senderPublicKey": "HamtkqxV16vJfpP5mMUgFhbhNT5ArhVEuGbrcCXAF2Ac",
"proofs": [
"2gq7MssxuxrJSPgAqdJ4X5XTYHrApBMg61QpU4EQMnRAT4EjN7zeYjJcYHgMoeWr49e3z4twTdwQvcnZyXPY1Heu"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAEAAAABcgMJAAAAAAAAAgUAAAABcgAAAAAAAAAAAAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAFQWxpYXMAAAABAgAAAAR0ZXN0AAAAAAA7msoABQAAAAR1bml0BQAAAANuaWwEAAAAAWYJAABrAAAAAwkAAGsAAAADBQAAAAFyAAAAAAAAAAABAAAAAAAAAAABAAAAAAAAAAABAAAAAAAAAAABBAAAAAFnCQAD/AAAAAQFAAAABHRoaXMCAAAABGNhbGwJAARMAAAAAgkAAGUAAAACBQAAAAFmAAAAAAAAAAABBQAAAANuaWwFAAAAA25pbAMJAAAAAAAAAgUAAAABZwUAAAABZwUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAAQICOv",
"height": 1998336,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 32whv8QQu1LrmT6TCVr1iDGS9BWBDLVuggWarUC5p9Uk
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func call (r) = if ((r == 0)) |
---|
| 8 | + | then [ScriptTransfer(Alias("test"), 1000000000, unit)] |
---|
| 9 | + | else { |
---|
| 10 | + | let f = fraction(fraction(r, 1, 1), 1, 1) |
---|
| 11 | + | let g = invoke(this, "call", [(f - 1)], nil) |
---|
| 12 | + | if ((g == g)) |
---|
| 13 | + | then nil |
---|
| 14 | + | else throw("Strict value is not equal to itself.") |
---|
| 15 | + | } |
---|
| 16 | + | |
---|
| 17 | + | |
---|