tx · Bp8jU6s16bKAJsstZnQB4MV665u1nzRzpF5vjZ9kx2y2
3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u: -0.01400000 Waves
2019.11.21 16:13 [774993] smart account 3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u > SELF 0.00000000 Waves
{
"type": 13,
"id": "Bp8jU6s16bKAJsstZnQB4MV665u1nzRzpF5vjZ9kx2y2",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1574341941377,
"version": 1,
"sender": "3MtCvj6PXRMffirQTPHjBL5u7fhoUrn7q3u",
"senderPublicKey": "3U1CEsDmMXyPp5z1NXtQE4HZiK5JYASFDu1gudjREyM4",
"proofs": [
"49jRPgME8RhcdShUcjMj7r41V9QyGcrBqFqzTt6o24rNnZ3ZJPLKezwqt4VcZM39AiuzqrzFtiL5uaN9kporz9sQ"
],
"script": "base64:AAIDAAAAAAAAAA0IARIDCgEIEgQKAggBAAAAAAAAAAIAAAABaQEAAAAHcmVxdWVzdAAAAAEAAAAEbmFtZQQAAAADa2V5BQAAAARuYW1lBAAAAAx3YXNSZXF1ZXN0ZWQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAGBwMFAAAADHdhc1JlcXVlc3RlZAkAAAIAAAABAgAAACVUaGUgY2VydGlmaWNhdGUgd2FzIGFscmVhZHkgcmVxdWVzdGVkCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAANrZXkAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAdhcHByb3ZlAAAAAgAAAARuYW1lAAAAAmlkBAAAAANrZXkFAAAABG5hbWUDCQEAAAACIT0AAAACCAUAAAABaQAAAAZjYWxsZXIFAAAABHRoaXMJAAACAAAAAQIAAAAXZEFwcCBvd25lciBhbGxvd2VkIG9ubHkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAA2tleQUAAAACaWQFAAAAA25pbAAAAAAH5GjV",
"chainId": 84,
"height": 774993,
"spentComplexity": 0
}
View: original | compacted
Prev: 5eTYrsBaUAjPKd9ty1TLZELE8bnjhFofgzkFz3VTR1AP
Next: none
Diff:
Old | New | | Differences |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | @Callable(a) |
---|
26 | | - | func approve (b) = { |
---|
| 26 | + | func approve (b,g) = { |
---|
27 | 27 | | let c = b |
---|
28 | 28 | | if ((a.caller != this)) |
---|
29 | 29 | | then throw("dApp owner allowed only") |
---|
30 | | - | else WriteSet([DataEntry(c, 1)]) |
---|
| 30 | + | else WriteSet([DataEntry(c, g)]) |
---|
31 | 31 | | } |
---|
32 | 32 | | |
---|
33 | 33 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func request (b) = { |
---|
8 | 8 | | let c = b |
---|
9 | 9 | | let d = { |
---|
10 | 10 | | let e = getInteger(this, c) |
---|
11 | 11 | | if ($isInstanceOf(e, "Int")) |
---|
12 | 12 | | then { |
---|
13 | 13 | | let f = e |
---|
14 | 14 | | true |
---|
15 | 15 | | } |
---|
16 | 16 | | else false |
---|
17 | 17 | | } |
---|
18 | 18 | | if (d) |
---|
19 | 19 | | then throw("The certificate was already requested") |
---|
20 | 20 | | else WriteSet([DataEntry(c, 0)]) |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | @Callable(a) |
---|
26 | | - | func approve (b) = { |
---|
| 26 | + | func approve (b,g) = { |
---|
27 | 27 | | let c = b |
---|
28 | 28 | | if ((a.caller != this)) |
---|
29 | 29 | | then throw("dApp owner allowed only") |
---|
30 | | - | else WriteSet([DataEntry(c, 1)]) |
---|
| 30 | + | else WriteSet([DataEntry(c, g)]) |
---|
31 | 31 | | } |
---|
32 | 32 | | |
---|
33 | 33 | | |
---|