tx · 83PCAKtcuBfDmNfHBs4BPV8CgmGKVbELKkm9RyrFjkFv

3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX:  -0.05000000 Waves

2021.06.11 13:06 [1565551] smart account 3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX > SELF 0.00000000 Waves

{ "type": 13, "id": "83PCAKtcuBfDmNfHBs4BPV8CgmGKVbELKkm9RyrFjkFv", "fee": 5000000, "feeAssetId": null, "timestamp": 1623405996185, "version": 2, "chainId": 84, "sender": "3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX", "senderPublicKey": "BLYPM7pr6zCdxj9zzANneoGVcDEwBnQApCEnR3BkNm68", "proofs": [ "61eYpBbH66FyQFLus7xbxfnR6e27KfV2zthjoEr6DnY7Yz8Y96YRQtkNCcEGN3u9jUypLkBdrZrRpQVjh7jpg5tg" ], "script": "base64:AAIFAAAAAAAAAAkIAhIDCgEBEgAAAAABAQAAAApsYXp5SXNHb29kAAAAAAQAAAABYwQAAAABZAAAAAAAAAAAAQYFAAAAAWMAAAACAAAAAWkBAAAACGdpdmVBd2F5AAAAAQAAAANhZ2UEAAAABWRhcHAyCQEAAAAHQWRkcmVzcwAAAAEBAAAACMqDZA3pbdvQBAAAAARhcmdzBQAAAANuaWwEAAAADWJhbGFuY2VCZWZvcmUICQAD7wAAAAEFAAAABHRoaXMAAAAHcmVndWxhcgMJAAAAAAAAAgUAAAANYmFsYW5jZUJlZm9yZQUAAAANYmFsYW5jZUJlZm9yZQQAAAABegkAA/wAAAAEBQAAAAVkYXBwMgIAAAADYmFyBQAAAARhcmdzCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAR1bml0AAAAAAAF9eEABQAAAANuaWwDCQAAAAAAAAIFAAAAAXoFAAAAAXoEAAAADGJhbGFuY2VBZnRlcggJAAPvAAAAAQUAAAAEdGhpcwAAAAdyZWd1bGFyAwkAAAAAAAACBQAAAAxiYWxhbmNlQWZ0ZXIFAAAADGJhbGFuY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AAAAA9zZW5kZXJQdWJsaWNLZXkE4wM3", "height": 1565551, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 72uVtNn9q39vpbyBsUge7svEeCGVWFeb6eG1SZ1ExJsx Next: EgZwzervRPnptApDxHdxPVDtYEL29KDhzVzZAFXuxPdQ Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func a () = {
5+ let b = {
6+ let c = 1
7+ true
8+ }
9+ b
10+ }
411
512
6-@Callable(a)
7-func giveAway (b) = $Tuple2([ScriptTransfer(a.caller, b, unit), IntegerEntry(toBase58String(a.caller.bytes), b)], unit)
13+@Callable(d)
14+func giveAway (e) = {
15+ let f = Address(base58'asdfasfasfd')
16+ let g = nil
17+ let h = wavesBalance(this).regular
18+ if ((h == h))
19+ then {
20+ let i = invoke(f, "bar", g, [AttachedPayment(unit, 100000000)])
21+ if ((i == i))
22+ then {
23+ let j = wavesBalance(this).regular
24+ if ((j == j))
25+ then $Tuple2([ScriptTransfer(d.caller, e, unit), IntegerEntry(toBase58String(d.caller.bytes), e)], unit)
26+ else throw("Strict value is not equal to itself.")
27+ }
28+ else throw("Strict value is not equal to itself.")
29+ }
30+ else throw("Strict value is not equal to itself.")
31+ }
832
933
10-@Verifier(c)
11-func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey)
34+
35+@Callable(d)
36+func faucet () = {
37+ let k = {
38+ let l = getBoolean(this, toBase58String(d.caller.bytes))
39+ if ($isInstanceOf(l, "Boolean"))
40+ then {
41+ let m = l
42+ m
43+ }
44+ else false
45+ }
46+ if (!(k))
47+ then $Tuple2([BooleanEntry(toBase58String(d.caller.bytes), true), ScriptTransfer(d.caller, 100000000, unit)], unit)
48+ else throw("Can be used only once")
49+ }
50+
51+
52+@Verifier(n)
53+func o () = sigVerify(n.bodyBytes, n.proofs[0], n.senderPublicKey)
1254

github/deemru/w8io/169f3d6 
25.07 ms