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
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
4 | 5 | | |
---|
5 | | - | |
---|
6 | | - | @Callable(a) |
---|
7 | | - | func fff () = { |
---|
8 | | - | let b = invoke(addressFromStringValue("3MpcMQnVHFBgmyAdePudibCt3pzJYsEwkte"), "dapp", nil, nil) |
---|
9 | | - | if ((b == b)) |
---|
10 | | - | then nil |
---|
| 6 | + | @Callable(b) |
---|
| 7 | + | func w () = { |
---|
| 8 | + | let c = assetBalance(this, a) |
---|
| 9 | + | if ((c == c)) |
---|
| 10 | + | then { |
---|
| 11 | + | let d = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) |
---|
| 12 | + | if ((d == d)) |
---|
| 13 | + | then { |
---|
| 14 | + | let e = assetBalance(this, a) |
---|
| 15 | + | if ((e == e)) |
---|
| 16 | + | then { |
---|
| 17 | + | let f = ((e - c) / 10) |
---|
| 18 | + | [ScriptTransfer(addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj"), f, a)] |
---|
| 19 | + | } |
---|
| 20 | + | else throw("Strict value is not equal to itself.") |
---|
| 21 | + | } |
---|
| 22 | + | else throw("Strict value is not equal to itself.") |
---|
| 23 | + | } |
---|
11 | 24 | | else throw("Strict value is not equal to itself.") |
---|
12 | 25 | | } |
---|
13 | 26 | | |
---|
14 | 27 | | |
---|
15 | | - | @Verifier(c) |
---|
16 | | - | func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey) |
---|
| 28 | + | @Verifier(g) |
---|
| 29 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
17 | 30 | | |
---|