Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

a0e669d83733e07cfbbac6bc6ae57747170fc09aa6f85ad5d6dae2f7f3c040ec
Timestamp (utc)
2021-01-11 16:50:09
Fee Paid
0.00001176 BSV
(
0.06882516 BSV
-
0.06881340 BSV
)
Fee Rate
500.4 sat/KB
Version
1
Confirmations
322,269
Size Stats
2,350 B

2 Outputs

Total Output:
0.06881340 BSV
  • Q!Žª@ËìATŽ—Â¥©/O‹‚²¥Ù" ©Ñރ¬EÓ1Q®M:{"__cls":"class PositionSC {\n constructor(owner, numberOfShares = 0, dealId = '', facilityId = '', fundId = '') {\n this._owners = [owner];\n this.numberOfShares = numberOfShares;\n this.dealId = dealId\n this.facilityId = facilityId;\n this.fundId = fundId;\n }\n\n split(newNumberOfShares) {\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);\n }\n throw new Error(`Cannot split current transaction`);\n }\n\n merge(...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);\n } catch (err) {\n throw new Error(`Unable to merge positions`);\n }\n }\n\n send(to, fundId, numberOfShares) {\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);\n }\n}","__index":{"obj":0},"__func":"constructor","__args":["028eaa40cbec41548e97c2a5a92f4f8b82b2a5d990220b12a9d1de8390ac45d331",10,"bf5996cfba22d1e7155a4f3c9a98ada3d45eade2cb5a69f4bdefc0c20ac5f6c9:0","d00f1b7eb8a5c71371eb5ab41b0a02246a4b00f8bc5943d9adb697c436879736:0","e84c57bab3b870648a96c6071032f45c6888984477e89d4d5baea30e6fb93b1c:0"]}u
    https://whatsonchain.com/tx/a0e669d83733e07cfbbac6bc6ae57747170fc09aa6f85ad5d6dae2f7f3c040ec