Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

9b3f6b5d29a8fa0f55870b7ea9d2d0cfa42b17ef9994520231295473f20c488c
Timestamp (utc)
2020-12-28 20:23:47
Fee Paid
0.00001212 BSV
(
0.04222259 BSV
-
0.04221047 BSV
)
Fee Rate
500.2 sat/KB
Version
1
Confirmations
329,979
Size Stats
2,423 B

2 Outputs

Total Output:
0.04221047 BSV
  • Q!Þ4’HDþC¼UÕ ÎyBV|³« "t”j’Z´£ÞQ®Mƒ{"__cls":"class PositionSC {\r\n constructor(owner, numberOfShares = 0, dealId = '', facilityId = '', fundId = '') {\r\n this._owners = [owner];\r\n this.numberOfShares = numberOfShares;\r\n this.dealId = dealId\r\n this.facilityId = facilityId;\r\n this.fundId = fundId;\r\n }\r\n\r\n split(newNumberOfShares) {\r\n if (newNumberOfShares === this.numberOfShares) {\r\n return this;\r\n }\r\n if (newNumberOfShares < this.numberOfShares) {\r\n this.numberOfShares -= newNumberOfShares;\r\n return new PositionSC(this._owners[0], newNumberOfShares, this.dealId, this.facilityId, this.fundId);\r\n }\r\n throw new Error(`Cannot split current transaction`);\r\n }\r\n\r\n merge(...positions) {\r\n try {\r\n if (positions.length === 0) return this;\r\n let sendNumberOfShares = this.numberOfShares;\r\n this.setToZero();\r\n for (let i = 0; i < positions.length; i += 1) {\r\n if (positions[i].dealId !== this.dealId || positions[i].facilityId !== this.facilityId || positions[i].facilityId.fundId !== this.fundId) {\r\n throw new Error(`Unable to merge positions`);\r\n }\r\n sendNumberOfShares += positions[i].numberOfShares;\r\n positions[i].setToZero();\r\n }\r\n return new PositionSC(this._owners[0], sendNumberOfShares, this.dealId, this.facilityId, this.fundId);\r\n } catch (err) {\r\n throw new Error(`Unable to merge positions`);\r\n }\r\n }\r\n\r\n send(to, fundId, numberOfShares) {\r\n if (this.numberOfShares < numberOfShares) throw new Error(`Insufficient funds`);\r\n this.numberOfShares = this.numberOfShares - numberOfShares;\r\n return new PositionSC(to, numberOfShares, this.dealId, this.facilityId, fundId);\r\n }\r\n\r\n setToZero() {\r\n this.numberOfShares = 0;\r\n }\r\n}","__index":{"obj":0},"__func":"constructor","__args":["02de349248448ffe43bc1c55d509ce7942567cb3ab0922741794076a925ab4a3de",123,"573fb17802ca91e02f616ec639530ad197468183b14e51f0a2c7b5eb13776461:0","a4f39c414a4ad821280a15b6e0322b923b20718321e39ac48d29cc346e4a7b65:0","15616414f963d7f56a71ecae3ed887548032f361244d5fa1467ff113e6434df0:0"]}u
    https://whatsonchain.com/tx/9b3f6b5d29a8fa0f55870b7ea9d2d0cfa42b17ef9994520231295473f20c488c