Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

9357c8c3b33e2d6d97c7d46a73d348196cab3fa549653ce7305433d5c6cd451a
Timestamp (utc)
2021-03-15 08:42:40
Fee Paid
0.00001248 BSV
(
0.02000000 BSV
-
0.01998752 BSV
)
Fee Rate
500.4 sat/KB
Version
1
Confirmations
313,879
Size Stats
2,494 B

2 Outputs

Total Output:
0.01998752 BSV
  • Q!fu£ô¾Œ®Œ“zm¨ükÁð¥±:©ºù¡)-îý›™^Q®MË{"__cls":"class PositionSC {\n constructor(owner, numberOfShares = 0, dealId = '', facilityId = '', fundId = '', dateCreated = '') {\n this._owners = [owner];\n this.numberOfShares = numberOfShares;\n this.dealId = dealId\n this.facilityId = facilityId;\n this.fundId = fundId;\n this.dateCreated = dateCreated;\n }\n\n split(newNumberOfShares, dateCreated) {\n if (newNumberOfShares === this.numberOfShares) {\n return this;\n }\n if (newNumberOfShares < this.numberOfShares) {\n this.numberOfShares -= newNumberOfShares;\n return new PositionSC(this._owners[0], newNumberOfShares, this.dealId, this.facilityId, this.fundId, dateCreated);\n }\n throw new Error(`Cannot split current transaction`);\n }\n\n merge(dateCreated, ...positions) {\n try {\n if (positions.length === 0) return this;\n let sendNumberOfShares = this.numberOfShares;\n this.numberOfShares = 0;\n for (let i = 0; i < positions.length; i += 1) {\n if (positions[i].dealId !== this.dealId || positions[i].facilityId !== this.facilityId || positions[i].fundId !== this.fundId) {\n throw new Error(`Unable to merge, positions don't originate from the same facility or don't belong to the same fund`);\n }\n sendNumberOfShares += positions[i].numberOfShares;\n positions[i].numberOfShares = 0;\n }\n return new PositionSC(this._owners[0], sendNumberOfShares, this.dealId, this.facilityId, this.fundId, dateCreated);\n } catch (err) {\n throw new Error(`Unable to merge positions`);\n }\n }\n\n send(to, fundId, numberOfShares, dateCreated) {\n if (this.numberOfShares < numberOfShares) throw new Error(`Insufficient funds`);\n this.numberOfShares = this.numberOfShares - numberOfShares;\n return new PositionSC(to, numberOfShares, this.dealId, this.facilityId, fundId, dateCreated);\n }\n}","__index":{"obj":0},"__func":"constructor","__args":["0266751da3f4be8c13ae8c937a6da8fc6bc1f0a5b13aa9baf9a1292deefd9b995e",100,"02b61c6106229798264bde3f102565118f1d6a2def6ed6cbd3bc6818e9701da0:0","7d00eefb65aa741d89cbf82d292c75c9f5e5c188230ae72f680e858bcbc4a0b3:0","094396ca7cea5a20d67f003334c4605f4c2be393450c6f5a3d1d06af27fb14bc:0",1615797076]}u
    https://whatsonchain.com/tx/9357c8c3b33e2d6d97c7d46a73d348196cab3fa549653ce7305433d5c6cd451a