#0
nonstandard
0.00004000 BSV
Q!rà üïÞ$2îik»föÉÅ&ÊÒ"xûna
Ú!%ÝnfúÑÂâë^ª«>%,ftNX¹ãøáR®ME
{"kind":"script","__func":"constructor","_args":[["0272c309fcef91de2432ee69066bbb66f60bc9c526cad2942278fb6e61851fda86","0325dd8f6e66fad1c2e2eb125e0214aaab3e2587832c66744e58b9e30614f8e188"],"test_cusip1","type","trc","Someone","0272c309fcef91de2432ee69066bbb66f60bc9c526cad2942278fb6e61851fda86","Borrower","Someone","0325dd8f6e66fad1c2e2eb125e0214aaab3e2587832c66744e58b9e30614f8e188","1",true,"500000","A+","USD","foo","500","600","700","1","1","1","123123123","123123123","123123123","foo","bar","baz","foo","bar"],"__index":{"obj":0},"__cls":"class LoanSC {\n constructor(\n publicKeys,\n cusip,\n type,\n tranche,\n agentName,\n agentId,\n borrowerName,\n arrangerName,\n arrangerId,\n requiresConsent,\n distressed,\n facilityAmount,\n facilityRating,\n facilityCurrency,\n pricingOption,\n facilityFee,\n availabilityFee,\n utilizationFee,\n racRate,\n allInRate,\n baseRate,\n margin,\n repricingDate,\n startDate,\n syndicationDate,\n creditAgreement,\n termsAndConditions,\n corporateActions,\n ratingsActions,\n ) {\n this._owners = publicKeys\n this.cusip = cusip\n this.type = type\n this.tranche = tranche\n this.agentName = agentName\n this.agentId = agentId\n this.borrowerName = borrowerName\n this.arrangerName = arrangerName\n this.arrangerId = arrangerId\n this.requiresConsent = requiresConsent\n this.distressed = distressed\n this.facilityAmount = facilityAmount\n this.facilityRating = facilityRating\n this.facilityCurrency = facilityCurrency\n this.pricingOption = pricingOption\n this.facilityFee = facilityFee\n this.availabilityFee = availabilityFee\n this.utilizationFee = utilizationFee\n this.racRate = racRate\n this.allInRate = allInRate\n this.baseRate = baseRate\n this.margin = margin\n this.repricingDate = repricingDate\n this.startDate = startDate\n this.syndicationDate = syndicationDate\n this.creditAgreement = creditAgreement\n this.termsAndConditions = termsAndConditions\n this.corporateActions = corporateActions\n this.ratingsActions = ratingsActions\n this.trades = []\n this.lendersOfRecord = []\n this.status = 'New'\n }\n\n addTrade(tradeId, publicKeys = []) {\n this.trades.push(tradeId)\n this._owners = [...new Set(this._owners.concat(publicKeys))]\n }\n\n addOwners(publicKeys) {\n this._owners = [...new Set(this._owners.concat(publicKeys))]\n }\n\n addToLendersOfRecord(publicKey, commitmentAmount) {\n this.lendersOfRecord.push([publicKey, commitmentAmount])\n }\n}"}u
https://whatsonchain.com/tx/bb17720f0d09c591473e070ca65fc44679c194905a2ac5389adb2851a2cccd01