#0
nonstandard
0.00004000 BSV
Q!)©ÂÝ^a³<A¡ >ò-¨r¹×f´DS°2ì¡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 approvalDate = '',\n closeDate = '',\n createdBy = '',\n uploaded = '',\n lastModified = '',\n imported = false,\n isDraft = false,\n draftName = '',\n lastStage = 0\n ) {\n this._owners = owners;\n this._readers = [];\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 this.isDraft = isDraft;\n this.draftName = draftName;\n this.lastStage = lastStage;\n this.tags = [];\n }\n\n addOwner(id) {\n this._owners = [...new Set(this._owners.concat(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 setIsDraft(isDraft) {\n this.isDraft = isDraft;\n }\n\n setDraftName(draftName) {\n this.draftName = draftName;\n }\n\n setTags(tags) {\n this.tags = tags;\n }\n\n addReader(readerId) {\n this._readers = [...new Set(this._readers.concat(readerId))];\n }\n\n removeReader(readerId) {\n const index = this._readers.indexOf(readerId);\n this._readers.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 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":[["029d29a91ec2dd5e61b33c41a18e20813ef22da8131a72b9d766b44453b032eca1"],"Deal 3","USD","333","3","447946bfde86ae5a8f5b8c1921f8758cf7730adc2748794033ac8fe98d0916ad:0","3","3","EX3","3","3",1614549600,1617141600,1617141600,"447946bfde86ae5a8f5b8c1921f8758cf7730adc2748794033ac8fe98d0916ad:0",1616333789,1616333789,false,false,"",0]}u
https://whatsonchain.com/tx/313b2a5796c79f1f63aa12ac3ebc827042d1048c2df2ce625a46765cff718f3f