tx · 13yXkvkpLf9h8jJRQaZBfyiTdV7yE4swJ6fFdP5icGbL
3NBkfbAAqPqkY4d3LK36hdDUpDXViEAHfDE: -0.01400000 Waves
2019.09.08 12:39 [666926] smart account 3NBkfbAAqPqkY4d3LK36hdDUpDXViEAHfDE > SELF 0.00000000 Waves
{
"type": 13,
"id": "13yXkvkpLf9h8jJRQaZBfyiTdV7yE4swJ6fFdP5icGbL",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1567935444996,
"version": 1,
"sender": "3NBkfbAAqPqkY4d3LK36hdDUpDXViEAHfDE",
"senderPublicKey": "FUCE44aWkQuFEKpfWRe3zoW8pGN2caDm1vqoK55FTnLP",
"proofs": [
"4TMJR1WA31RS4qBtuSDRt5cAW86SyauiE6AX3tzrMPJJieXvefJVVKhj16TVxRwhys2YiS9nCpEX4i56VQ4awJzU"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAQAAABR2b3RlcklzQWxsb3dlZFRvVm90ZQAAAAEAAAAOdm90ZXJQdWJsaWNLZXkEAAAADWFsZWtzZWlQdWJLZXkBAAAAIG4idqFz7Mjvs1MsFn1xPcPZDW/VBsQ1GKmMyjsnDmlhBAAAAAphbm5hUHViS2V5AQAAACCS7en8QN3mnCSxub4fl6plPn1lDQ5XMVF1bNw2WsdxDwMDCQEAAAACIT0AAAACBQAAAA52b3RlclB1YmxpY0tleQUAAAANYWxla3NlaVB1YktleQkBAAAAAiE9AAAAAgUAAAAOdm90ZXJQdWJsaWNLZXkFAAAACmFubmFQdWJLZXkHBwYAAAACAAAAAWkBAAAABHZvdGUAAAABAAAAB3RoZVZvdGUDCQEAAAABIQAAAAEJAQAAABR2b3RlcklzQWxsb3dlZFRvVm90ZQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAAG7QktGLINC90LUg0LzQvtC20LXRgtC1INCz0L7Qu9C+0YHQvtCy0LDRgtGMLCDRgtCw0Log0LrQsNC6INCy0LDRgSDQvdC10YIg0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QUAAAAMZmFjdG9yeTFvcGVuBQAAAANuaWwAAAAAlF/C/A==",
"chainId": 84,
"height": 666926,
"spentComplexity": 0
}
View: original | compacted
Prev: hgmxX3512tBkxZ6SKA5XYFBJJsDKSCoXdrFrAYTZqii
Next: 4sGdn9ccxzz3DX2awKU7kZ7dkNr5mshxTfyzXSfeMH4K
Diff:
Old | New | | Differences |
---|
28 | 28 | | func record (h) = { |
---|
29 | 29 | | let i = base58'6B7r4pWd3dB79ojogTFvQ2tspsav6gsL4iWqzsRG2rhR' |
---|
30 | 30 | | let j = base58'BGr3aRnHxWYKViZ9AKkqE7CdczJtRGk2vCzbGF5mX7dp' |
---|
31 | | - | let k = base58'HVdu7RfCS6eCxCZq8iu5tWBfd83pJtXJRc2H3GtR9UPX' |
---|
| 31 | + | let k = base58'FUCE44aWkQuFEKpfWRe3zoW8pGN2caDm1vqoK55FTnLP' |
---|
32 | 32 | | if ((e.callerPublicKey != k)) |
---|
33 | 33 | | then throw("Вы не можете добавлять данные, вы не заказчик") |
---|
34 | 34 | | else WriteSet([DataEntry("auditor", i), DataEntry("factory", j)]) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a (b) = { |
---|
5 | 5 | | let c = base58'8QvKvspfNF6cUv2DFMCfvT8SrbraERqXpNMEMqBfJZ3e' |
---|
6 | 6 | | let d = base58'AtYwJTqWNfwYrPnWVvfmnPTSTEioiLFzUTcZVttgDj1x' |
---|
7 | 7 | | if (if ((b != c)) |
---|
8 | 8 | | then (b != d) |
---|
9 | 9 | | else false) |
---|
10 | 10 | | then false |
---|
11 | 11 | | else true |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(e) |
---|
16 | 16 | | func vote (f) = if (!(a(e.callerPublicKey))) |
---|
17 | 17 | | then throw("Вы не можете голосовать, так как вас нет в списке голосующих!") |
---|
18 | 18 | | else { |
---|
19 | 19 | | let g = getInteger(this, toBase58String(e.callerPublicKey)) |
---|
20 | 20 | | if (isDefined(g)) |
---|
21 | 21 | | then throw("Вы уже голосовали! Повтороное голосование запрещено.") |
---|
22 | 22 | | else WriteSet([DataEntry(toBase58String(e.callerPublicKey), f)]) |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Callable(e) |
---|
28 | 28 | | func record (h) = { |
---|
29 | 29 | | let i = base58'6B7r4pWd3dB79ojogTFvQ2tspsav6gsL4iWqzsRG2rhR' |
---|
30 | 30 | | let j = base58'BGr3aRnHxWYKViZ9AKkqE7CdczJtRGk2vCzbGF5mX7dp' |
---|
31 | | - | let k = base58'HVdu7RfCS6eCxCZq8iu5tWBfd83pJtXJRc2H3GtR9UPX' |
---|
| 31 | + | let k = base58'FUCE44aWkQuFEKpfWRe3zoW8pGN2caDm1vqoK55FTnLP' |
---|
32 | 32 | | if ((e.callerPublicKey != k)) |
---|
33 | 33 | | then throw("Вы не можете добавлять данные, вы не заказчик") |
---|
34 | 34 | | else WriteSet([DataEntry("auditor", i), DataEntry("factory", j)]) |
---|
35 | 35 | | } |
---|
36 | 36 | | |
---|
37 | 37 | | |
---|