tx · 9n383F3fE9DSUafwSA5s9XiptSwhsjG2XKwjQt1mN8VX

3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM:  -0.01500000 Waves

2019.12.14 10:12 [808216] smart account 3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM > SELF 0.00000000 Waves

{ "type": 13, "id": "9n383F3fE9DSUafwSA5s9XiptSwhsjG2XKwjQt1mN8VX", "fee": 1500000, "feeAssetId": null, "timestamp": 1576307580111, "version": 1, "sender": "3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM", "senderPublicKey": "LknnJnwRo6xRdriHmjgVbRDgpexijZFTYBU3Lw4HBS1", "proofs": [ "2m4vNfLcg4LWHSz8tdFcXA2mUbBsQW2AXbM98K8dRYertcSgm4PkmB9oQPDgUduHXZrFFiGx175tQsPtEXTkC24N" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAADYmlkAAAAAQAAAAlhdWN0aW9uSWQEAAAADWNhbGxlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAHZW5kVGltZQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAlhdWN0aW9uSWQCAAAACF9lbmRUaW1lBAAAAAhtaW5QcmljZQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAlhdWN0aW9uSWQCAAAACV9taW5QcmljZQQAAAANaGlnaGVzdEJpZEFtdAkABBoAAAACBQAAAAR0aGlzCQABLAAAAAIFAAAACWF1Y3Rpb25JZAIAAAAOX2hpZ2hlc3RCaWRBbXQEAAAADWhpZ2hlc3RCaWRkZXIJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAlhdWN0aW9uSWQCAAAADl9oaWdoZXN0QmlkZGVyBAAAABJiaWRGcm9tVGhlU2FtZVVzZXIDCQEAAAAJaXNEZWZpbmVkAAAAAQUAAAANaGlnaGVzdEJpZGRlcgkAAAAAAAACCQEAAAAFdmFsdWUAAAABBQAAAA1oaWdoZXN0QmlkZGVyBQAAAA1jYWxsZXJBZGRyZXNzBwQAAAAOdG90YWxCaWRBbW91bnQJAABkAAAAAgAAAAAAAAGGoAMFAAAAEmJpZEZyb21UaGVTYW1lVXNlcgkBAAAABXZhbHVlAAAAAQUAAAANaGlnaGVzdEJpZEFtdAAAAAAAAAAAAAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAQQ29udGVudF9WYXJpYWJsZQIAAAAFdGVzdHIFAAAAA25pbAAAAACsloyk", "chainId": 84, "height": 808216, "spentComplexity": 0 } View: original | compacted Prev: 5Yryt7zhTg8nYLeEbhC3HFGMzMWoqu1eqQiqMMQ3ZKxw Next: 9qbsXAscdHWyHYrrohZz13N2TgWrtvG8S58hFNpHK5UN Diff:
OldNewDifferences
1616 let i = (100000 + (if (h)
1717 then value(f)
1818 else 0))
19- if (!(isDefined(getIntegerValue(this, b))))
20- then throw("Auction Id not found")
21- else if ((lastBlock.height >= d))
22- then throw("Auction Completed")
23- else if (if (if (!(isDefined(f)))
24- then (e >= i)
25- else false)
26- then true
27- else if (isDefined(f))
28- then (value(f) >= i)
29- else false)
30- then throw(("Bid must be more then " + (if (!(isDefined(f)))
31- then toString(e)
32- else toString(value(f)))))
33- else if (!(isDefined(g)))
34- then WriteSet([DataEntry((b + "_highestBidder"), c), DataEntry((b + "_highestBidAmt"), i)])
35- else if (h)
36- then WriteSet([DataEntry((b + "_highestBidAmt"), i)])
37- else {
38- let j = addressFromStringValue(value(g))
39- ScriptResult(WriteSet([DataEntry((b + "_highestBidder"), c), DataEntry((b + "_highestBidAmt"), i)]), TransferSet([ScriptTransfer(j, value(f), unit)]))
40- }
19+ WriteSet([DataEntry("Content_Variable", "testr")])
4120 }
4221
4322
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func bid (b) = {
88 let c = toBase58String(a.caller.bytes)
99 let d = getIntegerValue(this, (b + "_endTime"))
1010 let e = getIntegerValue(this, (b + "_minPrice"))
1111 let f = getInteger(this, (b + "_highestBidAmt"))
1212 let g = getString(this, (b + "_highestBidder"))
1313 let h = if (isDefined(g))
1414 then (value(g) == c)
1515 else false
1616 let i = (100000 + (if (h)
1717 then value(f)
1818 else 0))
19- if (!(isDefined(getIntegerValue(this, b))))
20- then throw("Auction Id not found")
21- else if ((lastBlock.height >= d))
22- then throw("Auction Completed")
23- else if (if (if (!(isDefined(f)))
24- then (e >= i)
25- else false)
26- then true
27- else if (isDefined(f))
28- then (value(f) >= i)
29- else false)
30- then throw(("Bid must be more then " + (if (!(isDefined(f)))
31- then toString(e)
32- else toString(value(f)))))
33- else if (!(isDefined(g)))
34- then WriteSet([DataEntry((b + "_highestBidder"), c), DataEntry((b + "_highestBidAmt"), i)])
35- else if (h)
36- then WriteSet([DataEntry((b + "_highestBidAmt"), i)])
37- else {
38- let j = addressFromStringValue(value(g))
39- ScriptResult(WriteSet([DataEntry((b + "_highestBidder"), c), DataEntry((b + "_highestBidAmt"), i)]), TransferSet([ScriptTransfer(j, value(f), unit)]))
40- }
19+ WriteSet([DataEntry("Content_Variable", "testr")])
4120 }
4221
4322

github/deemru/w8io/169f3d6 
23.29 ms