Q!¬ÄJÍÁÒ5(mN)£,>ÉMÔ3ì°¸ÒQ®MO{"dealDetails":1,"globalIdentifiers":2,"keyDates":3,"__cls":"class DealSC {\r\n constructor(\r\n owners = [],\r\n name = '',\r\n dealCurrency = '',\r\n dealCommitmentAmount = 0,\r\n creditOfficer = '',\r\n agentId = '',\r\n dealCode = '',\r\n borrowerName = '',\r\n ANSIID = '',\r\n ISIN = '',\r\n CUSIP = '',\r\n creditAgreementDate = '',\r\n closeDate = '',\r\n createdBy = '',\r\n uploaded = '',\r\n lastModified = '',\r\n imported = false\r\n ) {\r\n this._owners = owners;\r\n\r\n this.dealDetails = {\r\n name,\r\n dealCurrency,\r\n dealCommitmentAmount,\r\n creditOfficer,\r\n agentId,\r\n dealCode,\r\n borrowerName,\r\n facilityIds: [],\r\n };\r\n\r\n this.globalIdentifiers = {\r\n ANSIID,\r\n ISIN,\r\n CUSIP,\r\n };\r\n\r\n this.keyDates = {\r\n closeDate,\r\n creditAgreementDate,\r\n };\r\n\r\n this.creditAgreements = []\r\n this.createdBy = createdBy;\r\n this.uploaded = uploaded;\r\n this.lastModified = lastModified;\r\n this.imported = imported;\r\n }\r\n\r\n addOwner(id) {\r\n this._owners.push(id);\r\n }\r\n\r\n removeOwner(id) {\r\n const index = this._owners.indexOf(id);\r\n this._owners.splice(index, 1);\r\n }\r\n\r\n addFacility(id) {\r\n this.dealDetails.facilityIds.push(id);\r\n }\r\n\r\n removeFacility(id) {\r\n const index = this.dealDetails.facilityIds.indexOf(id);\r\n this.dealDetails.facilityIds.splice(index, 1);\r\n }\r\n\r\n addCreditAgreement(creditAgreement) {\r\n this.creditAgreements.push(creditAgreement)\r\n }\r\n \r\n setCreditAgreements(creditAgreements) {\r\n this.creditAgreements = creditAgreements;\r\n }\r\n\r\n setLastModified(lastModified) {\r\n this.lastModified = lastModified;\r\n }\r\n\r\n setImported(imported) {\r\n this.imported = imported;\r\n }\r\n\r\n edit(\r\n name, \r\n dealCurrency, \r\n dealCommitmentAmount, \r\n creditOfficer, \r\n dealCode, \r\n borrowerName, \r\n ANSIID, \r\n ISIN, \r\n CUSIP, \r\n closeDate,\r\n creditAgreementDate,\r\n ) {\r\n this.dealDetails.name = name;\r\n this.dealDetails.dealCurrency = dealCurrency;\r\n this.dealDetails.dealCommitmentAmount = dealCommitmentAmount;\r\n this.dealDetails.creditOfficer = creditOfficer;\r\n this.dealDetails.dealCode = dealCode;\r\n this.dealDetails.borrowerName = borrowerName;\r\n this.globalIdentifiers.ANSIID = ANSIID;\r\n this.globalIdentifiers.ISIN = ISIN;\r\n this.globalIdentifiers.CUSIP = CUSIP;\r\n this.keyDates.closeDate = closeDate;\r\n this.keyDates.creditAgreementDate = creditAgreementDate;\r\n }\r\n}","__index":{"obj":0},"__func":"constructor","__args":[["02ac84c4ad1d7f4acd9bc1d235286d4e29a32c3e07c94d11d433ecb0b89d8f8bd2"],"Deal 2 Agent 2","USD",0,"00","90806ddedd721ef58deb0cb18d51ec823ac593d861d3e3383fb3d827e6d33e1c:0","00","00","EX00","00","00","02/10/2021","02/26/2021","90806ddedd721ef58deb0cb18d51ec823ac593d861d3e3383fb3d827e6d33e1c:0","Thu Feb 04 2021 18:34:33 GMT+0400","Thu Feb 04 2021 18:34:33 GMT+0400",false]}u
https://whatsonchain.com/tx/undefined