tx · 91ifaQ6dF7vMMZHhyAt3GUkh9Zm6wdnEXLjnVZB7KbR3
3NCMVbH9EWZogGDLtS8sf1N4ShcoDUqxrn7: -0.01400000 Waves
2020.02.03 17:59 [883127] smart account 3NCMVbH9EWZogGDLtS8sf1N4ShcoDUqxrn7 > SELF 0.00000000 Waves
{
"type": 13,
"id": "91ifaQ6dF7vMMZHhyAt3GUkh9Zm6wdnEXLjnVZB7KbR3",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1580741999049,
"version": 1,
"sender": "3NCMVbH9EWZogGDLtS8sf1N4ShcoDUqxrn7",
"senderPublicKey": "JAAzQjxgzdgjCEdwXpfgpoMVcDpJRs4WgA9eTKxJYitU",
"proofs": [
"4WJLfQUH4WAKRK4e8c9DJ7zAYaTrudT9PNYgtJpbaEv25vxafNLsPWUP25p3jAvedebmda6ogwfTJ5mQkYVXSHnD"
],
"script": "base64:AAIDAAAAAAAAAAkIARIDCgECEgAAAAABAAAAABRyb290QWNjb3VudFB1YmxpY0tleQEAAAAg/vAzV0dUdrsrjEv+jGHwMOZenmxYuL7Qu1GZmdwslzUAAAACAAAAAWkBAAAAEXNldEFjY2VwdGVkUGxheWVyAAAAAQAAAA9wbGF5ZXJQdWJsaWNLZXkDCQEAAAACIT0AAAACCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkFAAAAFHJvb3RBY2NvdW50UHVibGljS2V5CQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAEGVycm9yIG9ubHkgcm9vdCAJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AgAAAAssIHJvb3QgaXM6IAkAAlgAAAABBQAAABRyb290QWNjb3VudFB1YmxpY0tleQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAAlgAAAABBQAAAA9wbGF5ZXJQdWJsaWNLZXkAAAAAAAAAAAEFAAAAA25pbAAAAAFpAQAAAAxwbGF5ZXJJbnZva2UAAAAABAAAAA9wbGF5ZXJQdWJsaWNLZXkIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEJAAQbAAAAAgUAAAAEdGhpcwkAAlgAAAABBQAAAA9wbGF5ZXJQdWJsaWNLZXkJAAACAAAAAQkAASwAAAACAgAAABlZb3UgYXJlIG5vdCBhbGxvd2VkIGhlcmUgCQACWAAAAAEFAAAAD3BsYXllclB1YmxpY0tleQkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAA9wbGF5ZXJQdWJsaWNLZXkAAAAAAAANu6AFAAAABHVuaXQFAAAAA25pbAAAAABi5hja",
"chainId": 84,
"height": 883127,
"spentComplexity": 0
}
View: original | compacted
Prev: 3FpM5HqtCtH9ph1rgMcoqCJd4yWyJf75xZcWCs5nc6FQ
Next: 3nn8xZpo7TLDHFA1qJRdifgLR8PyqSLYgA2dHk4K6peD
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let rootAccountPublicKey = base58'52tYm8RpUyEhyRLtVcpms7DP6haMUxiaCzoHyf8qPFt7UUoez45T6CfTiiL8MyU9gq' |
---|
| 4 | + | let rootAccountPublicKey = base58'JAAzQjxgzdgjCEdwXpfgpoMVcDpJRs4WgA9eTKxJYitU' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func setAcceptedPlayer (playerPublicKey) = if ((i.callerPublicKey != rootAccountPublicKey)) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let rootAccountPublicKey = base58'52tYm8RpUyEhyRLtVcpms7DP6haMUxiaCzoHyf8qPFt7UUoez45T6CfTiiL8MyU9gq' |
---|
| 4 | + | let rootAccountPublicKey = base58'JAAzQjxgzdgjCEdwXpfgpoMVcDpJRs4WgA9eTKxJYitU' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func setAcceptedPlayer (playerPublicKey) = if ((i.callerPublicKey != rootAccountPublicKey)) |
---|
8 | 8 | | then throw(((("error only root " + toBase58String(i.callerPublicKey)) + ", root is: ") + toBase58String(rootAccountPublicKey))) |
---|
9 | 9 | | else WriteSet([DataEntry(toBase58String(playerPublicKey), 1)]) |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | |
---|
13 | 13 | | @Callable(i) |
---|
14 | 14 | | func playerInvoke () = { |
---|
15 | 15 | | let playerPublicKey = i.callerPublicKey |
---|
16 | 16 | | if (!(isDefined(getBoolean(this, toBase58String(playerPublicKey))))) |
---|
17 | 17 | | then throw(("You are not allowed here " + toBase58String(playerPublicKey))) |
---|
18 | 18 | | else ScriptResult(WriteSet(nil), TransferSet([ScriptTransfer(addressFromPublicKey(playerPublicKey), 900000, unit)])) |
---|
19 | 19 | | } |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|