tx · Ci44FoWG48rxX61F5J7iWnA843EWU7nA19TYde6sXfy

3N4nuuU1RHiiGh5qukdEoPff81c5idJAYQi:  -0.01000000 Waves

2019.12.16 15:08 [811428] smart account 3N4nuuU1RHiiGh5qukdEoPff81c5idJAYQi > SELF 0.00000000 Waves

{ "type": 13, "id": "Ci44FoWG48rxX61F5J7iWnA843EWU7nA19TYde6sXfy", "fee": 1000000, "feeAssetId": null, "timestamp": 1576498110331, "version": 1, "sender": "3N4nuuU1RHiiGh5qukdEoPff81c5idJAYQi", "senderPublicKey": "FtFfC9tULuEf2b5WVZhS948Yxi3vRFCiuxLdyrkquPtj", "proofs": [ "47QcddrimdboXLA8zwMPiCByf4C1N9G9KSTufwGepgNhgYzJh59UH4EV8yfMiADKULyAKFhnxTRyV99VhxpajDGw" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAADAAAAAANZGVhbGVyQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVIIvZsveTY8YvUj9QbUNXQSwv3NN2tEbNAAAAAAQd2hpdGVsaXN0QWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVJDHIIUGzZ6WUTT7eDRBXvzmo+8NTa6YKgAAAAAUZEFwcFdoaXRlbGlzdEFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTjb3DY4EpS1I3pGV9/Mjfqvvd5yJ9vYR8AAAAACXBBZGRyZXNzMQkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM05DVkRhVDFBU2JSZDQyaEJTdzRFRzZvakdWUkd0dk1pejEAAAAACXBBZGRyZXNzMgkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM01zMmtUQXhkcmNYRHh3ZWRmYk5qU2k2ZXdHQ1VxdDNoZVoAAAAACXBBZGRyZXNzMwkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM042b2dubTd4blFTRmlvd25TMURmMUxhY0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AckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAwkAAAAAAAACBQAAAApkQXBwU3RhdHVzAAAAAAAAAAAACQAAAgAAAAECAAAAGURlYWxlciBkQXBwIGlzIG5vdCBhY3RpdmUEAAAAC2NhbGxlckNoZWNrCQEAAAAMY2hlY2tBZGRyZXNzAAAAAQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAA5yZWNpcGllbnRDaGVjawkBAAAADGNoZWNrQWRkcmVzcwAAAAEFAAAACXRvQWRkcmVzcwQAAAAHcGF5bWVudAkBAAAACmdldFBheW1lbnQAAAABBQAAAAFpCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQUAAAAJdG9BZGRyZXNzCAUAAAAHcGF5bWVudAAAAAZhbW91bnQIBQAAAAdwYXltZW50AAAAB2Fzc2V0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB/zyoRs=", "chainId": 84, "height": 811428, "spentComplexity": 0 } View: original | compacted Prev: none Next: GLLNGG9rSyG7fesMARvVaaUftH2XFJR3AsboDQyGtyxE Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = Address(base58'3N1nSQNkUmZtgmgsgYSg54cu25jLFWBUAcB')
5+
6+let b = Address(base58'3N37bd8eggz2AFnEXFFgMMtfYQMgMvXLPaZ')
7+
8+let c = Address(base58'3NAeefWVGWNzuSeVij5nJYZHkiimqQv8ysc')
9+
10+let d = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1")
11+
12+let e = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ")
13+
14+let f = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe")
15+
16+let g = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC")
17+
18+let h = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg")
19+
20+let i = "0.0.1-otc-testnet"
21+
22+let j = 1000
23+
24+func k (l) = {
25+ let m = l.payment
26+ if ($isInstanceOf(m, "AttachedPayment"))
27+ then {
28+ let n = m
29+ n
30+ }
31+ else throw("Payment must be attached")
32+ }
33+
34+
35+func o (p) = {
36+ let q = {
37+ let m = getInteger(b, p)
38+ if ($isInstanceOf(m, "Int"))
39+ then {
40+ let r = m
41+ r
42+ }
43+ else -255
44+ }
45+ if ((j > q))
46+ then throw("This account has no right to send/get funds.")
47+ else true
48+ }
49+
50+
51+@Callable(l)
52+func transfer (s) = {
53+ let t = {
54+ let m = getInteger(c, toString(this))
55+ if ($isInstanceOf(m, "Int"))
56+ then {
57+ let r = m
58+ r
59+ }
60+ else 0
61+ }
62+ if ((t == 0))
63+ then throw("Dealer dApp is not active")
64+ else {
65+ let u = o(toBase58String(l.caller.bytes))
66+ let v = o(s)
67+ let w = k(l)
68+ TransferSet([ScriptTransfer(addressFromStringValue(s), w.amount, w.assetId)])
69+ }
70+ }
71+
72+
73+@Verifier(x)
74+func y () = {
75+ let m = x
76+ if ($isInstanceOf(m, "SetScriptTransaction"))
77+ then {
78+ let x = m
79+ true
80+ }
81+ else false
82+ }
83+

github/deemru/w8io/169f3d6 
20.70 ms