tx · 7B9CM2dkQJBvkgp6E43EqDpF6tcBsTbw61WZ4EnDHB2P
3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG: -0.00100000 Waves
2022.09.17 11:45 [2232884] smart account 3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG > SELF 0.00000000 Waves
{
"type": 13,
"id": "7B9CM2dkQJBvkgp6E43EqDpF6tcBsTbw61WZ4EnDHB2P",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1663404314501,
"version": 2,
"chainId": 84,
"sender": "3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG",
"senderPublicKey": "3HzjgQV5WnCJUyY4JthYyJGZt3EhxWSTPvisU3aRiz8n",
"proofs": [
"4D7L6PD1fjdNLm98ts22FmDgyDUJGeeM46N6YmqhbfEuycErtru5XqdShVUAxyvjsMnoxh5zDn5NghRFYQw6FT9H"
],
"script": "base64:BgIKCAISBgoECAgBAQABAWkBBnRlbGxtZQQEYWRkMQRhZGQyCmFkZDFBbW91bnQKYWRkMkFtb3VudAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQERQGV4dHJOYXRpdmUoMTA2MikBBQRhZGQxBQphZGQxQW1vdW50BQR1bml0CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJARFAZXh0ck5hdGl2ZSgxMDYyKQEFBGFkZDIFCmFkZDJBbW91bnQFBHVuaXQFA25pbADtyLWH",
"height": 2232884,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: CxwvkjDM6i6gNeu7qMtZGDjb3LLjSatUcvgdNEEY6XtL
Next: 9EQyo2wP8ouz9ncGGky4a6WFeVchDrEhjWPHVqckx1LW
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 5 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func test (amount) = { |
---|
5 | | - | let bbb = (amount % 2) |
---|
6 | | - | if ((bbb == 0)) |
---|
7 | | - | then true |
---|
8 | | - | else throw("not allowed") |
---|
9 | | - | } |
---|
10 | 4 | | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func tellme (add1,add2,add1Amount,add2Amount) = [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit), ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)] |
---|
11 | 8 | | |
---|
12 | 9 | | |
---|