tx · 5dMrGfwxZaWAuVrPhaBpi6U3G9NcBMQJ8TiHvzp9PmxR
3Mwkdd5A3MhTY9Vby8zthEvCSwx8nJ45cvY: -0.01000000 Waves
2022.12.15 21:42 [2361803] smart account 3Mwkdd5A3MhTY9Vby8zthEvCSwx8nJ45cvY > SELF 0.00000000 Waves
{
"type": 13,
"id": "5dMrGfwxZaWAuVrPhaBpi6U3G9NcBMQJ8TiHvzp9PmxR",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671129846268,
"version": 2,
"chainId": 84,
"sender": "3Mwkdd5A3MhTY9Vby8zthEvCSwx8nJ45cvY",
"senderPublicKey": "cpQ7tTSeFbzrpdm11NfrKYqcVtu2Y8Bc3BuAKi6JJZR",
"proofs": [
"43sWFkKHCeqUnFbHAzrAFuP2BSvqghYTCcyX5unJ6mxC5tkVfd9yz5R5fySuvAY8MQjjCV3LMvGZiqDh3aUDSKaz"
],
"script": "base64:BgIECAISAAABAWkBAWMAAwkBAiE9AggJAJEDAggFAWkIcGF5bWVudHMAAAdhc3NldElkBQR1bml0CQACAQIQdW5leHBlY3RlZCBhc3NldAQJZmVlQW1vdW50CQBrAwgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQABwBkBAptYWluQW1vdW50CQBlAggJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQFCWZlZUFtb3VudAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEBGgFUJvbD4dB/xPJzKfvdZZWRGSZoE8m/CnlFCAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAgJAJEDAggFAWkIcGF5bWVudHMAAAdhc3NldElkCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQEaAVT/0cO9tweF1GP7TJVhA0MKRaKC7qUsE/UICQCRAwIIBQFpCHBheW1lbnRzAAAGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQFA25pbADlxfMH",
"height": 2361803,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 3GbhFgwVw1cdc8t7A9zagmSqbhK8D8XPuMpRoGpr2oJJ
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 c () = if ((i.payments[0].assetId != unit)) |
---|
| 8 | + | then throw("unexpected asset") |
---|
| 9 | + | else { |
---|
| 10 | + | let feeAmount = fraction(i.payments[0].amount, 7, 100) |
---|
| 11 | + | let mainAmount = (i.payments[0].amount - feeAmount) |
---|
| 12 | + | [ScriptTransfer(Address(base58'3MsU74khj4Th8tVgVrNsqiLqvFg67rCnNcC'), i.payments[0].amount, i.payments[0].assetId), ScriptTransfer(Address(base58'3NDEjNYAdPbGUzMhUu5Fqkyp9E5oboeWwwA'), i.payments[0].amount, i.payments[0].assetId)] |
---|
| 13 | + | } |
---|
| 14 | + | |
---|
| 15 | + | |
---|