Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

6a08c656e3ed356fb5a2b2f0e0c569f0a8bf416fef2970a53376eaa716cf60b7
Timestamp (utc)
2021-03-02 20:43:12
Fee Paid
0.00001219 BSV
(
0.04744627 BSV
-
0.04743408 BSV
)
Fee Rate
491.9 sat/KB
Version
1
Confirmations
313,853
Size Stats
2,478 B

2 Inputs

Total Input:
0.04744627 BSV
  • Q!‹Èð©z-Øf79™‰jÄ:ñ÷øá&—g;õË’_ 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.numberOfShares = 0;\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].fundId !== this.fundId) {\r\n throw new Error(`Unable to merge, positions don't originate from the same facility or don't belong to the same fund`);\r\n }\r\n sendNumberOfShares += positions[i].numberOfShares;\r\n positions[i].numberOfShares = 0;\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}","__index":{"obj":0},"__func":"constructor","__args":["028bc8f01ba9047a2dd866373999891e6ac43af1f7f8e12697673bf5cb0f925f09",200,"5d56c1dde65c53f57b4040124232f8fecfd6532f5f278f6c2052a4fd414b2aea:0","45d9a0506bf04581723ddfc9aee0302a80f8c94ef91f4fd125b7a0b8464a489d:0","33c6f3785a47c2c0ebd376431268b4c6d8ea5a369cc77ec3e87b781390bb5f77:0"]}u
    https://whatsonchain.com/tx/undefined

3 Outputs

Total Output:
0.04743408 BSV
  • Q!‹Èð©z-Øf79™‰jÄ:ñ÷øá&—g;õË’_ Q®LÓ{"__index":{"obj":0,"res":1},"__func":"send","__args":["0267d1f261ad37d3ee7ad99a60bb9dd510c347e72e763e6c4e3f5915d271bf28e6","269534d475ba5408992d1d80fc829984099a3cdd275faabb1c71a6a9f198942c:0",200,"03/03/2021"]}u
    https://whatsonchain.com/tx/6a08c656e3ed356fb5a2b2f0e0c569f0a8bf416fef2970a53376eaa716cf60b7
  • Q!gÑòa­7Óîzٚ`»ÕÃGç.v>lN?YÒq¿(æQ®MC{"__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.numberOfShares = 0;\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].fundId !== this.fundId) {\r\n throw new Error(`Unable to merge, positions don't originate from the same facility or don't belong to the same fund`);\r\n }\r\n sendNumberOfShares += positions[i].numberOfShares;\r\n positions[i].numberOfShares = 0;\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}"}u
    https://whatsonchain.com/tx/6a08c656e3ed356fb5a2b2f0e0c569f0a8bf416fef2970a53376eaa716cf60b7