#0
nonstandard
0.00004000 BSV
Q!ÍHÞÀ>1i¡¼'Kï,ãDõý=ÔC<GQ®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 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 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 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.creditOfficer = creditOfficer\n this.attachedDocuments = attachedDocuments\n }\n}","__index":{"obj":0},"__args":[["02cd8248dec0833e311969a105bc274bef2c15e344f5fd3dd4941b43813cad1d47"],"d1","USD","0","028961736fbacb5a3a3ae2d9a766d84064afd319e074c5edfbb65c273290a0f57a","02cd8248dec0833e311969a105bc274bef2c15e344f5fd3dd4941b43813cad1d47","","028961736fbacb5a3a3ae2d9a766d84064afd319e074c5edfbb65c273290a0f57a","","","","9/18/2020","9/30/2020"],"__func":"constructor"}u
https://whatsonchain.com/tx/8b6b6b6bc26e5d0a8a73cb6a726e1313fe36aeb962b594094fde9dc30889e3be