tx · Dpakz5uTeKbAhBzCZVqxSkWKhPM8nacKoJQRaaj94vZZ
3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep: -0.01400000 Waves
2019.07.09 14:34 [578036] smart account 3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep > SELF 0.00000000 Waves
{
"type": 13,
"id": "Dpakz5uTeKbAhBzCZVqxSkWKhPM8nacKoJQRaaj94vZZ",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1562672076686,
"version": 1,
"sender": "3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep",
"senderPublicKey": "BJAeTqNbDSA5FiYihZZaSWvD6XL5XjpqVXbTGerBJjRK",
"proofs": [
"3HSgG7siiVensuYg3P7BYc3danbxRXnAuwGVXn8bkucymqztyCRboqc6ajcoWi8NNSwNFS5NGQ2s5mrnmTBmR964"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAQAAABJ1c2VySGFzQWRtaW5BY2Nlc3MAAAABAAAADXVzZXJQdWJsaWNLZXkEAAAAC2FkbWluUHViS2V5AQAAACCY+qZRd1gHYRktvSnZH9tBqdE0k+t7zknFMQp1UqdbEgMJAQAAAAIhPQAAAAIFAAAADXVzZXJQdWJsaWNLZXkFAAAAC2FkbWluUHViS2V5BwYAAAACAAAAAWkBAAAAA2JldAAAAAEAAAAFcHJpY2UEAAAACXRpbWVEZWx0YQkAAGUAAAACBQAAAAZoZWlnaHQJAQAAAAdleHRyYWN0AAAAAQkAA+kAAAABAQAAACAIxRZznA4GqsH3MP3x/qvihQRybnQl+dHIDSG43ffBygMJAABmAAAAAgUAAAAJdGltZURlbHRhAAAAAAAAAAACCQAAAgAAAAECAAAAFlRoZSBhdWN0aW9uIHdhcyBjbG9zZWQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BQAAAAVwcmljZQUAAAADbmlsAAAAAWkBAAAABXN0YXJ0AAAAAAMJAQAAAAEhAAAAAQkBAAAAEnVzZXJIYXNBZG1pbkFjY2VzcwAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAABNZb3UgaGF2ZSBubyBhY2Nlc3MhCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAVzdGFydAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkBQAAAANuaWwAAAAAcVM6iw==",
"chainId": 84,
"height": 578036,
"spentComplexity": 0
}
View: original | compacted
Prev: 121B9WU5EFRp5DxhUgkYVLipnUr5VzyczPrknpPsytrM
Next: CSiYKcbj8rvMWk8iWiSwdAo3JEhQDAQeHuE3jgGSwiyn
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'BJAeTqNbDSA5FiYihZZaSWvD6XL5XjpqVXbTGerBJjRK' |
---|
6 | 6 | | if ((b != c)) |
---|
7 | 7 | | then false |
---|
8 | 8 | | else true |
---|
9 | 9 | | } |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | @Callable(d) |
---|
13 | 13 | | func bet (e) = { |
---|
14 | 14 | | let f = (height - extract(transactionHeightById(base58'bEZtCfm7u7sXPP3tCVMQcV5pbRHibKthgNHL8Yt492h'))) |
---|
15 | 15 | | if ((f > 2)) |
---|
16 | 16 | | then throw("The auction was closed") |
---|
17 | 17 | | else WriteSet([DataEntry(toBase58String(d.callerPublicKey), e)]) |
---|
18 | 18 | | } |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|
22 | 22 | | @Callable(d) |
---|
23 | 23 | | func start () = if (!(a(d.callerPublicKey))) |
---|
24 | 24 | | then throw("You have no access!") |
---|
25 | 25 | | else WriteSet([DataEntry("start", toBase58String(d.transactionId))]) |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|