@mimicprotocol/sdk 0.0.1-rc.1 → 0.0.1-rc.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/axia/constants.d.ts +12 -0
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +15 -1
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/types.d.ts +4 -1
- package/dist/axia/types.d.ts.map +1 -1
- package/dist/axia/validators.d.ts +163 -37
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +25 -4
- package/dist/axia/validators.js.map +1 -1
- package/dist/client/core/config.d.ts +2 -2
- package/dist/client/core/config.d.ts.map +1 -1
- package/dist/client/core/config.js +6 -5
- package/dist/client/core/config.js.map +1 -1
- package/dist/client/domains/BalancesClient.d.ts +8 -0
- package/dist/client/domains/BalancesClient.d.ts.map +1 -0
- package/dist/client/domains/BalancesClient.js +17 -0
- package/dist/client/domains/BalancesClient.js.map +1 -0
- package/dist/client/domains/ConfigsClient.d.ts +3 -1
- package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +31 -3
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +10 -0
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +19 -0
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/client/domains/index.d.ts +1 -0
- package/dist/client/domains/index.d.ts.map +1 -1
- package/dist/client/domains/index.js +3 -1
- package/dist/client/domains/index.js.map +1 -1
- package/dist/client/index.d.ts +4 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +21 -5
- package/dist/client/index.js.map +1 -1
- package/dist/oracle/eip712Types.js +1 -1
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/validators.js +1 -1
- package/dist/oracle/validators.js.map +1 -1
- package/dist/registry/ConfigSigner.d.ts +1 -1
- package/dist/registry/ConfigSigner.d.ts.map +1 -1
- package/dist/registry/ConfigSigner.js +4 -2
- package/dist/registry/ConfigSigner.js.map +1 -1
- package/dist/registry/eip712Types.d.ts.map +1 -1
- package/dist/registry/eip712Types.js +1 -0
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/validators.d.ts +86 -56
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +9 -5
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/types.d.ts +2 -1
- package/dist/relayer/types.d.ts.map +1 -1
- package/dist/relayer/validators.d.ts +782 -0
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +12 -11
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +455 -5
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/runner/validators.js +3 -1
- package/dist/runner/validators.js.map +1 -1
- package/dist/shared/codec/chains/evm.d.ts +7 -0
- package/dist/shared/codec/chains/evm.d.ts.map +1 -0
- package/dist/shared/codec/chains/evm.js +90 -0
- package/dist/shared/codec/chains/evm.js.map +1 -0
- package/dist/shared/codec/chains/svm.d.ts +16 -0
- package/dist/shared/codec/chains/svm.d.ts.map +1 -0
- package/dist/shared/codec/chains/svm.js +157 -0
- package/dist/shared/codec/chains/svm.js.map +1 -0
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +11 -30
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +18 -1
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +64 -43
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/codec/index.d.ts +1 -0
- package/dist/shared/codec/index.d.ts.map +1 -1
- package/dist/shared/codec/index.js +9 -0
- package/dist/shared/codec/index.js.map +1 -1
- package/dist/shared/eip712Types/index.js +3 -3
- package/dist/shared/eip712Types/index.js.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.js +1 -6
- package/dist/shared/signer/WindowEthereumSigner.js.map +1 -1
- package/dist/shared/types/index.d.ts +0 -1
- package/dist/shared/types/index.d.ts.map +1 -1
- package/dist/shared/types/index.js +0 -1
- package/dist/shared/types/index.js.map +1 -1
- package/dist/shared/utils/addresses.d.ts +2 -3
- package/dist/shared/utils/addresses.d.ts.map +1 -1
- package/dist/shared/utils/addresses.js +9 -6
- package/dist/shared/utils/addresses.js.map +1 -1
- package/dist/shared/utils/bytes.d.ts +2 -0
- package/dist/shared/utils/bytes.d.ts.map +1 -1
- package/dist/shared/utils/bytes.js +10 -0
- package/dist/shared/utils/bytes.js.map +1 -1
- package/dist/shared/utils/chains.d.ts +2 -1
- package/dist/shared/utils/chains.d.ts.map +1 -1
- package/dist/shared/utils/chains.js +2 -1
- package/dist/shared/utils/chains.js.map +1 -1
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +1 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/random.d.ts +3 -1
- package/dist/shared/utils/random.d.ts.map +1 -1
- package/dist/shared/utils/random.js +12 -2
- package/dist/shared/utils/random.js.map +1 -1
- package/dist/shared/utils/tokens.d.ts +7 -0
- package/dist/shared/utils/tokens.d.ts.map +1 -0
- package/dist/shared/utils/tokens.js +16 -0
- package/dist/shared/utils/tokens.js.map +1 -0
- package/dist/shared/utils/validations.d.ts +6 -1
- package/dist/shared/utils/validations.d.ts.map +1 -1
- package/dist/shared/utils/validations.js +24 -3
- package/dist/shared/utils/validations.js.map +1 -1
- package/dist/shared/validators/index.d.ts +0 -1
- package/dist/shared/validators/index.d.ts.map +1 -1
- package/dist/shared/validators/index.js +0 -1
- package/dist/shared/validators/index.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +1 -0
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +5 -3
- package/dist/shared/validators/primitives.js.map +1 -1
- package/dist/validator/ValidatorSigner.d.ts +10 -0
- package/dist/validator/ValidatorSigner.d.ts.map +1 -0
- package/dist/validator/ValidatorSigner.js +30 -0
- package/dist/validator/ValidatorSigner.js.map +1 -0
- package/dist/validator/eip712Types.d.ts +17 -0
- package/dist/validator/eip712Types.d.ts.map +1 -0
- package/dist/validator/eip712Types.js +17 -0
- package/dist/validator/eip712Types.js.map +1 -0
- package/dist/validator/index.d.ts +2 -0
- package/dist/validator/index.d.ts.map +1 -1
- package/dist/validator/index.js +2 -0
- package/dist/validator/index.js.map +1 -1
- package/package.json +4 -1
- package/dist/shared/types/events.d.ts +0 -4
- package/dist/shared/types/events.d.ts.map +0 -1
- package/dist/shared/types/events.js +0 -3
- package/dist/shared/types/events.js.map +0 -1
- package/dist/shared/validators/events.d.ts +0 -20
- package/dist/shared/validators/events.d.ts.map +0 -1
- package/dist/shared/validators/events.js +0 -17
- package/dist/shared/validators/events.js.map +0 -1
package/dist/axia/constants.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
export declare enum ExecutionStatus {
|
|
2
|
+
pending = "pending",
|
|
3
|
+
valid = "valid",
|
|
4
|
+
invalid = "invalid"
|
|
5
|
+
}
|
|
1
6
|
export declare enum IntentStatus {
|
|
7
|
+
created = "created",
|
|
2
8
|
enqueued = "enqueued",
|
|
3
9
|
discarded = "discarded",
|
|
4
10
|
submitted = "submitted",
|
|
@@ -13,4 +19,10 @@ export declare enum ProposalStatus {
|
|
|
13
19
|
succeeded = "succeeded",
|
|
14
20
|
failed = "failed"
|
|
15
21
|
}
|
|
22
|
+
export declare enum IntentLogLevel {
|
|
23
|
+
info = "info",
|
|
24
|
+
success = "success",
|
|
25
|
+
error = "error"
|
|
26
|
+
}
|
|
27
|
+
export declare const DEFAULT_MIN_VALIDATIONS = 1;
|
|
16
28
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/axia/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/axia/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB;AAED,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,uBAAuB,IAAI,CAAA"}
|
package/dist/axia/constants.js
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProposalStatus = exports.IntentStatus = void 0;
|
|
3
|
+
exports.DEFAULT_MIN_VALIDATIONS = exports.IntentLogLevel = exports.ProposalStatus = exports.IntentStatus = exports.ExecutionStatus = void 0;
|
|
4
|
+
var ExecutionStatus;
|
|
5
|
+
(function (ExecutionStatus) {
|
|
6
|
+
ExecutionStatus["pending"] = "pending";
|
|
7
|
+
ExecutionStatus["valid"] = "valid";
|
|
8
|
+
ExecutionStatus["invalid"] = "invalid";
|
|
9
|
+
})(ExecutionStatus || (exports.ExecutionStatus = ExecutionStatus = {}));
|
|
4
10
|
var IntentStatus;
|
|
5
11
|
(function (IntentStatus) {
|
|
12
|
+
IntentStatus["created"] = "created";
|
|
6
13
|
IntentStatus["enqueued"] = "enqueued";
|
|
7
14
|
IntentStatus["discarded"] = "discarded";
|
|
8
15
|
IntentStatus["submitted"] = "submitted";
|
|
@@ -18,4 +25,11 @@ var ProposalStatus;
|
|
|
18
25
|
ProposalStatus["succeeded"] = "succeeded";
|
|
19
26
|
ProposalStatus["failed"] = "failed";
|
|
20
27
|
})(ProposalStatus || (exports.ProposalStatus = ProposalStatus = {}));
|
|
28
|
+
var IntentLogLevel;
|
|
29
|
+
(function (IntentLogLevel) {
|
|
30
|
+
IntentLogLevel["info"] = "info";
|
|
31
|
+
IntentLogLevel["success"] = "success";
|
|
32
|
+
IntentLogLevel["error"] = "error";
|
|
33
|
+
})(IntentLogLevel || (exports.IntentLogLevel = IntentLogLevel = {}));
|
|
34
|
+
exports.DEFAULT_MIN_VALIDATIONS = 1;
|
|
21
35
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/axia/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/axia/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,sCAAmB,CAAA;AACrB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAED,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,uCAAuB,CAAA;IACvB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EARW,YAAY,4BAAZ,YAAY,QAQvB;AAED,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;AACnB,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,qCAAmB,CAAA;IACnB,iCAAe,CAAA;AACjB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB;AAEY,QAAA,uBAAuB,GAAG,CAAC,CAAA"}
|
package/dist/axia/types.d.ts
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { AxiaIntentsValidator, AxiaIntentValidator, ExecutionCreateRequestValidator, ExecutionFeeValidator, ExecutionIntentValidator, ExecutionResponseValidator, ExecutionsGetRequestValidator, ExecutionsResponseValidator, IntentQuoteRequestValidator, IntentQuoteValidator, IntentsGetRequestValidator, IntentSubmitRequestValidator, IntentSubmitValidator, OracleFeeValidator, SettlersValidator, SettlerValidator } from './validators';
|
|
2
|
+
import { AxiaIntentsValidator, AxiaIntentValidator, AxiaProposalValidator, ExecutionCreateRequestValidator, ExecutionFeeValidator, ExecutionIntentValidator, ExecutionResponseValidator, ExecutionsGetRequestValidator, ExecutionsResponseValidator, ExecutionValidationRequestValidator, IntentLogValidator, IntentQuoteRequestValidator, IntentQuoteValidator, IntentsGetRequestValidator, IntentSubmitRequestValidator, IntentSubmitValidator, OracleFeeValidator, SettlersValidator, SettlerValidator } from './validators';
|
|
3
3
|
export type IntentQuoteRequest = z.infer<typeof IntentQuoteRequestValidator>;
|
|
4
4
|
export type IntentQuote = z.infer<typeof IntentQuoteValidator>;
|
|
5
5
|
export type IntentSubmitRequest = z.infer<typeof IntentSubmitRequestValidator>;
|
|
6
6
|
export type IntentSubmit = z.infer<typeof IntentSubmitValidator>;
|
|
7
7
|
export type IntentsGetRequest = z.infer<typeof IntentsGetRequestValidator>;
|
|
8
|
+
export type IntentLog = z.infer<typeof IntentLogValidator>;
|
|
8
9
|
export type AxiaIntents = z.infer<typeof AxiaIntentsValidator>;
|
|
9
10
|
export type AxiaIntent = z.infer<typeof AxiaIntentValidator>;
|
|
11
|
+
export type AxiaProposal = z.infer<typeof AxiaProposalValidator>;
|
|
10
12
|
export type Settler = z.infer<typeof SettlerValidator>;
|
|
11
13
|
export type Settlers = z.infer<typeof SettlersValidator>;
|
|
12
14
|
export type ExecutionCreateRequest = z.infer<typeof ExecutionCreateRequestValidator>;
|
|
13
15
|
export type ExecutionsGetRequest = z.infer<typeof ExecutionsGetRequestValidator>;
|
|
14
16
|
export type ExecutionResponse = z.infer<typeof ExecutionResponseValidator>;
|
|
17
|
+
export type ExecutionValidationRequest = z.infer<typeof ExecutionValidationRequestValidator>;
|
|
15
18
|
export type ExecutionFee = z.infer<typeof ExecutionFeeValidator>;
|
|
16
19
|
export type ExecutionsResponse = z.infer<typeof ExecutionsResponseValidator>;
|
|
17
20
|
export type ExecutionIntent = z.infer<typeof ExecutionIntentValidator>;
|
package/dist/axia/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/axia/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,+BAA+B,EAC/B,qBAAqB,EACrB,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,2BAA2B,EAC3B,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,cAAc,CAAA;AAErB,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAE5E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE9D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAE9E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE1E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE9D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE5D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEtD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAExD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAEpF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEhF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAE5E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEtE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/axia/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,+BAA+B,EAC/B,qBAAqB,EACrB,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,mCAAmC,EACnC,kBAAkB,EAClB,2BAA2B,EAC3B,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,cAAc,CAAA;AAErB,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAE5E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE9D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAE9E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE1E,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE1D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE9D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE5D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEtD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAExD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAEpF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEhF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE1E,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAE5F,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAE5E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEtE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { IntentStatus, ProposalStatus } from './constants';
|
|
2
|
+
import { ExecutionStatus, IntentLogLevel, IntentStatus, ProposalStatus } from './constants';
|
|
3
|
+
export declare const IntentLogValidator: z.ZodObject<{
|
|
4
|
+
level: z.ZodNativeEnum<typeof IntentLogLevel>;
|
|
5
|
+
data: z.ZodString;
|
|
6
|
+
createdAt: z.ZodDate;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
data: string;
|
|
9
|
+
level: IntentLogLevel;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
}, {
|
|
12
|
+
data: string;
|
|
13
|
+
level: IntentLogLevel;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
}>;
|
|
3
16
|
export declare const AxiaProposalValidator: z.ZodObject<{
|
|
4
17
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
5
18
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -10,26 +23,29 @@ export declare const AxiaProposalValidator: z.ZodObject<{
|
|
|
10
23
|
description: z.ZodOptional<z.ZodString>;
|
|
11
24
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
12
25
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
26
|
+
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
13
27
|
}, "strip", z.ZodTypeAny, {
|
|
14
28
|
data: string;
|
|
29
|
+
status: ProposalStatus;
|
|
15
30
|
deadline: string;
|
|
16
31
|
solver: string;
|
|
17
32
|
fees: string[];
|
|
18
|
-
status: ProposalStatus;
|
|
19
33
|
feeUsd: number;
|
|
20
34
|
signatures: string[];
|
|
21
35
|
description?: string | undefined;
|
|
22
36
|
transactionHash?: string | undefined;
|
|
37
|
+
destTransactionHash?: string | undefined;
|
|
23
38
|
}, {
|
|
24
39
|
data: string;
|
|
40
|
+
status: ProposalStatus;
|
|
25
41
|
deadline: string;
|
|
26
42
|
solver: string;
|
|
27
43
|
fees: string[];
|
|
28
|
-
status: ProposalStatus;
|
|
29
44
|
feeUsd: number;
|
|
30
45
|
signatures: string[];
|
|
31
46
|
description?: string | undefined;
|
|
32
47
|
transactionHash?: string | undefined;
|
|
48
|
+
destTransactionHash?: string | undefined;
|
|
33
49
|
}>;
|
|
34
50
|
export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
35
51
|
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
@@ -50,6 +66,7 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
50
66
|
}>, "many">;
|
|
51
67
|
}, {
|
|
52
68
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
69
|
+
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
53
70
|
status: z.ZodNativeEnum<typeof IntentStatus>;
|
|
54
71
|
proposals: z.ZodArray<z.ZodObject<{
|
|
55
72
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -61,42 +78,46 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
61
78
|
description: z.ZodOptional<z.ZodString>;
|
|
62
79
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
63
80
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
81
|
+
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
64
82
|
}, "strip", z.ZodTypeAny, {
|
|
65
83
|
data: string;
|
|
84
|
+
status: ProposalStatus;
|
|
66
85
|
deadline: string;
|
|
67
86
|
solver: string;
|
|
68
87
|
fees: string[];
|
|
69
|
-
status: ProposalStatus;
|
|
70
88
|
feeUsd: number;
|
|
71
89
|
signatures: string[];
|
|
72
90
|
description?: string | undefined;
|
|
73
91
|
transactionHash?: string | undefined;
|
|
92
|
+
destTransactionHash?: string | undefined;
|
|
74
93
|
}, {
|
|
75
94
|
data: string;
|
|
95
|
+
status: ProposalStatus;
|
|
76
96
|
deadline: string;
|
|
77
97
|
solver: string;
|
|
78
98
|
fees: string[];
|
|
79
|
-
status: ProposalStatus;
|
|
80
99
|
feeUsd: number;
|
|
81
100
|
signatures: string[];
|
|
82
101
|
description?: string | undefined;
|
|
83
102
|
transactionHash?: string | undefined;
|
|
103
|
+
destTransactionHash?: string | undefined;
|
|
84
104
|
}>, "many">;
|
|
85
|
-
|
|
86
|
-
level: z.ZodNativeEnum<typeof
|
|
105
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
106
|
+
level: z.ZodNativeEnum<typeof IntentLogLevel>;
|
|
87
107
|
data: z.ZodString;
|
|
88
108
|
createdAt: z.ZodDate;
|
|
89
109
|
}, "strip", z.ZodTypeAny, {
|
|
90
110
|
data: string;
|
|
91
|
-
level:
|
|
111
|
+
level: IntentLogLevel;
|
|
92
112
|
createdAt: Date;
|
|
93
113
|
}, {
|
|
94
114
|
data: string;
|
|
95
|
-
level:
|
|
115
|
+
level: IntentLogLevel;
|
|
96
116
|
createdAt: Date;
|
|
97
117
|
}>, "many">;
|
|
98
118
|
}>, "strip", z.ZodTypeAny, {
|
|
99
119
|
data: string;
|
|
120
|
+
status: IntentStatus;
|
|
100
121
|
op: import("../shared").OpType;
|
|
101
122
|
user: string;
|
|
102
123
|
settler: string;
|
|
@@ -106,26 +127,28 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
106
127
|
token: string;
|
|
107
128
|
amount: string;
|
|
108
129
|
}[];
|
|
109
|
-
status: IntentStatus;
|
|
110
130
|
hash: string;
|
|
131
|
+
executionHash: string;
|
|
111
132
|
proposals: {
|
|
112
133
|
data: string;
|
|
134
|
+
status: ProposalStatus;
|
|
113
135
|
deadline: string;
|
|
114
136
|
solver: string;
|
|
115
137
|
fees: string[];
|
|
116
|
-
status: ProposalStatus;
|
|
117
138
|
feeUsd: number;
|
|
118
139
|
signatures: string[];
|
|
119
140
|
description?: string | undefined;
|
|
120
141
|
transactionHash?: string | undefined;
|
|
142
|
+
destTransactionHash?: string | undefined;
|
|
121
143
|
}[];
|
|
122
|
-
|
|
144
|
+
logs: {
|
|
123
145
|
data: string;
|
|
124
|
-
level:
|
|
146
|
+
level: IntentLogLevel;
|
|
125
147
|
createdAt: Date;
|
|
126
148
|
}[];
|
|
127
149
|
}, {
|
|
128
150
|
data: string;
|
|
151
|
+
status: IntentStatus;
|
|
129
152
|
op: import("../shared").OpType;
|
|
130
153
|
user: string;
|
|
131
154
|
settler: string;
|
|
@@ -135,22 +158,23 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
135
158
|
token: string;
|
|
136
159
|
amount: string;
|
|
137
160
|
}[];
|
|
138
|
-
status: IntentStatus;
|
|
139
161
|
hash: string;
|
|
162
|
+
executionHash: string;
|
|
140
163
|
proposals: {
|
|
141
164
|
data: string;
|
|
165
|
+
status: ProposalStatus;
|
|
142
166
|
deadline: string;
|
|
143
167
|
solver: string;
|
|
144
168
|
fees: string[];
|
|
145
|
-
status: ProposalStatus;
|
|
146
169
|
feeUsd: number;
|
|
147
170
|
signatures: string[];
|
|
148
171
|
description?: string | undefined;
|
|
149
172
|
transactionHash?: string | undefined;
|
|
173
|
+
destTransactionHash?: string | undefined;
|
|
150
174
|
}[];
|
|
151
|
-
|
|
175
|
+
logs: {
|
|
152
176
|
data: string;
|
|
153
|
-
level:
|
|
177
|
+
level: IntentLogLevel;
|
|
154
178
|
createdAt: Date;
|
|
155
179
|
}[];
|
|
156
180
|
}>;
|
|
@@ -317,6 +341,7 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
317
341
|
}>, "many">;
|
|
318
342
|
}, {
|
|
319
343
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
344
|
+
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
320
345
|
status: z.ZodNativeEnum<typeof IntentStatus>;
|
|
321
346
|
proposals: z.ZodArray<z.ZodObject<{
|
|
322
347
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -328,42 +353,46 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
328
353
|
description: z.ZodOptional<z.ZodString>;
|
|
329
354
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
330
355
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
356
|
+
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
331
357
|
}, "strip", z.ZodTypeAny, {
|
|
332
358
|
data: string;
|
|
359
|
+
status: ProposalStatus;
|
|
333
360
|
deadline: string;
|
|
334
361
|
solver: string;
|
|
335
362
|
fees: string[];
|
|
336
|
-
status: ProposalStatus;
|
|
337
363
|
feeUsd: number;
|
|
338
364
|
signatures: string[];
|
|
339
365
|
description?: string | undefined;
|
|
340
366
|
transactionHash?: string | undefined;
|
|
367
|
+
destTransactionHash?: string | undefined;
|
|
341
368
|
}, {
|
|
342
369
|
data: string;
|
|
370
|
+
status: ProposalStatus;
|
|
343
371
|
deadline: string;
|
|
344
372
|
solver: string;
|
|
345
373
|
fees: string[];
|
|
346
|
-
status: ProposalStatus;
|
|
347
374
|
feeUsd: number;
|
|
348
375
|
signatures: string[];
|
|
349
376
|
description?: string | undefined;
|
|
350
377
|
transactionHash?: string | undefined;
|
|
378
|
+
destTransactionHash?: string | undefined;
|
|
351
379
|
}>, "many">;
|
|
352
|
-
|
|
353
|
-
level: z.ZodNativeEnum<typeof
|
|
380
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
381
|
+
level: z.ZodNativeEnum<typeof IntentLogLevel>;
|
|
354
382
|
data: z.ZodString;
|
|
355
383
|
createdAt: z.ZodDate;
|
|
356
384
|
}, "strip", z.ZodTypeAny, {
|
|
357
385
|
data: string;
|
|
358
|
-
level:
|
|
386
|
+
level: IntentLogLevel;
|
|
359
387
|
createdAt: Date;
|
|
360
388
|
}, {
|
|
361
389
|
data: string;
|
|
362
|
-
level:
|
|
390
|
+
level: IntentLogLevel;
|
|
363
391
|
createdAt: Date;
|
|
364
392
|
}>, "many">;
|
|
365
393
|
}>, "strip", z.ZodTypeAny, {
|
|
366
394
|
data: string;
|
|
395
|
+
status: IntentStatus;
|
|
367
396
|
op: import("../shared").OpType;
|
|
368
397
|
user: string;
|
|
369
398
|
settler: string;
|
|
@@ -373,26 +402,28 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
373
402
|
token: string;
|
|
374
403
|
amount: string;
|
|
375
404
|
}[];
|
|
376
|
-
status: IntentStatus;
|
|
377
405
|
hash: string;
|
|
406
|
+
executionHash: string;
|
|
378
407
|
proposals: {
|
|
379
408
|
data: string;
|
|
409
|
+
status: ProposalStatus;
|
|
380
410
|
deadline: string;
|
|
381
411
|
solver: string;
|
|
382
412
|
fees: string[];
|
|
383
|
-
status: ProposalStatus;
|
|
384
413
|
feeUsd: number;
|
|
385
414
|
signatures: string[];
|
|
386
415
|
description?: string | undefined;
|
|
387
416
|
transactionHash?: string | undefined;
|
|
417
|
+
destTransactionHash?: string | undefined;
|
|
388
418
|
}[];
|
|
389
|
-
|
|
419
|
+
logs: {
|
|
390
420
|
data: string;
|
|
391
|
-
level:
|
|
421
|
+
level: IntentLogLevel;
|
|
392
422
|
createdAt: Date;
|
|
393
423
|
}[];
|
|
394
424
|
}, {
|
|
395
425
|
data: string;
|
|
426
|
+
status: IntentStatus;
|
|
396
427
|
op: import("../shared").OpType;
|
|
397
428
|
user: string;
|
|
398
429
|
settler: string;
|
|
@@ -402,22 +433,23 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
402
433
|
token: string;
|
|
403
434
|
amount: string;
|
|
404
435
|
}[];
|
|
405
|
-
status: IntentStatus;
|
|
406
436
|
hash: string;
|
|
437
|
+
executionHash: string;
|
|
407
438
|
proposals: {
|
|
408
439
|
data: string;
|
|
440
|
+
status: ProposalStatus;
|
|
409
441
|
deadline: string;
|
|
410
442
|
solver: string;
|
|
411
443
|
fees: string[];
|
|
412
|
-
status: ProposalStatus;
|
|
413
444
|
feeUsd: number;
|
|
414
445
|
signatures: string[];
|
|
415
446
|
description?: string | undefined;
|
|
416
447
|
transactionHash?: string | undefined;
|
|
448
|
+
destTransactionHash?: string | undefined;
|
|
417
449
|
}[];
|
|
418
|
-
|
|
450
|
+
logs: {
|
|
419
451
|
data: string;
|
|
420
|
-
level:
|
|
452
|
+
level: IntentLogLevel;
|
|
421
453
|
createdAt: Date;
|
|
422
454
|
}[];
|
|
423
455
|
}>, "many">;
|
|
@@ -917,11 +949,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
917
949
|
triggerData: string;
|
|
918
950
|
signature: string;
|
|
919
951
|
hash: string;
|
|
920
|
-
fuelUsed: number;
|
|
921
952
|
logs: {
|
|
922
953
|
level: import("../shared").LogLevel;
|
|
923
954
|
log: string;
|
|
924
955
|
}[];
|
|
956
|
+
fuelUsed: number;
|
|
925
957
|
inputs: ({
|
|
926
958
|
result: {
|
|
927
959
|
value: string;
|
|
@@ -1000,11 +1032,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1000
1032
|
triggerData: string;
|
|
1001
1033
|
signature: string;
|
|
1002
1034
|
hash: string;
|
|
1003
|
-
fuelUsed: number;
|
|
1004
1035
|
logs: {
|
|
1005
1036
|
level: import("../shared").LogLevel;
|
|
1006
1037
|
log: string;
|
|
1007
1038
|
}[];
|
|
1039
|
+
fuelUsed: number;
|
|
1008
1040
|
inputs: ({
|
|
1009
1041
|
result: {
|
|
1010
1042
|
value: string;
|
|
@@ -1078,6 +1110,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1078
1110
|
}[];
|
|
1079
1111
|
}>;
|
|
1080
1112
|
export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
1113
|
+
trigger: z.ZodNumber;
|
|
1081
1114
|
relayer: z.ZodNumber;
|
|
1082
1115
|
oracles: z.ZodNumber;
|
|
1083
1116
|
validator: z.ZodNumber;
|
|
@@ -1085,6 +1118,7 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1085
1118
|
protocol: z.ZodNumber;
|
|
1086
1119
|
total: z.ZodNumber;
|
|
1087
1120
|
}, "strip", z.ZodTypeAny, {
|
|
1121
|
+
trigger: number;
|
|
1088
1122
|
relayer: number;
|
|
1089
1123
|
oracles: number;
|
|
1090
1124
|
validator: number;
|
|
@@ -1092,6 +1126,7 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1092
1126
|
protocol: number;
|
|
1093
1127
|
total: number;
|
|
1094
1128
|
}, {
|
|
1129
|
+
trigger: number;
|
|
1095
1130
|
relayer: number;
|
|
1096
1131
|
oracles: number;
|
|
1097
1132
|
validator: number;
|
|
@@ -1099,6 +1134,16 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1099
1134
|
protocol: number;
|
|
1100
1135
|
total: number;
|
|
1101
1136
|
}>;
|
|
1137
|
+
export declare const ExecutionValidationValidator: z.ZodObject<{
|
|
1138
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1139
|
+
succeeded: z.ZodBoolean;
|
|
1140
|
+
}, "strip", z.ZodTypeAny, {
|
|
1141
|
+
succeeded: boolean;
|
|
1142
|
+
signature: string;
|
|
1143
|
+
}, {
|
|
1144
|
+
succeeded: boolean;
|
|
1145
|
+
signature: string;
|
|
1146
|
+
}>;
|
|
1102
1147
|
export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1103
1148
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1104
1149
|
triggerType: z.ZodNativeEnum<typeof import("../shared").TriggerType>;
|
|
@@ -1498,10 +1543,12 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1498
1543
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1499
1544
|
}>, {
|
|
1500
1545
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1546
|
+
status: z.ZodNativeEnum<typeof ExecutionStatus>;
|
|
1501
1547
|
createdAt: z.ZodDate;
|
|
1502
1548
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1503
1549
|
errorLogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1504
1550
|
fee: z.ZodOptional<z.ZodObject<{
|
|
1551
|
+
trigger: z.ZodNumber;
|
|
1505
1552
|
relayer: z.ZodNumber;
|
|
1506
1553
|
oracles: z.ZodNumber;
|
|
1507
1554
|
validator: z.ZodNumber;
|
|
@@ -1509,6 +1556,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1509
1556
|
protocol: z.ZodNumber;
|
|
1510
1557
|
total: z.ZodNumber;
|
|
1511
1558
|
}, "strip", z.ZodTypeAny, {
|
|
1559
|
+
trigger: number;
|
|
1512
1560
|
relayer: number;
|
|
1513
1561
|
oracles: number;
|
|
1514
1562
|
validator: number;
|
|
@@ -1516,6 +1564,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1516
1564
|
protocol: number;
|
|
1517
1565
|
total: number;
|
|
1518
1566
|
}, {
|
|
1567
|
+
trigger: number;
|
|
1519
1568
|
relayer: number;
|
|
1520
1569
|
oracles: number;
|
|
1521
1570
|
validator: number;
|
|
@@ -1523,14 +1572,25 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1523
1572
|
protocol: number;
|
|
1524
1573
|
total: number;
|
|
1525
1574
|
}>>;
|
|
1575
|
+
validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1576
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1577
|
+
succeeded: z.ZodBoolean;
|
|
1578
|
+
}, "strip", z.ZodTypeAny, {
|
|
1579
|
+
succeeded: boolean;
|
|
1580
|
+
signature: string;
|
|
1581
|
+
}, {
|
|
1582
|
+
succeeded: boolean;
|
|
1583
|
+
signature: string;
|
|
1584
|
+
}>, "many">>;
|
|
1526
1585
|
}>, "strip", z.ZodTypeAny, {
|
|
1527
1586
|
timestamp: number;
|
|
1528
|
-
|
|
1587
|
+
status: ExecutionStatus;
|
|
1529
1588
|
configSig: string;
|
|
1530
1589
|
triggerType: import("../shared").TriggerType;
|
|
1531
1590
|
triggerData: string;
|
|
1532
1591
|
signature: string;
|
|
1533
1592
|
hash: string;
|
|
1593
|
+
createdAt: Date;
|
|
1534
1594
|
fuelUsed: number;
|
|
1535
1595
|
inputs: ({
|
|
1536
1596
|
result: {
|
|
@@ -1607,6 +1667,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1607
1667
|
logs?: string[] | undefined;
|
|
1608
1668
|
errorLogs?: string[] | undefined;
|
|
1609
1669
|
fee?: {
|
|
1670
|
+
trigger: number;
|
|
1610
1671
|
relayer: number;
|
|
1611
1672
|
oracles: number;
|
|
1612
1673
|
validator: number;
|
|
@@ -1614,14 +1675,19 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1614
1675
|
protocol: number;
|
|
1615
1676
|
total: number;
|
|
1616
1677
|
} | undefined;
|
|
1678
|
+
validations?: {
|
|
1679
|
+
succeeded: boolean;
|
|
1680
|
+
signature: string;
|
|
1681
|
+
}[] | undefined;
|
|
1617
1682
|
}, {
|
|
1618
1683
|
timestamp: number;
|
|
1619
|
-
|
|
1684
|
+
status: ExecutionStatus;
|
|
1620
1685
|
configSig: string;
|
|
1621
1686
|
triggerType: import("../shared").TriggerType;
|
|
1622
1687
|
triggerData: string;
|
|
1623
1688
|
signature: string;
|
|
1624
1689
|
hash: string;
|
|
1690
|
+
createdAt: Date;
|
|
1625
1691
|
fuelUsed: number;
|
|
1626
1692
|
inputs: ({
|
|
1627
1693
|
result: {
|
|
@@ -1698,6 +1764,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1698
1764
|
logs?: string[] | undefined;
|
|
1699
1765
|
errorLogs?: string[] | undefined;
|
|
1700
1766
|
fee?: {
|
|
1767
|
+
trigger: number;
|
|
1701
1768
|
relayer: number;
|
|
1702
1769
|
oracles: number;
|
|
1703
1770
|
validator: number;
|
|
@@ -1705,6 +1772,10 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1705
1772
|
protocol: number;
|
|
1706
1773
|
total: number;
|
|
1707
1774
|
} | undefined;
|
|
1775
|
+
validations?: {
|
|
1776
|
+
succeeded: boolean;
|
|
1777
|
+
signature: string;
|
|
1778
|
+
}[] | undefined;
|
|
1708
1779
|
}>;
|
|
1709
1780
|
export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1710
1781
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -2105,10 +2176,12 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2105
2176
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2106
2177
|
}>, {
|
|
2107
2178
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2179
|
+
status: z.ZodNativeEnum<typeof ExecutionStatus>;
|
|
2108
2180
|
createdAt: z.ZodDate;
|
|
2109
2181
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2110
2182
|
errorLogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2111
2183
|
fee: z.ZodOptional<z.ZodObject<{
|
|
2184
|
+
trigger: z.ZodNumber;
|
|
2112
2185
|
relayer: z.ZodNumber;
|
|
2113
2186
|
oracles: z.ZodNumber;
|
|
2114
2187
|
validator: z.ZodNumber;
|
|
@@ -2116,6 +2189,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2116
2189
|
protocol: z.ZodNumber;
|
|
2117
2190
|
total: z.ZodNumber;
|
|
2118
2191
|
}, "strip", z.ZodTypeAny, {
|
|
2192
|
+
trigger: number;
|
|
2119
2193
|
relayer: number;
|
|
2120
2194
|
oracles: number;
|
|
2121
2195
|
validator: number;
|
|
@@ -2123,6 +2197,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2123
2197
|
protocol: number;
|
|
2124
2198
|
total: number;
|
|
2125
2199
|
}, {
|
|
2200
|
+
trigger: number;
|
|
2126
2201
|
relayer: number;
|
|
2127
2202
|
oracles: number;
|
|
2128
2203
|
validator: number;
|
|
@@ -2130,14 +2205,25 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2130
2205
|
protocol: number;
|
|
2131
2206
|
total: number;
|
|
2132
2207
|
}>>;
|
|
2208
|
+
validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2209
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2210
|
+
succeeded: z.ZodBoolean;
|
|
2211
|
+
}, "strip", z.ZodTypeAny, {
|
|
2212
|
+
succeeded: boolean;
|
|
2213
|
+
signature: string;
|
|
2214
|
+
}, {
|
|
2215
|
+
succeeded: boolean;
|
|
2216
|
+
signature: string;
|
|
2217
|
+
}>, "many">>;
|
|
2133
2218
|
}>, "strip", z.ZodTypeAny, {
|
|
2134
2219
|
timestamp: number;
|
|
2135
|
-
|
|
2220
|
+
status: ExecutionStatus;
|
|
2136
2221
|
configSig: string;
|
|
2137
2222
|
triggerType: import("../shared").TriggerType;
|
|
2138
2223
|
triggerData: string;
|
|
2139
2224
|
signature: string;
|
|
2140
2225
|
hash: string;
|
|
2226
|
+
createdAt: Date;
|
|
2141
2227
|
fuelUsed: number;
|
|
2142
2228
|
inputs: ({
|
|
2143
2229
|
result: {
|
|
@@ -2214,6 +2300,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2214
2300
|
logs?: string[] | undefined;
|
|
2215
2301
|
errorLogs?: string[] | undefined;
|
|
2216
2302
|
fee?: {
|
|
2303
|
+
trigger: number;
|
|
2217
2304
|
relayer: number;
|
|
2218
2305
|
oracles: number;
|
|
2219
2306
|
validator: number;
|
|
@@ -2221,14 +2308,19 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2221
2308
|
protocol: number;
|
|
2222
2309
|
total: number;
|
|
2223
2310
|
} | undefined;
|
|
2311
|
+
validations?: {
|
|
2312
|
+
succeeded: boolean;
|
|
2313
|
+
signature: string;
|
|
2314
|
+
}[] | undefined;
|
|
2224
2315
|
}, {
|
|
2225
2316
|
timestamp: number;
|
|
2226
|
-
|
|
2317
|
+
status: ExecutionStatus;
|
|
2227
2318
|
configSig: string;
|
|
2228
2319
|
triggerType: import("../shared").TriggerType;
|
|
2229
2320
|
triggerData: string;
|
|
2230
2321
|
signature: string;
|
|
2231
2322
|
hash: string;
|
|
2323
|
+
createdAt: Date;
|
|
2232
2324
|
fuelUsed: number;
|
|
2233
2325
|
inputs: ({
|
|
2234
2326
|
result: {
|
|
@@ -2305,6 +2397,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2305
2397
|
logs?: string[] | undefined;
|
|
2306
2398
|
errorLogs?: string[] | undefined;
|
|
2307
2399
|
fee?: {
|
|
2400
|
+
trigger: number;
|
|
2308
2401
|
relayer: number;
|
|
2309
2402
|
oracles: number;
|
|
2310
2403
|
validator: number;
|
|
@@ -2312,7 +2405,40 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2312
2405
|
protocol: number;
|
|
2313
2406
|
total: number;
|
|
2314
2407
|
} | undefined;
|
|
2408
|
+
validations?: {
|
|
2409
|
+
succeeded: boolean;
|
|
2410
|
+
signature: string;
|
|
2411
|
+
}[] | undefined;
|
|
2315
2412
|
}>, "many">;
|
|
2413
|
+
export declare const ExecutionValidationRequestValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
2414
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2415
|
+
succeeded: z.ZodBoolean;
|
|
2416
|
+
}, {
|
|
2417
|
+
intents: z.ZodArray<z.ZodObject<{
|
|
2418
|
+
intent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2419
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2420
|
+
}, "strip", z.ZodTypeAny, {
|
|
2421
|
+
intent: string;
|
|
2422
|
+
signature: string;
|
|
2423
|
+
}, {
|
|
2424
|
+
intent: string;
|
|
2425
|
+
signature: string;
|
|
2426
|
+
}>, "many">;
|
|
2427
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2428
|
+
succeeded: boolean;
|
|
2429
|
+
signature: string;
|
|
2430
|
+
intents: {
|
|
2431
|
+
intent: string;
|
|
2432
|
+
signature: string;
|
|
2433
|
+
}[];
|
|
2434
|
+
}, {
|
|
2435
|
+
succeeded: boolean;
|
|
2436
|
+
signature: string;
|
|
2437
|
+
intents: {
|
|
2438
|
+
intent: string;
|
|
2439
|
+
signature: string;
|
|
2440
|
+
}[];
|
|
2441
|
+
}>;
|
|
2316
2442
|
export declare const OracleFeeValidator: z.ZodObject<{
|
|
2317
2443
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2318
2444
|
fee: z.ZodNumber;
|