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:
OldNewDifferences
99 else {
1010 let feeAmount = fraction(i.payments[0].amount, 7, 100)
1111 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)]
1313 }
1414
1515
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func c () = if ((i.payments[0].assetId != unit))
88 then throw("unexpected asset")
99 else {
1010 let feeAmount = fraction(i.payments[0].amount, 7, 100)
1111 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)]
1313 }
1414
1515

github/deemru/w8io/169f3d6 
26.89 ms