tx · 6DKEwp3dkciHSCvySxyEr1fUsnyyvTA46Gs9RXF4d8Kd 3N8nNKYbPLqNdXxWQLbaQq87qQp1swbdUHy: -0.01000000 Waves 2021.03.29 16:32 [1459102] smart account 3N8nNKYbPLqNdXxWQLbaQq87qQp1swbdUHy > SELF 0.00000000 Waves
{ "type": 13, "id": "6DKEwp3dkciHSCvySxyEr1fUsnyyvTA46Gs9RXF4d8Kd", "fee": 1000000, "feeAssetId": null, "timestamp": 1617024763764, "version": 2, "chainId": 84, "sender": "3N8nNKYbPLqNdXxWQLbaQq87qQp1swbdUHy", "senderPublicKey": "4vusXJ5Qkf8LYsDLQQwL5WmYrRdT4pzGDNNEBWWXgDne", "proofs": [ "5yc6jCXtFLkgkoixvgHs6WGd2cj3MaY4YgEZARe16gmNtGHASpt1nM6ZPn8u1EbpdLhNgYC7DNKbFEBP91z88CSj" ], "script": "base64:AAIEAAAAAAAAAEgIAhIECgIICBIECgIICBIGCgQICAgBEgMKAQgSBAoCCAgSBAoCCAgSBAoCCAgSBgoECAgBCBIFCgMICAgSBAoCCAgSBAoCCAgAAAADAAAAAAtFTVRQWVNUUklORwIAAAAAAQAAABBnZXRTdHJpbmdGcm9tS2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAA3N0cgUAAAAHJG1hdGNoMAUAAAADc3RyBQAAAAtFTVRQWVNUUklORwEAAAANaXNWYWxpZFNlbmRlcgAAAAEAAAAGc2VuZGVyBAAAABVlbnRyeUZvclNlbmRlckFkZHJlc3MJAQAAABBnZXRTdHJpbmdGcm9tS2V5AAAAAQUAAAAGc2VuZGVyAwkAAAAAAAACBQAAABVlbnRyeUZvclNlbmRlckFkZHJlc3MFAAAAC0VNVFBZU1RSSU5HBwYAAAALAAAAAWkBAAAAB2FkZFVzZXIAAAACAAAAC3VzZXJBZGRyZXNzAAAABG5h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AC3Rhc2tBZGRyZXNzBAAAAAZzZW5kZXIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAQAAAA1pc1ZhbGlkU2VuZGVyAAAAAQUAAAAGc2VuZGVyCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAAC3Rhc2tBZGRyZXNzAgAAAA1fcmVxdWlyZW1lbnRfBQAAABJyZXF1aXJlbWVudEFkZHJlc3MCAAAAC190YXNrU3RhdHVzAgAAAAZDTE9TRUQFAAAAA25pbAkAAAIAAAABAgAAAClTZW5kZXIgbm90IGFsbG93ZWQgdG8gY2hhbmdlIHRhc2sgc3RhdHVzIQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4B7bqDzI=", "height": 1459102, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "" | |
5 | + | ||
6 | + | func b (c) = { | |
7 | + | let d = getString(this, c) | |
8 | + | if ($isInstanceOf(d, "String")) | |
9 | + | then { | |
10 | + | let e = d | |
11 | + | e | |
12 | + | } | |
13 | + | else a | |
14 | + | } | |
15 | + | ||
16 | + | ||
17 | + | func f (g) = { | |
18 | + | let h = b(g) | |
19 | + | if ((h == a)) | |
20 | + | then false | |
21 | + | else true | |
22 | + | } | |
23 | + | ||
24 | + | ||
25 | + | @Callable(i) | |
26 | + | func addUser (j,k) = { | |
27 | + | let g = toBase58String(i.caller.bytes) | |
28 | + | if (f(g)) | |
29 | + | then [StringEntry(j, "user"), StringEntry((j + "_user"), k)] | |
30 | + | else throw("Sender not allowed to add users!") | |
31 | + | } | |
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | @Callable(i) | |
36 | + | func addRequirement (l,m) = { | |
37 | + | let g = toBase58String(i.caller.bytes) | |
38 | + | if (f(g)) | |
39 | + | then [StringEntry((toBase58String(i.transactionId) + "_requirementName"), l), StringEntry((toBase58String(i.transactionId) + "_requirementDescription"), m)] | |
40 | + | else throw("Sender not allowed to add users!") | |
41 | + | } | |
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | @Callable(i) | |
46 | + | func addMilestone (n,o,p,q) = { | |
47 | + | let g = toBase58String(i.caller.bytes) | |
48 | + | if (f(g)) | |
49 | + | then [StringEntry((toBase58String(i.transactionId) + "_milestoneDef"), n), StringEntry((toBase58String(i.transactionId) + "_milestoneEstimatedDate"), o), StringEntry((toBase58String(i.transactionId) + "_milestoneCreatedDate"), p), IntegerEntry((toBase58String(i.transactionId) + "_milestonePrice"), q), BooleanEntry((toBase58String(i.transactionId) + "_milestoneDone"), false)] | |
50 | + | else throw("Sender not allowed to add users!") | |
51 | + | } | |
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | @Callable(i) | |
56 | + | func markMilestoneAsDone (r) = { | |
57 | + | let g = toBase58String(i.caller.bytes) | |
58 | + | if (f(g)) | |
59 | + | then [BooleanEntry((r + "_milestoneDone"), true)] | |
60 | + | else throw("Sender not allowed to add users!") | |
61 | + | } | |
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | @Callable(i) | |
66 | + | func setMilestoneRequirementRelation (s,t) = { | |
67 | + | let g = toBase58String(i.caller.bytes) | |
68 | + | if (f(g)) | |
69 | + | then [StringEntry((((toBase58String(i.transactionId) + "_milestone_") + s) + "_requirement"), t)] | |
70 | + | else throw("Sender not allowed to add users!") | |
71 | + | } | |
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | @Callable(i) | |
76 | + | func addAcceptanceCriteria (u,v) = { | |
77 | + | let g = toBase58String(i.caller.bytes) | |
78 | + | if (f(g)) | |
79 | + | then [StringEntry((((toBase58String(i.transactionId) + "_requirement_") + u) + "_acceptancecriteria"), v), BooleanEntry((((toBase58String(i.transactionId) + "_requirement_") + u) + "_acceptancecriteriaSolved"), false)] | |
80 | + | else throw("Sender not allowed to add users!") | |
81 | + | } | |
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | @Callable(i) | |
86 | + | func markAcceptanceCriteriaAsSolved (u,w) = { | |
87 | + | let g = toBase58String(i.caller.bytes) | |
88 | + | if (f(g)) | |
89 | + | then [BooleanEntry((((w + "_requirement_") + u) + "_acceptancecriteriaSolved"), true)] | |
90 | + | else throw("Sender not allowed to add users!") | |
91 | + | } | |
92 | + | ||
93 | + | ||
94 | + | ||
95 | + | @Callable(i) | |
96 | + | func addCommit (u,x,y,z) = { | |
97 | + | let g = toBase58String(i.caller.bytes) | |
98 | + | if (f(g)) | |
99 | + | then [IntegerEntry((((((((toBase58String(i.transactionId) + "_requirement_") + u) + "_task_") + x) + "_user_") + g) + "_commitRows"), y), StringEntry((((((((toBase58String(i.transactionId) + "_requirement_") + u) + "_task_") + x) + "_user_") + g) + "_commitCreated"), z)] | |
100 | + | else throw("Sender not allowed to add commits!") | |
101 | + | } | |
102 | + | ||
103 | + | ||
104 | + | ||
105 | + | @Callable(i) | |
106 | + | func addTask (u,A,B) = { | |
107 | + | let g = toBase58String(i.caller.bytes) | |
108 | + | if (f(g)) | |
109 | + | then [StringEntry((((toBase58String(i.transactionId) + "_requirement_") + u) + "_taskName"), A), StringEntry((((toBase58String(i.transactionId) + "_requirement_") + u) + "_taskDescription"), B), StringEntry((((toBase58String(i.transactionId) + "_requirement_") + u) + "_taskStatus"), "OPEN")] | |
110 | + | else throw("Sender not allowed to add task!") | |
111 | + | } | |
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | @Callable(i) | |
116 | + | func changeTasksStatusToInProgress (u,x) = { | |
117 | + | let g = toBase58String(i.caller.bytes) | |
118 | + | if (f(g)) | |
119 | + | then [StringEntry((((x + "_requirement_") + u) + "_taskStatus"), "IN PROGRESS")] | |
120 | + | else throw("Sender not allowed to add users!") | |
121 | + | } | |
122 | + | ||
123 | + | ||
124 | + | ||
125 | + | @Callable(i) | |
126 | + | func changeTasksStatusClosed (u,x) = { | |
127 | + | let g = toBase58String(i.caller.bytes) | |
128 | + | if (f(g)) | |
129 | + | then [StringEntry((((x + "_requirement_") + u) + "_taskStatus"), "CLOSED")] | |
130 | + | else throw("Sender not allowed to change task status!") | |
131 | + | } | |
132 | + | ||
133 | + | ||
134 | + | @Verifier(C) | |
135 | + | func D () = { | |
136 | + | let d = C | |
137 | + | false | |
138 | + | } | |
139 | + |
github/deemru/w8io/03bedc9 16.22 ms ◑![]()