#0
nonstandard
0.00004000 BSV
Q!ùBÒ2к%~È'*¾TW@ÿµ¸p8u¸°Q®M4
{"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 ) {\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 closeDate,\n creditAgreementDate,\n };\n\n this.createdBy = createdBy;\n this.uploaded = uploaded;\n this.lastModified = lastModified;\n this.imported = imported;\n }\n\n setImported(imported) {\n this.imported = imported;\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 setLastModified(lastModified) {\n this.creationInfo.lastModified = lastModified;\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([name, dealCurrency, dealCommitmentAmount, creditOfficer, dealCode, borrowerId, ANSIID, ISIN, CUSIP, dealDate, closeDate]) {\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.borrowerId = borrowerId;\n this.globalIdentifiers.ANSIID = ANSIID;\n this.globalIdentifiers.ISIN = ISIN;\n this.globalIdentifiers.CUSIP = CUSIP;\n this.keyDates.closeDate = closeDate;\n this.keyDates.dealDate = dealDate;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["030ef942d23298d09e91ba25887ec8272abe545740ffb58ab8703875b810b01b15"],"Deal 1","dealCurrency1","dealCommitmentAmount1","creditOfficer1","030ef942d23298d09e91ba25887ec8272abe545740ffb58ab8703875b810b01b15","dealCode1","borrowerName1","ANSIID1","ISIN1","CUSIP1","closeDate1","creditAgreementDate1","030ef942d23298d09e91ba25887ec8272abe545740ffb58ab8703875b810b01b15","12/28/2020","12/28/2020",true]}u
https://whatsonchain.com/tx/bdc662dea4be6466f8a742383942665c368f420fc33ca3457d68909d2da7cf94