tx · 4Hdsbr3J7MXqgdUE9Y7mdQbSqf217DS6U27snE4WcqrC
3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG: -0.00100000 Waves
2022.09.17 12:10 [2232909] smart account 3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG > SELF 0.00000000 Waves
{
"type": 13,
"id": "4Hdsbr3J7MXqgdUE9Y7mdQbSqf217DS6U27snE4WcqrC",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1663405803827,
"version": 2,
"chainId": 84,
"sender": "3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG",
"senderPublicKey": "3HzjgQV5WnCJUyY4JthYyJGZt3EhxWSTPvisU3aRiz8n",
"proofs": [
"5LP8g5j42V1p51S1SeVeo1kkMSuHHiQeExBtrTmuepYUPfgDHA7XbEz6ymYJsLN2zPb2bo7DhqYWF82NhDxVwE3t"
],
"script": "base64:BgINCAISAwoBARIECgIIAQACAWkBBHRlc3QBBmFtb3VudAQDYmJiCQBqAgUGYW1vdW50AAIDCQAAAgUDYmJiAAAJAJQKAgUDbmlsBgkAAgECCm5vdCB0ZWVlZWUBaQEFdHJhbnMCA2FkZAZhbW91bnQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBEUBleHRyTmF0aXZlKDEwNjIpAQUDYWRkBQZhbW91bnQFBHVuaXQFA25pbADLEdan",
"height": 2232909,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: RiEFDr1VQrtDTcpwnvMTFxfCF9P3jfpf4iW4JydwYbv
Next: 3FYp26sG3eUgXqSs8Zk9W9cCM9ZGQoGj51YUaQfBzXa8
Diff:
Old | New | | Differences |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
| 15 | + | |
---|
| 16 | + | @Callable(i) |
---|
| 17 | + | func trans (add,amount) = [ScriptTransfer(addressFromStringValue(add), amount, unit)] |
---|
| 18 | + | |
---|
| 19 | + | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func test (amount) = { |
---|
8 | 8 | | let bbb = (amount % 2) |
---|
9 | 9 | | if ((bbb == 0)) |
---|
10 | 10 | | then $Tuple2(nil, true) |
---|
11 | 11 | | else throw("not teeeee") |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
| 15 | + | |
---|
| 16 | + | @Callable(i) |
---|
| 17 | + | func trans (add,amount) = [ScriptTransfer(addressFromStringValue(add), amount, unit)] |
---|
| 18 | + | |
---|
| 19 | + | |
---|