@linealqorum/js 0.0.0-stage → 0.0.1
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/package.json +16 -5
- package/src/artifact-service.js +94 -0
- package/src/artifacts/artifacts.d.ts +13 -0
- package/src/artifacts/build-info/solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532.json +392 -0
- package/src/artifacts/build-info/solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532.output.json +1 -0
- package/src/artifacts/contracts/Counter.sol/Counter.json +60 -0
- package/src/artifacts/contracts/Counter.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/BaseAccount.sol/BaseAccount.json +116 -0
- package/src/artifacts/contracts/core/BaseAccount.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/BasePaymaster.sol/BasePaymaster.json +281 -0
- package/src/artifacts/contracts/core/BasePaymaster.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/EntryPoint.sol/EntryPoint.json +1019 -0
- package/src/artifacts/contracts/core/EntryPoint.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/EntryPointSimulations.sol/EntryPointSimulations.json +1324 -0
- package/src/artifacts/contracts/core/EntryPointSimulations.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/Groth16Verifier.sol/Groth16Verifier.json +48 -0
- package/src/artifacts/contracts/core/Groth16Verifier.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/Helpers.sol/artifacts.d.ts +0 -0
- package/src/artifacts/contracts/core/LinealDeployer.sol/LinealDeployer.json +51 -0
- package/src/artifacts/contracts/core/LinealDeployer.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/NonceManager.sol/NonceManager.json +75 -0
- package/src/artifacts/contracts/core/NonceManager.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/SenderCreator.sol/SenderCreator.json +33 -0
- package/src/artifacts/contracts/core/SenderCreator.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/StakeManager.sol/StakeManager.json +299 -0
- package/src/artifacts/contracts/core/StakeManager.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/core/UserOperationLib.sol/UserOperationLib.json +53 -0
- package/src/artifacts/contracts/core/UserOperationLib.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealDex.sol/LinealDex.json +530 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealDex.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealLiquidity.sol/LinealLiquidity.json +876 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealLiquidity.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealMilestones.sol/ILinealCitizens.json +46 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealMilestones.sol/LinealMilestones.json +986 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealMilestones.sol/artifacts.d.ts +43 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealSeed.sol/LinealSeed.json +808 -0
- package/src/artifacts/contracts/economy/Liquidity/LinealSeed.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/accounts/LinealAccount.sol/LinealAccount.json +591 -0
- package/src/artifacts/contracts/economy/accounts/LinealAccount.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/accounts/LinealAccountFactory.sol/LinealAccountFactory.json +101 -0
- package/src/artifacts/contracts/economy/accounts/LinealAccountFactory.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/accounts/callback/TokenCallbackHandler.sol/TokenCallbackHandler.json +145 -0
- package/src/artifacts/contracts/economy/accounts/callback/TokenCallbackHandler.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/banks/LinealBank.sol/IBankDeposit.json +56 -0
- package/src/artifacts/contracts/economy/banks/LinealBank.sol/ICitizensAccounts.json +33 -0
- package/src/artifacts/contracts/economy/banks/LinealBank.sol/IInstitutionIdentity.json +27 -0
- package/src/artifacts/contracts/economy/banks/LinealBank.sol/ILinealTransactions.json +53 -0
- package/src/artifacts/contracts/economy/banks/LinealBank.sol/LinealBank.json +1072 -0
- package/src/artifacts/contracts/economy/banks/LinealBank.sol/artifacts.d.ts +91 -0
- package/src/artifacts/contracts/economy/banks/LinealQantum.sol/LinealQantum.json +496 -0
- package/src/artifacts/contracts/economy/banks/LinealQantum.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/banks/LinealTransaction.sol/ILinealBank.json +27 -0
- package/src/artifacts/contracts/economy/banks/LinealTransaction.sol/LinealTransactions.json +1352 -0
- package/src/artifacts/contracts/economy/banks/LinealTransaction.sol/artifacts.d.ts +43 -0
- package/src/artifacts/contracts/economy/interfaces/ICLPStablecoin.sol/ICLPStablecoin.json +459 -0
- package/src/artifacts/contracts/economy/interfaces/ICLPStablecoin.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/interfaces/IDEXRouter.sol/IDEXRouter.json +117 -0
- package/src/artifacts/contracts/economy/interfaces/IDEXRouter.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/interfaces/IFeeSplitter.sol/IFeeSplitter.json +40 -0
- package/src/artifacts/contracts/economy/interfaces/IFeeSplitter.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/interfaces/IIncomeToken.sol/IIncomeToken.json +197 -0
- package/src/artifacts/contracts/economy/interfaces/IIncomeToken.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/interfaces/ILinealIdentity.sol/ILinealIdentity.json +90 -0
- package/src/artifacts/contracts/economy/interfaces/ILinealIdentity.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/interfaces/IMetricsAdapter.sol/IMetricsAdapter.json +32 -0
- package/src/artifacts/contracts/economy/interfaces/IMetricsAdapter.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/interfaces/IQorumsToken.sol/IQorumsToken.json +267 -0
- package/src/artifacts/contracts/economy/interfaces/IQorumsToken.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/paymasters/LinealPaymaster.sol/LinealPaymaster.json +487 -0
- package/src/artifacts/contracts/economy/paymasters/LinealPaymaster.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/paymasters/LinealRouter.sol/LinealRouter.json +945 -0
- package/src/artifacts/contracts/economy/paymasters/LinealRouter.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/economy/token/LinealToken.sol/LinealToken.json +1567 -0
- package/src/artifacts/contracts/economy/token/LinealToken.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/governance/LinealQorum.sol/LinealQorum.json +567 -0
- package/src/artifacts/contracts/governance/LinealQorum.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/institution/LinealCitizens.sol/LinealCitizens.json +986 -0
- package/src/artifacts/contracts/institution/LinealCitizens.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/institution/LinealInstitution.sol/LinealInstitution.json +1607 -0
- package/src/artifacts/contracts/institution/LinealInstitution.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/institution/LinealTender.sol/LinealTender.json +1055 -0
- package/src/artifacts/contracts/institution/LinealTender.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IAccount.sol/IAccount.json +90 -0
- package/src/artifacts/contracts/interfaces/IAccount.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IAccountExecute.sol/IAccountExecute.json +79 -0
- package/src/artifacts/contracts/interfaces/IAccountExecute.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IAggregator.sol/IAggregator.json +211 -0
- package/src/artifacts/contracts/interfaces/IAggregator.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IEntryPoint.sol/IEntryPoint.json +809 -0
- package/src/artifacts/contracts/interfaces/IEntryPoint.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IEntryPointSimulations.sol/IEntryPointSimulations.json +1097 -0
- package/src/artifacts/contracts/interfaces/IEntryPointSimulations.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IMetricsAdapter.sol/IMetricsAdapter.json +32 -0
- package/src/artifacts/contracts/interfaces/IMetricsAdapter.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/INonceManager.sol/INonceManager.json +51 -0
- package/src/artifacts/contracts/interfaces/INonceManager.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IPaymaster.sol/IPaymaster.json +123 -0
- package/src/artifacts/contracts/interfaces/IPaymaster.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IQorumsToken.sol/IQorumsToken.json +267 -0
- package/src/artifacts/contracts/interfaces/IQorumsToken.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/IStakeManager.sol/IStakeManager.json +256 -0
- package/src/artifacts/contracts/interfaces/IStakeManager.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/interfaces/PackedUserOperation.sol/artifacts.d.ts +0 -0
- package/src/artifacts/contracts/kernel/LinealEconomy.sol/LinealEconomicKernel.json +743 -0
- package/src/artifacts/contracts/kernel/LinealEconomy.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/social/LinealStorage.sol/PostBoard.json +1317 -0
- package/src/artifacts/contracts/social/LinealStorage.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/test.sol/LinealSecureStorage.json +634 -0
- package/src/artifacts/contracts/test.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/utils/Exec.sol/Exec.json +13 -0
- package/src/artifacts/contracts/utils/Exec.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/utils/IOracle.sol/IOracle.json +60 -0
- package/src/artifacts/contracts/utils/IOracle.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/utils/OracleHelper.sol/OracleHelper.json +84 -0
- package/src/artifacts/contracts/utils/OracleHelper.sol/artifacts.d.ts +27 -0
- package/src/artifacts/contracts/utils/UniswapHelper.sol/UniswapHelper.json +132 -0
- package/src/artifacts/contracts/utils/UniswapHelper.sol/artifacts.d.ts +27 -0
- package/src/contract-service.js +53 -0
- package/src/database/mongodb.js +181 -0
- package/src/index.js +11 -0
- package/src/middleware/actionMiddleware.js +17 -0
- package/src/middleware/actionsMiddleware.js +18 -0
- package/src/middleware/authMachineMiddleware.js +34 -0
- package/src/middleware/middleware.js +36 -0
- package/src/middleware/onlyQorum.js +57 -0
- package/src/middleware/onlyServer.js +36 -0
- package/src/middleware/readStateMiddleware.js +19 -0
- package/src/middleware/unauthorizeMiddleware.js +37 -0
- package/src/middleware/userOperation.js +25 -0
- package/src/operation-service.js +71 -0
- package/src/schemas/abiFolderSchema.js +9 -0
- package/src/schemas/abiSchema.js +16 -0
- package/src/schemas/applicationSchema.js +32 -0
- package/src/schemas/authorizedWalletSchema.js +9 -0
- package/src/schemas/deploySchema.js +11 -0
- package/src/schemas/expenseSchema.js +17 -0
- package/src/schemas/feeSchema.js +17 -0
- package/src/schemas/fixedExpenseSchema.js +18 -0
- package/src/schemas/fixedFeeSchema.js +17 -0
- package/src/schemas/identitySchema.js +33 -0
- package/src/schemas/institutionSchema.js +28 -0
- package/src/schemas/onlyQorumSchema.js +27 -0
- package/src/schemas/onlyServerSchema.js +26 -0
- package/src/schemas/serverWalletSchema.js +9 -0
- package/src/schemas/subaccountSchema.js +31 -0
- package/src/schemas/tenderSchema.js +36 -0
- package/src/schemas/transactionSchema.js +29 -0
- package/src/schemas/userOperationSchema.js +15 -0
- package/src/schemas/valuationSchema.js +10 -0
- package/src/signer-client.js +280 -0
- package/README.md +0 -3
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh3-artifact-1",
|
|
3
|
+
"contractName": "LinealDex",
|
|
4
|
+
"sourceName": "contracts/economy/Liquidity/LinealDex.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_token",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_income",
|
|
16
|
+
"type": "address"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"internalType": "address",
|
|
31
|
+
"name": "token",
|
|
32
|
+
"type": "address"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"name": "SafeERC20FailedOperation",
|
|
36
|
+
"type": "error"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"anonymous": false,
|
|
40
|
+
"inputs": [
|
|
41
|
+
{
|
|
42
|
+
"indexed": true,
|
|
43
|
+
"internalType": "address",
|
|
44
|
+
"name": "to",
|
|
45
|
+
"type": "address"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"indexed": false,
|
|
49
|
+
"internalType": "uint256",
|
|
50
|
+
"name": "amountIncome",
|
|
51
|
+
"type": "uint256"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"indexed": false,
|
|
55
|
+
"internalType": "uint256",
|
|
56
|
+
"name": "amountToken",
|
|
57
|
+
"type": "uint256"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"indexed": false,
|
|
61
|
+
"internalType": "uint256",
|
|
62
|
+
"name": "shares",
|
|
63
|
+
"type": "uint256"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"name": "LiquidityAdded",
|
|
67
|
+
"type": "event"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"anonymous": false,
|
|
71
|
+
"inputs": [
|
|
72
|
+
{
|
|
73
|
+
"indexed": true,
|
|
74
|
+
"internalType": "address",
|
|
75
|
+
"name": "from",
|
|
76
|
+
"type": "address"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"indexed": false,
|
|
80
|
+
"internalType": "uint256",
|
|
81
|
+
"name": "amountIncome",
|
|
82
|
+
"type": "uint256"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"indexed": false,
|
|
86
|
+
"internalType": "uint256",
|
|
87
|
+
"name": "amountToken",
|
|
88
|
+
"type": "uint256"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"indexed": false,
|
|
92
|
+
"internalType": "uint256",
|
|
93
|
+
"name": "shares",
|
|
94
|
+
"type": "uint256"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"name": "LiquidityRemoved",
|
|
98
|
+
"type": "event"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"anonymous": false,
|
|
102
|
+
"inputs": [
|
|
103
|
+
{
|
|
104
|
+
"indexed": true,
|
|
105
|
+
"internalType": "address",
|
|
106
|
+
"name": "to",
|
|
107
|
+
"type": "address"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"indexed": false,
|
|
111
|
+
"internalType": "address",
|
|
112
|
+
"name": "tokenIn",
|
|
113
|
+
"type": "address"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"indexed": false,
|
|
117
|
+
"internalType": "uint256",
|
|
118
|
+
"name": "amountIn",
|
|
119
|
+
"type": "uint256"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"indexed": false,
|
|
123
|
+
"internalType": "uint256",
|
|
124
|
+
"name": "amountOut",
|
|
125
|
+
"type": "uint256"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"name": "Swap",
|
|
129
|
+
"type": "event"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"inputs": [],
|
|
133
|
+
"name": "FEE_BPS",
|
|
134
|
+
"outputs": [
|
|
135
|
+
{
|
|
136
|
+
"internalType": "uint256",
|
|
137
|
+
"name": "",
|
|
138
|
+
"type": "uint256"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "view",
|
|
142
|
+
"type": "function"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"inputs": [],
|
|
146
|
+
"name": "INCOME_TOKEN",
|
|
147
|
+
"outputs": [
|
|
148
|
+
{
|
|
149
|
+
"internalType": "address",
|
|
150
|
+
"name": "",
|
|
151
|
+
"type": "address"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"stateMutability": "view",
|
|
155
|
+
"type": "function"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"inputs": [],
|
|
159
|
+
"name": "TOKEN",
|
|
160
|
+
"outputs": [
|
|
161
|
+
{
|
|
162
|
+
"internalType": "address",
|
|
163
|
+
"name": "",
|
|
164
|
+
"type": "address"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"stateMutability": "view",
|
|
168
|
+
"type": "function"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"inputs": [
|
|
172
|
+
{
|
|
173
|
+
"internalType": "address",
|
|
174
|
+
"name": "tokenA",
|
|
175
|
+
"type": "address"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"internalType": "address",
|
|
179
|
+
"name": "tokenB",
|
|
180
|
+
"type": "address"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"internalType": "uint256",
|
|
184
|
+
"name": "amountADesired",
|
|
185
|
+
"type": "uint256"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"internalType": "uint256",
|
|
189
|
+
"name": "amountBDesired",
|
|
190
|
+
"type": "uint256"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"internalType": "uint256",
|
|
194
|
+
"name": "amountAMin",
|
|
195
|
+
"type": "uint256"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"internalType": "uint256",
|
|
199
|
+
"name": "amountBMin",
|
|
200
|
+
"type": "uint256"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"internalType": "address",
|
|
204
|
+
"name": "to",
|
|
205
|
+
"type": "address"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"internalType": "uint256",
|
|
209
|
+
"name": "deadline",
|
|
210
|
+
"type": "uint256"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"name": "addLiquidity",
|
|
214
|
+
"outputs": [
|
|
215
|
+
{
|
|
216
|
+
"internalType": "uint256",
|
|
217
|
+
"name": "amountA",
|
|
218
|
+
"type": "uint256"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"internalType": "uint256",
|
|
222
|
+
"name": "amountB",
|
|
223
|
+
"type": "uint256"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"internalType": "uint256",
|
|
227
|
+
"name": "liquidity",
|
|
228
|
+
"type": "uint256"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"stateMutability": "nonpayable",
|
|
232
|
+
"type": "function"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"inputs": [],
|
|
236
|
+
"name": "blockTimestampLast",
|
|
237
|
+
"outputs": [
|
|
238
|
+
{
|
|
239
|
+
"internalType": "uint256",
|
|
240
|
+
"name": "",
|
|
241
|
+
"type": "uint256"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"stateMutability": "view",
|
|
245
|
+
"type": "function"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"inputs": [],
|
|
249
|
+
"name": "currentPriceCumulative",
|
|
250
|
+
"outputs": [
|
|
251
|
+
{
|
|
252
|
+
"internalType": "uint256",
|
|
253
|
+
"name": "cumulative",
|
|
254
|
+
"type": "uint256"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"internalType": "uint256",
|
|
258
|
+
"name": "timestamp",
|
|
259
|
+
"type": "uint256"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"stateMutability": "view",
|
|
263
|
+
"type": "function"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"inputs": [
|
|
267
|
+
{
|
|
268
|
+
"internalType": "uint256",
|
|
269
|
+
"name": "amountIn",
|
|
270
|
+
"type": "uint256"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"internalType": "uint256",
|
|
274
|
+
"name": "reserveIn",
|
|
275
|
+
"type": "uint256"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"internalType": "uint256",
|
|
279
|
+
"name": "reserveOut",
|
|
280
|
+
"type": "uint256"
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"name": "getAmountOut",
|
|
284
|
+
"outputs": [
|
|
285
|
+
{
|
|
286
|
+
"internalType": "uint256",
|
|
287
|
+
"name": "",
|
|
288
|
+
"type": "uint256"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"stateMutability": "pure",
|
|
292
|
+
"type": "function"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"inputs": [
|
|
296
|
+
{
|
|
297
|
+
"internalType": "uint256",
|
|
298
|
+
"name": "amountIn",
|
|
299
|
+
"type": "uint256"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"internalType": "address[]",
|
|
303
|
+
"name": "path",
|
|
304
|
+
"type": "address[]"
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"name": "getAmountsOut",
|
|
308
|
+
"outputs": [
|
|
309
|
+
{
|
|
310
|
+
"internalType": "uint256[]",
|
|
311
|
+
"name": "amounts",
|
|
312
|
+
"type": "uint256[]"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"stateMutability": "view",
|
|
316
|
+
"type": "function"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"inputs": [],
|
|
320
|
+
"name": "getTotalLiquidity",
|
|
321
|
+
"outputs": [
|
|
322
|
+
{
|
|
323
|
+
"internalType": "uint256",
|
|
324
|
+
"name": "ingreso",
|
|
325
|
+
"type": "uint256"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"internalType": "uint256",
|
|
329
|
+
"name": "token",
|
|
330
|
+
"type": "uint256"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"internalType": "uint256",
|
|
334
|
+
"name": "participaciones",
|
|
335
|
+
"type": "uint256"
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
"stateMutability": "view",
|
|
339
|
+
"type": "function"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"inputs": [],
|
|
343
|
+
"name": "getTotalLiquidityInIncome",
|
|
344
|
+
"outputs": [
|
|
345
|
+
{
|
|
346
|
+
"internalType": "uint256",
|
|
347
|
+
"name": "",
|
|
348
|
+
"type": "uint256"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"stateMutability": "view",
|
|
352
|
+
"type": "function"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"inputs": [],
|
|
356
|
+
"name": "priceCumulativeLast",
|
|
357
|
+
"outputs": [
|
|
358
|
+
{
|
|
359
|
+
"internalType": "uint256",
|
|
360
|
+
"name": "",
|
|
361
|
+
"type": "uint256"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"stateMutability": "view",
|
|
365
|
+
"type": "function"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"inputs": [],
|
|
369
|
+
"name": "reserveIncome",
|
|
370
|
+
"outputs": [
|
|
371
|
+
{
|
|
372
|
+
"internalType": "uint256",
|
|
373
|
+
"name": "",
|
|
374
|
+
"type": "uint256"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"stateMutability": "view",
|
|
378
|
+
"type": "function"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"inputs": [],
|
|
382
|
+
"name": "reserveToken",
|
|
383
|
+
"outputs": [
|
|
384
|
+
{
|
|
385
|
+
"internalType": "uint256",
|
|
386
|
+
"name": "",
|
|
387
|
+
"type": "uint256"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"stateMutability": "view",
|
|
391
|
+
"type": "function"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"inputs": [
|
|
395
|
+
{
|
|
396
|
+
"internalType": "address",
|
|
397
|
+
"name": "",
|
|
398
|
+
"type": "address"
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"name": "sharesOf",
|
|
402
|
+
"outputs": [
|
|
403
|
+
{
|
|
404
|
+
"internalType": "uint256",
|
|
405
|
+
"name": "",
|
|
406
|
+
"type": "uint256"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"stateMutability": "view",
|
|
410
|
+
"type": "function"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"inputs": [],
|
|
414
|
+
"name": "spotPrice",
|
|
415
|
+
"outputs": [
|
|
416
|
+
{
|
|
417
|
+
"internalType": "uint256",
|
|
418
|
+
"name": "",
|
|
419
|
+
"type": "uint256"
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"stateMutability": "view",
|
|
423
|
+
"type": "function"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"inputs": [
|
|
427
|
+
{
|
|
428
|
+
"internalType": "uint256",
|
|
429
|
+
"name": "amountIn",
|
|
430
|
+
"type": "uint256"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"internalType": "uint256",
|
|
434
|
+
"name": "amountOutMin",
|
|
435
|
+
"type": "uint256"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"internalType": "address[]",
|
|
439
|
+
"name": "path",
|
|
440
|
+
"type": "address[]"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"internalType": "address",
|
|
444
|
+
"name": "to",
|
|
445
|
+
"type": "address"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"internalType": "uint256",
|
|
449
|
+
"name": "deadline",
|
|
450
|
+
"type": "uint256"
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
"name": "swapExactTokensForTokens",
|
|
454
|
+
"outputs": [
|
|
455
|
+
{
|
|
456
|
+
"internalType": "uint256[]",
|
|
457
|
+
"name": "amounts",
|
|
458
|
+
"type": "uint256[]"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"stateMutability": "nonpayable",
|
|
462
|
+
"type": "function"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"inputs": [],
|
|
466
|
+
"name": "totalShares",
|
|
467
|
+
"outputs": [
|
|
468
|
+
{
|
|
469
|
+
"internalType": "uint256",
|
|
470
|
+
"name": "",
|
|
471
|
+
"type": "uint256"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"stateMutability": "view",
|
|
475
|
+
"type": "function"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"bytecode": "0x60c0346100b657601f6111e338819003918201601f19168301916001600160401b038311848410176100ba5780849260409485528339810103126100b657610052602061004b836100ce565b92016100ce565b9060015f5560805260a05260405161110090816100e382396080518181816102360152818161059b015281816105e30152818161081601528181610ecb0152610f73015260a05181818161019f0152818161062901528181610a5c0152610e990152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036100b65756fe60806040526004361015610011575f80fd5b5f3560e01c8063054d50d414610bbd5780632f43c1bc14610ba057806335c7e92514610b6f57806338ed173914610906578063398482d8146108b05780633a98ef391461089357806348e97e6b146108765780634b3fd7951461084557806382bfefc814610801578063bf333f2c146107e6578063c5700a02146107c9578063cd3f60a714610725578063d06ca61f14610658578063e8d2279e14610614578063e8e337001461012d578063f4325d67146101105763f5eb42dc146100d4575f80fd5b3461010c57602036600319011261010c576001600160a01b036100f5610c12565b165f526006602052602060405f2054604051908152f35b5f80fd5b3461010c575f36600319011261010c576020600154604051908152f35b3461010c5761010036600319011261010c57610147610c12565b6024356001600160a01b038116919082900361010c57604435906064359060843560a43560c4359360018060a01b03851680950361010c57610187610e71565b61019560e435421115610d8d565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169794168088149485918990836105e1575b8315610599575b5050501561055f576101e8610f9b565b831561055857855b84156105505750905b831561054957825b841561054257505b60025492831580610538575b1561043d57505061022e91509380955b30903390611021565b6102638330337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611021565b60055491826103fa576102768486610caf565b5f60038211156103ec5750808060011c600181018091116103d857905b8282106103b95750505b915b821561037d576102d083610351956102b989600254610cc2565b6002556102c888600154610cc2565b600155610cc2565b600555815f52600660205260405f206102ea848254610cc2565b905515610355577f64b83944e79c3ce8d4c297411de637c3e102d064677aac0c163976ebdcd6f50e859480965b604080519182526020820192909252908101849052606090a260015f55604051938493846040919493926060820195825260208201520152565b0390f35b7f64b83944e79c3ce8d4c297411de637c3e102d064677aac0c163976ebdcd6f50e8486610317565b60405162461bcd60e51b81526020600482015260146024820152734d6f636b3a207a65726f206c697175696469747960601b6044820152606490fd5b9091506103cf826103ca8184610ccf565b610cc2565b60011c90610293565b634e487b7160e01b5f52601160045260245ffd5b901561029d5750600161029d565b6104106104078487610caf565b60025490610ccf565b61042661041d8587610caf565b60015490610ccf565b8082101561043657505b9161029f565b9050610430565b60019291925461045685610451838b610caf565b610ccf565b948386116104b9575050505081106104745761022e90938095610225565b60405162461bcd60e51b815260206004820152601f60248201527f4d6f636b3a20696e73756666696369656e7420746f6b656e20616d6f756e74006044820152606490fd5b836104cc94965061045192939550610caf565b94851115908161052d575b50156104e95761022e90938095610225565b606460405162461bcd60e51b815260206004820152602060248201527f4d6f636b3a20696e73756666696369656e7420696e636f6d6520616d6f756e746044820152fd5b9050841015866104d7565b5060015415610215565b9050610209565b8092610201565b9050906101f9565b80956101f0565b60405162461bcd60e51b815260206004820152601260248201527126b7b1b59d1034b73b30b634b2103830b4b960711b6044820152606490fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614925090826105d7575b50508888816101d8565b14905087896105cd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316831493506101d1565b3461010c575f36600319011261010c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461010c57604036600319011261010c5760043560243567ffffffffffffffff811161010c5761068c903690600401610be1565b61069b60028294939414610dc9565b8015610711576106aa83610e0a565b9060011015610711576106cf6106fb916106c960206103519601610e0a565b90610e8f565b90604051936106df606086610e1e565b600285526040366020870137806106f586610e54565b52610ced565b61070482610e61565b5260405191829182610c28565b634e487b7160e01b5f52603260045260245ffd5b3461010c575f36600319011261010c5760035461074460045442610ca2565b801515806107be575b806107b3575b610767575b60408051838152426020820152f35b60025491670de0b6b3a7640000830292808404670de0b6b3a764000014901517156103d8576107a76107ad926107a260409560015490610ccf565b610caf565b90610cc2565b90610758565b506002541515610753565b50600154151561074d565b3461010c575f36600319011261010c576020600454604051908152f35b3461010c575f36600319011261010c576020604051601e8152f35b3461010c575f36600319011261010c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461010c575f36600319011261010c576002548060011b90808204600214901517156103d857602090604051908152f35b3461010c575f36600319011261010c576020600254604051908152f35b3461010c575f36600319011261010c576020600554604051908152f35b3461010c575f36600319011261010c576002546108ce811515610c61565b600154670de0b6b3a7640000810290808204670de0b6b3a764000014901517156103d8576020916108fe91610ccf565b604051908152f35b3461010c5760a036600319011261010c5760043560443567ffffffffffffffff811161010c5761093a903690600401610be1565b6064356001600160a01b038116919082900361010c57610958610e71565b610966608435421115610d8d565b61097260028214610dc9565b80156107115761098183610e0a565b9060011015610711576109a561099e60208501926106c984610e0a565b9086610ced565b906024358210610b2a57610351947ffa2dda1cc1b86e41239702756b13effbc1a092b5c57e3ad320fbe4f3b13fe23592610a466060936109e3610f9b565b610a02846001600160a01b036109f88b610e0a565b1630903390611021565b6001600160a01b0390610a1490610e0a565b166040519063a9059cbb60e01b602083015287602483015283604483015260448252610a41606483610e1e565b611067565b610a4f86610e0a565b6001600160a01b039081167f000000000000000000000000000000000000000000000000000000000000000090911603610b0757610a8f82600254610cc2565b600255610a9e81600154610ca2565b6001555b610add60405196610ab38589610e1e565b60028852601f1985013660208a013783610acc89610e54565b5282610ad789610e61565b52610e0a565b916040519260018060a01b0316835260208301526040820152a260015f5560405191829182610c28565b610b1382600154610cc2565b600155610b2281600254610ca2565b600255610aa2565b60405162461bcd60e51b815260206004820152601c60248201527f4d6f636b3a2053776170206661696c65642028736c69707061676529000000006044820152606490fd5b3461010c575f36600319011261010c5760025460015460055460408051938452602084019290925290820152606090f35b3461010c575f36600319011261010c576020600354604051908152f35b3461010c57606036600319011261010c5760206108fe604435602435600435610ced565b9181601f8401121561010c5782359167ffffffffffffffff831161010c576020808501948460051b01011161010c57565b600435906001600160a01b038216820361010c57565b60206040818301928281528451809452019201905f5b818110610c4b5750505090565b8251845260209384019390920191600101610c3e565b15610c6857565b60405162461bcd60e51b81526020600482015260126024820152714d6f636b3a206e6f206c697175696469747960701b6044820152606490fd5b919082039182116103d857565b818102929181159184041417156103d857565b919082018092116103d857565b8115610cd9570490565b634e487b7160e01b5f52601260045260245ffd5b91908215610d5557801591821580610d4c575b610d0990610c61565b6126f284029384046126f2036103d857610d239084610caf565b9161271082029182046127101417156103d857610d4992610d4391610cc2565b90610ccf565b90565b50801515610d00565b60405162461bcd60e51b815260206004820152601060248201526f135bd8dace881e995c9bc81a5b9c1d5d60821b6044820152606490fd5b15610d9457565b60405162461bcd60e51b815260206004820152600d60248201526c135bd8dace88195e1c1a5c9959609a1b6044820152606490fd5b15610dd057565b60405162461bcd60e51b815260206004820152601260248201527109adec6d67440d2dcecc2d8d2c840e0c2e8d60731b6044820152606490fd5b356001600160a01b038116810361010c5790565b90601f8019910116810190811067ffffffffffffffff821117610e4057604052565b634e487b7160e01b5f52604160045260245ffd5b8051156107115760200190565b8051600110156107115760400190565b60025f5414610e805760025f55565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911680821480610f65575b610f58577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316149182610f45575b5050610f3b5760405162461bcd60e51b815260206004820152601260248201527109adec6d6744092dcecc2d8d2c840e0c2e8d60731b6044820152606490fd5b6001549060025490565b6001600160a01b03161490505f80610efb565b5050506002549060015490565b506001600160a01b038381167f000000000000000000000000000000000000000000000000000000000000000090911614610ec5565b610fa760045442610ca2565b80151580611016575b8061100b575b610fc2575b5042600455565b600254670de0b6b3a7640000810290808204670de0b6b3a764000014901517156103d857611002916107a2610ffa9260015490610ccf565b600354610cc2565b6003555f610fbb565b506002541515610fb6565b506001541515610fb0565b6040516323b872dd60e01b60208201526001600160a01b03928316602482015292909116604483015260648083019390935291815261106591610a41608483610e1e565b565b905f602091828151910182855af1156110bf575f513d6110b657506001600160a01b0381163b155b6110965750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b6001141561108f565b6040513d5f823e3d90fdfea264697066735822122053d83f779a8e2dae6304f8a1dc189157231f9a75e519acf20e2360ab5b65deb764736f6c634300081e0033",
|
|
479
|
+
"deployedBytecode": "0x60806040526004361015610011575f80fd5b5f3560e01c8063054d50d414610bbd5780632f43c1bc14610ba057806335c7e92514610b6f57806338ed173914610906578063398482d8146108b05780633a98ef391461089357806348e97e6b146108765780634b3fd7951461084557806382bfefc814610801578063bf333f2c146107e6578063c5700a02146107c9578063cd3f60a714610725578063d06ca61f14610658578063e8d2279e14610614578063e8e337001461012d578063f4325d67146101105763f5eb42dc146100d4575f80fd5b3461010c57602036600319011261010c576001600160a01b036100f5610c12565b165f526006602052602060405f2054604051908152f35b5f80fd5b3461010c575f36600319011261010c576020600154604051908152f35b3461010c5761010036600319011261010c57610147610c12565b6024356001600160a01b038116919082900361010c57604435906064359060843560a43560c4359360018060a01b03851680950361010c57610187610e71565b61019560e435421115610d8d565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169794168088149485918990836105e1575b8315610599575b5050501561055f576101e8610f9b565b831561055857855b84156105505750905b831561054957825b841561054257505b60025492831580610538575b1561043d57505061022e91509380955b30903390611021565b6102638330337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611021565b60055491826103fa576102768486610caf565b5f60038211156103ec5750808060011c600181018091116103d857905b8282106103b95750505b915b821561037d576102d083610351956102b989600254610cc2565b6002556102c888600154610cc2565b600155610cc2565b600555815f52600660205260405f206102ea848254610cc2565b905515610355577f64b83944e79c3ce8d4c297411de637c3e102d064677aac0c163976ebdcd6f50e859480965b604080519182526020820192909252908101849052606090a260015f55604051938493846040919493926060820195825260208201520152565b0390f35b7f64b83944e79c3ce8d4c297411de637c3e102d064677aac0c163976ebdcd6f50e8486610317565b60405162461bcd60e51b81526020600482015260146024820152734d6f636b3a207a65726f206c697175696469747960601b6044820152606490fd5b9091506103cf826103ca8184610ccf565b610cc2565b60011c90610293565b634e487b7160e01b5f52601160045260245ffd5b901561029d5750600161029d565b6104106104078487610caf565b60025490610ccf565b61042661041d8587610caf565b60015490610ccf565b8082101561043657505b9161029f565b9050610430565b60019291925461045685610451838b610caf565b610ccf565b948386116104b9575050505081106104745761022e90938095610225565b60405162461bcd60e51b815260206004820152601f60248201527f4d6f636b3a20696e73756666696369656e7420746f6b656e20616d6f756e74006044820152606490fd5b836104cc94965061045192939550610caf565b94851115908161052d575b50156104e95761022e90938095610225565b606460405162461bcd60e51b815260206004820152602060248201527f4d6f636b3a20696e73756666696369656e7420696e636f6d6520616d6f756e746044820152fd5b9050841015866104d7565b5060015415610215565b9050610209565b8092610201565b9050906101f9565b80956101f0565b60405162461bcd60e51b815260206004820152601260248201527126b7b1b59d1034b73b30b634b2103830b4b960711b6044820152606490fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614925090826105d7575b50508888816101d8565b14905087896105cd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316831493506101d1565b3461010c575f36600319011261010c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461010c57604036600319011261010c5760043560243567ffffffffffffffff811161010c5761068c903690600401610be1565b61069b60028294939414610dc9565b8015610711576106aa83610e0a565b9060011015610711576106cf6106fb916106c960206103519601610e0a565b90610e8f565b90604051936106df606086610e1e565b600285526040366020870137806106f586610e54565b52610ced565b61070482610e61565b5260405191829182610c28565b634e487b7160e01b5f52603260045260245ffd5b3461010c575f36600319011261010c5760035461074460045442610ca2565b801515806107be575b806107b3575b610767575b60408051838152426020820152f35b60025491670de0b6b3a7640000830292808404670de0b6b3a764000014901517156103d8576107a76107ad926107a260409560015490610ccf565b610caf565b90610cc2565b90610758565b506002541515610753565b50600154151561074d565b3461010c575f36600319011261010c576020600454604051908152f35b3461010c575f36600319011261010c576020604051601e8152f35b3461010c575f36600319011261010c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461010c575f36600319011261010c576002548060011b90808204600214901517156103d857602090604051908152f35b3461010c575f36600319011261010c576020600254604051908152f35b3461010c575f36600319011261010c576020600554604051908152f35b3461010c575f36600319011261010c576002546108ce811515610c61565b600154670de0b6b3a7640000810290808204670de0b6b3a764000014901517156103d8576020916108fe91610ccf565b604051908152f35b3461010c5760a036600319011261010c5760043560443567ffffffffffffffff811161010c5761093a903690600401610be1565b6064356001600160a01b038116919082900361010c57610958610e71565b610966608435421115610d8d565b61097260028214610dc9565b80156107115761098183610e0a565b9060011015610711576109a561099e60208501926106c984610e0a565b9086610ced565b906024358210610b2a57610351947ffa2dda1cc1b86e41239702756b13effbc1a092b5c57e3ad320fbe4f3b13fe23592610a466060936109e3610f9b565b610a02846001600160a01b036109f88b610e0a565b1630903390611021565b6001600160a01b0390610a1490610e0a565b166040519063a9059cbb60e01b602083015287602483015283604483015260448252610a41606483610e1e565b611067565b610a4f86610e0a565b6001600160a01b039081167f000000000000000000000000000000000000000000000000000000000000000090911603610b0757610a8f82600254610cc2565b600255610a9e81600154610ca2565b6001555b610add60405196610ab38589610e1e565b60028852601f1985013660208a013783610acc89610e54565b5282610ad789610e61565b52610e0a565b916040519260018060a01b0316835260208301526040820152a260015f5560405191829182610c28565b610b1382600154610cc2565b600155610b2281600254610ca2565b600255610aa2565b60405162461bcd60e51b815260206004820152601c60248201527f4d6f636b3a2053776170206661696c65642028736c69707061676529000000006044820152606490fd5b3461010c575f36600319011261010c5760025460015460055460408051938452602084019290925290820152606090f35b3461010c575f36600319011261010c576020600354604051908152f35b3461010c57606036600319011261010c5760206108fe604435602435600435610ced565b9181601f8401121561010c5782359167ffffffffffffffff831161010c576020808501948460051b01011161010c57565b600435906001600160a01b038216820361010c57565b60206040818301928281528451809452019201905f5b818110610c4b5750505090565b8251845260209384019390920191600101610c3e565b15610c6857565b60405162461bcd60e51b81526020600482015260126024820152714d6f636b3a206e6f206c697175696469747960701b6044820152606490fd5b919082039182116103d857565b818102929181159184041417156103d857565b919082018092116103d857565b8115610cd9570490565b634e487b7160e01b5f52601260045260245ffd5b91908215610d5557801591821580610d4c575b610d0990610c61565b6126f284029384046126f2036103d857610d239084610caf565b9161271082029182046127101417156103d857610d4992610d4391610cc2565b90610ccf565b90565b50801515610d00565b60405162461bcd60e51b815260206004820152601060248201526f135bd8dace881e995c9bc81a5b9c1d5d60821b6044820152606490fd5b15610d9457565b60405162461bcd60e51b815260206004820152600d60248201526c135bd8dace88195e1c1a5c9959609a1b6044820152606490fd5b15610dd057565b60405162461bcd60e51b815260206004820152601260248201527109adec6d67440d2dcecc2d8d2c840e0c2e8d60731b6044820152606490fd5b356001600160a01b038116810361010c5790565b90601f8019910116810190811067ffffffffffffffff821117610e4057604052565b634e487b7160e01b5f52604160045260245ffd5b8051156107115760200190565b8051600110156107115760400190565b60025f5414610e805760025f55565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911680821480610f65575b610f58577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316149182610f45575b5050610f3b5760405162461bcd60e51b815260206004820152601260248201527109adec6d6744092dcecc2d8d2c840e0c2e8d60731b6044820152606490fd5b6001549060025490565b6001600160a01b03161490505f80610efb565b5050506002549060015490565b506001600160a01b038381167f000000000000000000000000000000000000000000000000000000000000000090911614610ec5565b610fa760045442610ca2565b80151580611016575b8061100b575b610fc2575b5042600455565b600254670de0b6b3a7640000810290808204670de0b6b3a764000014901517156103d857611002916107a2610ffa9260015490610ccf565b600354610cc2565b6003555f610fbb565b506002541515610fb6565b506001541515610fb0565b6040516323b872dd60e01b60208201526001600160a01b03928316602482015292909116604483015260648083019390935291815261106591610a41608483610e1e565b565b905f602091828151910182855af1156110bf575f513d6110b657506001600160a01b0381163b155b6110965750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b6001141561108f565b6040513d5f823e3d90fdfea264697066735822122053d83f779a8e2dae6304f8a1dc189157231f9a75e519acf20e2360ab5b65deb764736f6c634300081e0033",
|
|
480
|
+
"linkReferences": {},
|
|
481
|
+
"deployedLinkReferences": {},
|
|
482
|
+
"immutableReferences": {
|
|
483
|
+
"13001": [
|
|
484
|
+
{
|
|
485
|
+
"length": 32,
|
|
486
|
+
"start": 566
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"length": 32,
|
|
490
|
+
"start": 1435
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"length": 32,
|
|
494
|
+
"start": 1507
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"length": 32,
|
|
498
|
+
"start": 2070
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"length": 32,
|
|
502
|
+
"start": 3787
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"length": 32,
|
|
506
|
+
"start": 3955
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"13003": [
|
|
510
|
+
{
|
|
511
|
+
"length": 32,
|
|
512
|
+
"start": 415
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"length": 32,
|
|
516
|
+
"start": 1577
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"length": 32,
|
|
520
|
+
"start": 2652
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"length": 32,
|
|
524
|
+
"start": 3737
|
|
525
|
+
}
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
"inputSourceName": "project/contracts/economy/Liquidity/LinealDex.sol",
|
|
529
|
+
"buildInfoId": "solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532"
|
|
530
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file was autogenerated by Hardhat, do not edit it.
|
|
2
|
+
// prettier-ignore
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// eslint-disable
|
|
5
|
+
// biome-ignore format: see above
|
|
6
|
+
|
|
7
|
+
export interface LinealDex$Type {
|
|
8
|
+
readonly _format: "hh3-artifact-1";
|
|
9
|
+
readonly contractName: "LinealDex";
|
|
10
|
+
readonly sourceName: "contracts/economy/Liquidity/LinealDex.sol";
|
|
11
|
+
readonly abi: [{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_income","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIncome","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIncome","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"LiquidityRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"tokenIn","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"Swap","type":"event"},{"inputs":[],"name":"FEE_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INCOME_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"amountADesired","type":"uint256"},{"internalType":"uint256","name":"amountBDesired","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blockTimestampLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPriceCumulative","outputs":[{"internalType":"uint256","name":"cumulative","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalLiquidity","outputs":[{"internalType":"uint256","name":"ingreso","type":"uint256"},{"internalType":"uint256","name":"token","type":"uint256"},{"internalType":"uint256","name":"participaciones","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalLiquidityInIncome","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceCumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveIncome","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sharesOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spotPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}];
|
|
12
|
+
readonly bytecode: "0x60c0346100b657601f6111e338819003918201601f19168301916001600160401b038311848410176100ba5780849260409485528339810103126100b657610052602061004b836100ce565b92016100ce565b9060015f5560805260a05260405161110090816100e382396080518181816102360152818161059b015281816105e30152818161081601528181610ecb0152610f73015260a05181818161019f0152818161062901528181610a5c0152610e990152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036100b65756fe60806040526004361015610011575f80fd5b5f3560e01c8063054d50d414610bbd5780632f43c1bc14610ba057806335c7e92514610b6f57806338ed173914610906578063398482d8146108b05780633a98ef391461089357806348e97e6b146108765780634b3fd7951461084557806382bfefc814610801578063bf333f2c146107e6578063c5700a02146107c9578063cd3f60a714610725578063d06ca61f14610658578063e8d2279e14610614578063e8e337001461012d578063f4325d67146101105763f5eb42dc146100d4575f80fd5b3461010c57602036600319011261010c576001600160a01b036100f5610c12565b165f526006602052602060405f2054604051908152f35b5f80fd5b3461010c575f36600319011261010c576020600154604051908152f35b3461010c5761010036600319011261010c57610147610c12565b6024356001600160a01b038116919082900361010c57604435906064359060843560a43560c4359360018060a01b03851680950361010c57610187610e71565b61019560e435421115610d8d565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169794168088149485918990836105e1575b8315610599575b5050501561055f576101e8610f9b565b831561055857855b84156105505750905b831561054957825b841561054257505b60025492831580610538575b1561043d57505061022e91509380955b30903390611021565b6102638330337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611021565b60055491826103fa576102768486610caf565b5f60038211156103ec5750808060011c600181018091116103d857905b8282106103b95750505b915b821561037d576102d083610351956102b989600254610cc2565b6002556102c888600154610cc2565b600155610cc2565b600555815f52600660205260405f206102ea848254610cc2565b905515610355577f64b83944e79c3ce8d4c297411de637c3e102d064677aac0c163976ebdcd6f50e859480965b604080519182526020820192909252908101849052606090a260015f55604051938493846040919493926060820195825260208201520152565b0390f35b7f64b83944e79c3ce8d4c297411de637c3e102d064677aac0c163976ebdcd6f50e8486610317565b60405162461bcd60e51b81526020600482015260146024820152734d6f636b3a207a65726f206c697175696469747960601b6044820152606490fd5b9091506103cf826103ca8184610ccf565b610cc2565b60011c90610293565b634e487b7160e01b5f52601160045260245ffd5b901561029d5750600161029d565b6104106104078487610caf565b60025490610ccf565b61042661041d8587610caf565b60015490610ccf565b8082101561043657505b9161029f565b9050610430565b60019291925461045685610451838b610caf565b610ccf565b948386116104b9575050505081106104745761022e90938095610225565b60405162461bcd60e51b815260206004820152601f60248201527f4d6f636b3a20696e73756666696369656e7420746f6b656e20616d6f756e74006044820152606490fd5b836104cc94965061045192939550610caf565b94851115908161052d575b50156104e95761022e90938095610225565b606460405162461bcd60e51b815260206004820152602060248201527f4d6f636b3a20696e73756666696369656e7420696e636f6d6520616d6f756e746044820152fd5b9050841015866104d7565b5060015415610215565b9050610209565b8092610201565b9050906101f9565b80956101f0565b60405162461bcd60e51b815260206004820152601260248201527126b7b1b59d1034b73b30b634b2103830b4b960711b6044820152606490fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614925090826105d7575b50508888816101d8565b14905087896105cd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316831493506101d1565b3461010c575f36600319011261010c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461010c57604036600319011261010c5760043560243567ffffffffffffffff811161010c5761068c903690600401610be1565b61069b60028294939414610dc9565b8015610711576106aa83610e0a565b9060011015610711576106cf6106fb916106c960206103519601610e0a565b90610e8f565b90604051936106df606086610e1e565b600285526040366020870137806106f586610e54565b52610ced565b61070482610e61565b5260405191829182610c28565b634e487b7160e01b5f52603260045260245ffd5b3461010c575f36600319011261010c5760035461074460045442610ca2565b801515806107be575b806107b3575b610767575b60408051838152426020820152f35b60025491670de0b6b3a7640000830292808404670de0b6b3a764000014901517156103d8576107a76107ad926107a260409560015490610ccf565b610caf565b90610cc2565b90610758565b506002541515610753565b50600154151561074d565b3461010c575f36600319011261010c576020600454604051908152f35b3461010c575f36600319011261010c576020604051601e8152f35b3461010c575f36600319011261010c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461010c575f36600319011261010c576002548060011b90808204600214901517156103d857602090604051908152f35b3461010c575f36600319011261010c576020600254604051908152f35b3461010c575f36600319011261010c576020600554604051908152f35b3461010c575f36600319011261010c576002546108ce811515610c61565b600154670de0b6b3a7640000810290808204670de0b6b3a764000014901517156103d8576020916108fe91610ccf565b604051908152f35b3461010c5760a036600319011261010c5760043560443567ffffffffffffffff811161010c5761093a903690600401610be1565b6064356001600160a01b038116919082900361010c57610958610e71565b610966608435421115610d8d565b61097260028214610dc9565b80156107115761098183610e0a565b9060011015610711576109a561099e60208501926106c984610e0a565b9086610ced565b906024358210610b2a57610351947ffa2dda1cc1b86e41239702756b13effbc1a092b5c57e3ad320fbe4f3b13fe23592610a466060936109e3610f9b565b610a02846001600160a01b036109f88b610e0a565b1630903390611021565b6001600160a01b0390610a1490610e0a565b166040519063a9059cbb60e01b602083015287602483015283604483015260448252610a41606483610e1e565b611067565b610a4f86610e0a565b6001600160a01b039081167f000000000000000000000000000000000000000000000000000000000000000090911603610b0757610a8f82600254610cc2565b600255610a9e81600154610ca2565b6001555b610add60405196610ab38589610e1e565b60028852601f1985013660208a013783610acc89610e54565b5282610ad789610e61565b52610e0a565b916040519260018060a01b0316835260208301526040820152a260015f5560405191829182610c28565b610b1382600154610cc2565b600155610b2281600254610ca2565b600255610aa2565b60405162461bcd60e51b815260206004820152601c60248201527f4d6f636b3a2053776170206661696c65642028736c69707061676529000000006044820152606490fd5b3461010c575f36600319011261010c5760025460015460055460408051938452602084019290925290820152606090f35b3461010c575f36600319011261010c576020600354604051908152f35b3461010c57606036600319011261010c5760206108fe604435602435600435610ced565b9181601f8401121561010c5782359167ffffffffffffffff831161010c576020808501948460051b01011161010c57565b600435906001600160a01b038216820361010c57565b60206040818301928281528451809452019201905f5b818110610c4b5750505090565b8251845260209384019390920191600101610c3e565b15610c6857565b60405162461bcd60e51b81526020600482015260126024820152714d6f636b3a206e6f206c697175696469747960701b6044820152606490fd5b919082039182116103d857565b818102929181159184041417156103d857565b919082018092116103d857565b8115610cd9570490565b634e487b7160e01b5f52601260045260245ffd5b91908215610d5557801591821580610d4c575b610d0990610c61565b6126f284029384046126f2036103d857610d239084610caf565b9161271082029182046127101417156103d857610d4992610d4391610cc2565b90610ccf565b90565b50801515610d00565b60405162461bcd60e51b815260206004820152601060248201526f135bd8dace881e995c9bc81a5b9c1d5d60821b6044820152606490fd5b15610d9457565b60405162461bcd60e51b815260206004820152600d60248201526c135bd8dace88195e1c1a5c9959609a1b6044820152606490fd5b15610dd057565b60405162461bcd60e51b815260206004820152601260248201527109adec6d67440d2dcecc2d8d2c840e0c2e8d60731b6044820152606490fd5b356001600160a01b038116810361010c5790565b90601f8019910116810190811067ffffffffffffffff821117610e4057604052565b634e487b7160e01b5f52604160045260245ffd5b8051156107115760200190565b8051600110156107115760400190565b60025f5414610e805760025f55565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911680821480610f65575b610f58577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316149182610f45575b5050610f3b5760405162461bcd60e51b815260206004820152601260248201527109adec6d6744092dcecc2d8d2c840e0c2e8d60731b6044820152606490fd5b6001549060025490565b6001600160a01b03161490505f80610efb565b5050506002549060015490565b506001600160a01b038381167f000000000000000000000000000000000000000000000000000000000000000090911614610ec5565b610fa760045442610ca2565b80151580611016575b8061100b575b610fc2575b5042600455565b600254670de0b6b3a7640000810290808204670de0b6b3a764000014901517156103d857611002916107a2610ffa9260015490610ccf565b600354610cc2565b6003555f610fbb565b506002541515610fb6565b506001541515610fb0565b6040516323b872dd60e01b60208201526001600160a01b03928316602482015292909116604483015260648083019390935291815261106591610a41608483610e1e565b565b905f602091828151910182855af1156110bf575f513d6110b657506001600160a01b0381163b155b6110965750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b6001141561108f565b6040513d5f823e3d90fdfea264697066735822122053d83f779a8e2dae6304f8a1dc189157231f9a75e519acf20e2360ab5b65deb764736f6c634300081e0033";
|
|
13
|
+
readonly deployedBytecode: "0x60806040526004361015610011575f80fd5b5f3560e01c8063054d50d414610bbd5780632f43c1bc14610ba057806335c7e92514610b6f57806338ed173914610906578063398482d8146108b05780633a98ef391461089357806348e97e6b146108765780634b3fd7951461084557806382bfefc814610801578063bf333f2c146107e6578063c5700a02146107c9578063cd3f60a714610725578063d06ca61f14610658578063e8d2279e14610614578063e8e337001461012d578063f4325d67146101105763f5eb42dc146100d4575f80fd5b3461010c57602036600319011261010c576001600160a01b036100f5610c12565b165f526006602052602060405f2054604051908152f35b5f80fd5b3461010c575f36600319011261010c576020600154604051908152f35b3461010c5761010036600319011261010c57610147610c12565b6024356001600160a01b038116919082900361010c57604435906064359060843560a43560c4359360018060a01b03851680950361010c57610187610e71565b61019560e435421115610d8d565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169794168088149485918990836105e1575b8315610599575b5050501561055f576101e8610f9b565b831561055857855b84156105505750905b831561054957825b841561054257505b60025492831580610538575b1561043d57505061022e91509380955b30903390611021565b6102638330337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611021565b60055491826103fa576102768486610caf565b5f60038211156103ec5750808060011c600181018091116103d857905b8282106103b95750505b915b821561037d576102d083610351956102b989600254610cc2565b6002556102c888600154610cc2565b600155610cc2565b600555815f52600660205260405f206102ea848254610cc2565b905515610355577f64b83944e79c3ce8d4c297411de637c3e102d064677aac0c163976ebdcd6f50e859480965b604080519182526020820192909252908101849052606090a260015f55604051938493846040919493926060820195825260208201520152565b0390f35b7f64b83944e79c3ce8d4c297411de637c3e102d064677aac0c163976ebdcd6f50e8486610317565b60405162461bcd60e51b81526020600482015260146024820152734d6f636b3a207a65726f206c697175696469747960601b6044820152606490fd5b9091506103cf826103ca8184610ccf565b610cc2565b60011c90610293565b634e487b7160e01b5f52601160045260245ffd5b901561029d5750600161029d565b6104106104078487610caf565b60025490610ccf565b61042661041d8587610caf565b60015490610ccf565b8082101561043657505b9161029f565b9050610430565b60019291925461045685610451838b610caf565b610ccf565b948386116104b9575050505081106104745761022e90938095610225565b60405162461bcd60e51b815260206004820152601f60248201527f4d6f636b3a20696e73756666696369656e7420746f6b656e20616d6f756e74006044820152606490fd5b836104cc94965061045192939550610caf565b94851115908161052d575b50156104e95761022e90938095610225565b606460405162461bcd60e51b815260206004820152602060248201527f4d6f636b3a20696e73756666696369656e7420696e636f6d6520616d6f756e746044820152fd5b9050841015866104d7565b5060015415610215565b9050610209565b8092610201565b9050906101f9565b80956101f0565b60405162461bcd60e51b815260206004820152601260248201527126b7b1b59d1034b73b30b634b2103830b4b960711b6044820152606490fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614925090826105d7575b50508888816101d8565b14905087896105cd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316831493506101d1565b3461010c575f36600319011261010c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461010c57604036600319011261010c5760043560243567ffffffffffffffff811161010c5761068c903690600401610be1565b61069b60028294939414610dc9565b8015610711576106aa83610e0a565b9060011015610711576106cf6106fb916106c960206103519601610e0a565b90610e8f565b90604051936106df606086610e1e565b600285526040366020870137806106f586610e54565b52610ced565b61070482610e61565b5260405191829182610c28565b634e487b7160e01b5f52603260045260245ffd5b3461010c575f36600319011261010c5760035461074460045442610ca2565b801515806107be575b806107b3575b610767575b60408051838152426020820152f35b60025491670de0b6b3a7640000830292808404670de0b6b3a764000014901517156103d8576107a76107ad926107a260409560015490610ccf565b610caf565b90610cc2565b90610758565b506002541515610753565b50600154151561074d565b3461010c575f36600319011261010c576020600454604051908152f35b3461010c575f36600319011261010c576020604051601e8152f35b3461010c575f36600319011261010c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461010c575f36600319011261010c576002548060011b90808204600214901517156103d857602090604051908152f35b3461010c575f36600319011261010c576020600254604051908152f35b3461010c575f36600319011261010c576020600554604051908152f35b3461010c575f36600319011261010c576002546108ce811515610c61565b600154670de0b6b3a7640000810290808204670de0b6b3a764000014901517156103d8576020916108fe91610ccf565b604051908152f35b3461010c5760a036600319011261010c5760043560443567ffffffffffffffff811161010c5761093a903690600401610be1565b6064356001600160a01b038116919082900361010c57610958610e71565b610966608435421115610d8d565b61097260028214610dc9565b80156107115761098183610e0a565b9060011015610711576109a561099e60208501926106c984610e0a565b9086610ced565b906024358210610b2a57610351947ffa2dda1cc1b86e41239702756b13effbc1a092b5c57e3ad320fbe4f3b13fe23592610a466060936109e3610f9b565b610a02846001600160a01b036109f88b610e0a565b1630903390611021565b6001600160a01b0390610a1490610e0a565b166040519063a9059cbb60e01b602083015287602483015283604483015260448252610a41606483610e1e565b611067565b610a4f86610e0a565b6001600160a01b039081167f000000000000000000000000000000000000000000000000000000000000000090911603610b0757610a8f82600254610cc2565b600255610a9e81600154610ca2565b6001555b610add60405196610ab38589610e1e565b60028852601f1985013660208a013783610acc89610e54565b5282610ad789610e61565b52610e0a565b916040519260018060a01b0316835260208301526040820152a260015f5560405191829182610c28565b610b1382600154610cc2565b600155610b2281600254610ca2565b600255610aa2565b60405162461bcd60e51b815260206004820152601c60248201527f4d6f636b3a2053776170206661696c65642028736c69707061676529000000006044820152606490fd5b3461010c575f36600319011261010c5760025460015460055460408051938452602084019290925290820152606090f35b3461010c575f36600319011261010c576020600354604051908152f35b3461010c57606036600319011261010c5760206108fe604435602435600435610ced565b9181601f8401121561010c5782359167ffffffffffffffff831161010c576020808501948460051b01011161010c57565b600435906001600160a01b038216820361010c57565b60206040818301928281528451809452019201905f5b818110610c4b5750505090565b8251845260209384019390920191600101610c3e565b15610c6857565b60405162461bcd60e51b81526020600482015260126024820152714d6f636b3a206e6f206c697175696469747960701b6044820152606490fd5b919082039182116103d857565b818102929181159184041417156103d857565b919082018092116103d857565b8115610cd9570490565b634e487b7160e01b5f52601260045260245ffd5b91908215610d5557801591821580610d4c575b610d0990610c61565b6126f284029384046126f2036103d857610d239084610caf565b9161271082029182046127101417156103d857610d4992610d4391610cc2565b90610ccf565b90565b50801515610d00565b60405162461bcd60e51b815260206004820152601060248201526f135bd8dace881e995c9bc81a5b9c1d5d60821b6044820152606490fd5b15610d9457565b60405162461bcd60e51b815260206004820152600d60248201526c135bd8dace88195e1c1a5c9959609a1b6044820152606490fd5b15610dd057565b60405162461bcd60e51b815260206004820152601260248201527109adec6d67440d2dcecc2d8d2c840e0c2e8d60731b6044820152606490fd5b356001600160a01b038116810361010c5790565b90601f8019910116810190811067ffffffffffffffff821117610e4057604052565b634e487b7160e01b5f52604160045260245ffd5b8051156107115760200190565b8051600110156107115760400190565b60025f5414610e805760025f55565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911680821480610f65575b610f58577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316149182610f45575b5050610f3b5760405162461bcd60e51b815260206004820152601260248201527109adec6d6744092dcecc2d8d2c840e0c2e8d60731b6044820152606490fd5b6001549060025490565b6001600160a01b03161490505f80610efb565b5050506002549060015490565b506001600160a01b038381167f000000000000000000000000000000000000000000000000000000000000000090911614610ec5565b610fa760045442610ca2565b80151580611016575b8061100b575b610fc2575b5042600455565b600254670de0b6b3a7640000810290808204670de0b6b3a764000014901517156103d857611002916107a2610ffa9260015490610ccf565b600354610cc2565b6003555f610fbb565b506002541515610fb6565b506001541515610fb0565b6040516323b872dd60e01b60208201526001600160a01b03928316602482015292909116604483015260648083019390935291815261106591610a41608483610e1e565b565b905f602091828151910182855af1156110bf575f513d6110b657506001600160a01b0381163b155b6110965750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b6001141561108f565b6040513d5f823e3d90fdfea264697066735822122053d83f779a8e2dae6304f8a1dc189157231f9a75e519acf20e2360ab5b65deb764736f6c634300081e0033";
|
|
14
|
+
readonly linkReferences: {};
|
|
15
|
+
readonly deployedLinkReferences: {};
|
|
16
|
+
readonly immutableReferences: {"13001":[{"length":32,"start":566},{"length":32,"start":1435},{"length":32,"start":1507},{"length":32,"start":2070},{"length":32,"start":3787},{"length":32,"start":3955}],"13003":[{"length":32,"start":415},{"length":32,"start":1577},{"length":32,"start":2652},{"length":32,"start":3737}]};
|
|
17
|
+
readonly inputSourceName: "project/contracts/economy/Liquidity/LinealDex.sol";
|
|
18
|
+
readonly buildInfoId: "solc-0_8_30-e703f2fe389268a2246aec69fef2175182b7b532";
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
import "hardhat/types/artifacts";
|
|
22
|
+
declare module "hardhat/types/artifacts" {
|
|
23
|
+
interface ArtifactMap {
|
|
24
|
+
["LinealDex"]: LinealDex$Type;
|
|
25
|
+
["contracts/economy/Liquidity/LinealDex.sol:LinealDex"]: LinealDex$Type;
|
|
26
|
+
}
|
|
27
|
+
}
|