lynx-client 0.0.4 → 0.0.6
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/cjs/index.js +10 -2
- package/dist/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +53 -0
- package/dist/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.js +2 -0
- package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +210 -0
- package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/PNLRService/IPNLRService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +124 -0
- package/dist/cjs/lib/contractsIntegration/PNLRService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.js +2 -0
- package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +254 -0
- package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +9 -9
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +9 -9
- package/dist/cjs/lib/typechain/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Lex/PNLR/PNLR.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/interfaces/IPriceValidatorV1.js +2 -0
- package/dist/cjs/lib/typechain/factories/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin__factory.js +232 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +585 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +3762 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.js +116 -0
- package/dist/cjs/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.js +37 -0
- package/dist/cjs/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.js +39 -0
- package/dist/cjs/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.js +152 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +10 -2
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts +10 -0
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +53 -0
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +21 -0
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.js +2 -0
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +124 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.js +2 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts +24 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +210 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +49 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.js +2 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts +14 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +124 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/PNLRService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +160 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.js +2 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts +31 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +254 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +2 -11
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +9 -9
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +9 -9
- package/dist/esm/lib/typechain/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin.d.ts +143 -0
- package/dist/esm/lib/typechain/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/PNLR/PNLR.d.ts +266 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/PNLR/PNLR.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/PNLR/PNLR.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1.d.ts +2085 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/interfaces/IPriceValidatorV1.d.ts +72 -0
- package/dist/esm/lib/typechain/contracts/Lynx/interfaces/IPriceValidatorV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/interfaces/IPriceValidatorV1.js +2 -0
- package/dist/esm/lib/typechain/factories/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin__factory.d.ts +173 -0
- package/dist/esm/lib/typechain/factories/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin__factory.js +232 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +439 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +585 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +2899 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +3762 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.d.ts +81 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.js +116 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.d.ts +9 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.d.ts.map +1 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.js +37 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.d.ts +9 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.d.ts.map +1 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.js +39 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.d.ts +13 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.d.ts.map +1 -0
- package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.js +152 -0
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts +10 -0
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +21 -0
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +124 -0
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts +24 -0
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +49 -0
- package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts +14 -0
- package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/PNLRService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/PNLRService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +160 -0
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts +31 -0
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +2 -11
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin.d.ts +143 -0
- package/dist/types/lib/typechain/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/PNLR/PNLR.d.ts +266 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/PNLR/PNLR.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1.d.ts +2085 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/interfaces/IPriceValidatorV1.d.ts +72 -0
- package/dist/types/lib/typechain/contracts/Lynx/interfaces/IPriceValidatorV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin__factory.d.ts +173 -0
- package/dist/types/lib/typechain/factories/contracts/AdministrationContracts/AcceptableImplementationClaimableAdmin__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +439 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +2899 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.d.ts +81 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.d.ts +9 -0
- package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.d.ts.map +1 -0
- package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.d.ts +9 -0
- package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.d.ts.map +1 -0
- package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.d.ts +13 -0
- package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/esm/lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.d.ts
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IPriceValidatorV1, IPriceValidatorV1Interface } from "../../../../contracts/Lynx/interfaces/IPriceValidatorV1";
|
|
3
|
+
export declare class IPriceValidatorV1__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "NotSupportedError";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [{
|
|
10
|
+
readonly internalType: "bytes[]";
|
|
11
|
+
readonly name: "updateData";
|
|
12
|
+
readonly type: "bytes[]";
|
|
13
|
+
}];
|
|
14
|
+
readonly name: "getUpdateFee";
|
|
15
|
+
readonly outputs: readonly [{
|
|
16
|
+
readonly internalType: "uint256";
|
|
17
|
+
readonly name: "feeAmount";
|
|
18
|
+
readonly type: "uint256";
|
|
19
|
+
}];
|
|
20
|
+
readonly stateMutability: "view";
|
|
21
|
+
readonly type: "function";
|
|
22
|
+
}, {
|
|
23
|
+
readonly inputs: readonly [{
|
|
24
|
+
readonly internalType: "uint256";
|
|
25
|
+
readonly name: "pairIndex";
|
|
26
|
+
readonly type: "uint256";
|
|
27
|
+
}];
|
|
28
|
+
readonly name: "getUpdateFeeByPair";
|
|
29
|
+
readonly outputs: readonly [{
|
|
30
|
+
readonly internalType: "uint256";
|
|
31
|
+
readonly name: "feeAmount";
|
|
32
|
+
readonly type: "uint256";
|
|
33
|
+
}];
|
|
34
|
+
readonly stateMutability: "view";
|
|
35
|
+
readonly type: "function";
|
|
36
|
+
}, {
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly name: "isPriceValidator";
|
|
39
|
+
readonly outputs: readonly [{
|
|
40
|
+
readonly internalType: "bool";
|
|
41
|
+
readonly name: "";
|
|
42
|
+
readonly type: "bool";
|
|
43
|
+
}];
|
|
44
|
+
readonly stateMutability: "view";
|
|
45
|
+
readonly type: "function";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [{
|
|
48
|
+
readonly internalType: "uint256";
|
|
49
|
+
readonly name: "pairIndex";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
}, {
|
|
52
|
+
readonly internalType: "bytes[]";
|
|
53
|
+
readonly name: "updateData";
|
|
54
|
+
readonly type: "bytes[]";
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "validatePrice";
|
|
57
|
+
readonly outputs: readonly [{
|
|
58
|
+
readonly components: readonly [{
|
|
59
|
+
readonly internalType: "uint256";
|
|
60
|
+
readonly name: "timestamp";
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
}, {
|
|
63
|
+
readonly internalType: "uint64";
|
|
64
|
+
readonly name: "price";
|
|
65
|
+
readonly type: "uint64";
|
|
66
|
+
}, {
|
|
67
|
+
readonly internalType: "uint64";
|
|
68
|
+
readonly name: "confidence";
|
|
69
|
+
readonly type: "uint64";
|
|
70
|
+
}];
|
|
71
|
+
readonly internalType: "struct IPriceValidatorV1.ValidatedPrice";
|
|
72
|
+
readonly name: "validatedPrice";
|
|
73
|
+
readonly type: "tuple";
|
|
74
|
+
}];
|
|
75
|
+
readonly stateMutability: "payable";
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
}];
|
|
78
|
+
static createInterface(): IPriceValidatorV1Interface;
|
|
79
|
+
static connect(address: string, runner?: ContractRunner | null): IPriceValidatorV1;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=IPriceValidatorV1__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IPriceValidatorV1__factory.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,yDAAyD,CAAC;AAsGjE,qBAAa,0BAA0B;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,iBAAiB;CAGrB"}
|
package/dist/esm/lib/typechain/factories/contracts/Lynx/interfaces/IPriceValidatorV1__factory.js
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IPriceValidatorV1__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "NotSupportedError",
|
|
12
|
+
type: "error",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
internalType: "bytes[]",
|
|
18
|
+
name: "updateData",
|
|
19
|
+
type: "bytes[]",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
name: "getUpdateFee",
|
|
23
|
+
outputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "uint256",
|
|
26
|
+
name: "feeAmount",
|
|
27
|
+
type: "uint256",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
stateMutability: "view",
|
|
31
|
+
type: "function",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
internalType: "uint256",
|
|
37
|
+
name: "pairIndex",
|
|
38
|
+
type: "uint256",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
name: "getUpdateFeeByPair",
|
|
42
|
+
outputs: [
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "feeAmount",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
stateMutability: "view",
|
|
50
|
+
type: "function",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [],
|
|
54
|
+
name: "isPriceValidator",
|
|
55
|
+
outputs: [
|
|
56
|
+
{
|
|
57
|
+
internalType: "bool",
|
|
58
|
+
name: "",
|
|
59
|
+
type: "bool",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
stateMutability: "view",
|
|
63
|
+
type: "function",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
inputs: [
|
|
67
|
+
{
|
|
68
|
+
internalType: "uint256",
|
|
69
|
+
name: "pairIndex",
|
|
70
|
+
type: "uint256",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
internalType: "bytes[]",
|
|
74
|
+
name: "updateData",
|
|
75
|
+
type: "bytes[]",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: "validatePrice",
|
|
79
|
+
outputs: [
|
|
80
|
+
{
|
|
81
|
+
components: [
|
|
82
|
+
{
|
|
83
|
+
internalType: "uint256",
|
|
84
|
+
name: "timestamp",
|
|
85
|
+
type: "uint256",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
internalType: "uint64",
|
|
89
|
+
name: "price",
|
|
90
|
+
type: "uint64",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
internalType: "uint64",
|
|
94
|
+
name: "confidence",
|
|
95
|
+
type: "uint64",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
internalType: "struct IPriceValidatorV1.ValidatedPrice",
|
|
99
|
+
name: "validatedPrice",
|
|
100
|
+
type: "tuple",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
stateMutability: "payable",
|
|
104
|
+
type: "function",
|
|
105
|
+
},
|
|
106
|
+
];
|
|
107
|
+
class IPriceValidatorV1__factory {
|
|
108
|
+
static createInterface() {
|
|
109
|
+
return new ethers_1.Interface(_abi);
|
|
110
|
+
}
|
|
111
|
+
static connect(address, runner) {
|
|
112
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.IPriceValidatorV1__factory = IPriceValidatorV1__factory;
|
|
116
|
+
IPriceValidatorV1__factory.abi = _abi;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ethers } from "ethers";
|
|
2
|
+
declare function generateVerificationDomain(chainId: string, chipIntentsVerifierAddress: string): ethers.TypedDataDomain;
|
|
3
|
+
export declare const chipsIntentsVerifierPayloadTypes: {
|
|
4
|
+
buildDomainSeparator: typeof generateVerificationDomain;
|
|
5
|
+
HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ: Record<string, ethers.TypedDataField[]>;
|
|
6
|
+
HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ_UNWRAP: Record<string, ethers.TypedDataField[]>;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=chipsIntentsVerifierPayloadTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chipsIntentsVerifierPayloadTypes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,iBAAS,0BAA0B,CACjC,OAAO,EAAE,MAAM,EACf,0BAA0B,EAAE,MAAM,GACjC,MAAM,CAAC,eAAe,CASxB;AA8BD,eAAO,MAAM,gCAAgC;;;;CAI5C,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.chipsIntentsVerifierPayloadTypes = void 0;
|
|
4
|
+
function generateVerificationDomain(chainId, chipIntentsVerifierAddress) {
|
|
5
|
+
const verificationDomain = {
|
|
6
|
+
chainId: chainId,
|
|
7
|
+
name: "Chips Intents Verifier",
|
|
8
|
+
version: "1",
|
|
9
|
+
verifyingContract: chipIntentsVerifierAddress,
|
|
10
|
+
};
|
|
11
|
+
return verificationDomain;
|
|
12
|
+
}
|
|
13
|
+
const HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ = {
|
|
14
|
+
HolderRequestPayload_ChipOutLZ: [
|
|
15
|
+
{ name: "timestamp", type: "uint256" },
|
|
16
|
+
{ name: "validUntil", type: "uint256" },
|
|
17
|
+
{ name: "chip", type: "address" },
|
|
18
|
+
{ name: "holder", type: "address" },
|
|
19
|
+
{ name: "receiver", type: "address" },
|
|
20
|
+
{ name: "amount", type: "uint256" },
|
|
21
|
+
],
|
|
22
|
+
};
|
|
23
|
+
const HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ_UNWRAP = {
|
|
24
|
+
HolderRequestPayload_ChipOutLZ_Unwrap: [
|
|
25
|
+
{ name: "timestamp", type: "uint256" },
|
|
26
|
+
{ name: "validUntil", type: "uint256" },
|
|
27
|
+
{ name: "chip", type: "address" },
|
|
28
|
+
{ name: "holder", type: "address" },
|
|
29
|
+
{ name: "receiver", type: "address" },
|
|
30
|
+
{ name: "amount", type: "uint256" },
|
|
31
|
+
],
|
|
32
|
+
};
|
|
33
|
+
exports.chipsIntentsVerifierPayloadTypes = {
|
|
34
|
+
buildDomainSeparator: generateVerificationDomain,
|
|
35
|
+
HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ,
|
|
36
|
+
HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ_UNWRAP,
|
|
37
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ethers } from "ethers";
|
|
2
|
+
declare function generateVerificationDomain(chainId: string, liquidityIntentsVerifierAddress: string): ethers.TypedDataDomain;
|
|
3
|
+
export declare const liquidityIntentsVerifierPayloadTypes: {
|
|
4
|
+
buildDomainSeparator: typeof generateVerificationDomain;
|
|
5
|
+
LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_DEPOSIT: Record<string, ethers.TypedDataField[]>;
|
|
6
|
+
LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_REDEEM: Record<string, ethers.TypedDataField[]>;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=liquidityIntentsVerifierPayloadTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liquidityIntentsVerifierPayloadTypes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,iBAAS,0BAA0B,CACjC,OAAO,EAAE,MAAM,EACf,+BAA+B,EAAE,MAAM,GACtC,MAAM,CAAC,eAAe,CASxB;AAgCD,eAAO,MAAM,oCAAoC;;;;CAIhD,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.liquidityIntentsVerifierPayloadTypes = void 0;
|
|
4
|
+
function generateVerificationDomain(chainId, liquidityIntentsVerifierAddress) {
|
|
5
|
+
const verificationDomain = {
|
|
6
|
+
chainId: chainId,
|
|
7
|
+
name: "Liquidity Intents Verifier",
|
|
8
|
+
version: "1",
|
|
9
|
+
verifyingContract: liquidityIntentsVerifierAddress,
|
|
10
|
+
};
|
|
11
|
+
return verificationDomain;
|
|
12
|
+
}
|
|
13
|
+
const LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_DEPOSIT = {
|
|
14
|
+
LiquidityProviderRequestPayload_EpochDeposit: [
|
|
15
|
+
{ name: "timestamp", type: "uint256" },
|
|
16
|
+
{ name: "validUntil", type: "uint256" },
|
|
17
|
+
{ name: "pool", type: "address" },
|
|
18
|
+
{ name: "liquidityProvider", type: "address" },
|
|
19
|
+
{ name: "epoch", type: "uint256" },
|
|
20
|
+
{ name: "amount", type: "uint256" },
|
|
21
|
+
{ name: "minAmountOut", type: "uint256" },
|
|
22
|
+
],
|
|
23
|
+
};
|
|
24
|
+
const LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_REDEEM = {
|
|
25
|
+
LiquidityProviderRequestPayload_EpochRedeem: [
|
|
26
|
+
{ name: "timestamp", type: "uint256" },
|
|
27
|
+
{ name: "validUntil", type: "uint256" },
|
|
28
|
+
{ name: "pool", type: "address" },
|
|
29
|
+
{ name: "liquidityProvider", type: "address" },
|
|
30
|
+
{ name: "epoch", type: "uint256" },
|
|
31
|
+
{ name: "amount", type: "uint256" },
|
|
32
|
+
{ name: "minAmountOut", type: "uint256" },
|
|
33
|
+
],
|
|
34
|
+
};
|
|
35
|
+
exports.liquidityIntentsVerifierPayloadTypes = {
|
|
36
|
+
buildDomainSeparator: generateVerificationDomain,
|
|
37
|
+
LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_DEPOSIT,
|
|
38
|
+
LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_REDEEM,
|
|
39
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ethers } from "ethers";
|
|
2
|
+
declare function generateVerificationDomain(chainId: string, tradersPortalAddress: string): ethers.TypedDataDomain;
|
|
3
|
+
export declare const tradeIntentsVerifierPayloadTypes: {
|
|
4
|
+
buildDomainSeparator: typeof generateVerificationDomain;
|
|
5
|
+
TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_OPEN_POSITION: Record<string, ethers.TypedDataField[]>;
|
|
6
|
+
TRADER_REQUEST_PAYLOAD_CLOSE_MARKET: Record<string, ethers.TypedDataField[]>;
|
|
7
|
+
TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_SINGLE_FIELD: Record<string, ethers.TypedDataField[]>;
|
|
8
|
+
TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_DOUBLE_FIELD: Record<string, ethers.TypedDataField[]>;
|
|
9
|
+
TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_UPDATE_PENDING_LIMIT_POSITION: Record<string, ethers.TypedDataField[]>;
|
|
10
|
+
TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_CANCEL_PENDING_LIMIT_POSITION: Record<string, ethers.TypedDataField[]>;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=tradeIntentsVerifierPayloadTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tradeIntentsVerifierPayloadTypes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,iBAAS,0BAA0B,CACjC,OAAO,EAAE,MAAM,EACf,oBAAoB,EAAE,MAAM,GAC3B,MAAM,CAAC,eAAe,CASxB;AA6JD,eAAO,MAAM,gCAAgC;;;;;;;;CAS5C,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tradeIntentsVerifierPayloadTypes = void 0;
|
|
4
|
+
function generateVerificationDomain(chainId, tradersPortalAddress) {
|
|
5
|
+
const verificationDomain = {
|
|
6
|
+
chainId: chainId,
|
|
7
|
+
name: "Trade Intents Verifier",
|
|
8
|
+
version: "1",
|
|
9
|
+
verifyingContract: tradersPortalAddress,
|
|
10
|
+
};
|
|
11
|
+
return verificationDomain;
|
|
12
|
+
}
|
|
13
|
+
const TRADER_REQUEST_PAYLOAD_CLOSE_MARKET = {
|
|
14
|
+
UserRequestPayload_CloseMarket: [
|
|
15
|
+
{
|
|
16
|
+
name: "timestamp",
|
|
17
|
+
type: "uint256",
|
|
18
|
+
},
|
|
19
|
+
{ name: "validUntil", type: "uint256" },
|
|
20
|
+
{
|
|
21
|
+
name: "positionId",
|
|
22
|
+
type: "bytes32",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "minPrice",
|
|
26
|
+
type: "uint64",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "maxPrice",
|
|
30
|
+
type: "uint64",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
};
|
|
34
|
+
const TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_OPEN_POSITION = {
|
|
35
|
+
UserRequestPayload_OpenPosition: [
|
|
36
|
+
{
|
|
37
|
+
name: "timestamp",
|
|
38
|
+
type: "uint256",
|
|
39
|
+
},
|
|
40
|
+
{ name: "validUntil", type: "uint256" },
|
|
41
|
+
{
|
|
42
|
+
name: "positionRequestIdentifiers",
|
|
43
|
+
type: "PositionRequestIdentifiers",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "positionRequestParams",
|
|
47
|
+
type: "PositionRequestParams",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "orderType",
|
|
51
|
+
type: "uint8",
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
PositionRequestIdentifiers: [
|
|
55
|
+
{
|
|
56
|
+
name: "trader",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: "pairId",
|
|
61
|
+
type: "uint16",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "settlementAsset",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
PositionRequestParams: [
|
|
69
|
+
{
|
|
70
|
+
name: "long",
|
|
71
|
+
type: "bool",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "collateral",
|
|
75
|
+
type: "uint256",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: "leverage",
|
|
79
|
+
type: "uint32",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "minPrice",
|
|
83
|
+
type: "uint64",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "maxPrice",
|
|
87
|
+
type: "uint64",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: "tp",
|
|
91
|
+
type: "uint64",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: "sl",
|
|
95
|
+
type: "uint64",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "tpByFraction",
|
|
99
|
+
type: "uint64",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "slByFraction",
|
|
103
|
+
type: "uint64",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
};
|
|
107
|
+
const TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_SINGLE_FIELD = {
|
|
108
|
+
UserRequestPayload_UpdatePositionSingleField: [
|
|
109
|
+
{ name: "timestamp", type: "uint256" },
|
|
110
|
+
{ name: "validUntil", type: "uint256" },
|
|
111
|
+
{ name: "positionId", type: "bytes32" },
|
|
112
|
+
{ name: "orderType", type: "uint8" },
|
|
113
|
+
{ name: "fieldValue", type: "uint64" },
|
|
114
|
+
],
|
|
115
|
+
};
|
|
116
|
+
const TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_DOUBLE_FIELD = {
|
|
117
|
+
UserRequestPayload_UpdatePositionDoubleField: [
|
|
118
|
+
{ name: "timestamp", type: "uint256" },
|
|
119
|
+
{ name: "validUntil", type: "uint256" },
|
|
120
|
+
{ name: "positionId", type: "bytes32" },
|
|
121
|
+
{ name: "orderType", type: "uint8" },
|
|
122
|
+
{ name: "fieldValueA", type: "uint64" },
|
|
123
|
+
{ name: "fieldValueB", type: "uint64" },
|
|
124
|
+
],
|
|
125
|
+
};
|
|
126
|
+
const TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_UPDATE_PENDING_LIMIT_POSITION = {
|
|
127
|
+
UserDirectPayload_UpdatePendingLimitPosition: [
|
|
128
|
+
{ name: "timestamp", type: "uint256" },
|
|
129
|
+
{ name: "validUntil", type: "uint256" },
|
|
130
|
+
{ name: "positionId", type: "bytes32" },
|
|
131
|
+
{ name: "minPrice", type: "uint64" },
|
|
132
|
+
{ name: "maxPrice", type: "uint64" },
|
|
133
|
+
{ name: "tp", type: "uint64" },
|
|
134
|
+
{ name: "sl", type: "uint64" },
|
|
135
|
+
],
|
|
136
|
+
};
|
|
137
|
+
const TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_CANCEL_PENDING_LIMIT_POSITION = {
|
|
138
|
+
UserDirectPayload_CancelPendingLimitPosition: [
|
|
139
|
+
{ name: "timestamp", type: "uint256" },
|
|
140
|
+
{ name: "validUntil", type: "uint256" },
|
|
141
|
+
{ name: "positionId", type: "bytes32" },
|
|
142
|
+
],
|
|
143
|
+
};
|
|
144
|
+
exports.tradeIntentsVerifierPayloadTypes = {
|
|
145
|
+
buildDomainSeparator: generateVerificationDomain,
|
|
146
|
+
TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_OPEN_POSITION,
|
|
147
|
+
TRADER_REQUEST_PAYLOAD_CLOSE_MARKET,
|
|
148
|
+
TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_SINGLE_FIELD,
|
|
149
|
+
TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_DOUBLE_FIELD,
|
|
150
|
+
TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_UPDATE_PENDING_LIMIT_POSITION,
|
|
151
|
+
TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_CANCEL_PENDING_LIMIT_POSITION,
|
|
152
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -38,6 +38,20 @@ export * from "./lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens";
|
|
|
38
38
|
export * from "./lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens";
|
|
39
39
|
export * from "./lib/typechain/contracts/Peripheral/Lens/LexLens";
|
|
40
40
|
export * from "./lib/typechain/contracts/Peripheral/Lens/TradingFloorLens";
|
|
41
|
+
export type { RegistryProxy } from "./lib/typechain/contracts/Lynx/Registry/RegistryProxy";
|
|
42
|
+
export type { RegistryV1 } from "./lib/typechain/contracts/Lynx/Registry/RegistryV1";
|
|
43
|
+
export type { TradingFloorProxy } from "./lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy";
|
|
44
|
+
export type { TradingFloorV1 } from "./lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1";
|
|
45
|
+
export type { OrderBookProxy } from "./lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy";
|
|
46
|
+
export type { OrderBookV1 } from "./lib/typechain/contracts/Lynx/OrderBook/OrderBookV1";
|
|
47
|
+
export type { TradersPortalV1 } from "./lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1";
|
|
48
|
+
export type { TriggersV1 } from "./lib/typechain/contracts/Lynx/Triggers/TriggersV1";
|
|
49
|
+
export type { ChipsIntentsVerifierV1 } from "./lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
|
|
50
|
+
export type { LiquidityIntentsVerifierV1 } from "./lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
|
|
51
|
+
export type { TradeIntentsVerifierV1 } from "./lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
|
|
52
|
+
export { chipsIntentsVerifierPayloadTypes } from "./lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes";
|
|
53
|
+
export { liquidityIntentsVerifierPayloadTypes } from "./lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes";
|
|
54
|
+
export { tradeIntentsVerifierPayloadTypes } from "./lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes";
|
|
41
55
|
export * from "./lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory";
|
|
42
56
|
export * from "./lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory";
|
|
43
57
|
export * from "./lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AAEtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,YAAY,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAC3G,OAAO,EAAE,+BAA+B,EAAE,MAAM,4DAA4D,CAAC;AAC7G,YAAY,EAAE,gCAAgC,EAAE,MAAM,4DAA4D,CAAC;AACnH,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,YAAY,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAE3G,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iEAAiE,CAAC;AAChF,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AAEtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,YAAY,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAC3G,OAAO,EAAE,+BAA+B,EAAE,MAAM,4DAA4D,CAAC;AAC7G,YAAY,EAAE,gCAAgC,EAAE,MAAM,4DAA4D,CAAC;AACnH,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,YAAY,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAE3G,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iEAAiE,CAAC;AAChF,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;AAG3E,YAAY,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;AAC3F,YAAY,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AACrF,YAAY,EAAE,iBAAiB,EAAE,MAAM,+DAA+D,CAAC;AACvG,YAAY,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAC;AACjG,YAAY,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAC;AAC9F,YAAY,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACxF,YAAY,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAC;AACpG,YAAY,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAGrF,YAAY,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC;AACpH,YAAY,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAC;AAC5H,YAAY,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC;AAGpH,OAAO,EAAE,gCAAgC,EAAE,MAAM,mGAAmG,CAAC;AACrJ,OAAO,EAAE,oCAAoC,EAAE,MAAM,2GAA2G,CAAC;AACjK,OAAO,EAAE,gCAAgC,EAAE,MAAM,mGAAmG,CAAC;AAGrJ,cAAc,kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAG9F,cAAc,0FAA0F,CAAC;AACzG,cAAc,8FAA8F,CAAC;AAC7G,cAAc,0FAA0F,CAAC;AAGzG,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Signer, Provider } from "ethers";
|
|
2
|
+
import { IAcceptableImplementationClaimableAdminService, IAcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement, IAcceptableImplementationClaimableAdminFunctionsGroup_ImplementationManagement, IAcceptableImplementationClaimableAdminFunctionsGroup_StateVariables } from "./IAcceptableImplementationClaimableAdminService";
|
|
3
|
+
export declare class AcceptableImplementationClaimableAdminService implements IAcceptableImplementationClaimableAdminService {
|
|
4
|
+
private proxyContract;
|
|
5
|
+
adminManagement: IAcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement;
|
|
6
|
+
implementationManagement: IAcceptableImplementationClaimableAdminFunctionsGroup_ImplementationManagement;
|
|
7
|
+
stateVariables: IAcceptableImplementationClaimableAdminFunctionsGroup_StateVariables;
|
|
8
|
+
constructor(signerOrProvider: Signer | Provider, address: string);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=AcceptableImplementationClaimableAdminService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcceptableImplementationClaimableAdminService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAA+B,MAAM,QAAQ,CAAA;AAGtE,OAAO,EACL,8CAA8C,EAC9C,qEAAqE,EACrE,8EAA8E,EAC9E,oEAAoE,EACrE,MAAM,kDAAkD,CAAA;AAkDzD,qBAAa,6CACX,YAAW,8CAA8C;IACzD,OAAO,CAAC,aAAa,CAAwC;IAEtD,eAAe,EAAE,qEAAqE,CAAA;IACtF,wBAAwB,EAAE,8EAA8E,CAAA;IACxG,cAAc,EAAE,oEAAoE,CAAA;gBAGzF,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM;CAQlB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ContractTransactionResponse } from "ethers";
|
|
2
|
+
export interface IAcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement {
|
|
3
|
+
_setPendingAdmin(newPendingAdmin: string): Promise<ContractTransactionResponse>;
|
|
4
|
+
_acceptAdmin(): Promise<ContractTransactionResponse>;
|
|
5
|
+
}
|
|
6
|
+
export interface IAcceptableImplementationClaimableAdminFunctionsGroup_ImplementationManagement {
|
|
7
|
+
_setPendingImplementation(newPendingImplementation: string): Promise<ContractTransactionResponse>;
|
|
8
|
+
_acceptImplementation(): Promise<ContractTransactionResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface IAcceptableImplementationClaimableAdminFunctionsGroup_StateVariables {
|
|
11
|
+
admin(): Promise<string>;
|
|
12
|
+
pendingAdmin(): Promise<string>;
|
|
13
|
+
implementation(): Promise<string>;
|
|
14
|
+
pendingImplementation(): Promise<string>;
|
|
15
|
+
}
|
|
16
|
+
export interface IAcceptableImplementationClaimableAdminService {
|
|
17
|
+
adminManagement: IAcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement;
|
|
18
|
+
implementationManagement: IAcceptableImplementationClaimableAdminFunctionsGroup_ImplementationManagement;
|
|
19
|
+
stateVariables: IAcceptableImplementationClaimableAdminFunctionsGroup_StateVariables;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=IAcceptableImplementationClaimableAdminService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAcceptableImplementationClaimableAdminService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AAGpD,MAAM,WAAW,qEAAqE;IACpF,gBAAgB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAA;IAC/E,YAAY,IAAI,OAAO,CAAC,2BAA2B,CAAC,CAAA;CACrD;AAGD,MAAM,WAAW,8EAA8E;IAC7F,yBAAyB,CAAC,wBAAwB,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAA;IACjG,qBAAqB,IAAI,OAAO,CAAC,2BAA2B,CAAC,CAAA;CAC9D;AAGD,MAAM,WAAW,oEAAoE;IACnF,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/B,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACjC,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CACzC;AAGD,MAAM,WAAW,8CAA8C;IAC7D,eAAe,EAAE,qEAAqE,CAAA;IACtF,wBAAwB,EAAE,8EAA8E,CAAA;IACxG,cAAc,EAAE,oEAAoE,CAAA;CACrF"}
|
package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/index.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { IAcceptableImplementationClaimableAdminService, IAcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement, IAcceptableImplementationClaimableAdminFunctionsGroup_ImplementationManagement, IAcceptableImplementationClaimableAdminFunctionsGroup_StateVariables } from "./IAcceptableImplementationClaimableAdminService";
|
|
2
|
+
export { AcceptableImplementationClaimableAdminService } from "./AcceptableImplementationClaimableAdminService";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,8CAA8C,EAC9C,qEAAqE,EACrE,8EAA8E,EAC9E,oEAAoE,EACrE,MAAM,kDAAkD,CAAA;AACzD,OAAO,EAAE,6CAA6C,EAAE,MAAM,iDAAiD,CAAA"}
|