tx · H9XGJzfmTWvas99uNiLwigudhRoDvQNtHk8UWVaDwYzo 3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4: -0.01400000 Waves 2021.04.14 23:10 [1482582] smart account 3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4 > SELF 0.00000000 Waves
{ "type": 13, "id": "H9XGJzfmTWvas99uNiLwigudhRoDvQNtHk8UWVaDwYzo", "fee": 1400000, "feeAssetId": null, "timestamp": 1618431037539, "version": 2, "chainId": 84, "sender": "3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4", "senderPublicKey": "5CqqMkmtXXt35KRH9LdWA3ap6TffPvTT5SHQzYrVFbBw", "proofs": [ "42fhvJ4TkV1qJgKXAsHYRwJgNMK7BH12UfCs6vPhvsnzCtYH7vAi3ztVxLKAc4stpkVjTC3bejJSXioNqhaTmDhZ" ], "script": "base64:AAIEAAAAAAAAAAIIAgAAAAgAAAAAEWdvdmVybmFuY2VBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUcfFVgbQTJcWNlHB+frBs1+VvhcIsEzy/AAAAAA5mYXJtaW5nQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCnPuY1cs6Yc+wrxHZMThlFbSyWhkjBpIQAAAAANb3JhY2xlQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVBfZTOgGKCvAkhITbti12MPHuaZxMGcpTwAAAAALYWRtaW5JbnZva2UBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTEBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTIBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTMBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFrZXlQcmVmaXhQb29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YWxsBgUAAAANaXNBaXJkcm9wQ2FsbAYFAAAAFGlzVXBkYXRlUG9vbEludGVyZXN0CQAAAAAAAAIJAAGQAAAAAQgFAAAABmludm9rZQAAAAhwYXltZW50cwAAAAAAAAAAAQcGAwUAAAATaXNVcGRhdGVXZWlnaHRzQ2FsbAkAAAAAAAACCQABkAAAAAEIBQAAAAZpbnZva2UAAAAIcGF5bWVudHMAAAAAAAAAAAAHCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleTyd+X4=", "height": 1482582, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CjqbT5fuKrCyNB32MTJ4VNzZorHre1f7wLsKjDTyy64Y Next: 2g2PtXUs7dFVFLBA5qhqjH4XwGouqUUe9wjp6F8ftNY8 Diff:
Old | New | Differences | |
---|---|---|---|
33 | 33 | let o = if ((l.dApp == a)) | |
34 | 34 | then (l.function == "updateWeights") | |
35 | 35 | else false | |
36 | - | let p = if ((l.dApp == | |
36 | + | let p = if ((l.dApp == b)) | |
37 | 37 | then (l.function == "updatePoolInterest") | |
38 | 38 | else false | |
39 | 39 | let q = sigVerify(i.bodyBytes, i.proofs[0], d) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS') | |
5 | 5 | ||
6 | 6 | let b = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
7 | 7 | ||
8 | 8 | let c = Address(base58'3Mr6BddWEDfzKwNabpYbyd8Qos8LGEAAUvi') | |
9 | 9 | ||
10 | 10 | let d = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
11 | 11 | ||
12 | 12 | let e = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
13 | 13 | ||
14 | 14 | let f = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
15 | 15 | ||
16 | 16 | let g = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
17 | 17 | ||
18 | 18 | let h = "pool_" | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | @Verifier(i) | |
22 | 22 | func j () = { | |
23 | 23 | let k = i | |
24 | 24 | if ($isInstanceOf(k, "InvokeScriptTransaction")) | |
25 | 25 | then { | |
26 | 26 | let l = k | |
27 | 27 | let m = if (isDefined(getString(c, (h + toString(addressFromRecipient(l.dApp)))))) | |
28 | 28 | then (l.function == "exchange") | |
29 | 29 | else false | |
30 | 30 | let n = if ((l.dApp == a)) | |
31 | 31 | then (l.function == "airDrop") | |
32 | 32 | else false | |
33 | 33 | let o = if ((l.dApp == a)) | |
34 | 34 | then (l.function == "updateWeights") | |
35 | 35 | else false | |
36 | - | let p = if ((l.dApp == | |
36 | + | let p = if ((l.dApp == b)) | |
37 | 37 | then (l.function == "updatePoolInterest") | |
38 | 38 | else false | |
39 | 39 | let q = sigVerify(i.bodyBytes, i.proofs[0], d) | |
40 | 40 | if (if (if (if (m) | |
41 | 41 | then true | |
42 | 42 | else n) | |
43 | 43 | then true | |
44 | 44 | else p) | |
45 | 45 | then (size(l.payments) == 1) | |
46 | 46 | else false) | |
47 | 47 | then true | |
48 | 48 | else if (o) | |
49 | 49 | then (size(l.payments) == 0) | |
50 | 50 | else false | |
51 | 51 | } | |
52 | 52 | else sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) | |
53 | 53 | } | |
54 | 54 |
github/deemru/w8io/026f985 28.00 ms ◑