Transaction

b2457a99ba7e030cbaef08725e0316c7efa0d3fd266a9fff8931ddb66b71130f
( - )
201,944
2021-02-22 09:18:36
1
378 B

2 Inputs

Total Input:
  • Q!>¿/‰¯-BcÄ2þ¢-óè·(P6íL³c£ ´[Rb!MÔ·ú§:Û6I•2Õ:ÖÁu¸K7QÙ<¾ËoarãR®M‹ {"__cls":"class Booking {\n constructor(depositPercentage,onContract,onKey,installments,installmentFrequency,unitPrice,status,taxPercentage,startTime,agentKey,developerKey,unitNumber,buildingName,unitId,timestamp) {\n this.depositPercentage = depositPercentage;\n this.paymentFrequency = installmentFrequency;\n this.onContractAmount = onContract.amount;\n this.onContractPercentage = onContract.percent;\n this.onKeyPercentage = onKey;\n this.paymentInstallmentsAmount = installments.amount;\n this.paymentInstallmentsPercentage = installments.percent;\n this.unitPrice = unitPrice;\n this.status = status\n this.agentKey = agentKey;\n this.developerKey = developerKey;\n this.startTime = startTime;\n this.taxPercentage = taxPercentage\n this.unitNumber = unitNumber\n this.buildingName = buildingName,\n this.unitId = unitId;\n this._owners = [developerKey, agentKey]\n }\n\n updateTerms(depositPercentage,onContract,onKey,installments,installmentFrequency) {\n this.depositPercentage = depositPercentage;\n this.paymentFrequency = installmentFrequency;\n this.onContractAmount = onContract.amount;\n this.onContractPercentage = onContract.percent;\n this.onKeyPercentage = onKey;\n this.status = 'negotiating';\n this.paymentInstallmentsAmount = installments.amount;\n this.paymentInstallmentsPercentage = installments.percent;\n this._owners = [this.developerKey, this.agentKey]\n }\n\n approveBooking(){\n this.status = 'in-progress'\n this._owners = [this.agentKey];\n }\n cancelBooking(){\n this.status = 'cancelled'\n this._owners = []\n }\n negotiateAccepted(){\n if(this.status !== 'booked'){\n return false;\n }\n this.status = 'negotiate-approved';\n this._owners = [ this.agentKey];\n }\n negotiateRejected(){\n this.status = 'negotiate-rejected';\n this._owners = [ this.agentKey];\n }\n rejectBooking(){\n this.status = 'booking-rejected'\n this._owners = [ this.agentKey];\n }\n payDeposit(txid){\n this.status = 'pending-deposit-confirmation';\n this.depositTxid = txid;\n this._owners = [this.developerKey, this.agentKey]\n }\n confirmDeposit(){\n this.status = 'sold'\n this._owners = [this.developerKey, this.agentKey]\n }\n\n}","__index":{"obj":0},"__func":"constructor","__args":["0.5",{"amount":2,"percent":5},4,{"amount":6,"percent":14},90,63320,"booked",3.6,1613984382400,"024dd4b7faa7193a03db3649953290d51d3ad6c175b84b3751d93cbecb6f6172e3","033ebf2f89af2d4263c432fea22d118df3e8b7285036ed4cb363a320b45b520662","110","LAYAN_B","5583d0619c76e563cd1e458a0788d4e4f6c7c48b7ecb9134e2a4f64f6a262acf:0"]}u
    https://whatsonchain.com/tx/undefined

2 Outputs

Total Output:
  • Q®:{"__index":{"obj":0},"__func":"cancelBooking","__args":[]}u
    https://whatsonchain.com/tx/b2457a99ba7e030cbaef08725e0316c7efa0d3fd266a9fff8931ddb66b71130f