Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

582b63baa30ddca28889087369f2cd7043c8f7c40de0d1e5d5e17c587a825403
Timestamp (utc)
2021-02-28 21:50:09
Fee Paid
0.00001261 BSV
(
0.00990948 BSV
-
0.00989687 BSV
)
Fee Rate
500.3 sat/KB
Version
1
Confirmations
320,057
Size Stats
2,520 B

2 Outputs

Total Output:
0.00989687 BSV
  • Q!Ôܸ`Ž¿æÅPí<䳃rЎ>¢¸JFÎÛìŽjï 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":["03d4dcb8608ebfe68fc550ed3c1ae4b3008372d08e3ea2b84a46cedbec8e6aef0b",100,"a850a35cee86c1ad67e8909fb497d17e672ebc448fa714ed28cf7685e991d7b9:0","32d085c5505669cbe7e2a0f306a109d767b0bc75f53efdd5b55ae0487f50dd7a:0","35526a69050330c65540f837478b62b5c6e15b3424c222859036ddf64c8651a4:0","Sun Feb 28 2021 23:43:02 GMT+0200"]}u
    https://whatsonchain.com/tx/582b63baa30ddca28889087369f2cd7043c8f7c40de0d1e5d5e17c587a825403