tx · 4kptC3kC9DyiDEvGWP8bcQcBJbtNJZEE2baTYDRYAFTL
3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG: -0.00100000 Waves
2022.09.17 11:50 [2232890] smart account 3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG > SELF 0.00000000 Waves
{
"type": 13,
"id": "4kptC3kC9DyiDEvGWP8bcQcBJbtNJZEE2baTYDRYAFTL",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1663404641586,
"version": 2,
"chainId": 84,
"sender": "3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG",
"senderPublicKey": "3HzjgQV5WnCJUyY4JthYyJGZt3EhxWSTPvisU3aRiz8n",
"proofs": [
"4Vrxd3UacfCeCpE3nB32nHiUKeodv7GcWvLRQerC4SQTd2FCzgA6iertrYz6FPY3RToTKzUTGuEDaucGwZYXv1Vo"
],
"script": "base64:AAIFAAAAAAAAAAIIAgAAAAIBAAAABHRlc3QAAAABAAAABmFtb3VudAQAAAADYmJiCQAAagAAAAIFAAAABmFtb3VudAAAAAAAAAAAAgMJAAAAAAAAAgUAAAADYmJiAAAAAAAAAAAABgkAAAIAAAABAgAAAAtub3QgYWxsb3dlZAEAAAAFdHJhbnMAAAACAAAAA2FkZAAAAAZhbW91bnQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAADYWRkBQAAAAZhbW91bnQFAAAABHVuaXQFAAAAA25pbAAAAAAAAAAA16zNhw==",
"height": 2232890,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9EQyo2wP8ouz9ncGGky4a6WFeVchDrEhjWPHVqckx1LW
Next: RiEFDr1VQrtDTcpwnvMTFxfCF9P3jfpf4iW4JydwYbv
Diff:
Old | New | | Differences |
---|
9 | 9 | | } |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
| 12 | + | func trans (add,amount) = [ScriptTransfer(addressFromStringValue(add), amount, unit)] |
---|
| 13 | + | |
---|
| 14 | + | |
---|
12 | 15 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func test (amount) = { |
---|
5 | 5 | | let bbb = (amount % 2) |
---|
6 | 6 | | if ((bbb == 0)) |
---|
7 | 7 | | then true |
---|
8 | 8 | | else throw("not allowed") |
---|
9 | 9 | | } |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
| 12 | + | func trans (add,amount) = [ScriptTransfer(addressFromStringValue(add), amount, unit)] |
---|
| 13 | + | |
---|
| 14 | + | |
---|
12 | 15 | | |
---|