tx · QyANuPkjRBFA3hfQ37pQJZ7DMMWNEZbWm4Pqcdg2yjM
3NCMVbH9EWZogGDLtS8sf1N4ShcoDUqxrn7: -0.01400000 Waves
2020.02.03 17:38 [883111] smart account 3NCMVbH9EWZogGDLtS8sf1N4ShcoDUqxrn7 > SELF 0.00000000 Waves
{
"type": 13,
"id": "QyANuPkjRBFA3hfQ37pQJZ7DMMWNEZbWm4Pqcdg2yjM",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1580740720458,
"version": 1,
"sender": "3NCMVbH9EWZogGDLtS8sf1N4ShcoDUqxrn7",
"senderPublicKey": "JAAzQjxgzdgjCEdwXpfgpoMVcDpJRs4WgA9eTKxJYitU",
"proofs": [
"4j2YFGs3BDCok5v7TmdCkoEjyLwyWTAeJURYC2Ps2gg2yaB6Ng3zhxYzSE1qQv8DpGmJpXCdcKwj1UaMQPUqFyvU"
],
"script": "base64:AAIDAAAAAAAAAAkIARIDCgECEgAAAAADAAAAABRyb290QWNjb3VudFB1YmxpY0tleQEAAAAaAVT2IQwdZvI4cdfE/aE0KgPNEyFI1dNVNJQBAAAACGlzUGxheWVyAAAAAgAAAAFpAAAABnB1YktleQkAAAAAAAACCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkFAAAABnB1YktleQEAAAAGaXNSb290AAAAAQAAAAFpCQAAAAAAAAIIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQUAAAAUcm9vdEFjY291bnRQdWJsaWNLZXkAAAACAAAAAWkBAAAAEXNldEFjY2VwdGVkUGxheWVyAAAAAQAAAA9wbGF5ZXJQdWJsaWNLZXkDCQEAAAACIT0AAAACCQACWAAAAAEFAAAAD3BsYXllclB1YmxpY0tleQkAAlgAAAABBQAAABRyb290QWNjb3VudFB1YmxpY0tleQkAAAIAAAABCQABLAAAAAICAAAAEGVycm9yIG9ubHkgcm9vdCAJAAJYAAAAAQUAAAAPcGxheWVyUHVibGljS2V5CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQACWAAAAAEFAAAAD3BsYXllclB1YmxpY0tleQAAAAAAAAAAAQUAAAADbmlsAAAAAWkBAAAADHBsYXllckludm9rZQAAAAAEAAAAD3BsYXllclB1YmxpY0tleQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQkABBsAAAACBQAAAAR0aGlzCQACWAAAAAEFAAAAD3BsYXllclB1YmxpY0tleQkAAAIAAAABCQABLAAAAAICAAAAGVlvdSBhcmUgbm90IGFsbG93ZWQgaGVyZSAJAAJYAAAAAQUAAAAPcGxheWVyUHVibGljS2V5CQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAD3BsYXllclB1YmxpY0tleQAAAAAAAA27oAUAAAAEdW5pdAUAAAADbmlsAAAAAGVaewM=",
"chainId": 84,
"height": 883111,
"spentComplexity": 0
}
View: original | compacted
Prev: H3J4TK7HKprphUT38KnUcvfntcQBXx8RJVGDmfeWCS6a
Next: Hh7ePeM1KHpUdsPuE8fBbhiQkqSHBz3vSCPvKFqiVrNy
Diff:
Old | New | | Differences |
---|
20 | 20 | | func playerInvoke () = { |
---|
21 | 21 | | let f = c.callerPublicKey |
---|
22 | 22 | | if (!(isDefined(getBoolean(this, toBase58String(f))))) |
---|
23 | | - | then throw("You are not allowed here") |
---|
| 23 | + | then throw(("You are not allowed here " + toBase58String(f))) |
---|
24 | 24 | | else ScriptResult(WriteSet(nil), TransferSet([ScriptTransfer(addressFromPublicKey(f), 900000, unit)])) |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'3NCMVbH9EWZogGDLtS8sf1N4ShcoDUqxrn7' |
---|
5 | 5 | | |
---|
6 | 6 | | func b (c,d) = (c.callerPublicKey == d) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | func e (c) = (c.callerPublicKey == a) |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | @Callable(c) |
---|
13 | 13 | | func setAcceptedPlayer (f) = if ((toBase58String(f) != toBase58String(a))) |
---|
14 | 14 | | then throw(("error only root " + toBase58String(f))) |
---|
15 | 15 | | else WriteSet([DataEntry(toBase58String(f), 1)]) |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | @Callable(c) |
---|
20 | 20 | | func playerInvoke () = { |
---|
21 | 21 | | let f = c.callerPublicKey |
---|
22 | 22 | | if (!(isDefined(getBoolean(this, toBase58String(f))))) |
---|
23 | | - | then throw("You are not allowed here") |
---|
| 23 | + | then throw(("You are not allowed here " + toBase58String(f))) |
---|
24 | 24 | | else ScriptResult(WriteSet(nil), TransferSet([ScriptTransfer(addressFromPublicKey(f), 900000, unit)])) |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|