tx · FyDzYi5Z5LL1NtQDF3ML3goXsDhDubS72Vtasf6eSNaF

3MyASQCCZh94ABAjDSYLcC38w6cQTDUxgoK:  -0.01000000 Waves

2022.12.03 21:36 [2344551] smart account 3MyASQCCZh94ABAjDSYLcC38w6cQTDUxgoK > SELF 0.00000000 Waves

{ "type": 13, "id": "FyDzYi5Z5LL1NtQDF3ML3goXsDhDubS72Vtasf6eSNaF", "fee": 1000000, "feeAssetId": null, "timestamp": 1670092609124, "version": 2, "chainId": 84, "sender": "3MyASQCCZh94ABAjDSYLcC38w6cQTDUxgoK", "senderPublicKey": "3gpHAs1DbQTnHg2gafDSyTVkcPM1RsJCWcHs1A472ua5", "proofs": [ "3GtuA55NctgFrjAUWD2hYx57HFx4N4ih86ri8z24XLJiC1feF6jcmkuCisREXy8YMnn1w4MnpS2PDJmr9NCjc72w" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAQAAAAAEVVNETgEAAAAgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEAAAABAAAAAWkBAAAAAXcAAAAABAAAAAZiZWZvcmUJAAPwAAAAAgUAAAAEdGhpcwUAAAAEVVNETgMJAAAAAAAAAgUAAAAGYmVmb3JlBQAAAAZiZWZvcmUEAAAAAndyCQAD/AAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNQQ2J2UFZRZlN2VnU4OGlwOEZtNVlqd0poakVZazFUeGhrAgAAABV3aXRoZHJhd1Zlc3RlZEFsbFVTRE4JAARMAAAAAgcJAARMAAAAAgYFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAAJ3cgUAAAACd3IEAAAABWFmdGVyCQAD8AAAAAIFAAAABHRoaXMFAAAABFVTRE4DCQAAAAAAAAIFAAAABWFmdGVyBQAAAAVhZnRlcgQAAAAJZmVlQW1vdW50CQAAaQAAAAIJAABlAAAAAgUAAAAFYWZ0ZXIFAAAABmJlZm9yZQAAAAAAAAAACgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzUEZGTE02OGZnc2pIcjZjcU15aGQ2UHpTRUF6cFAxS255agUAAAAJZmVlQW1vdW50BQAAAARVU0ROBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecf0bFA=", "height": 2344551, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HMTzjvnBUQmF6Q8ffDupw9qEUNoGc6L7mWDz3jXdsRGW Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
4+let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
55
66 @Callable(i)
7-func fff () = {
8- let inv = invoke(addressFromStringValue("3MpcMQnVHFBgmyAdePudibCt3pzJYsEwkte"), "dapp", nil, nil)
9- if ((inv == inv))
10- then nil
7+func w () = {
8+ let before = assetBalance(this, USDN)
9+ if ((before == before))
10+ then {
11+ let wr = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil)
12+ if ((wr == wr))
13+ then {
14+ let after = assetBalance(this, USDN)
15+ if ((after == after))
16+ then {
17+ let feeAmount = ((after - before) / 10)
18+[ScriptTransfer(addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj"), feeAmount, USDN)]
19+ }
20+ else throw("Strict value is not equal to itself.")
21+ }
22+ else throw("Strict value is not equal to itself.")
23+ }
1124 else throw("Strict value is not equal to itself.")
1225 }
1326
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
4+let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
55
66 @Callable(i)
7-func fff () = {
8- let inv = invoke(addressFromStringValue("3MpcMQnVHFBgmyAdePudibCt3pzJYsEwkte"), "dapp", nil, nil)
9- if ((inv == inv))
10- then nil
7+func w () = {
8+ let before = assetBalance(this, USDN)
9+ if ((before == before))
10+ then {
11+ let wr = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil)
12+ if ((wr == wr))
13+ then {
14+ let after = assetBalance(this, USDN)
15+ if ((after == after))
16+ then {
17+ let feeAmount = ((after - before) / 10)
18+[ScriptTransfer(addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj"), feeAmount, USDN)]
19+ }
20+ else throw("Strict value is not equal to itself.")
21+ }
22+ else throw("Strict value is not equal to itself.")
23+ }
1124 else throw("Strict value is not equal to itself.")
1225 }
1326
1427
1528 @Verifier(tx)
1629 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1730

github/deemru/w8io/fabc49c 
21.98 ms