tx · RiEFDr1VQrtDTcpwnvMTFxfCF9P3jfpf4iW4JydwYbv
3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG: -0.00100000 Waves
2022.09.17 12:05 [2232905] smart account 3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG > SELF 0.00000000 Waves
{
"type": 13,
"id": "RiEFDr1VQrtDTcpwnvMTFxfCF9P3jfpf4iW4JydwYbv",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1663405547403,
"version": 2,
"chainId": 84,
"sender": "3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG",
"senderPublicKey": "3HzjgQV5WnCJUyY4JthYyJGZt3EhxWSTPvisU3aRiz8n",
"proofs": [
"nuzLusqTpMG1FNhHzCEgKtWXo74FUP12fZr6mE6XsndBVQLYPqCGAr5fFbya39yQngY6dEWqcSGAQR4L62ENHrr"
],
"script": "base64:BgIHCAISAwoBAQABAWkBBHRlc3QBBmFtb3VudAQDYmJiCQBqAgUGYW1vdW50AAIDCQAAAgUDYmJiAAAJAJQKAgUDbmlsBgkAAgECCm5vdCB0ZWVlZWUARDh97Q==",
"height": 2232905,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4kptC3kC9DyiDEvGWP8bcQcBJbtNJZEE2baTYDRYAFTL
Next: 4Hdsbr3J7MXqgdUE9Y7mdQbSqf217DS6U27snE4WcqrC
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 5 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func a (b) = { |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(a) |
---|
| 7 | + | func test (b) = { |
---|
5 | 8 | | let c = (b % 2) |
---|
6 | 9 | | if ((c == 0)) |
---|
7 | | - | then true |
---|
8 | | - | else throw("not allowed") |
---|
| 10 | + | then $Tuple2(nil, true) |
---|
| 11 | + | else throw("not teeeee") |
---|
9 | 12 | | } |
---|
10 | | - | |
---|
11 | | - | |
---|
12 | | - | func d (e,b) = [ScriptTransfer(addressFromStringValue(e), b, unit)] |
---|
13 | | - | |
---|
14 | 13 | | |
---|
15 | 14 | | |
---|