tx · GfjAFSBszTT9ZpKNpuLBBhGD25vBbgiiC19iKTjaKQRB
3N6PKVbfU2z51LEMTWKfpZwcjg4V9iDyuJf: -0.01400000 Waves
2020.03.20 14:59 [917617] smart account 3N6PKVbfU2z51LEMTWKfpZwcjg4V9iDyuJf > SELF 0.00000000 Waves
{
"type": 13,
"id": "GfjAFSBszTT9ZpKNpuLBBhGD25vBbgiiC19iKTjaKQRB",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1584705263346,
"version": 1,
"sender": "3N6PKVbfU2z51LEMTWKfpZwcjg4V9iDyuJf",
"senderPublicKey": "BU7PeLMH1pKDTdJg3HVXZmQwuSUwW8bbpW4GeVGFjSn7",
"proofs": [
"2gr3zFKcL3rURar37Dyoy43wxC8ArqiES8KUhuQSPp3rygrGNba2giEyCSN3PxKDZHwaeKLHdpaXdr82ZcWe82ac"
],
"script": "base64:AAIDAAAAAAAAAA0IARIDCgEIEgQKAggBAAAAAAAAAAIAAAABaQEAAAAHcmVxdWVzdAAAAAEAAAAEbmFtZQQAAAAMd2FzUmVxdWVzdGVkBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAABG5hbWUDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAYHAwUAAAAMd2FzUmVxdWVzdGVkCQAAAgAAAAECAAAAJVRoZSBjZXJ0aWZpY2F0ZSB3YXMgYWxyZWFkeSByZXF1ZXN0ZWQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABG5hbWUAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAdhcHByb3ZlAAAAAgAAAARuYW1lAAAAAmlkAwkBAAAAAiE9AAAAAgUAAAAEdGhpcwgFAAAAAWkAAAAGY2FsbGVyCQAAAgAAAAECAAAAF2RBcHAgb3duZXIgYWxsb3dlZCBvbmx5CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAARuYW1lBQAAAAJpZAUAAAADbmlsAAAAAM/5Lv4=",
"chainId": 84,
"height": 917617,
"spentComplexity": 0
}
View: original | compacted
Prev: 9jmjp4tqyp5fxFa7EzBV7Pp6eD6GG91JhgZ2R4fXHeJg
Next: none
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(i) |
---|
7 | 7 | | func request (name) = { |
---|
8 | 8 | | let wasRequested = match getInteger(this, name) { |
---|
9 | 9 | | case a: Int => |
---|
10 | 10 | | true |
---|
11 | 11 | | case _ => |
---|
12 | 12 | | false |
---|
13 | 13 | | } |
---|
14 | 14 | | if (wasRequested) |
---|
15 | 15 | | then throw("The certificate was already requested") |
---|
16 | 16 | | else WriteSet([DataEntry(name, 0)]) |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
21 | 21 | | @Callable(i) |
---|
22 | 22 | | func approve (name,id) = if ((this != i.caller)) |
---|
23 | 23 | | then throw("dApp owner allowed only") |
---|
24 | 24 | | else WriteSet([DataEntry(name, id)]) |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|