lynx-client 0.0.2 → 0.0.3
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/README.md +0 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/lib/addresses/lensAddresses.js +16 -16
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/index.js +5 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +78 -6
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/lib/addresses/lensAddresses.d.ts +16 -16
- package/dist/esm/lib/addresses/lensAddresses.js +16 -16
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.js +5 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +150 -59
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +60 -5
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +78 -6
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/addresses/lensAddresses.d.ts +16 -16
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +150 -59
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
- package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +60 -5
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
- package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1854 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexPoolV1__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: "address",
|
|
13
|
+
name: "target",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
name: "AddressEmptyCode",
|
|
18
|
+
type: "error",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
inputs: [
|
|
22
|
+
{
|
|
23
|
+
internalType: "address",
|
|
24
|
+
name: "account",
|
|
25
|
+
type: "address",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
name: "AddressInsufficientBalance",
|
|
29
|
+
type: "error",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
inputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: "enum LexErrors.CapType",
|
|
35
|
+
name: "",
|
|
36
|
+
type: "uint8",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "value",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "CapError",
|
|
45
|
+
type: "error",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
inputs: [],
|
|
49
|
+
name: "FailedInnerCall",
|
|
50
|
+
type: "error",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "int256",
|
|
56
|
+
name: "value",
|
|
57
|
+
type: "int256",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "SafeCastOverflowedIntToUint",
|
|
61
|
+
type: "error",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
inputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "uint256",
|
|
67
|
+
name: "value",
|
|
68
|
+
type: "uint256",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
name: "SafeCastOverflowedUintToInt",
|
|
72
|
+
type: "error",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
inputs: [
|
|
76
|
+
{
|
|
77
|
+
internalType: "address",
|
|
78
|
+
name: "token",
|
|
79
|
+
type: "address",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
name: "SafeERC20FailedOperation",
|
|
83
|
+
type: "error",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
anonymous: false,
|
|
87
|
+
inputs: [
|
|
88
|
+
{
|
|
89
|
+
indexed: true,
|
|
90
|
+
internalType: "enum LexPoolAdminEnums.LexPoolAddressesEnum",
|
|
91
|
+
name: "enumCode",
|
|
92
|
+
type: "uint8",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
indexed: false,
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "a",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "AddressUpdated",
|
|
102
|
+
type: "event",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
anonymous: false,
|
|
106
|
+
inputs: [
|
|
107
|
+
{
|
|
108
|
+
indexed: true,
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "owner",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
indexed: true,
|
|
115
|
+
internalType: "address",
|
|
116
|
+
name: "spender",
|
|
117
|
+
type: "address",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
indexed: false,
|
|
121
|
+
internalType: "uint256",
|
|
122
|
+
name: "value",
|
|
123
|
+
type: "uint256",
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
name: "Approval",
|
|
127
|
+
type: "event",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
anonymous: false,
|
|
131
|
+
inputs: [
|
|
132
|
+
{
|
|
133
|
+
indexed: true,
|
|
134
|
+
internalType: "address",
|
|
135
|
+
name: "user",
|
|
136
|
+
type: "address",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
indexed: false,
|
|
140
|
+
internalType: "uint256",
|
|
141
|
+
name: "epoch",
|
|
142
|
+
type: "uint256",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
indexed: false,
|
|
146
|
+
internalType: "uint256",
|
|
147
|
+
name: "cancelledAmount",
|
|
148
|
+
type: "uint256",
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
name: "CanceledDeposit",
|
|
152
|
+
type: "event",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
anonymous: false,
|
|
156
|
+
inputs: [
|
|
157
|
+
{
|
|
158
|
+
indexed: true,
|
|
159
|
+
internalType: "address",
|
|
160
|
+
name: "user",
|
|
161
|
+
type: "address",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
indexed: false,
|
|
165
|
+
internalType: "uint256",
|
|
166
|
+
name: "epoch",
|
|
167
|
+
type: "uint256",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
indexed: false,
|
|
171
|
+
internalType: "uint256",
|
|
172
|
+
name: "cancelledAmount",
|
|
173
|
+
type: "uint256",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
name: "CanceledRedeem",
|
|
177
|
+
type: "event",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
anonymous: false,
|
|
181
|
+
inputs: [
|
|
182
|
+
{
|
|
183
|
+
indexed: true,
|
|
184
|
+
internalType: "address",
|
|
185
|
+
name: "user",
|
|
186
|
+
type: "address",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
indexed: false,
|
|
190
|
+
internalType: "uint256",
|
|
191
|
+
name: "amount",
|
|
192
|
+
type: "uint256",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
indexed: false,
|
|
196
|
+
internalType: "uint256",
|
|
197
|
+
name: "minAmountOut",
|
|
198
|
+
type: "uint256",
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
indexed: false,
|
|
202
|
+
internalType: "uint256",
|
|
203
|
+
name: "processingEpoch",
|
|
204
|
+
type: "uint256",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
name: "DepositRequest",
|
|
208
|
+
type: "event",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
anonymous: false,
|
|
212
|
+
inputs: [
|
|
213
|
+
{
|
|
214
|
+
indexed: true,
|
|
215
|
+
internalType: "address",
|
|
216
|
+
name: "depositor",
|
|
217
|
+
type: "address",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
indexed: false,
|
|
221
|
+
internalType: "uint256",
|
|
222
|
+
name: "depositAmount",
|
|
223
|
+
type: "uint256",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
indexed: false,
|
|
227
|
+
internalType: "uint256",
|
|
228
|
+
name: "mintAmount",
|
|
229
|
+
type: "uint256",
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
name: "ImmediateDeposit",
|
|
233
|
+
type: "event",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
anonymous: false,
|
|
237
|
+
inputs: [
|
|
238
|
+
{
|
|
239
|
+
indexed: true,
|
|
240
|
+
internalType: "bool",
|
|
241
|
+
name: "value",
|
|
242
|
+
type: "bool",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
name: "ImmediateDepositAllowedToggled",
|
|
246
|
+
type: "event",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
anonymous: false,
|
|
250
|
+
inputs: [
|
|
251
|
+
{
|
|
252
|
+
indexed: true,
|
|
253
|
+
internalType: "bytes32",
|
|
254
|
+
name: "domain",
|
|
255
|
+
type: "bytes32",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
indexed: true,
|
|
259
|
+
internalType: "bytes32",
|
|
260
|
+
name: "referralCode",
|
|
261
|
+
type: "bytes32",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
indexed: true,
|
|
265
|
+
internalType: "address",
|
|
266
|
+
name: "user",
|
|
267
|
+
type: "address",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
indexed: false,
|
|
271
|
+
internalType: "uint256",
|
|
272
|
+
name: "amountUnderlying",
|
|
273
|
+
type: "uint256",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
indexed: false,
|
|
277
|
+
internalType: "uint256",
|
|
278
|
+
name: "processingEpoch",
|
|
279
|
+
type: "uint256",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
name: "LiquidityProvided",
|
|
283
|
+
type: "event",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
anonymous: false,
|
|
287
|
+
inputs: [
|
|
288
|
+
{
|
|
289
|
+
indexed: false,
|
|
290
|
+
internalType: "uint256",
|
|
291
|
+
name: "epochId",
|
|
292
|
+
type: "uint256",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
indexed: false,
|
|
296
|
+
internalType: "int256",
|
|
297
|
+
name: "reportedUnrealizedPricePnL",
|
|
298
|
+
type: "int256",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
indexed: false,
|
|
302
|
+
internalType: "uint256",
|
|
303
|
+
name: "exchangeRate",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
indexed: false,
|
|
308
|
+
internalType: "uint256",
|
|
309
|
+
name: "virtualUnderlyingBalance",
|
|
310
|
+
type: "uint256",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
indexed: false,
|
|
314
|
+
internalType: "uint256",
|
|
315
|
+
name: "totalSupply",
|
|
316
|
+
type: "uint256",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
name: "NewEpoch",
|
|
320
|
+
type: "event",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
anonymous: false,
|
|
324
|
+
inputs: [
|
|
325
|
+
{
|
|
326
|
+
indexed: true,
|
|
327
|
+
internalType: "enum LexPoolAdminEnums.LexPoolNumbersEnum",
|
|
328
|
+
name: "enumCode",
|
|
329
|
+
type: "uint8",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
indexed: false,
|
|
333
|
+
internalType: "uint256",
|
|
334
|
+
name: "value",
|
|
335
|
+
type: "uint256",
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
name: "NumberUpdated",
|
|
339
|
+
type: "event",
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
anonymous: false,
|
|
343
|
+
inputs: [
|
|
344
|
+
{
|
|
345
|
+
indexed: true,
|
|
346
|
+
internalType: "bytes32",
|
|
347
|
+
name: "domain",
|
|
348
|
+
type: "bytes32",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
indexed: true,
|
|
352
|
+
internalType: "bytes32",
|
|
353
|
+
name: "referralCode",
|
|
354
|
+
type: "bytes32",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
indexed: true,
|
|
358
|
+
internalType: "bytes32",
|
|
359
|
+
name: "positionId",
|
|
360
|
+
type: "bytes32",
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
name: "PositionRequested",
|
|
364
|
+
type: "event",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
anonymous: false,
|
|
368
|
+
inputs: [
|
|
369
|
+
{
|
|
370
|
+
indexed: true,
|
|
371
|
+
internalType: "address",
|
|
372
|
+
name: "user",
|
|
373
|
+
type: "address",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
indexed: false,
|
|
377
|
+
internalType: "bool",
|
|
378
|
+
name: "deposited",
|
|
379
|
+
type: "bool",
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
indexed: false,
|
|
383
|
+
internalType: "uint256",
|
|
384
|
+
name: "depositedAmount",
|
|
385
|
+
type: "uint256",
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
name: "ProcessedDeposit",
|
|
389
|
+
type: "event",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
anonymous: false,
|
|
393
|
+
inputs: [
|
|
394
|
+
{
|
|
395
|
+
indexed: true,
|
|
396
|
+
internalType: "address",
|
|
397
|
+
name: "user",
|
|
398
|
+
type: "address",
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
indexed: false,
|
|
402
|
+
internalType: "bool",
|
|
403
|
+
name: "redeemed",
|
|
404
|
+
type: "bool",
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
indexed: false,
|
|
408
|
+
internalType: "uint256",
|
|
409
|
+
name: "withdrawnAmount",
|
|
410
|
+
type: "uint256",
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
name: "ProcessedRedeem",
|
|
414
|
+
type: "event",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
anonymous: false,
|
|
418
|
+
inputs: [
|
|
419
|
+
{
|
|
420
|
+
indexed: true,
|
|
421
|
+
internalType: "address",
|
|
422
|
+
name: "user",
|
|
423
|
+
type: "address",
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
indexed: false,
|
|
427
|
+
internalType: "uint256",
|
|
428
|
+
name: "amount",
|
|
429
|
+
type: "uint256",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
indexed: false,
|
|
433
|
+
internalType: "uint256",
|
|
434
|
+
name: "minAmountOut",
|
|
435
|
+
type: "uint256",
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
indexed: false,
|
|
439
|
+
internalType: "uint256",
|
|
440
|
+
name: "processingEpoch",
|
|
441
|
+
type: "uint256",
|
|
442
|
+
},
|
|
443
|
+
],
|
|
444
|
+
name: "RedeemRequest",
|
|
445
|
+
type: "event",
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
anonymous: false,
|
|
449
|
+
inputs: [
|
|
450
|
+
{
|
|
451
|
+
indexed: false,
|
|
452
|
+
internalType: "address",
|
|
453
|
+
name: "_to",
|
|
454
|
+
type: "address",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
indexed: false,
|
|
458
|
+
internalType: "uint256",
|
|
459
|
+
name: "interestShare",
|
|
460
|
+
type: "uint256",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
indexed: false,
|
|
464
|
+
internalType: "uint256",
|
|
465
|
+
name: "totalFundingShare",
|
|
466
|
+
type: "uint256",
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
name: "ReservesWithdrawn",
|
|
470
|
+
type: "event",
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
anonymous: false,
|
|
474
|
+
inputs: [
|
|
475
|
+
{
|
|
476
|
+
indexed: true,
|
|
477
|
+
internalType: "address",
|
|
478
|
+
name: "from",
|
|
479
|
+
type: "address",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
indexed: true,
|
|
483
|
+
internalType: "address",
|
|
484
|
+
name: "to",
|
|
485
|
+
type: "address",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
indexed: false,
|
|
489
|
+
internalType: "uint256",
|
|
490
|
+
name: "value",
|
|
491
|
+
type: "uint256",
|
|
492
|
+
},
|
|
493
|
+
],
|
|
494
|
+
name: "Transfer",
|
|
495
|
+
type: "event",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
inputs: [],
|
|
499
|
+
name: "ACCURACY_IMPROVEMENT_SCALE",
|
|
500
|
+
outputs: [
|
|
501
|
+
{
|
|
502
|
+
internalType: "uint256",
|
|
503
|
+
name: "",
|
|
504
|
+
type: "uint256",
|
|
505
|
+
},
|
|
506
|
+
],
|
|
507
|
+
stateMutability: "view",
|
|
508
|
+
type: "function",
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
inputs: [],
|
|
512
|
+
name: "FRACTION_SCALE",
|
|
513
|
+
outputs: [
|
|
514
|
+
{
|
|
515
|
+
internalType: "uint256",
|
|
516
|
+
name: "",
|
|
517
|
+
type: "uint256",
|
|
518
|
+
},
|
|
519
|
+
],
|
|
520
|
+
stateMutability: "view",
|
|
521
|
+
type: "function",
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
inputs: [],
|
|
525
|
+
name: "LEVERAGE_SCALE",
|
|
526
|
+
outputs: [
|
|
527
|
+
{
|
|
528
|
+
internalType: "uint256",
|
|
529
|
+
name: "",
|
|
530
|
+
type: "uint256",
|
|
531
|
+
},
|
|
532
|
+
],
|
|
533
|
+
stateMutability: "view",
|
|
534
|
+
type: "function",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
inputs: [],
|
|
538
|
+
name: "PRECISION",
|
|
539
|
+
outputs: [
|
|
540
|
+
{
|
|
541
|
+
internalType: "uint256",
|
|
542
|
+
name: "",
|
|
543
|
+
type: "uint256",
|
|
544
|
+
},
|
|
545
|
+
],
|
|
546
|
+
stateMutability: "view",
|
|
547
|
+
type: "function",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
inputs: [],
|
|
551
|
+
name: "SELF_UNIT_SCALE",
|
|
552
|
+
outputs: [
|
|
553
|
+
{
|
|
554
|
+
internalType: "uint256",
|
|
555
|
+
name: "",
|
|
556
|
+
type: "uint256",
|
|
557
|
+
},
|
|
558
|
+
],
|
|
559
|
+
stateMutability: "view",
|
|
560
|
+
type: "function",
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
inputs: [
|
|
564
|
+
{
|
|
565
|
+
internalType: "contract LexPoolProxy",
|
|
566
|
+
name: "proxy",
|
|
567
|
+
type: "address",
|
|
568
|
+
},
|
|
569
|
+
],
|
|
570
|
+
name: "_become",
|
|
571
|
+
outputs: [],
|
|
572
|
+
stateMutability: "nonpayable",
|
|
573
|
+
type: "function",
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
inputs: [],
|
|
577
|
+
name: "admin",
|
|
578
|
+
outputs: [
|
|
579
|
+
{
|
|
580
|
+
internalType: "address",
|
|
581
|
+
name: "",
|
|
582
|
+
type: "address",
|
|
583
|
+
},
|
|
584
|
+
],
|
|
585
|
+
stateMutability: "view",
|
|
586
|
+
type: "function",
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
inputs: [
|
|
590
|
+
{
|
|
591
|
+
internalType: "address",
|
|
592
|
+
name: "owner",
|
|
593
|
+
type: "address",
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
internalType: "address",
|
|
597
|
+
name: "spender",
|
|
598
|
+
type: "address",
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
name: "allowance",
|
|
602
|
+
outputs: [
|
|
603
|
+
{
|
|
604
|
+
internalType: "uint256",
|
|
605
|
+
name: "",
|
|
606
|
+
type: "uint256",
|
|
607
|
+
},
|
|
608
|
+
],
|
|
609
|
+
stateMutability: "view",
|
|
610
|
+
type: "function",
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
inputs: [
|
|
614
|
+
{
|
|
615
|
+
internalType: "address",
|
|
616
|
+
name: "spender",
|
|
617
|
+
type: "address",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
internalType: "uint256",
|
|
621
|
+
name: "amount",
|
|
622
|
+
type: "uint256",
|
|
623
|
+
},
|
|
624
|
+
],
|
|
625
|
+
name: "approve",
|
|
626
|
+
outputs: [
|
|
627
|
+
{
|
|
628
|
+
internalType: "bool",
|
|
629
|
+
name: "",
|
|
630
|
+
type: "bool",
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
stateMutability: "nonpayable",
|
|
634
|
+
type: "function",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
inputs: [
|
|
638
|
+
{
|
|
639
|
+
internalType: "address",
|
|
640
|
+
name: "account",
|
|
641
|
+
type: "address",
|
|
642
|
+
},
|
|
643
|
+
],
|
|
644
|
+
name: "balanceOf",
|
|
645
|
+
outputs: [
|
|
646
|
+
{
|
|
647
|
+
internalType: "uint256",
|
|
648
|
+
name: "",
|
|
649
|
+
type: "uint256",
|
|
650
|
+
},
|
|
651
|
+
],
|
|
652
|
+
stateMutability: "view",
|
|
653
|
+
type: "function",
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
inputs: [],
|
|
657
|
+
name: "calcNextEpochStartMin",
|
|
658
|
+
outputs: [
|
|
659
|
+
{
|
|
660
|
+
internalType: "uint256",
|
|
661
|
+
name: "",
|
|
662
|
+
type: "uint256",
|
|
663
|
+
},
|
|
664
|
+
],
|
|
665
|
+
stateMutability: "view",
|
|
666
|
+
type: "function",
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
inputs: [
|
|
670
|
+
{
|
|
671
|
+
internalType: "address[]",
|
|
672
|
+
name: "users",
|
|
673
|
+
type: "address[]",
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
internalType: "uint256[]",
|
|
677
|
+
name: "epochs",
|
|
678
|
+
type: "uint256[]",
|
|
679
|
+
},
|
|
680
|
+
],
|
|
681
|
+
name: "cancelDeposits",
|
|
682
|
+
outputs: [],
|
|
683
|
+
stateMutability: "nonpayable",
|
|
684
|
+
type: "function",
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
inputs: [
|
|
688
|
+
{
|
|
689
|
+
internalType: "address[]",
|
|
690
|
+
name: "users",
|
|
691
|
+
type: "address[]",
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
internalType: "uint256[]",
|
|
695
|
+
name: "epochs",
|
|
696
|
+
type: "uint256[]",
|
|
697
|
+
},
|
|
698
|
+
],
|
|
699
|
+
name: "cancelRedeems",
|
|
700
|
+
outputs: [],
|
|
701
|
+
stateMutability: "nonpayable",
|
|
702
|
+
type: "function",
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
inputs: [],
|
|
706
|
+
name: "currentBalanceInternal",
|
|
707
|
+
outputs: [
|
|
708
|
+
{
|
|
709
|
+
internalType: "uint256",
|
|
710
|
+
name: "",
|
|
711
|
+
type: "uint256",
|
|
712
|
+
},
|
|
713
|
+
],
|
|
714
|
+
stateMutability: "view",
|
|
715
|
+
type: "function",
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
inputs: [],
|
|
719
|
+
name: "currentEpoch",
|
|
720
|
+
outputs: [
|
|
721
|
+
{
|
|
722
|
+
internalType: "uint256",
|
|
723
|
+
name: "",
|
|
724
|
+
type: "uint256",
|
|
725
|
+
},
|
|
726
|
+
],
|
|
727
|
+
stateMutability: "view",
|
|
728
|
+
type: "function",
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
inputs: [],
|
|
732
|
+
name: "currentExchangeRate",
|
|
733
|
+
outputs: [
|
|
734
|
+
{
|
|
735
|
+
internalType: "uint256",
|
|
736
|
+
name: "",
|
|
737
|
+
type: "uint256",
|
|
738
|
+
},
|
|
739
|
+
],
|
|
740
|
+
stateMutability: "view",
|
|
741
|
+
type: "function",
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
inputs: [],
|
|
745
|
+
name: "currentVirtualUtilization",
|
|
746
|
+
outputs: [
|
|
747
|
+
{
|
|
748
|
+
internalType: "uint256",
|
|
749
|
+
name: "",
|
|
750
|
+
type: "uint256",
|
|
751
|
+
},
|
|
752
|
+
],
|
|
753
|
+
stateMutability: "view",
|
|
754
|
+
type: "function",
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
inputs: [
|
|
758
|
+
{
|
|
759
|
+
internalType: "uint256",
|
|
760
|
+
name: "totalBorrows",
|
|
761
|
+
type: "uint256",
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
internalType: "uint256",
|
|
765
|
+
name: "interestShare",
|
|
766
|
+
type: "uint256",
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
internalType: "int256",
|
|
770
|
+
name: "unrealizedFunding",
|
|
771
|
+
type: "int256",
|
|
772
|
+
},
|
|
773
|
+
],
|
|
774
|
+
name: "currentVirtualUtilization",
|
|
775
|
+
outputs: [
|
|
776
|
+
{
|
|
777
|
+
internalType: "uint256",
|
|
778
|
+
name: "",
|
|
779
|
+
type: "uint256",
|
|
780
|
+
},
|
|
781
|
+
],
|
|
782
|
+
stateMutability: "view",
|
|
783
|
+
type: "function",
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
inputs: [],
|
|
787
|
+
name: "decimals",
|
|
788
|
+
outputs: [
|
|
789
|
+
{
|
|
790
|
+
internalType: "uint8",
|
|
791
|
+
name: "",
|
|
792
|
+
type: "uint8",
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
stateMutability: "pure",
|
|
796
|
+
type: "function",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
inputs: [],
|
|
800
|
+
name: "epochDuration",
|
|
801
|
+
outputs: [
|
|
802
|
+
{
|
|
803
|
+
internalType: "uint256",
|
|
804
|
+
name: "",
|
|
805
|
+
type: "uint256",
|
|
806
|
+
},
|
|
807
|
+
],
|
|
808
|
+
stateMutability: "view",
|
|
809
|
+
type: "function",
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
inputs: [],
|
|
813
|
+
name: "epochsDelayDeposit",
|
|
814
|
+
outputs: [
|
|
815
|
+
{
|
|
816
|
+
internalType: "uint256",
|
|
817
|
+
name: "",
|
|
818
|
+
type: "uint256",
|
|
819
|
+
},
|
|
820
|
+
],
|
|
821
|
+
stateMutability: "view",
|
|
822
|
+
type: "function",
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
inputs: [],
|
|
826
|
+
name: "epochsDelayRedeem",
|
|
827
|
+
outputs: [
|
|
828
|
+
{
|
|
829
|
+
internalType: "uint256",
|
|
830
|
+
name: "",
|
|
831
|
+
type: "uint256",
|
|
832
|
+
},
|
|
833
|
+
],
|
|
834
|
+
stateMutability: "view",
|
|
835
|
+
type: "function",
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
inputs: [
|
|
839
|
+
{
|
|
840
|
+
internalType: "uint256",
|
|
841
|
+
name: "epoch",
|
|
842
|
+
type: "uint256",
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
internalType: "uint256",
|
|
846
|
+
name: "indexFrom",
|
|
847
|
+
type: "uint256",
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
internalType: "uint256",
|
|
851
|
+
name: "count",
|
|
852
|
+
type: "uint256",
|
|
853
|
+
},
|
|
854
|
+
],
|
|
855
|
+
name: "getDepositors",
|
|
856
|
+
outputs: [
|
|
857
|
+
{
|
|
858
|
+
internalType: "address[]",
|
|
859
|
+
name: "depositors",
|
|
860
|
+
type: "address[]",
|
|
861
|
+
},
|
|
862
|
+
],
|
|
863
|
+
stateMutability: "view",
|
|
864
|
+
type: "function",
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
inputs: [
|
|
868
|
+
{
|
|
869
|
+
internalType: "uint256",
|
|
870
|
+
name: "epoch",
|
|
871
|
+
type: "uint256",
|
|
872
|
+
},
|
|
873
|
+
],
|
|
874
|
+
name: "getDepositorsCount",
|
|
875
|
+
outputs: [
|
|
876
|
+
{
|
|
877
|
+
internalType: "uint256",
|
|
878
|
+
name: "",
|
|
879
|
+
type: "uint256",
|
|
880
|
+
},
|
|
881
|
+
],
|
|
882
|
+
stateMutability: "view",
|
|
883
|
+
type: "function",
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
inputs: [
|
|
887
|
+
{
|
|
888
|
+
internalType: "uint256",
|
|
889
|
+
name: "epoch",
|
|
890
|
+
type: "uint256",
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
internalType: "uint256",
|
|
894
|
+
name: "indexFrom",
|
|
895
|
+
type: "uint256",
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
internalType: "uint256",
|
|
899
|
+
name: "count",
|
|
900
|
+
type: "uint256",
|
|
901
|
+
},
|
|
902
|
+
],
|
|
903
|
+
name: "getRedeemers",
|
|
904
|
+
outputs: [
|
|
905
|
+
{
|
|
906
|
+
internalType: "address[]",
|
|
907
|
+
name: "redeemers",
|
|
908
|
+
type: "address[]",
|
|
909
|
+
},
|
|
910
|
+
],
|
|
911
|
+
stateMutability: "view",
|
|
912
|
+
type: "function",
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
inputs: [
|
|
916
|
+
{
|
|
917
|
+
internalType: "uint256",
|
|
918
|
+
name: "epoch",
|
|
919
|
+
type: "uint256",
|
|
920
|
+
},
|
|
921
|
+
],
|
|
922
|
+
name: "getRedeemersCount",
|
|
923
|
+
outputs: [
|
|
924
|
+
{
|
|
925
|
+
internalType: "uint256",
|
|
926
|
+
name: "",
|
|
927
|
+
type: "uint256",
|
|
928
|
+
},
|
|
929
|
+
],
|
|
930
|
+
stateMutability: "view",
|
|
931
|
+
type: "function",
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
inputs: [
|
|
935
|
+
{
|
|
936
|
+
internalType: "uint256",
|
|
937
|
+
name: "depositAmount",
|
|
938
|
+
type: "uint256",
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
internalType: "bytes32",
|
|
942
|
+
name: "domain",
|
|
943
|
+
type: "bytes32",
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
internalType: "bytes32",
|
|
947
|
+
name: "referralCode",
|
|
948
|
+
type: "bytes32",
|
|
949
|
+
},
|
|
950
|
+
],
|
|
951
|
+
name: "immediateDeposit",
|
|
952
|
+
outputs: [],
|
|
953
|
+
stateMutability: "nonpayable",
|
|
954
|
+
type: "function",
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
inputs: [],
|
|
958
|
+
name: "immediateDepositAllowed",
|
|
959
|
+
outputs: [
|
|
960
|
+
{
|
|
961
|
+
internalType: "bool",
|
|
962
|
+
name: "",
|
|
963
|
+
type: "bool",
|
|
964
|
+
},
|
|
965
|
+
],
|
|
966
|
+
stateMutability: "view",
|
|
967
|
+
type: "function",
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
inputs: [],
|
|
971
|
+
name: "implementation",
|
|
972
|
+
outputs: [
|
|
973
|
+
{
|
|
974
|
+
internalType: "address",
|
|
975
|
+
name: "",
|
|
976
|
+
type: "address",
|
|
977
|
+
},
|
|
978
|
+
],
|
|
979
|
+
stateMutability: "view",
|
|
980
|
+
type: "function",
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
inputs: [
|
|
984
|
+
{
|
|
985
|
+
internalType: "contract ERC20",
|
|
986
|
+
name: "_underlying",
|
|
987
|
+
type: "address",
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
internalType: "contract ITradingFloorV1",
|
|
991
|
+
name: "_tradingFloor",
|
|
992
|
+
type: "address",
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
internalType: "uint256",
|
|
996
|
+
name: "_epochDuration",
|
|
997
|
+
type: "uint256",
|
|
998
|
+
},
|
|
999
|
+
],
|
|
1000
|
+
name: "initialize",
|
|
1001
|
+
outputs: [],
|
|
1002
|
+
stateMutability: "nonpayable",
|
|
1003
|
+
type: "function",
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
inputs: [
|
|
1007
|
+
{
|
|
1008
|
+
internalType: "contract ITradingFloorV1",
|
|
1009
|
+
name: "_tradingFloor",
|
|
1010
|
+
type: "address",
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
internalType: "contract IERC20",
|
|
1014
|
+
name: "_underlying",
|
|
1015
|
+
type: "address",
|
|
1016
|
+
},
|
|
1017
|
+
],
|
|
1018
|
+
name: "initializeLexCommon",
|
|
1019
|
+
outputs: [],
|
|
1020
|
+
stateMutability: "nonpayable",
|
|
1021
|
+
type: "function",
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
inputs: [
|
|
1025
|
+
{
|
|
1026
|
+
internalType: "string",
|
|
1027
|
+
name: "_name",
|
|
1028
|
+
type: "string",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
internalType: "string",
|
|
1032
|
+
name: "_symbol",
|
|
1033
|
+
type: "string",
|
|
1034
|
+
},
|
|
1035
|
+
],
|
|
1036
|
+
name: "initializeLexERC20",
|
|
1037
|
+
outputs: [],
|
|
1038
|
+
stateMutability: "nonpayable",
|
|
1039
|
+
type: "function",
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
inputs: [],
|
|
1043
|
+
name: "isUtilizationForLPsValid",
|
|
1044
|
+
outputs: [
|
|
1045
|
+
{
|
|
1046
|
+
internalType: "bool",
|
|
1047
|
+
name: "",
|
|
1048
|
+
type: "bool",
|
|
1049
|
+
},
|
|
1050
|
+
],
|
|
1051
|
+
stateMutability: "view",
|
|
1052
|
+
type: "function",
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
inputs: [],
|
|
1056
|
+
name: "maxExtraWithdrawalAmountF",
|
|
1057
|
+
outputs: [
|
|
1058
|
+
{
|
|
1059
|
+
internalType: "uint256",
|
|
1060
|
+
name: "",
|
|
1061
|
+
type: "uint256",
|
|
1062
|
+
},
|
|
1063
|
+
],
|
|
1064
|
+
stateMutability: "view",
|
|
1065
|
+
type: "function",
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
inputs: [],
|
|
1069
|
+
name: "minDepositAmount",
|
|
1070
|
+
outputs: [
|
|
1071
|
+
{
|
|
1072
|
+
internalType: "uint256",
|
|
1073
|
+
name: "",
|
|
1074
|
+
type: "uint256",
|
|
1075
|
+
},
|
|
1076
|
+
],
|
|
1077
|
+
stateMutability: "view",
|
|
1078
|
+
type: "function",
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
inputs: [],
|
|
1082
|
+
name: "name",
|
|
1083
|
+
outputs: [
|
|
1084
|
+
{
|
|
1085
|
+
internalType: "string",
|
|
1086
|
+
name: "",
|
|
1087
|
+
type: "string",
|
|
1088
|
+
},
|
|
1089
|
+
],
|
|
1090
|
+
stateMutability: "view",
|
|
1091
|
+
type: "function",
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
inputs: [
|
|
1095
|
+
{
|
|
1096
|
+
internalType: "int256",
|
|
1097
|
+
name: "totalUnrealizedPricePnL",
|
|
1098
|
+
type: "int256",
|
|
1099
|
+
},
|
|
1100
|
+
],
|
|
1101
|
+
name: "nextEpoch",
|
|
1102
|
+
outputs: [
|
|
1103
|
+
{
|
|
1104
|
+
internalType: "uint256",
|
|
1105
|
+
name: "newExchangeRate",
|
|
1106
|
+
type: "uint256",
|
|
1107
|
+
},
|
|
1108
|
+
],
|
|
1109
|
+
stateMutability: "nonpayable",
|
|
1110
|
+
type: "function",
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
inputs: [],
|
|
1114
|
+
name: "nextEpochStartMin",
|
|
1115
|
+
outputs: [
|
|
1116
|
+
{
|
|
1117
|
+
internalType: "uint256",
|
|
1118
|
+
name: "",
|
|
1119
|
+
type: "uint256",
|
|
1120
|
+
},
|
|
1121
|
+
],
|
|
1122
|
+
stateMutability: "view",
|
|
1123
|
+
type: "function",
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
inputs: [],
|
|
1127
|
+
name: "pendingAdmin",
|
|
1128
|
+
outputs: [
|
|
1129
|
+
{
|
|
1130
|
+
internalType: "address",
|
|
1131
|
+
name: "",
|
|
1132
|
+
type: "address",
|
|
1133
|
+
},
|
|
1134
|
+
],
|
|
1135
|
+
stateMutability: "view",
|
|
1136
|
+
type: "function",
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
inputs: [],
|
|
1140
|
+
name: "pendingDepositAmount",
|
|
1141
|
+
outputs: [
|
|
1142
|
+
{
|
|
1143
|
+
internalType: "uint256",
|
|
1144
|
+
name: "",
|
|
1145
|
+
type: "uint256",
|
|
1146
|
+
},
|
|
1147
|
+
],
|
|
1148
|
+
stateMutability: "view",
|
|
1149
|
+
type: "function",
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
inputs: [
|
|
1153
|
+
{
|
|
1154
|
+
internalType: "uint256",
|
|
1155
|
+
name: "",
|
|
1156
|
+
type: "uint256",
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
internalType: "uint256",
|
|
1160
|
+
name: "",
|
|
1161
|
+
type: "uint256",
|
|
1162
|
+
},
|
|
1163
|
+
],
|
|
1164
|
+
name: "pendingDepositorsArr",
|
|
1165
|
+
outputs: [
|
|
1166
|
+
{
|
|
1167
|
+
internalType: "address",
|
|
1168
|
+
name: "",
|
|
1169
|
+
type: "address",
|
|
1170
|
+
},
|
|
1171
|
+
],
|
|
1172
|
+
stateMutability: "view",
|
|
1173
|
+
type: "function",
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
inputs: [
|
|
1177
|
+
{
|
|
1178
|
+
internalType: "uint256",
|
|
1179
|
+
name: "",
|
|
1180
|
+
type: "uint256",
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
internalType: "address",
|
|
1184
|
+
name: "",
|
|
1185
|
+
type: "address",
|
|
1186
|
+
},
|
|
1187
|
+
],
|
|
1188
|
+
name: "pendingDeposits",
|
|
1189
|
+
outputs: [
|
|
1190
|
+
{
|
|
1191
|
+
internalType: "uint256",
|
|
1192
|
+
name: "amount",
|
|
1193
|
+
type: "uint256",
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
internalType: "uint256",
|
|
1197
|
+
name: "minAmountOut",
|
|
1198
|
+
type: "uint256",
|
|
1199
|
+
},
|
|
1200
|
+
],
|
|
1201
|
+
stateMutability: "view",
|
|
1202
|
+
type: "function",
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
inputs: [],
|
|
1206
|
+
name: "pendingImplementation",
|
|
1207
|
+
outputs: [
|
|
1208
|
+
{
|
|
1209
|
+
internalType: "address",
|
|
1210
|
+
name: "",
|
|
1211
|
+
type: "address",
|
|
1212
|
+
},
|
|
1213
|
+
],
|
|
1214
|
+
stateMutability: "view",
|
|
1215
|
+
type: "function",
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
inputs: [
|
|
1219
|
+
{
|
|
1220
|
+
internalType: "uint256",
|
|
1221
|
+
name: "",
|
|
1222
|
+
type: "uint256",
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
internalType: "uint256",
|
|
1226
|
+
name: "",
|
|
1227
|
+
type: "uint256",
|
|
1228
|
+
},
|
|
1229
|
+
],
|
|
1230
|
+
name: "pendingRedeemersArr",
|
|
1231
|
+
outputs: [
|
|
1232
|
+
{
|
|
1233
|
+
internalType: "address",
|
|
1234
|
+
name: "",
|
|
1235
|
+
type: "address",
|
|
1236
|
+
},
|
|
1237
|
+
],
|
|
1238
|
+
stateMutability: "view",
|
|
1239
|
+
type: "function",
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
inputs: [
|
|
1243
|
+
{
|
|
1244
|
+
internalType: "uint256",
|
|
1245
|
+
name: "",
|
|
1246
|
+
type: "uint256",
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
internalType: "address",
|
|
1250
|
+
name: "",
|
|
1251
|
+
type: "address",
|
|
1252
|
+
},
|
|
1253
|
+
],
|
|
1254
|
+
name: "pendingRedeems",
|
|
1255
|
+
outputs: [
|
|
1256
|
+
{
|
|
1257
|
+
internalType: "uint256",
|
|
1258
|
+
name: "amount",
|
|
1259
|
+
type: "uint256",
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
internalType: "uint256",
|
|
1263
|
+
name: "minAmountOut",
|
|
1264
|
+
type: "uint256",
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
internalType: "uint256",
|
|
1268
|
+
name: "maxAmountOut",
|
|
1269
|
+
type: "uint256",
|
|
1270
|
+
},
|
|
1271
|
+
],
|
|
1272
|
+
stateMutability: "view",
|
|
1273
|
+
type: "function",
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
inputs: [],
|
|
1277
|
+
name: "pendingWithdrawalAmount",
|
|
1278
|
+
outputs: [
|
|
1279
|
+
{
|
|
1280
|
+
internalType: "uint256",
|
|
1281
|
+
name: "",
|
|
1282
|
+
type: "uint256",
|
|
1283
|
+
},
|
|
1284
|
+
],
|
|
1285
|
+
stateMutability: "view",
|
|
1286
|
+
type: "function",
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
inputs: [],
|
|
1290
|
+
name: "pnlRole",
|
|
1291
|
+
outputs: [
|
|
1292
|
+
{
|
|
1293
|
+
internalType: "address",
|
|
1294
|
+
name: "",
|
|
1295
|
+
type: "address",
|
|
1296
|
+
},
|
|
1297
|
+
],
|
|
1298
|
+
stateMutability: "view",
|
|
1299
|
+
type: "function",
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
inputs: [],
|
|
1303
|
+
name: "poolAccountant",
|
|
1304
|
+
outputs: [
|
|
1305
|
+
{
|
|
1306
|
+
internalType: "contract IPoolAccountantFunctionality",
|
|
1307
|
+
name: "",
|
|
1308
|
+
type: "address",
|
|
1309
|
+
},
|
|
1310
|
+
],
|
|
1311
|
+
stateMutability: "view",
|
|
1312
|
+
type: "function",
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
inputs: [
|
|
1316
|
+
{
|
|
1317
|
+
internalType: "address[]",
|
|
1318
|
+
name: "users",
|
|
1319
|
+
type: "address[]",
|
|
1320
|
+
},
|
|
1321
|
+
],
|
|
1322
|
+
name: "processDeposit",
|
|
1323
|
+
outputs: [
|
|
1324
|
+
{
|
|
1325
|
+
internalType: "uint256",
|
|
1326
|
+
name: "amountDeposited",
|
|
1327
|
+
type: "uint256",
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
internalType: "uint256",
|
|
1331
|
+
name: "amountCanceled",
|
|
1332
|
+
type: "uint256",
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
internalType: "uint256",
|
|
1336
|
+
name: "counterDeposited",
|
|
1337
|
+
type: "uint256",
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
internalType: "uint256",
|
|
1341
|
+
name: "counterCanceled",
|
|
1342
|
+
type: "uint256",
|
|
1343
|
+
},
|
|
1344
|
+
],
|
|
1345
|
+
stateMutability: "nonpayable",
|
|
1346
|
+
type: "function",
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
inputs: [
|
|
1350
|
+
{
|
|
1351
|
+
internalType: "address[]",
|
|
1352
|
+
name: "users",
|
|
1353
|
+
type: "address[]",
|
|
1354
|
+
},
|
|
1355
|
+
],
|
|
1356
|
+
name: "processRedeems",
|
|
1357
|
+
outputs: [
|
|
1358
|
+
{
|
|
1359
|
+
internalType: "uint256",
|
|
1360
|
+
name: "amountRedeemed",
|
|
1361
|
+
type: "uint256",
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
internalType: "uint256",
|
|
1365
|
+
name: "amountCanceled",
|
|
1366
|
+
type: "uint256",
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
internalType: "uint256",
|
|
1370
|
+
name: "counterRedeemed",
|
|
1371
|
+
type: "uint256",
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
internalType: "uint256",
|
|
1375
|
+
name: "counterCanceled",
|
|
1376
|
+
type: "uint256",
|
|
1377
|
+
},
|
|
1378
|
+
],
|
|
1379
|
+
stateMutability: "nonpayable",
|
|
1380
|
+
type: "function",
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
inputs: [
|
|
1384
|
+
{
|
|
1385
|
+
internalType: "address",
|
|
1386
|
+
name: "_to",
|
|
1387
|
+
type: "address",
|
|
1388
|
+
},
|
|
1389
|
+
],
|
|
1390
|
+
name: "reduceReserves",
|
|
1391
|
+
outputs: [
|
|
1392
|
+
{
|
|
1393
|
+
internalType: "uint256",
|
|
1394
|
+
name: "interestShare",
|
|
1395
|
+
type: "uint256",
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
internalType: "uint256",
|
|
1399
|
+
name: "totalFundingShare",
|
|
1400
|
+
type: "uint256",
|
|
1401
|
+
},
|
|
1402
|
+
],
|
|
1403
|
+
stateMutability: "nonpayable",
|
|
1404
|
+
type: "function",
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
inputs: [],
|
|
1408
|
+
name: "registry",
|
|
1409
|
+
outputs: [
|
|
1410
|
+
{
|
|
1411
|
+
internalType: "address",
|
|
1412
|
+
name: "",
|
|
1413
|
+
type: "address",
|
|
1414
|
+
},
|
|
1415
|
+
],
|
|
1416
|
+
stateMutability: "view",
|
|
1417
|
+
type: "function",
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
inputs: [
|
|
1421
|
+
{
|
|
1422
|
+
internalType: "uint256",
|
|
1423
|
+
name: "amount",
|
|
1424
|
+
type: "uint256",
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
internalType: "uint256",
|
|
1428
|
+
name: "minAmountOut",
|
|
1429
|
+
type: "uint256",
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
internalType: "bytes32",
|
|
1433
|
+
name: "domain",
|
|
1434
|
+
type: "bytes32",
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
internalType: "bytes32",
|
|
1438
|
+
name: "referralCode",
|
|
1439
|
+
type: "bytes32",
|
|
1440
|
+
},
|
|
1441
|
+
],
|
|
1442
|
+
name: "requestDeposit",
|
|
1443
|
+
outputs: [],
|
|
1444
|
+
stateMutability: "nonpayable",
|
|
1445
|
+
type: "function",
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
inputs: [
|
|
1449
|
+
{
|
|
1450
|
+
internalType: "address",
|
|
1451
|
+
name: "user",
|
|
1452
|
+
type: "address",
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
internalType: "uint256",
|
|
1456
|
+
name: "amount",
|
|
1457
|
+
type: "uint256",
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
internalType: "uint256",
|
|
1461
|
+
name: "minAmountOut",
|
|
1462
|
+
type: "uint256",
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
internalType: "bytes32",
|
|
1466
|
+
name: "domain",
|
|
1467
|
+
type: "bytes32",
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
internalType: "bytes32",
|
|
1471
|
+
name: "referralCode",
|
|
1472
|
+
type: "bytes32",
|
|
1473
|
+
},
|
|
1474
|
+
],
|
|
1475
|
+
name: "requestDepositViaIntent",
|
|
1476
|
+
outputs: [],
|
|
1477
|
+
stateMutability: "nonpayable",
|
|
1478
|
+
type: "function",
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
inputs: [
|
|
1482
|
+
{
|
|
1483
|
+
internalType: "uint256",
|
|
1484
|
+
name: "amount",
|
|
1485
|
+
type: "uint256",
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
internalType: "uint256",
|
|
1489
|
+
name: "minAmountOut",
|
|
1490
|
+
type: "uint256",
|
|
1491
|
+
},
|
|
1492
|
+
],
|
|
1493
|
+
name: "requestRedeem",
|
|
1494
|
+
outputs: [],
|
|
1495
|
+
stateMutability: "nonpayable",
|
|
1496
|
+
type: "function",
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
inputs: [
|
|
1500
|
+
{
|
|
1501
|
+
internalType: "address",
|
|
1502
|
+
name: "user",
|
|
1503
|
+
type: "address",
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
internalType: "uint256",
|
|
1507
|
+
name: "amount",
|
|
1508
|
+
type: "uint256",
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
internalType: "uint256",
|
|
1512
|
+
name: "minAmountOut",
|
|
1513
|
+
type: "uint256",
|
|
1514
|
+
},
|
|
1515
|
+
],
|
|
1516
|
+
name: "requestRedeemViaIntent",
|
|
1517
|
+
outputs: [],
|
|
1518
|
+
stateMutability: "nonpayable",
|
|
1519
|
+
type: "function",
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
inputs: [
|
|
1523
|
+
{
|
|
1524
|
+
internalType: "address",
|
|
1525
|
+
name: "to",
|
|
1526
|
+
type: "address",
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
internalType: "uint256",
|
|
1530
|
+
name: "amount",
|
|
1531
|
+
type: "uint256",
|
|
1532
|
+
},
|
|
1533
|
+
],
|
|
1534
|
+
name: "sendAssetToTrader",
|
|
1535
|
+
outputs: [],
|
|
1536
|
+
stateMutability: "nonpayable",
|
|
1537
|
+
type: "function",
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
inputs: [
|
|
1541
|
+
{
|
|
1542
|
+
internalType: "uint256",
|
|
1543
|
+
name: "duration",
|
|
1544
|
+
type: "uint256",
|
|
1545
|
+
},
|
|
1546
|
+
],
|
|
1547
|
+
name: "setEpochDuration",
|
|
1548
|
+
outputs: [],
|
|
1549
|
+
stateMutability: "nonpayable",
|
|
1550
|
+
type: "function",
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
inputs: [
|
|
1554
|
+
{
|
|
1555
|
+
internalType: "uint256",
|
|
1556
|
+
name: "delay",
|
|
1557
|
+
type: "uint256",
|
|
1558
|
+
},
|
|
1559
|
+
],
|
|
1560
|
+
name: "setEpochsDelayDeposit",
|
|
1561
|
+
outputs: [],
|
|
1562
|
+
stateMutability: "nonpayable",
|
|
1563
|
+
type: "function",
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
inputs: [
|
|
1567
|
+
{
|
|
1568
|
+
internalType: "uint256",
|
|
1569
|
+
name: "delay",
|
|
1570
|
+
type: "uint256",
|
|
1571
|
+
},
|
|
1572
|
+
],
|
|
1573
|
+
name: "setEpochsDelayRedeem",
|
|
1574
|
+
outputs: [],
|
|
1575
|
+
stateMutability: "nonpayable",
|
|
1576
|
+
type: "function",
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
inputs: [
|
|
1580
|
+
{
|
|
1581
|
+
internalType: "uint256",
|
|
1582
|
+
name: "maxExtra",
|
|
1583
|
+
type: "uint256",
|
|
1584
|
+
},
|
|
1585
|
+
],
|
|
1586
|
+
name: "setMaxExtraWithdrawalAmountF",
|
|
1587
|
+
outputs: [],
|
|
1588
|
+
stateMutability: "nonpayable",
|
|
1589
|
+
type: "function",
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
inputs: [
|
|
1593
|
+
{
|
|
1594
|
+
internalType: "uint256",
|
|
1595
|
+
name: "amount",
|
|
1596
|
+
type: "uint256",
|
|
1597
|
+
},
|
|
1598
|
+
],
|
|
1599
|
+
name: "setMinDepositAmount",
|
|
1600
|
+
outputs: [],
|
|
1601
|
+
stateMutability: "nonpayable",
|
|
1602
|
+
type: "function",
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
inputs: [
|
|
1606
|
+
{
|
|
1607
|
+
internalType: "address",
|
|
1608
|
+
name: "pnl",
|
|
1609
|
+
type: "address",
|
|
1610
|
+
},
|
|
1611
|
+
],
|
|
1612
|
+
name: "setPnlRole",
|
|
1613
|
+
outputs: [],
|
|
1614
|
+
stateMutability: "nonpayable",
|
|
1615
|
+
type: "function",
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
inputs: [
|
|
1619
|
+
{
|
|
1620
|
+
internalType: "contract IPoolAccountantFunctionality",
|
|
1621
|
+
name: "_poolAccountant",
|
|
1622
|
+
type: "address",
|
|
1623
|
+
},
|
|
1624
|
+
],
|
|
1625
|
+
name: "setPoolAccountant",
|
|
1626
|
+
outputs: [],
|
|
1627
|
+
stateMutability: "nonpayable",
|
|
1628
|
+
type: "function",
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
inputs: [],
|
|
1632
|
+
name: "symbol",
|
|
1633
|
+
outputs: [
|
|
1634
|
+
{
|
|
1635
|
+
internalType: "string",
|
|
1636
|
+
name: "",
|
|
1637
|
+
type: "string",
|
|
1638
|
+
},
|
|
1639
|
+
],
|
|
1640
|
+
stateMutability: "view",
|
|
1641
|
+
type: "function",
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
inputs: [],
|
|
1645
|
+
name: "toggleImmediateDepositAllowed",
|
|
1646
|
+
outputs: [],
|
|
1647
|
+
stateMutability: "nonpayable",
|
|
1648
|
+
type: "function",
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
inputs: [],
|
|
1652
|
+
name: "totalSupply",
|
|
1653
|
+
outputs: [
|
|
1654
|
+
{
|
|
1655
|
+
internalType: "uint256",
|
|
1656
|
+
name: "",
|
|
1657
|
+
type: "uint256",
|
|
1658
|
+
},
|
|
1659
|
+
],
|
|
1660
|
+
stateMutability: "view",
|
|
1661
|
+
type: "function",
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
inputs: [],
|
|
1665
|
+
name: "tradingFloor",
|
|
1666
|
+
outputs: [
|
|
1667
|
+
{
|
|
1668
|
+
internalType: "contract ITradingFloorV1",
|
|
1669
|
+
name: "",
|
|
1670
|
+
type: "address",
|
|
1671
|
+
},
|
|
1672
|
+
],
|
|
1673
|
+
stateMutability: "view",
|
|
1674
|
+
type: "function",
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
inputs: [
|
|
1678
|
+
{
|
|
1679
|
+
internalType: "address",
|
|
1680
|
+
name: "recipient",
|
|
1681
|
+
type: "address",
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
internalType: "uint256",
|
|
1685
|
+
name: "amount",
|
|
1686
|
+
type: "uint256",
|
|
1687
|
+
},
|
|
1688
|
+
],
|
|
1689
|
+
name: "transfer",
|
|
1690
|
+
outputs: [
|
|
1691
|
+
{
|
|
1692
|
+
internalType: "bool",
|
|
1693
|
+
name: "",
|
|
1694
|
+
type: "bool",
|
|
1695
|
+
},
|
|
1696
|
+
],
|
|
1697
|
+
stateMutability: "nonpayable",
|
|
1698
|
+
type: "function",
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
inputs: [
|
|
1702
|
+
{
|
|
1703
|
+
internalType: "address",
|
|
1704
|
+
name: "sender",
|
|
1705
|
+
type: "address",
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
internalType: "address",
|
|
1709
|
+
name: "recipient",
|
|
1710
|
+
type: "address",
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
internalType: "uint256",
|
|
1714
|
+
name: "amount",
|
|
1715
|
+
type: "uint256",
|
|
1716
|
+
},
|
|
1717
|
+
],
|
|
1718
|
+
name: "transferFrom",
|
|
1719
|
+
outputs: [
|
|
1720
|
+
{
|
|
1721
|
+
internalType: "bool",
|
|
1722
|
+
name: "",
|
|
1723
|
+
type: "bool",
|
|
1724
|
+
},
|
|
1725
|
+
],
|
|
1726
|
+
stateMutability: "nonpayable",
|
|
1727
|
+
type: "function",
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
inputs: [],
|
|
1731
|
+
name: "underlying",
|
|
1732
|
+
outputs: [
|
|
1733
|
+
{
|
|
1734
|
+
internalType: "contract IERC20",
|
|
1735
|
+
name: "",
|
|
1736
|
+
type: "address",
|
|
1737
|
+
},
|
|
1738
|
+
],
|
|
1739
|
+
stateMutability: "view",
|
|
1740
|
+
type: "function",
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
inputs: [
|
|
1744
|
+
{
|
|
1745
|
+
internalType: "uint256",
|
|
1746
|
+
name: "underlyingAmount",
|
|
1747
|
+
type: "uint256",
|
|
1748
|
+
},
|
|
1749
|
+
],
|
|
1750
|
+
name: "underlyingAmountToOwnAmount",
|
|
1751
|
+
outputs: [
|
|
1752
|
+
{
|
|
1753
|
+
internalType: "uint256",
|
|
1754
|
+
name: "ownAmount",
|
|
1755
|
+
type: "uint256",
|
|
1756
|
+
},
|
|
1757
|
+
],
|
|
1758
|
+
stateMutability: "view",
|
|
1759
|
+
type: "function",
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
inputs: [],
|
|
1763
|
+
name: "underlyingBalanceForExchangeRate",
|
|
1764
|
+
outputs: [
|
|
1765
|
+
{
|
|
1766
|
+
internalType: "uint256",
|
|
1767
|
+
name: "",
|
|
1768
|
+
type: "uint256",
|
|
1769
|
+
},
|
|
1770
|
+
],
|
|
1771
|
+
stateMutability: "view",
|
|
1772
|
+
type: "function",
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
inputs: [],
|
|
1776
|
+
name: "underlyingDecimals",
|
|
1777
|
+
outputs: [
|
|
1778
|
+
{
|
|
1779
|
+
internalType: "uint256",
|
|
1780
|
+
name: "",
|
|
1781
|
+
type: "uint256",
|
|
1782
|
+
},
|
|
1783
|
+
],
|
|
1784
|
+
stateMutability: "view",
|
|
1785
|
+
type: "function",
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
inputs: [
|
|
1789
|
+
{
|
|
1790
|
+
internalType: "uint256",
|
|
1791
|
+
name: "extraAmount",
|
|
1792
|
+
type: "uint256",
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
internalType: "int256",
|
|
1796
|
+
name: "unrealizedFunding",
|
|
1797
|
+
type: "int256",
|
|
1798
|
+
},
|
|
1799
|
+
],
|
|
1800
|
+
name: "virtualBalanceForUtilization",
|
|
1801
|
+
outputs: [
|
|
1802
|
+
{
|
|
1803
|
+
internalType: "uint256",
|
|
1804
|
+
name: "",
|
|
1805
|
+
type: "uint256",
|
|
1806
|
+
},
|
|
1807
|
+
],
|
|
1808
|
+
stateMutability: "view",
|
|
1809
|
+
type: "function",
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
inputs: [],
|
|
1813
|
+
name: "virtualBalanceForUtilization",
|
|
1814
|
+
outputs: [
|
|
1815
|
+
{
|
|
1816
|
+
internalType: "uint256",
|
|
1817
|
+
name: "",
|
|
1818
|
+
type: "uint256",
|
|
1819
|
+
},
|
|
1820
|
+
],
|
|
1821
|
+
stateMutability: "view",
|
|
1822
|
+
type: "function",
|
|
1823
|
+
},
|
|
1824
|
+
];
|
|
1825
|
+
const _bytecode = "0x608060405234801561001057600080fd5b50600080546001600160a01b03191633179055614417806100326000396000f3fe608060405234801561001057600080fd5b50600436106104545760003560e01c806380193b2611610241578063c12d636b1161013b578063e1618fe8116100c3578063ef693fe411610087578063ef693fe4146109c6578063f2fc6e66146109cf578063f851a440146109e2578063f87fc31c146109f5578063ff9d4ff314610a0857600080fd5b8063e1618fe81461097c578063e5abb5a51461098f578063eb449c2f146109a2578063eb6ced71146109b5578063eda6d6be146109bd57600080fd5b8063cb5460fd1161010a578063cb5460fd146108c0578063d03bfffd146108d3578063d3c5b5f8146108db578063d3fd3cf514610930578063dd62ed3e1461094357600080fd5b8063c12d636b1461087e578063c6775bad14610891578063c6b27f24146108a4578063c87d7e8d146108ad57600080fd5b8063a9059cbb116101c9578063b225018d1161018d578063b225018d14610838578063b407153c1461084b578063b71f3cfe14610858578063baf7fdd614610863578063bd3658e61461086b57600080fd5b8063a9059cbb14610801578063aaf5eb681461073c578063ad1f2b5614610814578063af8a89ce1461081c578063b16e49b31461082f57600080fd5b80639980a5f3116102105780639980a5f3146107b65780639b27168b146107c95780639bb7d707146107d2578063a3684977146107e5578063a7227981146107ee57600080fd5b806380193b261461077e57806392c51a7e1461078857806394870a541461079b57806395d89b41146107ae57600080fd5b8063313ce567116103525780635c60da1b116102da57806370a082311161029e57806370a082311461070a578063766718081461073357806379c80dc21461073c5780637b1039991461074b5780637bd1bf0c1461075e57600080fd5b80635c60da1b146106c057806360f3da41146106d357806361428953146106db578063645006ca146106ee5780636f307dc3146106f757600080fd5b80633ce9a294116103215780633ce9a2941461062a578063414a831f1461063d578063470aad06146106505780634ff0876a1461067057806356ef801b1461067957600080fd5b8063313ce567146105ed5780633233c5e3146105fc578063396f7b231461060f5780633a8f09f31461062257600080fd5b80631d504dc6116103e057806326782247116103a457806326782247146105985780632a80cda3146105ab5780632c5b1066146105be5780632d4138c1146105c757806330024dfe146105da57600080fd5b80631d504dc61461054357806321d491131461055657806323b872dd1461056957806323c874201461057c57806325a760c21461058f57600080fd5b80630d3b0b76116104275780630d3b0b76146104df57806312a45f651461050a578063149673191461051f5780631794bb3c1461052757806318160ddd1461053a57600080fd5b8063022dced21461045957806306fdde0314610474578063095ea7b314610489578063098ee6f2146104ac575b600080fd5b610461610a28565b6040519081526020015b60405180910390f35b61047c610a8c565b60405161046b91906139bd565b61049c610497366004613a05565b610b1a565b604051901515815260200161046b565b6104bf6104ba366004613a7d565b610b31565b60408051948552602085019390935291830152606082015260800161046b565b6006546104f2906001600160a01b031681565b6040516001600160a01b03909116815260200161046b565b61051d610518366004613abf565b610cb2565b005b61049c610d3c565b61051d610535366004613af8565b610d68565b61046160095481565b61051d610551366004613b39565b610d9e565b61051d610564366004613a05565b610eec565b61049c610577366004613af8565b610f56565b600e546104f2906001600160a01b031681565b610461600c5481565b6001546104f2906001600160a01b031681565b61051d6105b9366004613b56565b611002565b61046160145481565b6104f26105d5366004613b6f565b61106b565b61051d6105e8366004613b56565b6110a3565b6040516012815260200161046b565b61051d61060a366004613c56565b6110d9565b6003546104f2906001600160a01b031681565b61051d611159565b610461610638366004613b6f565b6111c8565b61051d61064b366004613cba565b61125e565b61066361065e366004613d26565b611448565b60405161046b9190613d52565b610461601c5481565b6106ab610687366004613d9f565b600f6020908152600092835260408084209091529082529020805460019091015482565b6040805192835260208301919091520161046b565b6002546104f2906001600160a01b031681565b61046161146c565b6104616106e9366004613b56565b611579565b61046160165481565b6005546104f2906001600160a01b031681565b610461610718366004613b39565b6001600160a01b031660009081526007602052604090205490565b61046160175481565b610461670de0b6b3a764000081565b6004546104f2906001600160a01b031681565b61046161076c366004613b56565b60009081526011602052604090205490565b610461620186a081565b61051d610796366004613cba565b61182a565b61051d6107a9366004613b39565b611a82565b61047c611b4a565b61051d6107c4366004613dc4565b611b57565b61046160155481565b6104616107e0366004613d26565b611c39565b61046160195481565b6106636107fc366004613d26565b611c92565b61049c61080f366004613a05565b611cae565b610461606481565b61051d61082a366004613df9565b611cbb565b610461601b5481565b61051d610846366004613b39565b611cfd565b601d5461049c9060ff1681565b610461633b9aca0081565b610461611d90565b610461610879366004613b56565b611db9565b600d546104f2906001600160a01b031681565b61051d61089f366004613b56565b611dc7565b61046160185481565b61051d6108bb366004613b6f565b611dfd565b61051d6108ce366004613b56565b611e1a565b610461611e50565b6109156108e9366004613d9f565b601060209081526000928352604080842090915290825290208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161046b565b6104bf61093e366004613a7d565b611f48565b610461610951366004613abf565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6104f261098a366004613b6f565b6120b6565b61051d61099d366004613b56565b6120d2565b6106ab6109b0366004613b39565b612108565b610461612339565b61046160135481565b610461601a5481565b61051d6109dd366004613e2b565b6123a6565b6000546104f2906001600160a01b031681565b61051d610a03366004613d26565b6124b4565b610461610a16366004613b56565b60009081526012602052604090205490565b600080610a33612339565b601354909150808211610a7b5760405162461bcd60e51b815260206004820152600b60248201526a2330ba30b61032b93937b960a91b60448201526064015b60405180910390fd5b610a858183613e85565b9250505090565b600a8054610a9990613e98565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac590613e98565b8015610b125780601f10610ae757610100808354040283529160200191610b12565b820191906000526020600020905b815481529060010190602001808311610af557829003601f168201915b505050505081565b6000610b27338484612645565b5060015b92915050565b600080600080610b3f61276a565b600d546001600160a01b031663e0dc1750610b58611e50565b6040518263ffffffff1660e01b8152600401610b7691815260200190565b6060604051808303816000875af1158015610b95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb99190613ed2565b50506017546019549091506000805b60ff8116891115610c8457600080600080610c0d888f8f8860ff16818110610bf257610bf2613f00565b9050602002016020810190610c079190613b39565b896127c1565b935093509350935083610c235750505050610c72565b8215610c4757610c33828d613f16565b9b50610c4060018b613f16565b9950610c61565b610c51828c613f16565b9a50610c5e60018a613f16565b98505b610c6b8187613f16565b9550505050505b80610c7c81613f29565b915050610bc8565b508060146000828254610c979190613e85565b92505081905550505050610ca9612936565b92959194509250565b6006546001600160a01b0316158015610cd457506005546001600160a01b0316155b610d0e5760405162461bcd60e51b815260206004820152600b60248201526a125b9a5d1a585b1a5e995960aa1b6044820152606401610a72565b600680546001600160a01b039384166001600160a01b03199182161790915560058054929093169116179055565b600080610d4761146c565b90506000610d5e670de0b6b3a76400006001613f48565b9091111592915050565b610d73828483612979565b600c54610d8190600a614043565b6019556002601a819055601b55610d96611d90565b601855505050565b806001600160a01b031663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e00919061404f565b6001600160a01b0316336001600160a01b031614610e4f5760405162461bcd60e51b815260206004820152600c60248201526b10b83937bc3c9730b236b4b760a11b6044820152606401610a72565b806001600160a01b031663c1e803346040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb3919061406c565b15610ee95760405162461bcd60e51b8152600401610a729060208082526004908201526319985a5b60e21b604082015260600190565b50565b6006546001600160a01b03163314610f3b5760405162461bcd60e51b815260206004820152601260248201527154524144494e475f464c4f4f525f4f4e4c5960701b6044820152606401610a72565b600554610f52906001600160a01b03168383612b04565b5050565b6000610f63848484612b63565b6001600160a01b038416600090815260086020908152604080832033845290915290205482811015610fe85760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a72565b610ff58533858403612645565b60019150505b9392505050565b6000546001600160a01b0316331461102c5760405162461bcd60e51b8152600401610a7290614085565b601681905560055b6040518281527fcb48ce14f4edda961e8a606e8fd9c6562f93440fb820dca0908689c65412abd1906020015b60405180910390a250565b6012602052816000526040600020818154811061108757600080fd5b6000918252602090912001546001600160a01b03169150829050565b6000546001600160a01b031633146110cd5760405162461bcd60e51b8152600401610a7290614085565b601c8190556004611034565b600a80546110e690613e98565b15905080156111015750600b80546110fd90613e98565b1590505b61113b5760405162461bcd60e51b815260206004820152600b60248201526a125b9a5d1a585b1a5e995960aa1b6044820152606401610a72565b600a61114783826140f9565b50600b61115482826140f9565b505050565b6000546001600160a01b031633146111835760405162461bcd60e51b8152600401610a7290614085565b601d805460ff19811660ff9182161590811790925560405191161515907fc9f43b0876da39c7355d8836120531728db6aaced21ca1337740891901ba3dc190600090a2565b6000806111d3612339565b905060008084126111e55760006111f6565b6111f66111f1856141b9565b612d32565b9050600060145460135461120a9190613f16565b9050816112178783613f16565b6112219190613f16565b8310156112345760009350505050610b2b565b81866112408386613e85565b61124a9190613e85565b6112549190613e85565b9695505050505050565b61126661276a565b8281146112a55760405162461bcd60e51b815260206004820152600d60248201526c2141727261794c656e6774687360981b6044820152606401610a72565b600060016017546112b69190613e85565b905060005b60ff811685111561143857600086868360ff168181106112dd576112dd613f00565b90506020020160208101906112f29190613b39565b9050600085858460ff1681811061130b5761130b613f00565b905060200201359050838111156113555760405162461bcd60e51b815260206004820152600e60248201526d22b837b1b4103a37b79039b7b7b760911b6044820152606401610a72565b6000818152600f602090815260408083206001600160a01b038616808552818452828520835180850190945280548452600181018054858701529186529190935283905590829055805160138054929391929091906113b5908490613e85565b909155505080516005546113d6916001600160a01b03909116908590612b04565b80516040516001600160a01b038516917f72d926b894af0cddcbb7e70b67142b7ba4a03a369f678e37baad34e288f435ff9161141a91868252602082015260400190565b60405180910390a2505050808061143090613f29565b9150506112bb565b5050611442612936565b50505050565b6000838152601260205260409020606090611464908484612d5c565b949350505050565b6000806000600d60009054906101000a90046001600160a01b03166001600160a01b031663d370f1d46040518163ffffffff1660e01b81526004016040805180830381865afa1580156114c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e791906141d5565b915091506000600d60009054906101000a90046001600160a01b03166001600160a01b031663d9cf36ba6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611540573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611564919061406c565b9050611571838383611c39565b935050505090565b600061158361276a565b600e546001600160a01b031633146115c55760405162461bcd60e51b815260206004820152600560248201526404282eae8d60db1b6044820152606401610a72565b60185442101561160e5760405162461bcd60e51b8152602060048201526014602482015273042a8d2daca40e0c2e6e640dccaee40cae0dec6d60631b6044820152606401610a72565b600d5460009081906001600160a01b031663e0dc175061162c611e50565b6040518263ffffffff1660e01b815260040161164a91815260200190565b6060604051808303816000875af1158015611669573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168d9190613ed2565b50915091506000600d60009054906101000a90046001600160a01b03166001600160a01b031663d9cf36ba6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170b919061406c565b90506000601754600161171e9190613f16565b600954909150600081810361174257600c5461173b90600a614043565b96506117b3565b6117918861174f87612e46565b61175889612e46565b87611769611764610a28565b612e46565b61177391906141f9565b61177d91906141f9565b6117879190614221565b6111f191906141f9565b9050816117a6670de0b6b3a764000083613f48565b6117b09190614248565b96505b601783905560198790556117c5611d90565b60185560408051848152602081018a905290810188905260608101829052608081018390527f7b504be1b0f48aaf364e873952fa4daf419806a7f85486cdb25d4a61f57f26f49060a00160405180910390a1505050505050611825612936565b919050565b61183261276a565b8281146118715760405162461bcd60e51b815260206004820152600d60248201526c2141727261794c656e6774687360981b6044820152606401610a72565b600d546001600160a01b031663e0dc175061188a611e50565b6040518263ffffffff1660e01b81526004016118a891815260200190565b6060604051808303816000875af11580156118c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118eb9190613ed2565b505050600060016017546118ff9190613e85565b905060005b60ff811685111561143857600086868360ff1681811061192657611926613f00565b905060200201602081019061193b9190613b39565b9050600085858460ff1681811061195457611954613f00565b9050602002013590508381111561199e5760405162461bcd60e51b815260206004820152600e60248201526d22b837b1b4103a37b79039b7b7b760911b6044820152606401610a72565b60008181526010602090815260408083206001600160a01b038616808552818452828520835160608101855281548152600182018054828801526002830180549683019687529388529390955285905590849055839055516014805492939192909190611a0c908490613e85565b90915550508051611a209030908590612b63565b80516040516001600160a01b038516917fd2733907f0171f7e5ccf8333680e9b6f29023e611aa0d8bfb6d295ac3cf44ccd91611a6491868252602082015260400190565b60405180910390a25050508080611a7a90613f29565b915050611904565b6000546001600160a01b03163314611aac5760405162461bcd60e51b8152600401610a7290614085565b6001600160a01b038116611af35760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69644164647265737360901b6044820152606401610a72565b600d80546001600160a01b0319166001600160a01b03831617905560015b6040516001600160a01b03831681527fdab6a10a2b64bf52b6d4f3921f6244f7e050c6a0bc35a77f81b42d0095248ee690602001611060565b600b8054610a9990613e98565b611b5f61276a565b6004805460408051635cecd5ff60e01b815290516001600160a01b0390921692635cecd5ff9282820192602092908290030181865afa158015611ba6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bca919061404f565b6001600160a01b0316336001600160a01b031614611c265760405162461bcd60e51b815260206004820152601960248201527810a634b8bab4b234ba3ca4b73a32b73a39ab32b934b334b2b960391b6044820152606401610a72565b611c31838383612e73565b611154612936565b600083600003611c4b57506000610ffb565b6000611c5784846111c8565b905080600003611c6c57600019915050610ffb565b80611c7f670de0b6b3a764000087613f48565b611c899190614248565b95945050505050565b6000838152601160205260409020606090611464908484612d5c565b6000610b27338484612b63565b611cc361276a565b601d5460ff1615611ce65760405162461bcd60e51b8152600401610a729061426a565b33611cf48186868686613109565b50611442612936565b6000546001600160a01b03163314611d275760405162461bcd60e51b8152600401610a7290614085565b6001600160a01b038116611d6e5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69644164647265737360901b6044820152606401610a72565b600e80546001600160a01b0319166001600160a01b0383161790556002611b11565b601c5460009081611da18242614248565b905081611daf826001613f16565b610a859190613f48565b6000610b2b601954836132f1565b6000546001600160a01b03163314611df15760405162461bcd60e51b8152600401610a7290614085565b601b8190556003611034565b611e0561276a565b33611e11818484612e73565b50610f52612936565b6000546001600160a01b03163314611e445760405162461bcd60e51b8152600401610a7290614085565b601a8190556002611034565b6000611f43600d60009054906101000a90046001600160a01b03166001600160a01b0316635dc70c776040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecc919061406c565b600d60009054906101000a90046001600160a01b03166001600160a01b031663d9cf36ba6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610638919061406c565b905090565b600080600080611f5661276a565b600d546001600160a01b031663e0dc1750611f6f611e50565b6040518263ffffffff1660e01b8152600401611f8d91815260200190565b6060604051808303816000875af1158015611fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd09190613ed2565b505060175460195490915060005b60ff8116881115612089576000806000612022868d8d8760ff1681811061200757612007613f00565b905060200201602081019061201c9190613b39565b87613310565b9250925092508261203557505050612077565b811561205957612045818b613f16565b9950612052600189613f16565b9750612073565b612063818a613f16565b9850612070600188613f16565b96505b5050505b8061208181613f29565b915050611fde565b506120948587613f16565b601360008282546120a59190613e85565b925050819055505050610ca9612936565b6011602052816000526040600020818154811061108757600080fd5b6000546001600160a01b031633146120fc5760405162461bcd60e51b8152600401610a7290614085565b60158190556001611034565b6004805460055460405163a8e36e5b60e01b81526001600160a01b03918216938101939093526000928392919091169063a8e36e5b90602401602060405180830381865afa15801561215e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612182919061404f565b6001600160a01b0316336001600160a01b0316146121d15760405162461bcd60e51b815260206004820152600c60248201526b10b332b2b9a6b0b730b3b2b960a11b6044820152606401610a72565b600d546001600160a01b031663e0dc17506121ea611e50565b6040518263ffffffff1660e01b815260040161220891815260200190565b6060604051808303816000875af1158015612227573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224b9190613ed2565b5050600d546040805163083aeef360e11b815281516001600160a01b039093169350631075dde6926004808301939282900301816000875af1158015612295573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b991906141d5565b909250905060006122ca8284613f16565b905080156122e9576005546122e9906001600160a01b03168583612b04565b604080516001600160a01b0386168152602081018590529081018390527fcc6cda91f93e55c24ee945dedb481174398b780a07be27f9f420b5411a2590e49060600160405180910390a150915091565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612382573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f43919061406c565b6123ae61276a565b6004805460408051635cecd5ff60e01b815290516001600160a01b0390921692635cecd5ff9282820192602092908290030181865afa1580156123f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612419919061404f565b6001600160a01b0316336001600160a01b0316146124755760405162461bcd60e51b815260206004820152601960248201527810a634b8bab4b234ba3ca4b73a32b73a39ab32b934b334b2b960391b6044820152606401610a72565b601d5460ff16156124985760405162461bcd60e51b8152600401610a729061426a565b6124a58585858585613109565b6124ad612936565b5050505050565b6124bc61276a565b601d5460ff166124de5760405162461bcd60e51b8152600401610a729061426a565b60165483101561250657600b83604051632eb752bf60e21b8152600401610a7292919061428c565b600d546001600160a01b031663e0dc175061251f611e50565b6040518263ffffffff1660e01b815260040161253d91815260200190565b6060604051808303816000875af115801561255c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125809190613ed2565b503391506125909050818561343d565b600061259b85611db9565b90506125a78282613584565b60408051868152602081018390526001600160a01b038416917f44b0aec0c46855b77340001dff75f91304dea1799518c36af2d9bec5dae2738c910160405180910390a2816001600160a01b031683857f7ba502a6e8d9c35b8430a91efccdff6928f2e0aca8193f08d0e34c02ff51cbd688601754604051612633929190918252602082015260400190565b60405180910390a45050611154612936565b6001600160a01b0383166126a75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a72565b6001600160a01b0382166127085760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a72565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6004805460408051637c1e845d60e11b815290516001600160a01b039092169263f83d08ba92828201926000929082900301818387803b1580156127ad57600080fd5b505af1158015611442573d6000803e3d6000fd5b60008381526010602090815260408083206001600160a01b03861684528252808320815160608101835281548082526001830154948201949094526002909101549181019190915282918291829182036128295760008060008094509450945094505061292d565b60008881526010602090815260408083206001600160a01b038b168452909152812081815560018181018390556002909101829055825190965061286e908890613663565b90506000818360400151106128835781612889565b82604001515b9050826020015181106128c4576128a4308460000151613678565b6005546128bb906001600160a01b03168a83612b04565b600195506128d8565b6128d3308a8560000151612b63565b600095505b8251604080850151815189151581526020810184905292975095506001600160a01b038b16917ff88a20f7519d20766db2ee9136f3dff5afe20494c2d786e0475f1d94af09c5ad910160405180910390a25050505b93509350935093565b60048054604080516340da020f60e01b815290516001600160a01b03909216926340da020f92828201926000929082900301818387803b1580156127ad57600080fd5b612a8b826001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa1580156129ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129e291908101906142b8565b6040516020016129f29190614326565b604051602081830303815290604052836001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015612a3f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a6791908101906142b8565b604051602001612a779190614356565b6040516020818303038152906040526110d9565b612a958383610cb2565b816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ad3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612af79190614380565b60ff16600c55601c555050565b6040516001600160a01b0383811660248301526044820183905261115491859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b0383818316178352505050506137be565b6001600160a01b038316612bc75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a72565b6001600160a01b038216612c295760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a72565b6001600160a01b03831660009081526007602052604090205481811015612ca15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a72565b6001600160a01b03808516600090815260076020526040808220858503905591851681529081208054849290612cd8908490613f16565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612d2491815260200190565b60405180910390a350505050565b600080821215612d5857604051635467221960e11b815260048101839052602401610a72565b5090565b8254606090600090612d6f908590613e85565b9050808310612d7e5780612d80565b825b92508267ffffffffffffffff811115612d9b57612d9b613b91565b604051908082528060200260200182016040528015612dc4578160200160208202803683370190505b50915060005b83811015612e3d5785612ddd8287613f16565b81548110612ded57612ded613f00565b9060005260206000200160009054906101000a90046001600160a01b0316838281518110612e1d57612e1d613f00565b6001600160a01b0390921660209283029190910190910152600101612dca565b50509392505050565b60006001600160ff1b03821115612d585760405163123baf0360e11b815260048101839052602401610a72565b6000601b54601754612e859190613f16565b6000818152600f602090815260408083206001600160a01b038916845290915290205490915015612ee95760405162461bcd60e51b815260206004820152600e60248201526d115e1a5cdd1cc819195c1bdcda5d60921b6044820152606401610a72565b600d546001600160a01b031663e0dc1750612f02611e50565b6040518263ffffffff1660e01b8152600401612f2091815260200190565b6060604051808303816000875af1158015612f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f639190613ed2565b505050612f71843085612b63565b6019546000612f808286613663565b905080841115612fca5760405162461bcd60e51b815260206004820152601560248201527409ad2dc82dadeeadce89eeae840e8dede40d0d2ced605b1b6044820152606401610a72565b6000620186a0601554620186a0612fe19190613f16565b612feb9084613f48565b612ff59190614248565b905080601460008282546130099190613f16565b909155506130179050613821565b60008481526010602090815260408083206001600160a01b038b1684529091528120805490910361307a5760008581526012602090815260408220805460018101825590835291200180546001600160a01b0319166001600160a01b038a161790555b8054613087908890613f16565b81556001810154613099908790613f16565b600182015560028101546130ae908390613f16565b600282015560408051888152602081018890529081018690526001600160a01b038916907f69827d824993c5fce39851a711a15efc9b98133015a018c84f13340521e7adce9060600160405180910390a25050505050505050565b60165484101561313157600b84604051632eb752bf60e21b8152600401610a7292919061428c565b6000601a546017546131439190613f16565b60008181526010602090815260408083206001600160a01b038b168452909152902054909150156131a65760405162461bcd60e51b815260206004820152600d60248201526c52656465656d2065786973747360981b6044820152606401610a72565b6131b0868661343d565b84601360008282546131c29190613f16565b90915550506000818152600f602090815260408083206001600160a01b038a1684529091528120805490910361322a5760008281526011602090815260408220805460018101825590835291200180546001600160a01b0319166001600160a01b0389161790555b8054613237908790613f16565b81556001810154613249908690613f16565b600182015560408051878152602081018790529081018390526001600160a01b038816907f05204c412c9232d14ad1bb18ac9118f4a7e10c8a2d8eca85693d9388a6aac96b9060600160405180910390a2866001600160a01b031683857f7ba502a6e8d9c35b8430a91efccdff6928f2e0aca8193f08d0e34c02ff51cbd689866040516132e0929190918252602082015260400190565b60405180910390a450505050505050565b600082613306670de0b6b3a764000084613f48565b610ffb9190614248565b6000838152600f602090815260408083206001600160a01b0386168452825280832081518083019092528054808352600190910154928201929092528291829190820361336857600080600093509350935050613434565b6000878152600f602090815260408083206001600160a01b038a1684529091528120818155600190810182905582519095506133a59087906132f1565b9050816020015181106133c5576133bc8782613584565b600193506133e6565b81516005546133e1916001600160a01b03909116908990612b04565b600093505b8151604080518615158152602081018390529194506001600160a01b038916917fe0658942d1f815976a88ef2c4f1b8d5d0ff7f83c1cde078f60e39b08069bd55c910160405180910390a250505b93509350939050565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015613486573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134aa919061406c565b6005549091506134c5906001600160a01b0316843085613868565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561350e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613532919061406c565b90508261353f8383613e85565b146114425760405162461bcd60e51b815260206004820152601560248201527411125117d393d517d49150d152559157d1561050d5605a1b6044820152606401610a72565b6001600160a01b0382166135da5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a72565b80600960008282546135ec9190613f16565b90915550506001600160a01b03821660009081526007602052604081208054839290613619908490613f16565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000670de0b6b3a76400006133068484613f48565b6001600160a01b0382166136d85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a72565b6001600160a01b0382166000908152600760205260409020548181101561374c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a72565b6001600160a01b038316600090815260076020526040812083830390556009805484929061377b908490613e85565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161275d565b60006137d36001600160a01b038416836138a1565b905080516000141580156137f85750808060200190518101906137f691906143a3565b155b1561115457604051635274afe760e01b81526001600160a01b0384166004820152602401610a72565b613829610d3c565b6138665760405162461bcd60e51b815260206004820152600e60248201526d2628103aba34b634bd30ba34b7b760911b6044820152606401610a72565b565b6040516001600160a01b0384811660248301528381166044830152606482018390526114429186918216906323b872dd90608401612b31565b6060610ffb8383600084600080856001600160a01b031684866040516138c791906143c5565b60006040518083038185875af1925050503d8060008114613904576040519150601f19603f3d011682016040523d82523d6000602084013e613909565b606091505b50915091506112548683836060826139295761392482613970565b610ffb565b815115801561394057506001600160a01b0384163b155b1561396957604051639996b31560e01b81526001600160a01b0385166004820152602401610a72565b5080610ffb565b8051156139805780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b838110156139b457818101518382015260200161399c565b50506000910152565b60208152600082518060208401526139dc816040850160208701613999565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610ee957600080fd5b60008060408385031215613a1857600080fd5b8235613a23816139f0565b946020939093013593505050565b60008083601f840112613a4357600080fd5b50813567ffffffffffffffff811115613a5b57600080fd5b6020830191508360208260051b8501011115613a7657600080fd5b9250929050565b60008060208385031215613a9057600080fd5b823567ffffffffffffffff811115613aa757600080fd5b613ab385828601613a31565b90969095509350505050565b60008060408385031215613ad257600080fd5b8235613add816139f0565b91506020830135613aed816139f0565b809150509250929050565b600080600060608486031215613b0d57600080fd5b8335613b18816139f0565b92506020840135613b28816139f0565b929592945050506040919091013590565b600060208284031215613b4b57600080fd5b8135610ffb816139f0565b600060208284031215613b6857600080fd5b5035919050565b60008060408385031215613b8257600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613bd057613bd0613b91565b604052919050565b600067ffffffffffffffff821115613bf257613bf2613b91565b50601f01601f191660200190565b600082601f830112613c1157600080fd5b8135613c24613c1f82613bd8565b613ba7565b818152846020838601011115613c3957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215613c6957600080fd5b823567ffffffffffffffff80821115613c8157600080fd5b613c8d86838701613c00565b93506020850135915080821115613ca357600080fd5b50613cb085828601613c00565b9150509250929050565b60008060008060408587031215613cd057600080fd5b843567ffffffffffffffff80821115613ce857600080fd5b613cf488838901613a31565b90965094506020870135915080821115613d0d57600080fd5b50613d1a87828801613a31565b95989497509550505050565b600080600060608486031215613d3b57600080fd5b505081359360208301359350604090920135919050565b6020808252825182820181905260009190848201906040850190845b81811015613d935783516001600160a01b031683529284019291840191600101613d6e565b50909695505050505050565b60008060408385031215613db257600080fd5b823591506020830135613aed816139f0565b600080600060608486031215613dd957600080fd5b8335613de4816139f0565b95602085013595506040909401359392505050565b60008060008060808587031215613e0f57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600080600060a08688031215613e4357600080fd5b8535613e4e816139f0565b97602087013597506040870135966060810135965060800135945092505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610b2b57610b2b613e6f565b600181811c90821680613eac57607f821691505b602082108103613ecc57634e487b7160e01b600052602260045260246000fd5b50919050565b600080600060608486031215613ee757600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b80820180821115610b2b57610b2b613e6f565b600060ff821660ff8103613f3f57613f3f613e6f565b60010192915050565b8082028115828204841417610b2b57610b2b613e6f565b600181815b80851115613f9a578160001904821115613f8057613f80613e6f565b80851615613f8d57918102915b93841c9390800290613f64565b509250929050565b600082613fb157506001610b2b565b81613fbe57506000610b2b565b8160018114613fd45760028114613fde57613ffa565b6001915050610b2b565b60ff841115613fef57613fef613e6f565b50506001821b610b2b565b5060208310610133831016604e8410600b841016171561401d575081810a610b2b565b6140278383613f5f565b806000190482111561403b5761403b613e6f565b029392505050565b6000610ffb8383613fa2565b60006020828403121561406157600080fd5b8151610ffb816139f0565b60006020828403121561407e57600080fd5b5051919050565b6020808252600a908201526927a7262cafa0a226a4a760b11b604082015260600190565b601f821115611154576000816000526020600020601f850160051c810160208610156140d25750805b601f850160051c820191505b818110156140f1578281556001016140de565b505050505050565b815167ffffffffffffffff81111561411357614113613b91565b614127816141218454613e98565b846140a9565b602080601f83116001811461415c57600084156141445750858301515b600019600386901b1c1916600185901b1785556140f1565b600085815260208120601f198616915b8281101561418b5788860151825594840194600190910190840161416c565b50858210156141a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600160ff1b82016141ce576141ce613e6f565b5060000390565b600080604083850312156141e857600080fd5b505080516020909101519092909150565b808201828112600083128015821682158216171561421957614219613e6f565b505092915050565b818103600083128015838313168383128216171561424157614241613e6f565b5092915050565b60008261426557634e487b7160e01b600052601260045260246000fd5b500490565b60208082526008908201526708505b1b1bddd95960c21b604082015260600190565b60408101601284106142ae57634e487b7160e01b600052602160045260246000fd5b9281526020015290565b6000602082840312156142ca57600080fd5b815167ffffffffffffffff8111156142e157600080fd5b8201601f810184136142f257600080fd5b8051614300613c1f82613bd8565b81815285602083850101111561431557600080fd5b611c89826020830160208601613999565b670263cb73c102628160c51b815260008251614349816008850160208701613999565b9190910160080192915050565b610d8f60f31b815260008251614373816002850160208701613999565b9190910160020192915050565b60006020828403121561439257600080fd5b815160ff81168114610ffb57600080fd5b6000602082840312156143b557600080fd5b81518015158114610ffb57600080fd5b600082516143d7818460208701613999565b919091019291505056fea26469706673582212202ca8f0b0ccc72e102ac96004ad531d3f1eb7a480a68f8522c76ef498fed9a63564736f6c63430008180033";
|
|
1826
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
1827
|
+
class LexPoolV1__factory extends ethers_1.ContractFactory {
|
|
1828
|
+
constructor(...args) {
|
|
1829
|
+
if (isSuperArgs(args)) {
|
|
1830
|
+
super(...args);
|
|
1831
|
+
}
|
|
1832
|
+
else {
|
|
1833
|
+
super(_abi, _bytecode, args[0]);
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
getDeployTransaction(overrides) {
|
|
1837
|
+
return super.getDeployTransaction(overrides || {});
|
|
1838
|
+
}
|
|
1839
|
+
deploy(overrides) {
|
|
1840
|
+
return super.deploy(overrides || {});
|
|
1841
|
+
}
|
|
1842
|
+
connect(runner) {
|
|
1843
|
+
return super.connect(runner);
|
|
1844
|
+
}
|
|
1845
|
+
static createInterface() {
|
|
1846
|
+
return new ethers_1.Interface(_abi);
|
|
1847
|
+
}
|
|
1848
|
+
static connect(address, runner) {
|
|
1849
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
exports.LexPoolV1__factory = LexPoolV1__factory;
|
|
1853
|
+
LexPoolV1__factory.bytecode = _bytecode;
|
|
1854
|
+
LexPoolV1__factory.abi = _abi;
|