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