tx · 5R2VgWJ9WCL8oFFYhVnwCAdmhMaAUKzDUXzgkAudCMcT
3MpTrfRhg53gCpMfQYE5Tc8DH8jynkPX7Mw: -0.00100000 Waves
2022.09.13 07:00 [2226819] smart account 3MpTrfRhg53gCpMfQYE5Tc8DH8jynkPX7Mw > SELF 0.00000000 Waves
{
"type": 13,
"id": "5R2VgWJ9WCL8oFFYhVnwCAdmhMaAUKzDUXzgkAudCMcT",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1663041715347,
"version": 2,
"chainId": 84,
"sender": "3MpTrfRhg53gCpMfQYE5Tc8DH8jynkPX7Mw",
"senderPublicKey": "AZagFBYfQhNpk6VXgrAn9xKm9zkAcZGyhzbvSYJSMMHM",
"proofs": [
"2oMpwLGaRknyM5n13BoC9KWsnHFvXAg1s79jrpjaFrNGXhqVtrHr2S6mYkQMjiwWyNphVqCUGNxhyUZ4j7rt2G2w"
],
"script": "base64:BgIKCAISBgoECAgEBAEABWFkbWluCQERQGV4dHJOYXRpdmUoMTA2MikBAiMzUFBpck5NUjhaZHA4VlBBaEphaVdadmtpNTEyVlRyS01oMwEBaQEOd2l0aGRyYXdWZXN0ZWQEAWEBYgFjAWQDCQECIT0CCAUBaQZjYWxsZXIFBWFkbWluCQACAQIBIQQDaW52CQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEFAWEFAWIJAMwIAgUBYwkAzAgCBQFkBQNuaWwFA25pbAMJAAACBQNpbnYFA2ludgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkAyBMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleXMEssg=",
"height": 2226819,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: NufugYfuSSq6cuLN7gdRYKLnzTL695yGGFdoiqGfLYE
Next: FB8PWr6haaFGMXsYWj7wu1ijFUNPzdRTwC3AjNPgGgeL
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 5 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = addressFromStringValue("3P2ETTTFbquK5SSiRPUZwjsX3JxbMKnrBx1") |
---|
| 4 | + | let a = addressFromStringValue("3PPirNMR8Zdp8VPAhJaiWZvki512VTrKMh3") |
---|
5 | 5 | | |
---|
6 | | - | let b = addressFromStringValue("3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT") |
---|
7 | | - | |
---|
8 | | - | let c = ["6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ", "34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ", "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"] |
---|
9 | | - | |
---|
10 | | - | let d = [addressFromStringValue("3PGCkrHBxFMi7tz1xqnxgBpeNvn5E4M4g8S"), addressFromStringValue("3PEiD1zJWTMZNWSCyzhvBw9pxxAWeEwaghR"), addressFromStringValue("3PCwFXSq8vj8iKitA5zrrLRbuqehfmimpce")] |
---|
11 | | - | |
---|
12 | | - | @Callable(e) |
---|
13 | | - | func w (f,g,h) = if ((e.caller != a)) |
---|
| 6 | + | @Callable(b) |
---|
| 7 | + | func withdrawVested (c,d,e,f) = if ((b.caller != a)) |
---|
14 | 8 | | then throw("!") |
---|
15 | 9 | | else { |
---|
16 | | - | let i = c[f] |
---|
17 | | - | let j = fromBase58String(i) |
---|
18 | | - | let k = d[f] |
---|
19 | | - | let l = assetBalance(k, j) |
---|
20 | | - | let m = if ((l > h)) |
---|
21 | | - | then h |
---|
22 | | - | else l |
---|
23 | | - | let n = invoke(b, "withdraw", [i, m], nil) |
---|
24 | | - | nil |
---|
| 10 | + | let g = invoke(addressFromStringValue(c), d, [e, f], nil) |
---|
| 11 | + | if ((g == g)) |
---|
| 12 | + | then nil |
---|
| 13 | + | else throw("Strict value is not equal to itself.") |
---|
25 | 14 | | } |
---|
26 | 15 | | |
---|
27 | 16 | | |
---|
28 | | - | @Verifier(o) |
---|
29 | | - | func p () = sigVerify_128Kb(o.bodyBytes, o.proofs[0], o.senderPublicKey) |
---|
| 17 | + | @Verifier(h) |
---|
| 18 | + | func i () = sigVerify_128Kb(h.bodyBytes, h.proofs[0], h.senderPublicKey) |
---|
30 | 19 | | |
---|