tx · GVsHPGiwfjfCRZuzb9w3U9EKLyuAtN7cbpi5vdf1pRYR

3MrFSfzFCoNgJNYrYyiTC8Ehc9KnSqVbseS:  -0.01000000 Waves

2022.12.18 00:28 [2364834] smart account 3MrFSfzFCoNgJNYrYyiTC8Ehc9KnSqVbseS > SELF 0.00000000 Waves

{ "type": 13, "id": "GVsHPGiwfjfCRZuzb9w3U9EKLyuAtN7cbpi5vdf1pRYR", "fee": 1000000, "feeAssetId": null, "timestamp": 1671312529423, "version": 2, "chainId": 84, "sender": "3MrFSfzFCoNgJNYrYyiTC8Ehc9KnSqVbseS", "senderPublicKey": "GkBH5h9ZmiCL2yKrkq4ZzbofEdZTaAMWN5B9kH66qMbU", "proofs": [ "2nrDC4y52RCmWfKm3G2tB1tDH6PTzQCErW4QKSDezCzexATtBFnVABUHctjwAkrw2ytTmDcW3Bj9B1DWcJjbhSPZ" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAEVVNETgEAAAAgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEAAAAAB0NSRUFUT1IJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNQRkZMTTY4ZmdzakhyNmNxTXloZDZQelNFQXpwUDFLbnlqAAAAAAhSRUZFUlJFUgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM1BGRkxNNjhmZ3NqSHI2Y3FNeWhkNlB6U0VBenBQMUtueWoAAAABAAAAAWkBAAAAAXcAAAAABAAAAAckbWF0Y2gwCQAD/AAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNQQ2J2UFZRZlN2VnU4OGlwOEZtNVlqd0poakVZazFUeGhrAgAAABV3aXRoZHJhd1Zlc3RlZEFsbFVTRE4JAARMAAAAAgcJAARMAAAAAgYFAAAAA25pbAUAAAADbmlsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAABmFtb3VudAUAAAAHJG1hdGNoMAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAdDUkVBVE9SCQAAawAAAAMFAAAABmFtb3VudAAAAAAAAAAAUAAAAAAAAAAAZAUAAAAEVVNETgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAhSRUZFUlJFUgkAAGsAAAADBQAAAAZhbW91bnQAAAAAAAAAABQAAAAAAAAAAGQFAAAABFVTRE4FAAAAA25pbAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXm6pqqN", "height": 2364834, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5ijiWB3tyj8R3Czx3rTftxfFFM8E66CXbS2n6AKZJoah Next: none Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
55
6+let CREATOR = addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj")
7+
8+let REFERRER = addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj")
9+
610 @Callable(i)
711 func w () = match invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) {
812 case amount: Int =>
9-[ScriptTransfer(addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj"), (amount / 10), USDN)]
13+[ScriptTransfer(CREATOR, fraction(amount, 80, 100), USDN), ScriptTransfer(REFERRER, fraction(amount, 20, 100), USDN)]
1014 case _ =>
1115 nil
1216 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
55
6+let CREATOR = addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj")
7+
8+let REFERRER = addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj")
9+
610 @Callable(i)
711 func w () = match invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) {
812 case amount: Int =>
9-[ScriptTransfer(addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj"), (amount / 10), USDN)]
13+[ScriptTransfer(CREATOR, fraction(amount, 80, 100), USDN), ScriptTransfer(REFERRER, fraction(amount, 20, 100), USDN)]
1014 case _ =>
1115 nil
1216 }
1317
1418
1519 @Verifier(tx)
1620 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1721

github/deemru/w8io/fabc49c 
28.30 ms