@zlattice/lattice-js
Version:
Lattice blockchain TypeScript SDK with dual module support (CJS + ESM)
33 lines • 1.19 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Event = exports.Receipt = void 0;
class Receipt {
constructor(confirmTime, success, receiptIndex, tBlockHash, contractAddress, contractRet, jouleUsed, events, dblockHash, dblockNumber) {
this.confirmTime = confirmTime;
this.success = success;
this.receiptIndex = receiptIndex;
this.tBlockHash = tBlockHash;
this.contractAddress = contractAddress;
this.contractRet = contractRet;
this.jouleUsed = jouleUsed;
this.events = events;
this.dblockHash = dblockHash;
this.dblockNumber = dblockNumber;
}
}
exports.Receipt = Receipt;
class Event {
constructor(address, topics, data, logIndex, tblockHash, dblockHash, dblockNumber, removed, dataHex) {
this.address = address;
this.topics = topics;
this.data = data;
this.logIndex = logIndex;
this.tblockHash = tblockHash;
this.dblockHash = dblockHash;
this.dblockNumber = dblockNumber;
this.removed = removed;
this.dataHex = dataHex;
}
}
exports.Event = Event;
//# sourceMappingURL=types.js.map