tx · 9muvmbpNbaEJoCkq9wKCPe1cEcxK1nt4GRVxNqggW7e1 3MrYoV4W5mu5ZP8rPspCXveMXusGstSPTjL: -0.01400000 Waves 2020.02.01 14:14 [879973] smart account 3MrYoV4W5mu5ZP8rPspCXveMXusGstSPTjL > SELF 0.00000000 Waves
{ "type": 13, "id": "9muvmbpNbaEJoCkq9wKCPe1cEcxK1nt4GRVxNqggW7e1", "fee": 1400000, "feeAssetId": null, "timestamp": 1580555669355, "version": 1, "sender": "3MrYoV4W5mu5ZP8rPspCXveMXusGstSPTjL", "senderPublicKey": "f1NbgbpkRpbigsrHaDkWZAkPgcqd8GM5G5eNmqnTD6z", "proofs": [ "2CV7nhQrNAVbc2i6jMYdpo9aHLXkRubqS5Ty7mrTS8swVugmHRtR7QbLDf5wCAXK9CGTLCDaVVed61oYCSYEUwAz" ], "script": "base64:AAIDAAAAAAAAAA8IARIFCgMICAgSBAoCCAgAAAAIAAAAAAh2ZXJpZmllcgkBAAAAB2V4dHJhY3QAAAABCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAEYmFuawIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAADWFjY2VwdGVkVG9rZW4CAAAAK2Y5dDhGQTRIM3Nzb1pQQ3dyZzNLd1VGQ2NpOHp1VUZQOXNzUnNVWTNzNmEBAAAACGlzQWRyZXNzAAAAAQAAAARhZGRyAwMJAAAAAAAAAgkAATEAAAABBQAAAARhZGRyAAAAAAAAAAAjCQAAAAAAAAIJAAEvAAAAAgUAAAAEYWRkcgAAAAAAAAAAAgIAAAACM04HBgkAAAAAAAACCQABLwAAAAIFAAAABGFkZHIAAAAAAAAAAAICAAAAAjNNAQAAAAxjb3VudFBhcnRpZXMAAAACAAAAC2FjY3VtdWxhdG9yAAAABGFkZHIDCQAAZgAAAAIJAAExAAAAAQ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Id": 84, "height": 879973, "spentComplexity": 0 } View: original | compacted Prev: ENTM63FStwiUhwRntZsQwrzDU7ysVqR5mqFpQ8j5i49W Next: AfJkfDTZGu3EP7Yd5eZhQfNMccnnQgjuPcVRDvCkL5i6 Diff:
Old | New | Differences | |
---|---|---|---|
75 | 75 | if ((c != toBase58String(G))) | |
76 | 76 | then throw(("Only payments in SIGN are allowed at the moment" + toBase58String(G))) | |
77 | 77 | else if (((H * F) > w)) | |
78 | - | then throw(("The price is wrong, it should be " + toString((H * F)))) | |
78 | + | then throw(((("The price is wrong, it should be " + toString((H * F))) + "/") + c)) | |
79 | 79 | else if ((F == 2)) | |
80 | 80 | then ScriptResult(WriteSet([DataEntry(("title_MA_" + toBase58String(x)), t), DataEntry(("hash_MA_" + toBase58String(x)), s), DataEntry(("data_MA_" + toBase58String(x)), u), DataEntry(((y[0] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[1] + "_MA_") + toBase58String(x)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), w, G), ScriptTransfer(addressFromStringValue(y[0]), 0, G), ScriptTransfer(addressFromStringValue(y[1]), 0, G)])) | |
81 | 81 | else if ((F == 3)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = extract(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
5 | 5 | ||
6 | 6 | let b = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
7 | 7 | ||
8 | 8 | let c = "f9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a" | |
9 | 9 | ||
10 | 10 | func d (e) = if (if ((size(e) == 35)) | |
11 | 11 | then (take(e, 2) == "3N") | |
12 | 12 | else false) | |
13 | 13 | then true | |
14 | 14 | else (take(e, 2) == "3M") | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | func f (g,e) = if ((size(e) > 0)) | |
18 | 18 | then (g + 1) | |
19 | 19 | else (g + 0) | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func h (i) = { | |
23 | 23 | let j = getString(this, i) | |
24 | 24 | if ($isInstanceOf(j, "String")) | |
25 | 25 | then { | |
26 | 26 | let k = j | |
27 | 27 | if ((k == "PENDING")) | |
28 | 28 | then true | |
29 | 29 | else false | |
30 | 30 | } | |
31 | 31 | else false | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func l (m) = take(drop(m, 1), value(indexOf(drop(m, 1), "\""))) | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func n (m,i) = { | |
39 | 39 | let o = value(indexOf(m, (("\"" + i) + "\":"))) | |
40 | 40 | let p = drop(m, ((o + size(i)) + 3)) | |
41 | 41 | let q = l(p) | |
42 | 42 | q | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | @Callable(r) | |
47 | 47 | func createAgreement (s,t,u) = { | |
48 | 48 | let v = extract(r.payment) | |
49 | 49 | let w = extract(v.amount) | |
50 | 50 | let x = extract(r.transactionId) | |
51 | 51 | let y = [n(u, "address1"), n(u, "address2"), n(u, "address3"), n(u, "address4"), n(u, "address5"), n(u, "address6")] | |
52 | 52 | let z = if ((size(y[0]) > 0)) | |
53 | 53 | then 1 | |
54 | 54 | else 0 | |
55 | 55 | let A = if ((size(y[1]) > 0)) | |
56 | 56 | then 1 | |
57 | 57 | else 0 | |
58 | 58 | let B = if ((size(y[2]) > 0)) | |
59 | 59 | then 1 | |
60 | 60 | else 0 | |
61 | 61 | let C = if ((size(y[3]) > 0)) | |
62 | 62 | then 1 | |
63 | 63 | else 0 | |
64 | 64 | let D = if ((size(y[4]) > 0)) | |
65 | 65 | then 1 | |
66 | 66 | else 0 | |
67 | 67 | let E = if ((size(y[5]) > 0)) | |
68 | 68 | then 1 | |
69 | 69 | else 0 | |
70 | 70 | let F = (((((z + A) + B) + C) + D) + E) | |
71 | 71 | let G = if (isDefined(v.assetId)) | |
72 | 72 | then value(v.assetId) | |
73 | 73 | else throw("Waves is not accepted as payment") | |
74 | 74 | let H = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(G)))) | |
75 | 75 | if ((c != toBase58String(G))) | |
76 | 76 | then throw(("Only payments in SIGN are allowed at the moment" + toBase58String(G))) | |
77 | 77 | else if (((H * F) > w)) | |
78 | - | then throw(("The price is wrong, it should be " + toString((H * F)))) | |
78 | + | then throw(((("The price is wrong, it should be " + toString((H * F))) + "/") + c)) | |
79 | 79 | else if ((F == 2)) | |
80 | 80 | then ScriptResult(WriteSet([DataEntry(("title_MA_" + toBase58String(x)), t), DataEntry(("hash_MA_" + toBase58String(x)), s), DataEntry(("data_MA_" + toBase58String(x)), u), DataEntry(((y[0] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[1] + "_MA_") + toBase58String(x)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), w, G), ScriptTransfer(addressFromStringValue(y[0]), 0, G), ScriptTransfer(addressFromStringValue(y[1]), 0, G)])) | |
81 | 81 | else if ((F == 3)) | |
82 | 82 | then ScriptResult(WriteSet([DataEntry(("title_MA_" + toBase58String(x)), t), DataEntry(("hash_MA_" + toBase58String(x)), s), DataEntry(("data_MA_" + toBase58String(x)), u), DataEntry(((y[0] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[1] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[2] + "_MA_") + toBase58String(x)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), w, G), ScriptTransfer(addressFromStringValue(y[0]), 0, G), ScriptTransfer(addressFromStringValue(y[1]), 0, G), ScriptTransfer(addressFromStringValue(y[2]), 0, G)])) | |
83 | 83 | else if ((F == 4)) | |
84 | 84 | then ScriptResult(WriteSet([DataEntry(("title_MA_" + toBase58String(x)), t), DataEntry(("hash_MA_" + toBase58String(x)), s), DataEntry(("data_MA_" + toBase58String(x)), u), DataEntry(((y[0] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[1] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[2] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[3] + "_MA_") + toBase58String(x)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), w, G), ScriptTransfer(addressFromStringValue(y[0]), 0, G), ScriptTransfer(addressFromStringValue(y[1]), 0, G), ScriptTransfer(addressFromStringValue(y[2]), 0, G), ScriptTransfer(addressFromStringValue(y[3]), 0, G)])) | |
85 | 85 | else if ((F == 5)) | |
86 | 86 | then ScriptResult(WriteSet([DataEntry(("title_MA_" + toBase58String(x)), t), DataEntry(("hash_MA_" + toBase58String(x)), s), DataEntry(("data_MA_" + toBase58String(x)), u), DataEntry(((y[0] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[1] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[2] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[3] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[4] + "_MA_") + toBase58String(x)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), w, G), ScriptTransfer(addressFromStringValue(y[0]), 0, G), ScriptTransfer(addressFromStringValue(y[1]), 0, G), ScriptTransfer(addressFromStringValue(y[2]), 0, G), ScriptTransfer(addressFromStringValue(y[3]), 0, G), ScriptTransfer(addressFromStringValue(y[4]), 0, G)])) | |
87 | 87 | else if ((F == 6)) | |
88 | 88 | then ScriptResult(WriteSet([DataEntry(("title_MA_" + toBase58String(x)), t), DataEntry(("hash_MA_" + toBase58String(x)), s), DataEntry(("data_MA_" + toBase58String(x)), u), DataEntry(((y[0] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[1] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[2] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[3] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[4] + "_MA_") + toBase58String(x)), "PENDING"), DataEntry(((y[5] + "_MA_") + toBase58String(x)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), w, G), ScriptTransfer(addressFromStringValue(y[0]), 0, G), ScriptTransfer(addressFromStringValue(y[1]), 0, G), ScriptTransfer(addressFromStringValue(y[2]), 0, G), ScriptTransfer(addressFromStringValue(y[3]), 0, G), ScriptTransfer(addressFromStringValue(y[4]), 0, G), ScriptTransfer(addressFromStringValue(y[5]), 0, G)])) | |
89 | 89 | else throw(("Needs 2 to 6 parties addresses" + toString(F))) | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | ||
94 | 94 | @Callable(r) | |
95 | 95 | func signAgreement (s,I) = { | |
96 | 96 | let v = extract(r.payment) | |
97 | 97 | let w = extract(v.amount) | |
98 | 98 | let x = extract(r.transactionId) | |
99 | 99 | let J = toBase58String(r.caller.bytes) | |
100 | 100 | let K = h(((J + "_MA_") + I)) | |
101 | 101 | if (!(K)) | |
102 | 102 | then throw("Sorry there is no pending signature") | |
103 | 103 | else ScriptResult(WriteSet([DataEntry(((J + "_MA_") + I), ("SIGNED_" + toBase58String(x)))]), TransferSet([ScriptTransfer(addressFromStringValue(J), 500000, unit)])) | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 |
github/deemru/w8io/169f3d6 35.23 ms ◑