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