Q!
tH«Ê3Ó#Ìb=wÏ¥u[>Ím~NJ½gQ®MÓ{"dealDetails":1,"globalIdentifiers":2,"keyDates":3,"__cls":"class DealSC {\n constructor(\n owners = [],\n name = '',\n dealCurrency = '',\n dealCommitmentAmount = 0,\n creditOfficer = '',\n agentId = '',\n dealCode = '',\n borrowerName = '',\n ANSIID = '',\n ISIN = '',\n CUSIP = '',\n creditAgreementDate = '',\n closeDate = '',\n createdBy = '',\n uploaded = '',\n lastModified = '',\n imported = false,\n dealApprovalDate = ''\n ) {\n this._owners = owners;\n\n this.dealDetails = {\n name,\n dealCurrency,\n dealCommitmentAmount,\n creditOfficer,\n agentId,\n dealCode,\n borrowerName,\n facilityIds: [],\n };\n\n this.globalIdentifiers = {\n ANSIID,\n ISIN,\n CUSIP,\n };\n\n this.keyDates = {\n creditAgreementDate,\n closeDate,\n };\n\n this.creditAgreements = [];\n this.createdBy = createdBy;\n this.uploaded = uploaded;\n this.lastModified = lastModified;\n this.imported = imported;\n this.dealApprovalDate = dealApprovalDate;\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 addFacility(id) {\n this.dealDetails.facilityIds.push(id);\n }\n\n removeFacility(id) {\n const index = this.dealDetails.facilityIds.indexOf(id);\n this.dealDetails.facilityIds.splice(index, 1);\n }\n\n addCreditAgreement(creditAgreement) {\n this.creditAgreements.push(creditAgreement);\n }\n\n setCreditAgreements(creditAgreements) {\n this.creditAgreements = creditAgreements;\n }\n\n setLastModified(lastModified) {\n this.lastModified = lastModified;\n }\n\n setImported(imported) {\n this.imported = imported;\n }\n\n edit(\n name,\n dealCurrency,\n dealCommitmentAmount,\n creditOfficer,\n dealCode,\n borrowerName,\n ANSIID,\n ISIN,\n CUSIP,\n creditAgreementDate,\n closeDate\n ) {\n this.dealDetails.name = name;\n this.dealDetails.dealCurrency = dealCurrency;\n this.dealDetails.dealCommitmentAmount = dealCommitmentAmount;\n this.dealDetails.creditOfficer = creditOfficer;\n this.dealDetails.dealCode = dealCode;\n this.dealDetails.borrowerName = borrowerName;\n this.globalIdentifiers.ANSIID = ANSIID;\n this.globalIdentifiers.ISIN = ISIN;\n this.globalIdentifiers.CUSIP = CUSIP;\n this.keyDates.creditAgreementDate = creditAgreementDate;\n this.keyDates.closeDate = closeDate;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["0385744808abca33d323cc62143d77cfa5755b153e8ecd6d1b7e4e18184abd0167"],"Deal 1","USD","100000","Officer","1010e44c8338bcf2ab2c68fe00127a0996e7ad9958b53ee60024854c820dfa86:0","123","Borrower","EX1234567","12345678","12345678","02/09/2021","03/02/2021","1010e44c8338bcf2ab2c68fe00127a0996e7ad9958b53ee60024854c820dfa86:0","Fri Feb 05 2021 22:00:48 GMT-0500","Fri Feb 05 2021 22:00:48 GMT-0500",false,""]}u
https://whatsonchain.com/tx/undefined