Q!VÀ ¡¡*àÀþÞ 9J]d(&¶l>þRø*! #_£9àÈô1bxÒ5ÅÂ;Ôx6%U|T!wòkØ÷³ÓoöFôN¯þRÕ?åOQh ÉjW!ÿhªÎD@6þU9h3ñæ9gÕÐJÕßÒ4¾T®M÷{"__cls":"class OrderSC {\n constructor(\n publicKeys,\n facilityId,\n streamId,\n agentId,\n buyerCloserId,\n arrangerCloserId,\n trusteeId,\n complianceId,\n // issuer,\n // isPurchaseOrSale,\n // lxid,\n // fid,\n // purchaseType,\n // affiliation,\n // cusip,\n // sellerInstitution,\n // buyerInstitution,\n // sellerName,\n // buyerName,\n // weightedAveragePrice,\n // totalUpfrontFees,\n // commission,\n // secFees,\n // miscFees,\n // ownerEntityName,\n // totalCommitment,\n // price,\n // netAmount,\n // agreement,\n // accInterest,\n // type,\n // tranche,\n // baseRate,\n // spread,\n // creditOfficer,\n // isStandardDelayed,\n // buyerCloserId,\n // arrangerCloserId,\n // trusteeId,\n // agentId,\n // complianceId,\n date,\n chatId = '',\n ) {\n this._owners = publicKeys\n this.facilityId = facilityId\n this.buyerCloserId = buyerCloserId\n this.arrangerCloserId = arrangerCloserId\n this.trusteeId = trusteeId\n this.agentId = agentId\n this.complianceId = complianceId\n this.streamId = streamId\n // this.issuer = issuer\n // this.isPurchaseOrSale = isPurchaseOrSale\n // this.lxid = lxid\n // this.fid = fid\n // this.purchaseType = purchaseType\n // this.affiliation = affiliation\n // this.cusip = cusip\n // this.sellerInstitution = sellerInstitution\n // this.buyerInstitution = buyerInstitution\n // this.sellerName = sellerName\n // this.buyerName = buyerName\n // this.totalCommitment = totalCommitment\n // this.weightedAveragePrice = weightedAveragePrice\n // this.totalUpfrontFees = totalUpfrontFees\n // this.commission = commission\n // this.secFees = secFees\n // this.miscFees = miscFees\n // this.ownerEntityName = ownerEntityName\n // this.price = price\n // this.netAmount = netAmount\n // this.agreement = agreement\n // this.accInterest = accInterest\n // this.type = type\n // this.tranche = tranche\n // this.baseRate = baseRate\n // this.spread = spread\n // this.creditOfficer = creditOfficer\n // this.isStandardDelayed = isStandardDelayed\n // this.buyerCloserId = buyerCloserId\n // this.arrangerCloserId = arrangerCloserId\n // this.trusteeId = trusteeId\n // this.agentId = agentId\n // this.complianceId = complianceId\n this.date = date\n this.status = 'In Progress'\n this.chatId = chatId\n this.finalized = false\n this.kycApproved = false\n\n this.state = 'Trade Submitted'\n this.approved = JSON.stringify({\n buyer: false,\n arranger: false,\n })\n\n this.agentApproved = JSON.stringify({\n agent: false,\n })\n\n this.aaApproved = JSON.stringify({\n buyer: false,\n arranger: false,\n agent: false,\n })\n\n this.lstaApproved = JSON.stringify({\n buyer: false,\n arranger: false,\n })\n }\n\n approveKyc() {\n this.kycApproved = true\n }\n\n setBuyerArrangerApproved(role) {\n const approvedJSON = JSON.parse(this.approved)\n approvedJSON[role] = true\n const fullyApproved = ['buyer', 'arranger'].every((r) => approvedJSON[r])\n if (fullyApproved && this.state === 'Trade Submitted') this.state = 'Buyer Arranger Approved'\n this.approved = JSON.stringify(approvedJSON)\n }\n\n setAgentApproved() {\n const approvedJSON = JSON.parse(this.agentApproved)\n approvedJSON.agent = true\n if (this.state === 'Buyer Arranger Approved') this.state = 'Trade Approved'\n this.agentApproved = JSON.stringify(approvedJSON)\n }\n\n setAaApproved(role) {\n const approvedJSON = JSON.parse(this.aaApproved)\n approvedJSON[role] = true\n const fullyApproved = ['buyer', 'agent', 'arranger'].every((r) => approvedJSON[r])\n if (fullyApproved && this.state === 'LSTA Approved') this.state = 'A&A Approved'\n this.aaApproved = JSON.stringify(approvedJSON)\n }\n\n setLstaApproved(role) {\n const approvedJSON = JSON.parse(this.lstaApproved)\n approvedJSON[role] = true\n const fullyApproved = ['buyer', 'arranger'].every((r) => approvedJSON[r])\n if (fullyApproved && this.state === 'Trade Approved') this.state = 'LSTA Approved'\n this.lstaApproved = JSON.stringify(approvedJSON)\n }\n\n bindChat(chatId) {\n this.chatId = chatId\n }\n\n finalize() {\n this.finalized = true\n this.state = 'Settled'\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["0256c000a1a18f2a9e02e016c011fede208b394a5d64822826b66c9d3efe52f82a","03a0235fa30839e0c81583f431628b78d235c5c289813bd4781217362597557c54","0277f26bd8f7971ab3d36ff646f40c4eaffe5213d5823fe54f5168a01fc96a571a","03ff8268aa8ece4440368dfe115519396833f1e63967d5d04ad597dfd2153492be"],"ad55d0143897bde4403b742f8c0ff28b3b1e3bbf5494c13e307001288142eee5:0","c296599b7a303c9c85d12f1bcc6944e911493e338ec2f317efd5602e181ddc5a:0","03ff8268aa8ece4440368dfe115519396833f1e63967d5d04ad597dfd2153492be","0256c000a1a18f2a9e02e016c011fede208b394a5d64822826b66c9d3efe52f82a","03a0235fa30839e0c81583f431628b78d235c5c289813bd4781217362597557c54","0277f26bd8f7971ab3d36ff646f40c4eaffe5213d5823fe54f5168a01fc96a571a","0277f26bd8f7971ab3d36ff646f40c4eaffe5213d5823fe54f5168a01fc96a571a",1597318306,"98921dd25845ee356300f5388ca601541f2eff2cdb1fea14636f7c60d41d4b7a:0"]}u
https://whatsonchain.com/tx/undefined