#0
nonstandard
0.00004000 BSV
Q!þFåcòq 1ú0<¤Ó<0@>ú´ ¹²dÜQ®MJ
{"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 this._readers = [];\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 this.tags = [];\r\n }\r\n\r\n addOwner(id) {\r\n this._owners = [...new Set(this._owners.concat(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 setTags(tags) {\r\n this.tags = tags;\r\n }\r\n\r\n addReader(readerId) {\r\n this._readers = [...new Set(this._readers.concat(readerId))];\r\n }\r\n\r\n removeReader(readerId) {\r\n const index = this._readers.indexOf(readerId);\r\n this._readers.splice(index, 1);\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":[["03fe4608e563f271203106fa303ca4d38d193c30408d9f3e0693fab4a0b9b264dc"],"fqq deal","",0,"","","","","","","","","","","","","",false]}u
https://whatsonchain.com/tx/84a8f3b2c5a50fe33b6640efdad57df6b760ea787fac61bb34fdf71a05236ea3