tx · 7LRZ3fb4JYszTKWSZM8m5sPTTA2yN5UVKcDVgk3njSqh 3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM: -0.01500000 Waves 2019.12.14 10:34 [808243] smart account 3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM > SELF 0.00000000 Waves
{ "type": 13, "id": "7LRZ3fb4JYszTKWSZM8m5sPTTA2yN5UVKcDVgk3njSqh", "fee": 1500000, "feeAssetId": null, "timestamp": 1576308922338, "version": 1, "sender": "3MvU8vDCk4NkA1Ag4vE3mETA4U9ioFh6VEM", "senderPublicKey": "LknnJnwRo6xRdriHmjgVbRDgpexijZFTYBU3Lw4HBS1", "proofs": [ "65JwZBEuh88x81ayBqGEw75bdgTmxBC3DRCjipB2QLWfofDfqigDf6WdRigexU4mFXnz4DRF1YV5NED2oNnoR6pr" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAADYmlkAAAAAQAAAAlhdWN0aW9uSWQEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50BAAAAA1jYWxsZXJBZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAB2VuZFRpbWUJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAJYXVjdGlvbklkAgAAAAhfZW5kVGltZQQAAAAIbWluUHJpY2UJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAJYXVjdGlvbklkAgAAAAlfbWluUHJpY2UEAAAADWhpZ2hlc3RCaWRBbXQJAAQaAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAlhdWN0aW9uSWQCAAAADl9oaWdoZXN0QmlkQW10BAAAAA1oaWdoZXN0QmlkZGVyCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAJYXVjdGlvbklkAgAAAA5faGlnaGVzdEJpZGRlcgQAAAASYmlkRnJvbVRoZVNhbWVVc2VyAwkBAAAACWlzRGVmaW5lZAAAAAEFAAAADWhpZ2hlc3RCaWRkZXIJAAAAAAAAAgkBAAAABXZhbHVlAAAAAQUAAAANaGlnaGVzdEJpZGRlcgUAAAANY2FsbGVyQWRkcmVzcwcEAAAADnRvdGFsQmlkQW1vdW50CQAAZAAAAAIIBQAAAANwbXQAAAAGYW1vdW50AwUAAAASYmlkRnJvbVRoZVNhbWVVc2VyCQEAAAAFdmFsdWUAAAABBQAAAA1oaWdoZXN0QmlkQW10AAAAAAAAAAAAAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwUAAAAJYXVjdGlvbklkCQAAAgAAAAECAAAAFEF1Y3Rpb24gSWQgbm90IGZvdW5kAwkAAGcAAAACCAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAUAAAAHZW5kVGltZQkAAAIAAAABAgAAABFBdWN0aW9uIENvbXBsZXRlZAMJAABnAAAAAgAAAAAAAAGGoAAAAAAAAAAAAQkAAAIAAAABAgAAABZCaWQgbXVzdCBiZSBtb3JlIHRoZW4gCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAABBDb250ZW50X1ZhcmlhYmxlAgAAAANzc3MFAAAAA25pbAAAAAAzEET8", "chainId": 84, "height": 808243, "spentComplexity": 0 } View: original | compacted Prev: 2sbc6QHCgCvmz5TcT7Ac8SCMBVoEkAJMxQsQinPQA5qo Next: C7gp1Xe8gjorWbsz647cnHKSR2THRzJm9jHm6FgDJLKw Diff:
Old | New | Differences | |
---|---|---|---|
21 | 21 | then throw("Auction Id not found") | |
22 | 22 | else if ((lastBlock.height >= endTime)) | |
23 | 23 | then throw("Auction Completed") | |
24 | - | else if (( | |
24 | + | else if ((100000 >= 1)) | |
25 | 25 | then throw("Bid must be more then ") | |
26 | 26 | else WriteSet([DataEntry("Content_Variable", "sss")]) | |
27 | 27 | } |
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(i) | |
7 | 7 | func bid (auctionId) = { | |
8 | 8 | let pmt = extract(i.payment) | |
9 | 9 | let callerAddress = toBase58String(i.caller.bytes) | |
10 | 10 | let endTime = getIntegerValue(this, (auctionId + "_endTime")) | |
11 | 11 | let minPrice = getIntegerValue(this, (auctionId + "_minPrice")) | |
12 | 12 | let highestBidAmt = getInteger(this, (auctionId + "_highestBidAmt")) | |
13 | 13 | let highestBidder = getString(this, (auctionId + "_highestBidder")) | |
14 | 14 | let bidFromTheSameUser = if (isDefined(highestBidder)) | |
15 | 15 | then (value(highestBidder) == callerAddress) | |
16 | 16 | else false | |
17 | 17 | let totalBidAmount = (pmt.amount + (if (bidFromTheSameUser) | |
18 | 18 | then value(highestBidAmt) | |
19 | 19 | else 0)) | |
20 | 20 | if (!(isDefined(getIntegerValue(this, auctionId)))) | |
21 | 21 | then throw("Auction Id not found") | |
22 | 22 | else if ((lastBlock.height >= endTime)) | |
23 | 23 | then throw("Auction Completed") | |
24 | - | else if (( | |
24 | + | else if ((100000 >= 1)) | |
25 | 25 | then throw("Bid must be more then ") | |
26 | 26 | else WriteSet([DataEntry("Content_Variable", "sss")]) | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 |
github/deemru/w8io/026f985 35.63 ms ◑