tx · 72uVtNn9q39vpbyBsUge7svEeCGVWFeb6eG1SZ1ExJsx

3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX:  -0.01000000 Waves

2021.06.10 21:46 [1564657] smart account 3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX > SELF 0.00000000 Waves

{ "type": 13, "id": "72uVtNn9q39vpbyBsUge7svEeCGVWFeb6eG1SZ1ExJsx", "fee": 1000000, "feeAssetId": null, "timestamp": 1623350886265, "version": 2, "chainId": 84, "sender": "3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX", "senderPublicKey": "BLYPM7pr6zCdxj9zzANneoGVcDEwBnQApCEnR3BkNm68", "proofs": [ "5F6QapP7HbkavimNLgGn7JA7BwqZm4kjGWkZBVsuCU77H92mmDMum9uVzidcRBCdPxHN58trMi4j72K6LwSE86Hd" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAAIZ2l2ZUF3YXkAAAABAAAAA2FnZQkABRQAAAACCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAADYWdlBQAAAAR1bml0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMFAAAAA2FnZQUAAAADbmlsBQAAAAR1bml0AAAAAQAAAAJ0eAEAAAAIdmVyaWZpZXIAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWG4Ago=", "height": 1564657, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 33Bpk4KFsnuM7F27Mwef9u5drNDTHfXNQMZmoX1d5MXC Next: 83PCAKtcuBfDmNfHBs4BPV8CgmGKVbELKkm9RyrFjkFv Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b) = if ((size(b.payments) == 0))
5- then throw("Payment must be attached")
6- else {
7- let c = b.payments[0]
8- if (isDefined(c.assetId))
9- then throw("This function accepts WAVES tokens only")
10- else c.amount
11- }
124
135
14-@Callable(b)
15-func pay () = {
16- let d = a(b)
17- $Tuple2([IntegerEntry(toBase58String(b.caller.bytes), d)], unit)
18- }
6+@Callable(a)
7+func giveAway (b) = $Tuple2([ScriptTransfer(a.caller, b, unit), IntegerEntry(toBase58String(a.caller.bytes), b)], unit)
198
9+
10+@Verifier(c)
11+func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey)
2012

github/deemru/w8io/169f3d6 
22.38 ms