#0
nonstandard
0.00004000 BSV
Q!cM°À\kQÛüöø0r$BÒ¥OÑíRáQ®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":[["02634db09ac01d5c6b51dbfcf6f83072030c2442d2a51c1b4fd18d8aed52ade191"],"My Deal","USD","","aafc560a292ff5cf72ae1254346be203b94bc3f5925b5cbb17ad9b6e2587e625:0","02634db09ac01d5c6b51dbfcf6f83072030c2442d2a51c1b4fd18d8aed52ade191","","","","","","","",""],"__func":"constructor"}u
https://whatsonchain.com/tx/26c780bce1cdd9f8581c3c7412d38bab1002b6c7ba58621988adc627f519ac02