tx · 6WJLdE8aJAdYQxJMPY3r1QEQVj1AjQ84Gpy2LBU5BSrD
3NA7ktxwjn3mtE6pkkDbn2zfHkfNyq7nya7: -0.01000000 Waves
2020.09.21 12:51 [1186904] smart account 3NA7ktxwjn3mtE6pkkDbn2zfHkfNyq7nya7 > SELF 0.00000000 Waves
{
"type": 13,
"id": "6WJLdE8aJAdYQxJMPY3r1QEQVj1AjQ84Gpy2LBU5BSrD",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1600681915210,
"version": 2,
"chainId": 84,
"sender": "3NA7ktxwjn3mtE6pkkDbn2zfHkfNyq7nya7",
"senderPublicKey": "GrqrEK2PcVxxDa4fUgJcgxKKNVryZhsHUHFXRMwKojcb",
"proofs": [
"4btdWDS6TCLgdZBDu54vqFgFopgfLQqN2qXh3MS6wLdB8pSoVBAWJqd1EoavZbfV2YDYh3bQHceEiUWER92e4BUW"
],
"script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAQAAAAAHdG9rZW5JZAkAAlkAAAABAgAAAAAAAAABAAAAAWkBAAAACmNsYWltVG9rZW4AAAAACQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmfiwC9",
"height": 1186904,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let tokenId = fromBase58String("") |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func claimToken () = TransferSet([ScriptTransfer(i.caller, 1, unit)]) |
---|
| 8 | + | |
---|
| 9 | + | |
---|
| 10 | + | @Verifier(tx) |
---|
| 11 | + | func verify () = match tx { |
---|
| 12 | + | case t: DataTransaction => |
---|
| 13 | + | false |
---|
| 14 | + | case t: SetScriptTransaction => |
---|
| 15 | + | false |
---|
| 16 | + | case _ => |
---|
| 17 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 18 | + | } |
---|
| 19 | + | |
---|