Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

e9b2b35e76251f2e36ada0c11f3eaf0e80baa359bb45fa3070315fecaeb5436a
Timestamp (utc)
2021-04-06 20:28:20
Fee Paid
0.00001336 BSV
(
0.06994128 BSV
-
0.06992792 BSV
)
Fee Rate
500.5 sat/KB
Version
1
Confirmations
310,527
Size Stats
2,669 B

5 Outputs

Total Output:
0.06992792 BSV
  • jrunM1 {"in":0,"ref":["native://Jig"],"out":["ac296ef1b9ca03f9dec8c63923d26b08ddb89268e5761efc06072a486203d29b","1efe2955fa5e0c44b5b8b59aff4e0eca7247142a82f4d0510d3751c91c7d5c80","26549d00fd15f80ef4b1c00c19b77e040897cabd2b4fbcc9fff4f3d5e14ab12c"],"del":[],"cre":["mrzyXiNC3hPUPehTUUzF2RXYZmffAe5DUf","mrzyXiNC3hPUPehTUUzF2RXYZmffAe5DUf","mrzyXiNC3hPUPehTUUzF2RXYZmffAe5DUf"],"exec":[{"op":"DEPLOY","data":["class Bid extends Jig {\n init(auction, person, amount) {\n // expect(auction).toBeInstanceOf(Auction)\n this.auction = auction;\n this.person = person;\n this.amount = amount;\n }\n}",{"deps":{"Jig":{"$jig":0}},"metadata":{"author":"Pino","emoji":"💰","license":"MIT"}}]},{"op":"DEPLOY","data":["class Auction extends Jig {\n init(product, initialPrice, endDate) {\n // expect(product).toBeInstanceOf(Product)\n this.product = product;\n this.initialPrice = initialPrice;\n this.endDate = endDate;\n this.bids = []\n this.closed = false\n }\n canBid(){\n return !this.closed\n }\n makeBid(person, amount){\n if (!this.canBid()) {\n throw new Error('Cannot bid: auction is closed')\n }\n if (amount < this.initialPrice) {\n throw new Error('Cannot bid: amount should be greater then the initial price')\n }\n if (this.bids.length > 0 && this.winnerBid().amount >= amount) {\n throw new Error('Cannot bid: amount should be greater then the last bid: > ' + this.winnerBid().amount)\n }\n const bid = new Bid(this, person, amount)\n this.bids.push(bid)\n return bid\n }\n\n winnerBid(){\n return this.bids[this.bids.length - 1]\n }\n\n close(){\n this.closed = true\n }\n\n status(){\n if(this.closed == true)\n return \"closed\"\n return \"open\"\n }\n}",{"deps":{"Bid":{"$jig":1},"Jig":{"$jig":0}},"metadata":{"author":"Pino","emoji":"🤏","license":"MIT"}}]},{"op":"DEPLOY","data":["class Product extends Jig {\n init(uid, nickname) {\n this.uid = uid;\n this.nickname = nickname;\n this.auctions = [];\n }\n\n setDescription(text) {\n this.description = text;\n }\n\n createAuction(price, date) {\n const auction = new Auction(this, price, date);\n this.auctions.push(auction);\n return auction;\n }\n}",{"deps":{"Auction":{"$jig":2},"Jig":{"$jig":0}},"metadata":{"author":"Pino","emoji":"📦","license":"MIT"}}]}]}
    https://whatsonchain.com/tx/e9b2b35e76251f2e36ada0c11f3eaf0e80baa359bb45fa3070315fecaeb5436a