#0
nonstandard
0.00004000 BSV
Q!¹Xr
+&ózg¡BîôÇõZ
`j¤¾%I(
qQ®M<{"dealDetails":1,"globalIdentifiers":2,"keyDates":3,"__cls":"class DealSC {\n constructor(\n owners = [],\n dealName = '',\n dealCurrency = '',\n dealCommitmentAmount = 0,\n creditOfficer = '',\n agentId = '',\n dealCode = '',\n borrowerId = '',\n borrowerName = '',\n ansiId = '',\n isin = '',\n cusip = '',\n dealDate = new Date(),\n closeDate = new Date(),\n ) {\n this._owners = owners\n this.dealDetails = {\n dealName,\n dealCurrency,\n dealCommitmentAmount,\n creditOfficer,\n agentId,\n dealCode,\n borrowerId,\n borrowerName,\n facilityIds: [],\n }\n\n this.globalIdentifiers = {\n ansiId,\n isin,\n cusip,\n }\n\n this.keyDates = {\n dealDate,\n closeDate,\n }\n }\n\n addFacility(id) {\n this.dealDetails.facilityIds.push(id)\n }\n\n removeFacility(id) {\n const index = this.facilityIds.indexOf(id)\n this.facilityIds.splice(index, 1)\n }\n\n addOwner(id) {\n this._owners.push(id)\n }\n\n removeOwner(id) {\n const index = this._owners.indexOf(id)\n this._owners.splice(index, 1)\n }\n\n edit(\n dealName,\n dealCode,\n borrowerId,\n borrowerName,\n creditOfficer,\n dealCurrency,\n dealCommitment,\n closeDate,\n dealDate,\n attachedDocuments,\n ) {\n this.dealDetails.dealName = dealName\n this.dealDetails.dealCurrency = dealCurrency\n this.dealDetails.dealCommitment = dealCommitment\n this.dealDetails.closeDate = closeDate\n this.dealDetails.dealDate = dealDate\n this.dealDetails.dealCode = dealCode\n this.borrowerId = borrowerId\n this.borrowerName = borrowerName\n this.creditOfficer = creditOfficer\n this.attachedDocuments = attachedDocuments\n }\n}","__index":{"obj":0},"__args":[["02b958720d192b268cf37a6791a142eef4c798f55a0d606aa499be25499b288571"],"","USD","","36728dd018aa9a9f21c1b8dc2dfc9ed76f298f980bb7fa8e0829e48410e8bab1:0","02b958720d192b268cf37a6791a142eef4c798f55a0d606aa499be25499b288571","","","borrower","","","","",""],"__func":"constructor"}u
https://whatsonchain.com/tx/2eb91d113cf38f723e2d8fdf1c066ebd38aca6a200e78c3079b3d9cf17501d51