Transaction

77cfb4dcf9e3cf36f45c63a4ea2d7a23caccfaf32faea38853d074d2b8ef12aa
( - )
203,851
2021-02-10 15:55:59
1
3,764 B

2 Inputs

Total Input:
  • Q!ÆXT+£çø¼ˆéc´Ž£ÜZjxçØ"î 'ÿ!Í˨(“klCÜäÄÅ·—»¸Xí¶«¹`âüá·` ,èR®MK{"__index":{"obj":0,"res":1},"__func":"distribute","__args":["036d7a250169d3d5e567658e7c8397e4e2b23fe128f6fe976e299b953b104f9519",{"adminPKs":["03cdcba828936b6c43dce4c4c5b797bbb858edb6abb9811a60e2fce1b7600b2ce8"],"revokePK":"03cdcba828936b6c43dce4c4c5b797bbb858edb6abb9811a60e2fce1b7600b2ce8","vial_data":"010035926710000181711112110P4275AA","ndc":"59267100001","lot_id":"P4275AA","manufacturer":"Pfizer","lot_expiration":"11/11/21","patientPK":"036d7a250169d3d5e567658e7c8397e4e2b23fe128f6fe976e299b953b104f9519","providerPK":"02c658542ba37fe7f8bc88e96302b41e8e01a37f1fdc5a6a78e7d822ee0a27ff90","country":"USA","state":"FL","postal_code":"33444","distributed_on":"Thu Jan 28 2021 17:01:13 GMT-0500 (Eastern Standard Time)","adminstration_business_id":"1111111111","employee_id":"111111111","practitioner_license_id":"1111111111","amount":0}]}u
    https://whatsonchain.com/tx/undefined

3 Outputs

Total Output:
  • Q!ÆXT+£çø¼ˆéc´Ž£ÜZjxçØ"î 'ÿ!Í˨(“klCÜäÄÅ·—»¸Xí¶«¹`âüá·` ,èR®MÅ{"__index":{"obj":0,"res":1},"__func":"distribute","__args":["0245f68d402d78a6b3575e172c84d3a39226c8515bb1e6bb0f25acdfe9dc12716a",{"adminPKs":"","revokePK":"","vial_data":"010035926710000181711112110P4275AA","ndc":"59267100001","lot_id":"P4275AA","manufacturer":"Pfizer","lot_expiration":"11/11/21","patientPK":"0245f68d402d78a6b3575e172c84d3a39226c8515bb1e6bb0f25acdfe9dc12716a","providerPK":"02c658542ba37fe7f8bc88e96302b41e8e01a37f1fdc5a6a78e7d822ee0a27ff90","country":"USA","state":"FL","postal_code":"33444","distributed_on":"Wed Jan 20 2021 10:51:22 GMT-0500 (Eastern Standard Time)","adminstration_business_id":"1111111111","employee_id":"111111111","practitioner_license_id":"1111111111","amount":0}]}u
    https://whatsonchain.com/tx/77cfb4dcf9e3cf36f45c63a4ea2d7a23caccfaf32faea38853d074d2b8ef12aa
  • Q!Eö@-x¦³W^,„Ó£’&ÈQ[±æ»%¬ßéÜqj!ÆXT+£çø¼ˆéc´Ž£ÜZjxçØ"î 'ÿ!Í˨(“klCÜäÄÅ·—»¸Xí¶«¹`âüá·` ,èS®Mî {"__cls":"class VaccineToken {\n constructor(to, coinCount, previousOwners, options, isDistributed) {\n this.contractTypeID = \"393f0d5f-c3bb-4871-b9fb-b47f4b7ababf\";\n this.contractTypeName = \"VaccineToken\";\n this.contractTypeVersion = \"0.0.2\";\n //_owners/to must be an array passed in\n this._owners = to;\n this.coins = coinCount;\n this.previousOwners = previousOwners;\n this._amount = parseInt(options[\"amount\"], 10);\n this.adminPKs = options[\"adminPKs\"];\n this.revokePK = options[\"revokePK\"];\n this.vial_data = options[\"vial_data\"];\n this.ndc = options[\"ndc\"];\n this.lot_id = options[\"lot_id\"];\n this.manufacturer = options[\"manufacturer\"];\n this.lot_expiration = options[\"lot_expiration\"];\n this.patientPK = options[\"patientPK\"];\n this.providerPK = options[\"providerPK\"];\n this.country = options[\"country\"];\n this.state = options[\"state\"];\n this.postal_code = options[\"postal_code\"];\n this.distributed_on = options[\"distributed_on\"];\n this.adminstration_business_id = options[\"adminstration_business_id\"];\n this.employee_id = options[\"employee_id\"];\n this.practitioner_license_id = options[\"practitioner_license_id\"];\n this.distributed = isDistributed;\n this.fundingRequested = false;\n //this.state = options;\n }\n\n addOwner(pubKey){\n this._owners.push(pubKey);\n }\n\n requestFunds() {\n this.fundingRequested = true;\n }\n\n fund(satoshisToAdd) {\n this._amount += satoshisToAdd;\n this.fundingRequested = false;\n }\n\n drain(pubKey) {\n if (!this.adminPKs.includes(pubKey)) {\n throw new Error(\"You do not have persmission to drain this token.\");\n }\n this._amount = 0;\n return \"Successfully Drained.\";\n }\n\n send(to, coinCount, options) {\n if (this.coins < coinCount) throw new Error(\"Insufficient Token Count.\");\n this.coins -= coinCount;\n let previousOwners = this._owners;\n return new VaccineToken([to,... previousOwners], coinCount, previousOwners, options, false);\n }\n\n distribute(to, options) {\n if (this.coins == 0) throw new Error(\"Insufficient Token Count.\");\n this.coins -= 1;\n let previousOwners = this._owners;\n return new VaccineToken([to,... previousOwners], 1, previousOwners, options, true);\n }\n\n revoke(pubKey) {\n if (this._owners.includes(pubKey)) this.owners = [this.revokePK];\n else throw new Error(\"You do not have permission to revoke this token.\");\n }\n}"}u
    https://whatsonchain.com/tx/77cfb4dcf9e3cf36f45c63a4ea2d7a23caccfaf32faea38853d074d2b8ef12aa