tx · CpJSyW4v1feiGgrgj1zhwY9rh3JxJLzGA2QgRqJ4s8ST
3MwvooYHA22kyPsQkRNQ8zkqaVQaSvwAuz2: -0.00100000 Waves
2022.07.06 15:53 [2127846] smart account 3MwvooYHA22kyPsQkRNQ8zkqaVQaSvwAuz2 > SELF 0.00000000 Waves
{
"type": 13,
"id": "CpJSyW4v1feiGgrgj1zhwY9rh3JxJLzGA2QgRqJ4s8ST",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1657112037586,
"version": 2,
"chainId": 84,
"sender": "3MwvooYHA22kyPsQkRNQ8zkqaVQaSvwAuz2",
"senderPublicKey": "7Sz8q9VzovjXEiBaupHd5syNkwyUfLaKf4pwETwksZLT",
"proofs": [
"bJYykFV8tKgN1mvVkNaTvF7eUiA9MPh7ffwiiBa8QSkBKhiiANjTTZ6sF66yk3CNQgn7vWa9B9cVCPVGtx2PfxN"
],
"script": "base64:BgIICAISBAoCAQEAAQFpAQRjYWxsAgVkZXB0aAtzdGFydEhlaWdodAQLY2hlY2tIZWlnaHQDAwkBAiE9AgULc3RhcnRIZWlnaHQAAAkBAiE9AgUGaGVpZ2h0BQtzdGFydEhlaWdodAcJAAIBAg5pbnZhbGlkIGhlaWdodAUEdW5pdAMJAAACBQtjaGVja0hlaWdodAULY2hlY2tIZWlnaHQDCQAAAgUFZGVwdGgAAAkAlAoCBQNuaWwFBHVuaXQEDnN0YXJ0SGVpZ2h0TmV3AwkAAAIFC3N0YXJ0SGVpZ2h0AAAFBmhlaWdodAULc3RhcnRIZWlnaHQEA3JlcwkA/AcEBQR0aGlzAgRjYWxsCQDMCAIJAGUCBQVkZXB0aAABCQDMCAIFDnN0YXJ0SGVpZ2h0TmV3BQNuaWwFA25pbAMJAAACBQNyZXMFA3JlcwkAlAoCBQNuaWwFA3JlcwkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgDkc0hW",
"height": 2127846,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: EEB1kxiyWNTrthSru6Qc2Sgmu3umgkdzcJhGtXCgxqgV
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func call (depth,startHeight) = { |
---|
| 8 | + | let checkHeight = if (if ((startHeight != 0)) |
---|
| 9 | + | then (height != startHeight) |
---|
| 10 | + | else false) |
---|
| 11 | + | then throw("invalid height") |
---|
| 12 | + | else unit |
---|
| 13 | + | if ((checkHeight == checkHeight)) |
---|
| 14 | + | then if ((depth == 0)) |
---|
| 15 | + | then $Tuple2(nil, unit) |
---|
| 16 | + | else { |
---|
| 17 | + | let startHeightNew = if ((startHeight == 0)) |
---|
| 18 | + | then height |
---|
| 19 | + | else startHeight |
---|
| 20 | + | let res = invoke(this, "call", [(depth - 1), startHeightNew], nil) |
---|
| 21 | + | if ((res == res)) |
---|
| 22 | + | then $Tuple2(nil, res) |
---|
| 23 | + | else throw("Strict value is not equal to itself.") |
---|
| 24 | + | } |
---|
| 25 | + | else throw("Strict value is not equal to itself.") |
---|
| 26 | + | } |
---|
| 27 | + | |
---|
| 28 | + | |
---|