lynx-client 0.0.5 → 0.0.7
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/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/contractsIntegration/TradingFloorService/TradingFloorService.js +22 -0
- 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/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/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +7 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +7 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +22 -0
- 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/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/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +7 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +7 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.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/package.json +1 -1
|
@@ -0,0 +1,585 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PNLR__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "contract IPriceValidatorV1",
|
|
13
|
+
name: "_priceValidator",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "enum PriceValidatorType",
|
|
18
|
+
name: "_priceValidatorType",
|
|
19
|
+
type: "uint8",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
stateMutability: "nonpayable",
|
|
23
|
+
type: "constructor",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "uint256",
|
|
29
|
+
name: "pairId",
|
|
30
|
+
type: "uint256",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
name: "DuplicatePairPrice",
|
|
34
|
+
type: "error",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "pairId",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "InvalidPairId",
|
|
45
|
+
type: "error",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
inputs: [
|
|
49
|
+
{
|
|
50
|
+
internalType: "uint256",
|
|
51
|
+
name: "expectedPairsAmount",
|
|
52
|
+
type: "uint256",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "actualParisAmount",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "InvalidPairsAmount",
|
|
61
|
+
type: "error",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
inputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "uint256",
|
|
67
|
+
name: "pairId",
|
|
68
|
+
type: "uint256",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
name: "OutdatedPrice",
|
|
72
|
+
type: "error",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
anonymous: false,
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
indexed: false,
|
|
79
|
+
internalType: "address",
|
|
80
|
+
name: "oldAdmin",
|
|
81
|
+
type: "address",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
indexed: false,
|
|
85
|
+
internalType: "address",
|
|
86
|
+
name: "newAdmin",
|
|
87
|
+
type: "address",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
name: "NewAdmin",
|
|
91
|
+
type: "event",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
anonymous: false,
|
|
95
|
+
inputs: [
|
|
96
|
+
{
|
|
97
|
+
indexed: false,
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "oldPendingAdmin",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
indexed: false,
|
|
104
|
+
internalType: "address",
|
|
105
|
+
name: "newPendingAdmin",
|
|
106
|
+
type: "address",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
name: "NewPendingAdmin",
|
|
110
|
+
type: "event",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
anonymous: false,
|
|
114
|
+
inputs: [
|
|
115
|
+
{
|
|
116
|
+
indexed: true,
|
|
117
|
+
internalType: "address",
|
|
118
|
+
name: "account",
|
|
119
|
+
type: "address",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
name: "TriggerAccountAllowed",
|
|
123
|
+
type: "event",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
anonymous: false,
|
|
127
|
+
inputs: [
|
|
128
|
+
{
|
|
129
|
+
indexed: true,
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "account",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
name: "TriggerAccountDisallowed",
|
|
136
|
+
type: "event",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [],
|
|
140
|
+
name: "CONTRACT_NAME",
|
|
141
|
+
outputs: [
|
|
142
|
+
{
|
|
143
|
+
internalType: "string",
|
|
144
|
+
name: "",
|
|
145
|
+
type: "string",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
stateMutability: "view",
|
|
149
|
+
type: "function",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
inputs: [],
|
|
153
|
+
name: "CONTRACT_VERSION",
|
|
154
|
+
outputs: [
|
|
155
|
+
{
|
|
156
|
+
internalType: "string",
|
|
157
|
+
name: "",
|
|
158
|
+
type: "string",
|
|
159
|
+
},
|
|
160
|
+
],
|
|
161
|
+
stateMutability: "view",
|
|
162
|
+
type: "function",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
inputs: [],
|
|
166
|
+
name: "_acceptAdmin",
|
|
167
|
+
outputs: [],
|
|
168
|
+
stateMutability: "nonpayable",
|
|
169
|
+
type: "function",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
internalType: "address",
|
|
175
|
+
name: "newPendingAdmin",
|
|
176
|
+
type: "address",
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
name: "_setPendingAdmin",
|
|
180
|
+
outputs: [],
|
|
181
|
+
stateMutability: "nonpayable",
|
|
182
|
+
type: "function",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
inputs: [],
|
|
186
|
+
name: "admin",
|
|
187
|
+
outputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "address",
|
|
190
|
+
name: "",
|
|
191
|
+
type: "address",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
stateMutability: "view",
|
|
195
|
+
type: "function",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [
|
|
199
|
+
{
|
|
200
|
+
internalType: "contract ILexPoolV1",
|
|
201
|
+
name: "pool",
|
|
202
|
+
type: "address",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
components: [
|
|
206
|
+
{
|
|
207
|
+
internalType: "uint256",
|
|
208
|
+
name: "pairId",
|
|
209
|
+
type: "uint256",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
internalType: "bytes[]",
|
|
213
|
+
name: "priceData",
|
|
214
|
+
type: "bytes[]",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
internalType: "struct PairPrice[]",
|
|
218
|
+
name: "pairPrices",
|
|
219
|
+
type: "tuple[]",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
name: "advanceEpoch",
|
|
223
|
+
outputs: [],
|
|
224
|
+
stateMutability: "payable",
|
|
225
|
+
type: "function",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
inputs: [
|
|
229
|
+
{
|
|
230
|
+
internalType: "contract ILexPoolV1",
|
|
231
|
+
name: "pool",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
components: [
|
|
236
|
+
{
|
|
237
|
+
internalType: "uint256",
|
|
238
|
+
name: "pairId",
|
|
239
|
+
type: "uint256",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
internalType: "bytes[]",
|
|
243
|
+
name: "priceData",
|
|
244
|
+
type: "bytes[]",
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
internalType: "struct PairPrice[]",
|
|
248
|
+
name: "pairPrices",
|
|
249
|
+
type: "tuple[]",
|
|
250
|
+
},
|
|
251
|
+
],
|
|
252
|
+
name: "advanceEpochAllowMissingZeroOI",
|
|
253
|
+
outputs: [],
|
|
254
|
+
stateMutability: "payable",
|
|
255
|
+
type: "function",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
inputs: [
|
|
259
|
+
{
|
|
260
|
+
internalType: "address",
|
|
261
|
+
name: "account",
|
|
262
|
+
type: "address",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: "allowEpochAdvancingAccount",
|
|
266
|
+
outputs: [],
|
|
267
|
+
stateMutability: "nonpayable",
|
|
268
|
+
type: "function",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
inputs: [
|
|
272
|
+
{
|
|
273
|
+
internalType: "contract IPoolAccountantFunctionality",
|
|
274
|
+
name: "poolAccountant",
|
|
275
|
+
type: "address",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
components: [
|
|
279
|
+
{
|
|
280
|
+
internalType: "uint256",
|
|
281
|
+
name: "pairId",
|
|
282
|
+
type: "uint256",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
internalType: "bytes[]",
|
|
286
|
+
name: "priceData",
|
|
287
|
+
type: "bytes[]",
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
internalType: "struct PairPrice[]",
|
|
291
|
+
name: "pairPrices",
|
|
292
|
+
type: "tuple[]",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
name: "calculateUnrealizedPricePnl",
|
|
296
|
+
outputs: [
|
|
297
|
+
{
|
|
298
|
+
internalType: "int256",
|
|
299
|
+
name: "",
|
|
300
|
+
type: "int256",
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
stateMutability: "payable",
|
|
304
|
+
type: "function",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
inputs: [
|
|
308
|
+
{
|
|
309
|
+
internalType: "contract IPoolAccountantFunctionality",
|
|
310
|
+
name: "poolAccountant",
|
|
311
|
+
type: "address",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
components: [
|
|
315
|
+
{
|
|
316
|
+
internalType: "uint256",
|
|
317
|
+
name: "pairId",
|
|
318
|
+
type: "uint256",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
internalType: "bytes[]",
|
|
322
|
+
name: "priceData",
|
|
323
|
+
type: "bytes[]",
|
|
324
|
+
},
|
|
325
|
+
],
|
|
326
|
+
internalType: "struct PairPrice[]",
|
|
327
|
+
name: "pairPrices",
|
|
328
|
+
type: "tuple[]",
|
|
329
|
+
},
|
|
330
|
+
],
|
|
331
|
+
name: "calculateUnrealizedPricePnlAllowMissingZeroOI",
|
|
332
|
+
outputs: [
|
|
333
|
+
{
|
|
334
|
+
internalType: "int256",
|
|
335
|
+
name: "",
|
|
336
|
+
type: "int256",
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
stateMutability: "payable",
|
|
340
|
+
type: "function",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
inputs: [
|
|
344
|
+
{
|
|
345
|
+
internalType: "address",
|
|
346
|
+
name: "account",
|
|
347
|
+
type: "address",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
name: "disallowEpochAdvancingAccount",
|
|
351
|
+
outputs: [],
|
|
352
|
+
stateMutability: "nonpayable",
|
|
353
|
+
type: "function",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
inputs: [],
|
|
357
|
+
name: "getAllTriggerPermissionedAccounts",
|
|
358
|
+
outputs: [
|
|
359
|
+
{
|
|
360
|
+
internalType: "address[]",
|
|
361
|
+
name: "",
|
|
362
|
+
type: "address[]",
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
stateMutability: "view",
|
|
366
|
+
type: "function",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
inputs: [],
|
|
370
|
+
name: "getContractName",
|
|
371
|
+
outputs: [
|
|
372
|
+
{
|
|
373
|
+
internalType: "string",
|
|
374
|
+
name: "",
|
|
375
|
+
type: "string",
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
stateMutability: "pure",
|
|
379
|
+
type: "function",
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
inputs: [],
|
|
383
|
+
name: "getContractVersion",
|
|
384
|
+
outputs: [
|
|
385
|
+
{
|
|
386
|
+
internalType: "string",
|
|
387
|
+
name: "",
|
|
388
|
+
type: "string",
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
stateMutability: "pure",
|
|
392
|
+
type: "function",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
inputs: [
|
|
396
|
+
{
|
|
397
|
+
internalType: "address",
|
|
398
|
+
name: "account",
|
|
399
|
+
type: "address",
|
|
400
|
+
},
|
|
401
|
+
],
|
|
402
|
+
name: "isAllowedToTrigger",
|
|
403
|
+
outputs: [
|
|
404
|
+
{
|
|
405
|
+
internalType: "bool",
|
|
406
|
+
name: "",
|
|
407
|
+
type: "bool",
|
|
408
|
+
},
|
|
409
|
+
],
|
|
410
|
+
stateMutability: "view",
|
|
411
|
+
type: "function",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
inputs: [],
|
|
415
|
+
name: "maxPriceDelay",
|
|
416
|
+
outputs: [
|
|
417
|
+
{
|
|
418
|
+
internalType: "uint256",
|
|
419
|
+
name: "",
|
|
420
|
+
type: "uint256",
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
stateMutability: "view",
|
|
424
|
+
type: "function",
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
inputs: [
|
|
428
|
+
{
|
|
429
|
+
internalType: "contract IPoolAccountantFunctionality",
|
|
430
|
+
name: "poolAccountant",
|
|
431
|
+
type: "address",
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
components: [
|
|
435
|
+
{
|
|
436
|
+
internalType: "uint256",
|
|
437
|
+
name: "pairId",
|
|
438
|
+
type: "uint256",
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
internalType: "bytes[]",
|
|
442
|
+
name: "priceData",
|
|
443
|
+
type: "bytes[]",
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
internalType: "struct PairPrice[]",
|
|
447
|
+
name: "pairPrices",
|
|
448
|
+
type: "tuple[]",
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
name: "pairsTradersPricePnl",
|
|
452
|
+
outputs: [
|
|
453
|
+
{
|
|
454
|
+
internalType: "int256",
|
|
455
|
+
name: "pricePnl",
|
|
456
|
+
type: "int256",
|
|
457
|
+
},
|
|
458
|
+
],
|
|
459
|
+
stateMutability: "payable",
|
|
460
|
+
type: "function",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
inputs: [
|
|
464
|
+
{
|
|
465
|
+
internalType: "contract IPoolAccountantFunctionality",
|
|
466
|
+
name: "poolAccountant",
|
|
467
|
+
type: "address",
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
components: [
|
|
471
|
+
{
|
|
472
|
+
internalType: "uint256",
|
|
473
|
+
name: "pairId",
|
|
474
|
+
type: "uint256",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
internalType: "bytes[]",
|
|
478
|
+
name: "priceData",
|
|
479
|
+
type: "bytes[]",
|
|
480
|
+
},
|
|
481
|
+
],
|
|
482
|
+
internalType: "struct PairPrice[]",
|
|
483
|
+
name: "pairPrices",
|
|
484
|
+
type: "tuple[]",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "bool",
|
|
488
|
+
name: "allowMissingZeroOI",
|
|
489
|
+
type: "bool",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
name: "pairsTradersPricePnlWithMissingPairs",
|
|
493
|
+
outputs: [
|
|
494
|
+
{
|
|
495
|
+
internalType: "int256",
|
|
496
|
+
name: "pricePnl",
|
|
497
|
+
type: "int256",
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
stateMutability: "payable",
|
|
501
|
+
type: "function",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
inputs: [],
|
|
505
|
+
name: "pendingAdmin",
|
|
506
|
+
outputs: [
|
|
507
|
+
{
|
|
508
|
+
internalType: "address",
|
|
509
|
+
name: "",
|
|
510
|
+
type: "address",
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
stateMutability: "view",
|
|
514
|
+
type: "function",
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
inputs: [],
|
|
518
|
+
name: "priceValidator",
|
|
519
|
+
outputs: [
|
|
520
|
+
{
|
|
521
|
+
internalType: "contract IPriceValidatorV1",
|
|
522
|
+
name: "",
|
|
523
|
+
type: "address",
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
stateMutability: "view",
|
|
527
|
+
type: "function",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
inputs: [],
|
|
531
|
+
name: "priceValidatorType",
|
|
532
|
+
outputs: [
|
|
533
|
+
{
|
|
534
|
+
internalType: "enum PriceValidatorType",
|
|
535
|
+
name: "",
|
|
536
|
+
type: "uint8",
|
|
537
|
+
},
|
|
538
|
+
],
|
|
539
|
+
stateMutability: "view",
|
|
540
|
+
type: "function",
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
inputs: [
|
|
544
|
+
{
|
|
545
|
+
internalType: "uint256",
|
|
546
|
+
name: "_maxPriceDelay",
|
|
547
|
+
type: "uint256",
|
|
548
|
+
},
|
|
549
|
+
],
|
|
550
|
+
name: "setMaxPriceDelay",
|
|
551
|
+
outputs: [],
|
|
552
|
+
stateMutability: "nonpayable",
|
|
553
|
+
type: "function",
|
|
554
|
+
},
|
|
555
|
+
];
|
|
556
|
+
const _bytecode = "0x60806040523480156200001157600080fd5b5060405162001c2638038062001c2683398101604081905262000034916200020d565b600080546001600160a01b031916331790556001600160a01b038216620000a25760405162461bcd60e51b815260206004820152601760248201527f494e56414c49445f50524943455f56414c494441544f5200000000000000000060448201526064015b60405180910390fd5b816001600160a01b0316634535dc4c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010791906200025a565b620001555760405162461bcd60e51b815260206004820152601760248201527f494e56414c49445f50524943455f56414c494441544f52000000000000000000604482015260640162000099565b60008160028111156200016c576200016c62000285565b03620001bb5760405162461bcd60e51b815260206004820152601c60248201527f494e56414c49445f50524943455f56414c494441544f525f5459504500000000604482015260640162000099565b600480546001600160a01b0384166001600160a01b03198216811783558392916001600160a81b03191617600160a01b83600281111562000200576200020062000285565b021790555050506200029b565b600080604083850312156200022157600080fd5b82516001600160a01b03811681146200023957600080fd5b6020840151909250600381106200024f57600080fd5b809150509250929050565b6000602082840312156200026d57600080fd5b815180151581146200027e57600080fd5b9392505050565b634e487b7160e01b600052602160045260246000fd5b61197b80620002ab6000396000f3fe6080604052600436106101355760003560e01c80639057aa9f116100ab578063ca3d57691161006f578063ca3d576914610375578063e6522a84146103a3578063e9c714f2146103b6578063f36b0c3e146103cb578063f5f5ba72146103de578063f851a4401461040b57600080fd5b80639057aa9f146102ec578063a1d627a114610302578063b0cf579a14610322578063b71d1a0c14610335578063b81d16451461035557600080fd5b80634a048590116100fd5780634a0485901461021a578063614d08f81461022d5780637a803da01461025d57806386c7f19a1461027d5780638aa104351461029f5780638ee2f9d1146102cc57600080fd5b806318a2a58d1461013a57806324a0c5411461014f578063267822471461017557806333511e5e146101ad57806338b90333146101dd575b600080fd5b61014d6101483660046112e6565b61042b565b005b61016261015d3660046112e6565b610560565b6040519081526020015b60405180910390f35b34801561018157600080fd5b50600154610195906001600160a01b031681565b6040516001600160a01b03909116815260200161016c565b3480156101b957600080fd5b506101cd6101c836600461133b565b610577565b604051901515815260200161016c565b3480156101e957600080fd5b5061020d604051806040016040528060048152602001630313031360e41b81525081565b60405161016c919061139e565b61014d6102283660046112e6565b61058a565b34801561023957600080fd5b5061020d604051806040016040528060048152602001632827262960e11b81525081565b34801561026957600080fd5b5061014d6102783660046113b1565b610653565b34801561028957600080fd5b50610292610682565b60405161016c91906113ca565b3480156102ab57600080fd5b506040805180820190915260048152630313031360e41b602082015261020d565b3480156102d857600080fd5b5061014d6102e736600461133b565b610693565b3480156102f857600080fd5b5061016260055481565b34801561030e57600080fd5b50600454610195906001600160a01b031681565b6101626103303660046112e6565b6106c9565b34801561034157600080fd5b5061014d61035036600461133b565b6106e9565b34801561036157600080fd5b5061014d61037036600461133b565b610791565b34801561038157600080fd5b5060045461039690600160a01b900460ff1681565b60405161016c919061142d565b6101626103b1366004611455565b6107c4565b3480156103c257600080fd5b5061014d610e36565b6101626103d93660046112e6565b610f54565b3480156103ea57600080fd5b506040805180820190915260048152632827262960e11b602082015261020d565b34801561041757600080fd5b50600054610195906001600160a01b031681565b61043433610577565b61047e5760405162461bcd60e51b81526020600482015260166024820152752727aa2fa0a62627aba2a22faa27afaa2924a3a3a2a960511b60448201526064015b60405180910390fd5b826001600160a01b031663614289536104f9856001600160a01b031663c12d636b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f291906114c2565b8585610f54565b6040518263ffffffff1660e01b815260040161051791815260200190565b6020604051808303816000875af1158015610536573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055a91906114df565b50505050565b600061056f84848460006107c4565b949350505050565b6000610584600283610f64565b92915050565b61059333610577565b6105d85760405162461bcd60e51b81526020600482015260166024820152752727aa2fa0a62627aba2a22faa27afaa2924a3a3a2a960511b6044820152606401610475565b826001600160a01b031663614289536104f9856001600160a01b031663c12d636b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610628573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c91906114c2565b85856106c9565b6000546001600160a01b0316331461067d5760405162461bcd60e51b8152600401610475906114f8565b600555565b606061068e6002610f89565b905090565b6000546001600160a01b031633146106bd5760405162461bcd60e51b8152600401610475906114f8565b6106c681610f96565b50565b6000806106d7858585610560565b6106e090611532565b95945050505050565b6000546001600160a01b0316331461072f5760405162461bcd60e51b81526020600482015260096024820152682737ba1020b236b4b760b91b6044820152606401610475565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a991015b60405180910390a15050565b6000546001600160a01b031633146107bb5760405162461bcd60e51b8152600401610475906114f8565b6106c681611024565b600080600554116108175760405162461bcd60e51b815260206004820152601760248201527f4d41585f50524943455f44454c41595f4e4f545f5345540000000000000000006044820152606401610475565b6000856001600160a01b0316630fc2b8f56040518163ffffffff1660e01b8152600401600060405180830381865afa158015610857573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261087f91908101906115e2565b9050826108b957805184146108b457805160405163dfe3619d60e01b8152600481019190915260248101859052604401610475565b6108e8565b80518411156108e857805160405163dfe3619d60e01b8152600481019190915260248101859052604401610475565b6000815167ffffffffffffffff8111156109045761090461154e565b60405190808252806020026020018201604052801561092d578160200160208202803683370190505b50905060005b85811015610d2f57600087878381811061094f5761094f611689565b9050602002810190610961919061169f565b61096a906116bf565b90506000805b8551811015610a585789898581811061098b5761098b611689565b905060200281019061099d919061169f565b600001358682815181106109b3576109b3611689565b602002602001015161ffff1603610a5057600191508481815181106109da576109da611689565b602002602001015115610a27578989858181106109f9576109f9611689565b9050602002810190610a0b919061169f565b6040516325c2074560e01b815290356004820152602401610475565b6001858281518110610a3b57610a3b611689565b91151560209283029190910190910152610a58565b600101610970565b5080610a9e57888884818110610a7057610a70611689565b9050602002810190610a82919061169f565b6040516364e3cda960e01b815290356004820152602401610475565b60006002600454600160a01b900460ff166002811115610ac057610ac0611417565b03610b60576004546001600160a01b031663a24741038b8b87818110610ae857610ae8611689565b9050602002810190610afa919061169f565b60405160e083901b6001600160e01b031916815290356004820152602401602060405180830381865afa158015610b35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5991906114df565b9050610bd7565b60048054602085015160405163d47eed4560e01b81526001600160a01b039092169263d47eed4592610b93929101611833565b602060405180830381865afa158015610bb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd491906114df565b90505b600480548451602086015160405163f4a6a09360e01b81526000946001600160a01b039094169363f4a6a093938793610c14939192909101611846565b60606040518083038185885af1158015610c32573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c57919061187c565b6005548151919250610c68916118e1565b421115610c8e578351604051637d962bc160e11b81526004810191909152602401610475565b8351602082015160405163659ef44160e01b81526001600160a01b038f169263659ef44192610cd29260040191825267ffffffffffffffff16602082015260400190565b602060405180830381865afa158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1391906114df565b610d1d90896118f4565b97505060019093019250610933915050565b508315610e2c5760005b8251811015610e2a57818181518110610d5457610d54611689565b6020026020010151610e22576000886001600160a01b031663226a7856858481518110610d8357610d83611689565b60200260200101516040518263ffffffff1660e01b8152600401610db1919061ffff91909116815260200190565b602060405180830381865afa158015610dce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df291906114df565b90508015610e2057835160405163dfe3619d60e01b8152600481019190915260248101889052604401610475565b505b600101610d39565b505b5050949350505050565b6001546001600160a01b031633148015610e5a57506001546001600160a01b031615155b610ea65760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420746865204558495354494e472070656e64696e672061646d696e00006044820152606401610475565b60008054600180546001600160a01b038082166001600160a01b031980861682179096559490911690915560408051919092168082526020820184905292917ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc910160405180910390a1600154604080516001600160a01b03808516825290921660208301527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99101610785565b6000806106d785858560016107c4565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b60606000610f82836110bd565b610f9f81610577565b610fe15760405162461bcd60e51b81526020600482015260136024820152721050d0d3d5539517d393d517d0531313d5d151606a1b6044820152606401610475565b610fec600282611119565b506040516001600160a01b038216907fc985d67a353004ba149a223b2b9e5c13cca6610b11cb45b4aa029c880d8f7cb590600090a250565b61102d81610577565b1561107a5760405162461bcd60e51b815260206004820152601760248201527f4143434f554e545f414c52454144595f414c4c4f5745440000000000000000006044820152606401610475565b61108560028261112e565b506040516001600160a01b038216907fc5944eab072face4b169928723314c5978080e99ed8f8527faedb18c06664c3590600090a250565b60608160000180548060200260200160405190810160405280929190818152602001828054801561110d57602002820191906000526020600020905b8154815260200190600101908083116110f9575b50505050509050919050565b6000610f82836001600160a01b038416611143565b6000610f82836001600160a01b038416611236565b6000818152600183016020526040812054801561122c57600061116760018361191c565b855490915060009061117b9060019061191c565b90508082146111e057600086600001828154811061119b5761119b611689565b90600052602060002001549050808760000184815481106111be576111be611689565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806111f1576111f161192f565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610584565b6000915050610584565b600081815260018301602052604081205461127d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610584565b506000610584565b6001600160a01b03811681146106c657600080fd5b60008083601f8401126112ac57600080fd5b50813567ffffffffffffffff8111156112c457600080fd5b6020830191508360208260051b85010111156112df57600080fd5b9250929050565b6000806000604084860312156112fb57600080fd5b833561130681611285565b9250602084013567ffffffffffffffff81111561132257600080fd5b61132e8682870161129a565b9497909650939450505050565b60006020828403121561134d57600080fd5b8135610f8281611285565b6000815180845260005b8181101561137e57602081850181015186830182015201611362565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610f826020830184611358565b6000602082840312156113c357600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b8181101561140b5783516001600160a01b0316835292840192918401916001016113e6565b50909695505050505050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061144f57634e487b7160e01b600052602160045260246000fd5b91905290565b6000806000806060858703121561146b57600080fd5b843561147681611285565b9350602085013567ffffffffffffffff81111561149257600080fd5b61149e8782880161129a565b909450925050604085013580151581146114b757600080fd5b939692955090935050565b6000602082840312156114d457600080fd5b8151610f8281611285565b6000602082840312156114f157600080fd5b5051919050565b6020808252600a908201526927a7262cafa0a226a4a760b11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000600160ff1b82016115475761154761151c565b5060000390565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156115875761158761154e565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156115b6576115b661154e565b604052919050565b600067ffffffffffffffff8211156115d8576115d861154e565b5060051b60200190565b600060208083850312156115f557600080fd5b825167ffffffffffffffff81111561160c57600080fd5b8301601f8101851361161d57600080fd5b805161163061162b826115be565b61158d565b81815260059190911b8201830190838101908783111561164f57600080fd5b928401925b8284101561167e57835161ffff8116811461166f5760008081fd5b82529284019290840190611654565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b60008235603e198336030181126116b557600080fd5b9190910192915050565b600060408083360312156116d257600080fd5b6116da611564565b8335815260208085013567ffffffffffffffff808211156116fa57600080fd5b90860190601f368184011261170e57600080fd5b823561171c61162b826115be565b81815260059190911b8401850190858101903683111561173b57600080fd5b8686015b838110156117c4578035868111156117575760008081fd5b870136603f8201126117695760008081fd5b888101358781111561177d5761177d61154e565b61178e818801601f19168b0161158d565b818152368d8385010111156117a35760008081fd5b818d84018c83013760009181018b019190915284525091870191870161173f565b50958701959095525093979650505050505050565b60008282518085526020808601955060208260051b8401016020860160005b8481101561182657601f19868403018952611814838351611358565b988401989250908301906001016117f8565b5090979650505050505050565b602081526000610f8260208301846117d9565b82815260406020820152600061056f60408301846117d9565b805167ffffffffffffffff8116811461187757600080fd5b919050565b60006060828403121561188e57600080fd5b6040516060810181811067ffffffffffffffff821117156118b1576118b161154e565b604052825181526118c46020840161185f565b60208201526118d56040840161185f565b60408201529392505050565b808201808211156105845761058461151c565b80820182811260008312801582168215821617156119145761191461151c565b505092915050565b818103818111156105845761058461151c565b634e487b7160e01b600052603160045260246000fdfea26469706673582212202297f68296b967a152755eee2dc9a80fefbe0dd7e735583b35a771326c88bf5f64736f6c63430008180033";
|
|
557
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
558
|
+
class PNLR__factory extends ethers_1.ContractFactory {
|
|
559
|
+
constructor(...args) {
|
|
560
|
+
if (isSuperArgs(args)) {
|
|
561
|
+
super(...args);
|
|
562
|
+
}
|
|
563
|
+
else {
|
|
564
|
+
super(_abi, _bytecode, args[0]);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
getDeployTransaction(_priceValidator, _priceValidatorType, overrides) {
|
|
568
|
+
return super.getDeployTransaction(_priceValidator, _priceValidatorType, overrides || {});
|
|
569
|
+
}
|
|
570
|
+
deploy(_priceValidator, _priceValidatorType, overrides) {
|
|
571
|
+
return super.deploy(_priceValidator, _priceValidatorType, overrides || {});
|
|
572
|
+
}
|
|
573
|
+
connect(runner) {
|
|
574
|
+
return super.connect(runner);
|
|
575
|
+
}
|
|
576
|
+
static createInterface() {
|
|
577
|
+
return new ethers_1.Interface(_abi);
|
|
578
|
+
}
|
|
579
|
+
static connect(address, runner) {
|
|
580
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
exports.PNLR__factory = PNLR__factory;
|
|
584
|
+
PNLR__factory.bytecode = _bytecode;
|
|
585
|
+
PNLR__factory.abi = _abi;
|