@f5i23q999d/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
28 lines • 1.61 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PollResultCode = exports.ProofLocation = void 0;
var ProofLocation;
(function (ProofLocation) {
// The location of the proofs is private to the caller.
ProofLocation[ProofLocation["PRIVATE"] = 0] = "PRIVATE";
// The `data` field of the emitted `Proof` struct contains proofs + conditional order parameters.
ProofLocation[ProofLocation["EMITTED"] = 1] = "EMITTED";
// The `data` field of the emitted `Proof` struct contains the Swarm address (`bytes32`) of the proofs + conditional order parameters.
ProofLocation[ProofLocation["SWARM"] = 2] = "SWARM";
// The `data` field is set to TBD.
ProofLocation[ProofLocation["WAKU"] = 3] = "WAKU";
// The `data` field is set to TBD
ProofLocation[ProofLocation["RESERVED"] = 4] = "RESERVED";
// The `data` field of the emitted `Proof` struct contains the IPFS address (`bytes32`) of the proofs + conditional order parameters.
ProofLocation[ProofLocation["IPFS"] = 5] = "IPFS";
})(ProofLocation = exports.ProofLocation || (exports.ProofLocation = {}));
var PollResultCode;
(function (PollResultCode) {
PollResultCode["SUCCESS"] = "SUCCESS";
PollResultCode["UNEXPECTED_ERROR"] = "UNEXPECTED_ERROR";
PollResultCode["TRY_NEXT_BLOCK"] = "TRY_NEXT_BLOCK";
PollResultCode["TRY_ON_BLOCK"] = "TRY_ON_BLOCK";
PollResultCode["TRY_AT_EPOCH"] = "TRY_AT_EPOCH";
PollResultCode["DONT_TRY_AGAIN"] = "DONT_TRY_AGAIN";
})(PollResultCode = exports.PollResultCode || (exports.PollResultCode = {}));
//# sourceMappingURL=types.js.map