#0
nonstandard
0.00004000 BSV
Q!N¨ eÌ:]0s÷(i-vu¬Y*Y~;"\ãüÔÇÁRQ®M{"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 approvalDate = '',\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 creditAgreementDate,\r\n approvalDate,\r\n closeDate,\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 creditAgreementDate,\r\n approvalDate,\r\n closeDate\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.creditAgreementDate = creditAgreementDate;\r\n this.keyDates.approvalDate = approvalDate;\r\n this.keyDates.closeDate = closeDate;\r\n }\r\n}","__index":{"obj":0},"__func":"constructor","__args":[["024ea8a065cc3a5d3073f728691bad2d7675ac592a59997e3b225ce3fcd4c7c152"],"Deal 1","USD","000","0","cb3e976e764de18274adab414c5ff1364b1e085454e84add5344d86b92b99fe9:0","00","00","EX5555","5555","5555","05/01/2021","05/01/2021","05/01/2021","cb3e976e764de18274adab414c5ff1364b1e085454e84add5344d86b92b99fe9:0","03/09/2021","03/09/2021",false]}u
https://whatsonchain.com/tx/3b4decfa24fe9b007ebbbdc66dca4defb9638c9702af58700a3c59a76d89e8dd