#0
nonstandard
0.00004000 BSV
Q!Ò3Ægû½´ý¿ææàøçaé5ì+e, ì"Q®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 ) {\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.dealDetails.facilityIds.indexOf(id);\n this.dealDetails.facilityIds.splice(index, 1);\n }\n\n setLastModified(lastModified) {\n this.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(\n name, \n dealCurrency, \n dealCommitmentAmount, \n creditOfficer, \n dealCode, \n borrowerName, \n ANSIID, \n ISIN, \n CUSIP, \n closeDate,\n creditAgreementDate,\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.closeDate = closeDate;\n this.keyDates.creditAgreementDate = creditAgreementDate;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["03d233c69167fbbdb49bfd1dbf8b02e60ee6e0f8e761e935ec2b652c84a013ec22"],"Deal 1","USD","100","Officer","5df5b1db51894be40694be1608ff582e691a9ff5e75fd07c38f118b999a09547:0","123","Borrower","123","123","123","12/30/2020","01/26/2021","5df5b1db51894be40694be1608ff582e691a9ff5e75fd07c38f118b999a09547:0","Tue Jan 19 2021 09:51:14 GMT-0500","Tue Jan 19 2021 09:51:14 GMT-0500",false]}u
https://whatsonchain.com/tx/21e3c66cd9e12699bb0cfc9341c85147f0ec696dbf1b6755d75aa2b535ef33d2