tx · F2Jmc21uA66GUhfrwUsa6xj28LRcey1W7DcgbrS3am29

3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o:  -0.01500000 Waves

2019.12.12 16:34 [805687] smart account 3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o > SELF 0.00000000 Waves

{ "type": 13, "id": "F2Jmc21uA66GUhfrwUsa6xj28LRcey1W7DcgbrS3am29", "fee": 1500000, "feeAssetId": null, "timestamp": 1576157680074, "version": 1, "sender": "3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o", "senderPublicKey": "HSS4a36erGkiV9CNwCE1pxUDtZ385xiKVPro36tziRHe", "proofs": [ "7GXDua4nF2GF5SAZDvEWMsYTiD6EYMguDQaMHsTu79KQhzM6VnrrwwU1DexDVrAduebyv9KfUhGFwJVsvceVvQK" ], "script": "base64:AAIDAAAAAAAAAAkIARIDCgEIEgAAAAAAAAAAAgAAAAFpAQAAAAllbnRlckRhdGEAAAABAAAAB2RhdGFWYWwJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAEENvbnRlbnRfVmFyaWFibGUFAAAAB2RhdGFWYWwFAAAAA25pbAAAAAFpAQAAAAdnZXREYXRhAAAAAAQAAAALZGF0YUNvbnRlbnQEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwIAAAAQQ29udGVudF9WYXJpYWJsZQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAACQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAMQ29udGVudF9kYXRhBQAAAAtkYXRhQ29udGVudAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAAUAAAAEdW5pdAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAEAAAAg9D7ZJW3radw9y8MQMHx8K59c78F7UiIN8aBtrQ6g2z0HBIpcYg==", "chainId": 84, "height": 805687, "spentComplexity": 0 } View: original | compacted Prev: 4YoADN46ZshG5GCFNrQEPLuzp3vspkCjh7713DNUQDGy Next: 3akqFTh4B5qTmNHAme837SxzyNQ4aySQC82KtVpw77cn Diff:
OldNewDifferences
55
66 @Callable(i)
77 func enterData (dataVal) = WriteSet([DataEntry("Content_Variable", dataVal)])
8+
9+
10+
11+@Callable(i)
12+func getData () = {
13+ let dataContent = match getString(this, "Content_Variable") {
14+ case a: String =>
15+ a
16+ case _ =>
17+ 0
18+ }
19+ ScriptResult(WriteSet([DataEntry("Content_data", dataContent)]), TransferSet([ScriptTransfer(i.caller, 0, unit)]))
20+ }
821
922
1023 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func enterData (dataVal) = WriteSet([DataEntry("Content_Variable", dataVal)])
8+
9+
10+
11+@Callable(i)
12+func getData () = {
13+ let dataContent = match getString(this, "Content_Variable") {
14+ case a: String =>
15+ a
16+ case _ =>
17+ 0
18+ }
19+ ScriptResult(WriteSet([DataEntry("Content_data", dataContent)]), TransferSet([ScriptTransfer(i.caller, 0, unit)]))
20+ }
821
922
1023 @Verifier(tx)
1124 func verify () = match tx {
1225 case d: SetScriptTransaction =>
1326 sigVerify(tx.bodyBytes, tx.proofs[0], base58'HSS4a36erGkiV9CNwCE1pxUDtZ385xiKVPro36tziRHe')
1427 case _ =>
1528 false
1629 }
1730

github/deemru/w8io/026f985 
20.39 ms