#0
nonstandard
0.00004000 BSV
Q!ÛH`pz$ÊËfo6AYèñÀ¼&YCêbQ®MQ{"__func":"constructor","_args":[["02db7f48609f93707a24cacb8392666f36418c0459e8f11cc0bc261d590743ea62"],"02db7f48609f93707a24cacb8392666f36418c0459e8f11cc0bc261d590743ea62","d3","d3","d3","d3","d3","d3","d3","d3","[]"],"__index":{"obj":0},"__cls":"class DealSC {\n constructor(\n owners,\n agentId,\n dealName,\n dealCode,\n borrowerId,\n creditOfficer,\n dealCcy,\n dealCommitment,\n // ansiId,\n // isin,\n closeDate,\n dealDate,\n attachedDocuments,\n ) {\n this._owners = owners\n this.dealName = dealName\n this.dealCcy = dealCcy\n this.dealCommitment = dealCommitment\n this.closeDate = closeDate\n this.dealDate = dealDate\n this.dealCode = dealCode\n // this.ansiId = ansiId\n // this.isin = isin\n this.borrowerId = borrowerId\n this.agentId = agentId\n this.creditOfficer = creditOfficer\n this.facilityIds = []\n this.attachedDocuments = attachedDocuments\n }\n\n addFacility(id) {\n this.facilityIds.push(id)\n }\n\n removeFacility(id) {\n const index = this.facilityIds.indexOf(id)\n this.facilityIds.splice(index, 1)\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 dealName,\n dealCode,\n borrowerId,\n creditOfficer,\n dealCcy,\n dealCommitment,\n // ansiId,\n // isin,\n closeDate,\n dealDate,\n attachedDocuments,\n ) {\n this.dealName = dealName\n this.dealCcy = dealCcy\n this.dealCommitment = dealCommitment\n this.closeDate = closeDate\n this.dealDate = dealDate\n this.dealCode = dealCode\n // this.ansiId = ansiId\n // this.isin = isin\n this.borrowerId = borrowerId\n this.creditOfficer = creditOfficer\n this.attachedDocuments = attachedDocuments\n }\n}"}u
https://whatsonchain.com/tx/6346c08d25a68480f83bf499e7bc277f11da96b0848a32b59945acb2e50f22ea