#0
nonstandard
0.00004000 BSV
Q!Fê ÁË ôR¿Wsß[§Â4°Ë:H½§O sQ®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 approvalDate = '',\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 creditAgreementDate,\n approvalDate,\n closeDate,\n };\n\n this.creditAgreements = [];\n this.createdBy = createdBy;\n this.uploaded = uploaded;\n this.lastModified = lastModified;\n this.imported = imported;\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 approvalDate,\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.approvalDate = approvalDate;\n this.keyDates.closeDate = closeDate;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["02ad46ea20c1cb20f452bf885773df5b14a71c14c234b0cb3a48bda74f94007316"],"Deal CSV","USD","100","creditOfficer","8439c41bd6416cb52c6592d1f37213c57006d40652b72ec1bf59bc490e3e2270:0","dealCode","borrowerName","EX1234567","123456789111","123456789","01/01/2021","02/01/2021","02/03/2021","8439c41bd6416cb52c6592d1f37213c57006d40652b72ec1bf59bc490e3e2270:0","02/08/2021","02/08/2021",true]}u
https://whatsonchain.com/tx/320074d2bae162ebb485c27f79dbaa9f210d7796be2dbda05a32e3adad1cb4f1