tx · A3FyHx4kw3D69C1jGNUdAP94f8uKioU9dzBwmFf84Agy

3MwoxRYgV9EeanBtS75oXJQGrcQ75A77oJU:  -0.01400000 Waves

2021.04.05 20:01 [1469423] smart account 3MwoxRYgV9EeanBtS75oXJQGrcQ75A77oJU > SELF 0.00000000 Waves

{ "type": 13, "id": "A3FyHx4kw3D69C1jGNUdAP94f8uKioU9dzBwmFf84Agy", "fee": 1400000, "feeAssetId": null, "timestamp": 1617642096190, "version": 2, "chainId": 84, "sender": "3MwoxRYgV9EeanBtS75oXJQGrcQ75A77oJU", "senderPublicKey": "A5GX3vTwaEg4v8Y2tsPeeQjKnUXpeaEBB9Zq5crF2CUv", "proofs": [ "2LMeFckZvPBtwtXX8nReDV27QRCkYTpLe42fPwWiJjsKW7bEVuP8SbjgNrXwaBBPHXPnk7S5iTQESTmvRo3RUUN3" ], "script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAKdGVzdGhlaWdodAAAAAAEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50BAAAAAZhc3NldDEBAAAAIE+Mh7J1xMTUIm/DwOA0Gk7TKX2bLvjnTyeMoAXgSIzPAwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAAIAAAABAgAAACxJbmNvcnJlY3QgYXNzZXQgYXR0YWNoZWQsIHBsZWFzZSBzZW5kIFdBVkVTLgkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAADkN1cnJlbnQgSGVpZ2h0BQAAAAZoZWlnaHQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAADkN1cnJlbnQgSGVpZ2h0CAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlebl86v0=", "height": 1469423, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ExpbUqmDX8uEsFntFkupu5TbB3rin2MtLK8hBak4KNjZ Next: 85Fd9sMVAbaTrKQsUc7cdmZa9EwN97RsmU7tEM3HZ5EK Diff:
OldNewDifferences
77 func testheight () = {
88 let pmt = extract(i.payment)
99 let asset1 = base58'6MXVdZUyZSQp7Z16rDwUKYWuuP9zPL3yDGD4hRNadczi'
10- if ((pmt.assetId != asset1))
11- then throw("Incorrect asset attached, please send 6MXVdZUyZSQp7Z16rDwUKYWuuP9zPL3yDGD4hRNadczi (KSS).")
10+ if (isDefined(pmt.assetId))
11+ then throw("Incorrect asset attached, please send WAVES.")
1212 else ScriptResult(WriteSet([DataEntry("Current Height", height), DataEntry("Current Height", lastBlock.height)]), TransferSet(nil))
1313 }
1414
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func testheight () = {
88 let pmt = extract(i.payment)
99 let asset1 = base58'6MXVdZUyZSQp7Z16rDwUKYWuuP9zPL3yDGD4hRNadczi'
10- if ((pmt.assetId != asset1))
11- then throw("Incorrect asset attached, please send 6MXVdZUyZSQp7Z16rDwUKYWuuP9zPL3yDGD4hRNadczi (KSS).")
10+ if (isDefined(pmt.assetId))
11+ then throw("Incorrect asset attached, please send WAVES.")
1212 else ScriptResult(WriteSet([DataEntry("Current Height", height), DataEntry("Current Height", lastBlock.height)]), TransferSet(nil))
1313 }
1414
1515
1616 @Verifier(tx)
1717 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1818

github/deemru/w8io/169f3d6 
33.14 ms