tx · FdWcaxSWRPuxR1TzFBZL11CDw7e54y8aeXEb84mrF8Ko 3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM: -0.01500000 Waves 2019.12.14 10:26 [808236] smart account 3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM > SELF 0.00000000 Waves
{ "type": 13, "id": "FdWcaxSWRPuxR1TzFBZL11CDw7e54y8aeXEb84mrF8Ko", "fee": 1500000, "feeAssetId": null, "timestamp": 1576308387252, "version": 1, "sender": "3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM", "senderPublicKey": "LknnJnwRo6xRdriHmjgVbRDgpexijZFTYBU3Lw4HBS1", "proofs": [ "4wFhaitCW8t17nvS2rAB6poorqyTW8vdZsSGcvvPVGwVPYgLv7oSRCW5jUdtE2seEVVZrjEjgLqdwv4F9hGjsQx5" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAADYmlkAAAAAQAAAAlhdWN0aW9uSWQEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50BAAAAA1jYWxsZXJBZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAB2VuZFRpbWUJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAJYXVjdGlvbklkAgAAAAhfZW5kVGltZQQAAAAIbWluUHJpY2UJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAJYXVjdGlvbklkAgAAAAlfbWluUHJpY2UEAAAADWhpZ2hlc3RCaWRBbXQJAAQaAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAlhdWN0aW9uSWQCAAAADl9oaWdoZXN0QmlkQW10BAAAAA1oaWdoZXN0QmlkZGVyCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAJYXVjd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ENvbnRlbnRfVmFyaWFibGUCAAAAA3NzcwUAAAADbmlsAAAAAPun4EM=", "chainId": 84, "height": 808236, "spentComplexity": 0 } View: original | compacted Prev: 495oXJdceNaQCXhsXDLwFv1MwrB3jwAPR17ktcHx8Vph Next: A6RfFxuxYPwVYeDgE1SNvW64EiDpQ2SCafQRKHg3Lb1z Diff:
Old | New | Differences | |
---|---|---|---|
30 | 30 | else false) | |
31 | 31 | then throw(("Bid must be more then " + (if (!(isDefined(g))) | |
32 | 32 | then toString(f) | |
33 | - | else | |
33 | + | else "hee"))) | |
34 | 34 | else WriteSet([DataEntry("Content_Variable", "sss")]) | |
35 | 35 | } | |
36 | 36 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func bid (b) = { | |
8 | 8 | let c = extract(a.payment) | |
9 | 9 | let d = toBase58String(a.caller.bytes) | |
10 | 10 | let e = getIntegerValue(this, (b + "_endTime")) | |
11 | 11 | let f = getIntegerValue(this, (b + "_minPrice")) | |
12 | 12 | let g = getInteger(this, (b + "_highestBidAmt")) | |
13 | 13 | let h = getString(this, (b + "_highestBidder")) | |
14 | 14 | let i = if (isDefined(h)) | |
15 | 15 | then (value(h) == d) | |
16 | 16 | else false | |
17 | 17 | let j = (c.amount + (if (i) | |
18 | 18 | then value(g) | |
19 | 19 | else 0)) | |
20 | 20 | if (!(isDefined(getIntegerValue(this, b)))) | |
21 | 21 | then throw("Auction Id not found") | |
22 | 22 | else if ((lastBlock.height >= e)) | |
23 | 23 | then throw("Auction Completed") | |
24 | 24 | else if (if (if (!(isDefined(g))) | |
25 | 25 | then (f >= j) | |
26 | 26 | else false) | |
27 | 27 | then true | |
28 | 28 | else if (isDefined(g)) | |
29 | 29 | then (value(g) >= j) | |
30 | 30 | else false) | |
31 | 31 | then throw(("Bid must be more then " + (if (!(isDefined(g))) | |
32 | 32 | then toString(f) | |
33 | - | else | |
33 | + | else "hee"))) | |
34 | 34 | else WriteSet([DataEntry("Content_Variable", "sss")]) | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 |
github/deemru/w8io/026f985 27.55 ms ◑