#0
nonstandard
0.00004000 BSV
Q!oòÿüåÒn)IRµºÃÂÍjÅ9w1aQ®M{"dealDetails":1,"globalIdentifiers":2,"keyDates":3,"__cls":"class DealSC {\n constructor(\n owners = [],\n dealName = '',\n dealCurrency = '',\n dealCommitmentAmount = 0,\n creditOfficer = '',\n agentId = '',\n dealCode = '',\n borrowerId = '',\n ansiId = '',\n isin = '',\n cusip = '',\n dealDate = new Date(),\n closeDate = new Date(),\n ) {\n this._owners = owners\n\n this.dealDetails = {\n dealName,\n dealCurrency,\n dealCommitmentAmount,\n creditOfficer,\n agentId,\n dealCode,\n borrowerId,\n facilityIds: [],\n }\n\n this.globalIdentifiers = {\n ansiId,\n isin,\n cusip,\n }\n\n this.keyDates = {\n dealDate,\n closeDate,\n }\n }\n\n addFacility(id) {\n this.dealDetails.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 dealCurrency,\n dealCommitmentAmount,\n creditOfficer,\n agentId,\n dealCode,\n borrowerId,\n ansiId,\n isin,\n cusip,\n dealDate,\n closeDate,\n ) {\n this.dealDetails.dealName = dealName\n this.dealDetails.dealCurrency = dealCurrency\n this.dealDetails.dealCommitmentAmount = dealCommitmentAmount\n this.dealDetails.creditOfficer = creditOfficer\n this.dealDetails.agentId = agentId\n this.dealDetails.dealCode = dealCode\n this.dealDetails.borrowerId = borrowerId\n \n this.globalIdentifiers = {\n ansiId,\n isin,\n cusip,\n }\n\n this.keyDates = {\n dealDate,\n closeDate,\n }\n }\n}","__index":{"obj":0},"__args":[["026ff21eff93fc9c84e580d2956e29495206b5ba9ec399c2cd96926ac539773161"],"Deal Name","USD","0","026ff21eff93fc9c84e580d2956e29495206b5ba9ec399c2cd96926ac539773161","026ff21eff93fc9c84e580d2956e29495206b5ba9ec399c2cd96926ac539773161","","026ff21eff93fc9c84e580d2956e29495206b5ba9ec399c2cd96926ac539773161","","","","",""],"__func":"constructor"}u
https://whatsonchain.com/tx/157e295defd59716fdecacc860e4a5fec1ad8700d7088ccf79ca08625f04df71