tx · 5JEv5kQkKPcYBj2k5pnRmsVtrLJmew4Zc2x6a2M6aUbt

3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa:  -0.01400000 Waves

2019.09.08 11:39 [666868] smart account 3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa > SELF 0.00000000 Waves

{ "type": 13, "id": "5JEv5kQkKPcYBj2k5pnRmsVtrLJmew4Zc2x6a2M6aUbt", "fee": 1400000, "feeAssetId": null, "timestamp": 1567931713901, "version": 1, "sender": "3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa", "senderPublicKey": "HktRLq8bnL31myXeh7WVXAuMw8Qb7yrhPfMVxucQVeU", "proofs": [ "UKKq1Yo4aLmvF1SJycns1sFrMuvVjqo78pcDGuuxbtbKLxgNPc6915iEwFX7EXU4KXC6ZoeZKWHis4SoYgy47Ej" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAgAAAAFpAQAAAAdzZXRob21lAAAAAQAAAAZob21lSWQEAAAAFXNlbGxlclB1YmxpY0tleUJhc2U1OAkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAABXdyaXRlCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAABVzZWxsZXJQdWJsaWNLZXlCYXNlNTgFAAAABmhvbWVJZAUAAAADbmlsCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgUAAAAFd3JpdGUJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAAAAAFpAQAAAARtYWluAAAAAgAAAA9zZWxsZXJQdWJsaWNLZXkAAAAGaG9tZUlkBAAAAANwbXQJAQAAAAdleHRyYWN0AAAAAQgFAAAAAWkAAAAHcGF5bWVudAMJAQAAAAlpc0RlZmluZWQAAAABCAUAAAADcG10AAAAB2Fzc2V0SWQJAAACAAAAAQIAAAAVcGF5bWVudCBpcyBvbmx5IHdhdmVzBAAAABNidWVyUHVibGljS2V5QmFzZTU4CQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAAVc2VsbGVyUHVibGljS2V5QmFzZTU4CQACWAAAAAEFAAAAD3NlbGxlclB1YmxpY0tleQQAAAAPZGF0YUZyb21TdG9yYWdlCQAEHQAAAAIFAAAABHRoaXMFAAAAFXNlbGxlclB1YmxpY0tleUJhc2U1OAMJAAAAAAAAAgUAAAAPZGF0YUZyb21TdG9yYWdlAgAAAAEwCQAAAgAAAAECAAAAD3NlbGxlciBob21lbGVzcwQAAAAIdHJhbnNmZXIJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABBQAAAA9zZWxsZXJQdWJsaWNLZXkIBQAAAANwbXQAAAAGYW1vdW50BQAAAAR1bml0BQAAAANuaWwEAAAABXdyaXRlCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAABVzZWxsZXJQdWJsaWNLZXlCYXNlNTgCAAAAATAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAE2J1ZXJQdWJsaWNLZXlCYXNlNTgFAAAABmhvbWVJZAUAAAADbmlsCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgUAAAAFd3JpdGUFAAAACHRyYW5zZmVyAAAAAFNIBbk=", "chainId": 84, "height": 666868, "spentComplexity": 0 } View: original | compacted Prev: FuhbuVzz8g6T473id97TwMneUTr3i5K1cSxHYRb2b4He Next: FG63uUy3c54JwQS85cG116fBMfRgW5FqLFzwdxLfnimu Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func sethome (b) = {
88 let c = toBase58String(a.callerPublicKey)
99 let d = WriteSet([DataEntry(c, b)])
1010 ScriptResult(d, TransferSet(nil))
1111 }
1212
1313
1414
1515 @Callable(a)
1616 func main (e,b) = {
1717 let f = extract(a.payment)
1818 if (isDefined(f.assetId))
1919 then throw("payment is only waves")
2020 else {
2121 let g = toBase58String(a.callerPublicKey)
2222 let c = toBase58String(e)
2323 let h = getString(this, c)
2424 if ((h == "0"))
2525 then throw("seller homeless")
2626 else {
2727 let i = TransferSet([ScriptTransfer(Address(e), f.amount, unit)])
2828 let d = WriteSet([DataEntry(c, "0"), DataEntry(g, b)])
2929 ScriptResult(d, i)
3030 }
3131 }
3232 }
3333
3434

github/deemru/w8io/169f3d6 
20.72 ms