Skip to content

Commit c708e83

Browse files
committed
another update
1 parent 53e9386 commit c708e83

14 files changed

+2099
-59
lines changed

abis/BFactory.json

+328
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,328 @@
1+
{
2+
"_format": "hh-sol-artifact-1",
3+
"contractName": "BFactory",
4+
"sourceName": "contracts/pools/balancer/BFactory.sol",
5+
"abi": [
6+
{
7+
"inputs": [
8+
{
9+
"internalType": "address",
10+
"name": "_bpoolTemplate",
11+
"type": "address"
12+
},
13+
{
14+
"internalType": "address",
15+
"name": "_opfCollector",
16+
"type": "address"
17+
},
18+
{
19+
"internalType": "address[]",
20+
"name": "_preCreatedPools",
21+
"type": "address[]"
22+
}
23+
],
24+
"stateMutability": "nonpayable",
25+
"type": "constructor"
26+
},
27+
{
28+
"anonymous": false,
29+
"inputs": [
30+
{
31+
"indexed": true,
32+
"internalType": "address",
33+
"name": "newBPoolAddress",
34+
"type": "address"
35+
},
36+
{
37+
"indexed": true,
38+
"internalType": "address",
39+
"name": "registeredBy",
40+
"type": "address"
41+
},
42+
{
43+
"indexed": true,
44+
"internalType": "address",
45+
"name": "datatokenAddress",
46+
"type": "address"
47+
},
48+
{
49+
"indexed": false,
50+
"internalType": "address",
51+
"name": "basetokenAddress",
52+
"type": "address"
53+
},
54+
{
55+
"indexed": false,
56+
"internalType": "address",
57+
"name": "bpoolTemplateAddress",
58+
"type": "address"
59+
},
60+
{
61+
"indexed": false,
62+
"internalType": "address",
63+
"name": "ssAddress",
64+
"type": "address"
65+
}
66+
],
67+
"name": "BPoolCreated",
68+
"type": "event"
69+
},
70+
{
71+
"anonymous": false,
72+
"inputs": [
73+
{
74+
"indexed": false,
75+
"internalType": "address",
76+
"name": "instance",
77+
"type": "address"
78+
}
79+
],
80+
"name": "InstanceDeployed",
81+
"type": "event"
82+
},
83+
{
84+
"inputs": [],
85+
"name": "BONE",
86+
"outputs": [
87+
{
88+
"internalType": "uint256",
89+
"name": "",
90+
"type": "uint256"
91+
}
92+
],
93+
"stateMutability": "view",
94+
"type": "function"
95+
},
96+
{
97+
"inputs": [],
98+
"name": "BPOW_PRECISION",
99+
"outputs": [
100+
{
101+
"internalType": "uint256",
102+
"name": "",
103+
"type": "uint256"
104+
}
105+
],
106+
"stateMutability": "view",
107+
"type": "function"
108+
},
109+
{
110+
"inputs": [],
111+
"name": "EXIT_FEE",
112+
"outputs": [
113+
{
114+
"internalType": "uint256",
115+
"name": "",
116+
"type": "uint256"
117+
}
118+
],
119+
"stateMutability": "view",
120+
"type": "function"
121+
},
122+
{
123+
"inputs": [],
124+
"name": "INIT_POOL_SUPPLY",
125+
"outputs": [
126+
{
127+
"internalType": "uint256",
128+
"name": "",
129+
"type": "uint256"
130+
}
131+
],
132+
"stateMutability": "view",
133+
"type": "function"
134+
},
135+
{
136+
"inputs": [],
137+
"name": "MAX_BOUND_TOKENS",
138+
"outputs": [
139+
{
140+
"internalType": "uint256",
141+
"name": "",
142+
"type": "uint256"
143+
}
144+
],
145+
"stateMutability": "view",
146+
"type": "function"
147+
},
148+
{
149+
"inputs": [],
150+
"name": "MAX_BPOW_BASE",
151+
"outputs": [
152+
{
153+
"internalType": "uint256",
154+
"name": "",
155+
"type": "uint256"
156+
}
157+
],
158+
"stateMutability": "view",
159+
"type": "function"
160+
},
161+
{
162+
"inputs": [],
163+
"name": "MAX_FEE",
164+
"outputs": [
165+
{
166+
"internalType": "uint256",
167+
"name": "",
168+
"type": "uint256"
169+
}
170+
],
171+
"stateMutability": "view",
172+
"type": "function"
173+
},
174+
{
175+
"inputs": [],
176+
"name": "MAX_IN_RATIO",
177+
"outputs": [
178+
{
179+
"internalType": "uint256",
180+
"name": "",
181+
"type": "uint256"
182+
}
183+
],
184+
"stateMutability": "view",
185+
"type": "function"
186+
},
187+
{
188+
"inputs": [],
189+
"name": "MAX_OUT_RATIO",
190+
"outputs": [
191+
{
192+
"internalType": "uint256",
193+
"name": "",
194+
"type": "uint256"
195+
}
196+
],
197+
"stateMutability": "view",
198+
"type": "function"
199+
},
200+
{
201+
"inputs": [],
202+
"name": "MAX_TOTAL_WEIGHT",
203+
"outputs": [
204+
{
205+
"internalType": "uint256",
206+
"name": "",
207+
"type": "uint256"
208+
}
209+
],
210+
"stateMutability": "view",
211+
"type": "function"
212+
},
213+
{
214+
"inputs": [],
215+
"name": "MAX_WEIGHT",
216+
"outputs": [
217+
{
218+
"internalType": "uint256",
219+
"name": "",
220+
"type": "uint256"
221+
}
222+
],
223+
"stateMutability": "view",
224+
"type": "function"
225+
},
226+
{
227+
"inputs": [],
228+
"name": "MIN_BALANCE",
229+
"outputs": [
230+
{
231+
"internalType": "uint256",
232+
"name": "",
233+
"type": "uint256"
234+
}
235+
],
236+
"stateMutability": "view",
237+
"type": "function"
238+
},
239+
{
240+
"inputs": [],
241+
"name": "MIN_BOUND_TOKENS",
242+
"outputs": [
243+
{
244+
"internalType": "uint256",
245+
"name": "",
246+
"type": "uint256"
247+
}
248+
],
249+
"stateMutability": "view",
250+
"type": "function"
251+
},
252+
{
253+
"inputs": [],
254+
"name": "MIN_BPOW_BASE",
255+
"outputs": [
256+
{
257+
"internalType": "uint256",
258+
"name": "",
259+
"type": "uint256"
260+
}
261+
],
262+
"stateMutability": "view",
263+
"type": "function"
264+
},
265+
{
266+
"inputs": [],
267+
"name": "MIN_FEE",
268+
"outputs": [
269+
{
270+
"internalType": "uint256",
271+
"name": "",
272+
"type": "uint256"
273+
}
274+
],
275+
"stateMutability": "view",
276+
"type": "function"
277+
},
278+
{
279+
"inputs": [],
280+
"name": "MIN_WEIGHT",
281+
"outputs": [
282+
{
283+
"internalType": "uint256",
284+
"name": "",
285+
"type": "uint256"
286+
}
287+
],
288+
"stateMutability": "view",
289+
"type": "function"
290+
},
291+
{
292+
"inputs": [
293+
{
294+
"internalType": "address",
295+
"name": "poolTemplate",
296+
"type": "address"
297+
}
298+
],
299+
"name": "isPoolTemplate",
300+
"outputs": [
301+
{
302+
"internalType": "bool",
303+
"name": "",
304+
"type": "bool"
305+
}
306+
],
307+
"stateMutability": "view",
308+
"type": "function"
309+
},
310+
{
311+
"inputs": [],
312+
"name": "opfCollector",
313+
"outputs": [
314+
{
315+
"internalType": "address",
316+
"name": "",
317+
"type": "address"
318+
}
319+
],
320+
"stateMutability": "view",
321+
"type": "function"
322+
}
323+
],
324+
"bytecode": "0x608060405234801561001057600080fd5b5060405161071938038061071983398101604081905261002f91610207565b6001600160a01b0383166100a05760405162461bcd60e51b815260206004820152602d60248201527f42466163746f72793a20696e76616c69642062706f6f6c2074656d706c61746560448201526c207a65726f206164647265737360981b60648201526084015b60405180910390fd5b6001600160a01b0382166100f65760405162461bcd60e51b815260206004820152601660248201527f42466163746f72793a207a65726f2061646472657373000000000000000000006044820152606401610097565b600080546001600160a01b0319166001600160a01b03841617905561013c836001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b8051156101e35760005b81518110156101e15760006001600160a01b0316336001600160a01b03168383815181106101765761017661031f565b602090810291909101810151604080516000808252938101849052908101929092526001600160a01b0316907fbb6121447d29a04cc37bfd93cdf6a9dd08229f2d941116c1528f04698c4e790e9060600160405180910390a4806101d9816102f6565b915050610146565b505b50505061034b565b80516001600160a01b038116811461020257600080fd5b919050565b60008060006060848603121561021c57600080fd5b610225846101eb565b925060206102348186016101eb565b60408601519093506001600160401b038082111561025157600080fd5b818701915087601f83011261026557600080fd5b81518181111561027757610277610335565b8060051b604051601f19603f8301168101818110858211171561029c5761029c610335565b604052828152858101935084860182860187018c10156102bb57600080fd5b600095505b838610156102e5576102d1816101eb565b8552600195909501949386019386016102c0565b508096505050505050509250925092565b600060001982141561031857634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6103bf8061035a6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063b7b800a4116100a2578063c07c00fe11610071578063c07c00fe146101b8578063c36596a61461013e578063c6580d12146101f4578063e4a28a521461011b578063ec093021146101fc57600080fd5b8063b7b800a414610198578063ba019dab146101a0578063bc063e1a146101a8578063bc694ea2146101b057600080fd5b8063867378c5116100e9578063867378c5146101555780639381cd2b1461015d578063992e2a9214610165578063a28f78f11461016d578063b0e0d1361461019857600080fd5b806309a3bbe41461011b578063189d00ca14610136578063218b53821461013e57806376c7a3c71461014d575b600080fd5b610123610204565b6040519081526020015b60405180910390f35b61012361021a565b610123670de0b6b3a764000081565b610123610231565b610123610246565b61012361025d565b610123610270565b600054610180906001600160a01b031681565b6040516001600160a01b03909116815260200161012d565b610123600281565b610123600181565b61012361028e565b6101236102a1565b6101e46101c63660046102d3565b6001600160a01b031660009081526001602052604090205460ff1690565b604051901515815260200161012d565b610123600081565b6101236102c0565b610217670de0b6b3a7640000603261033d565b81565b6102176402540be400670de0b6b3a764000061031b565b610217620f4240670de0b6b3a764000061031b565b61021764e8d4a51000670de0b6b3a764000061031b565b610217670de0b6b3a7640000606461033d565b6102836003670de0b6b3a764000061031b565b610217906001610303565b610217600a670de0b6b3a764000061031b565b60016102b6670de0b6b3a7640000600261033d565b610217919061035c565b6102176002670de0b6b3a764000061031b565b6000602082840312156102e557600080fd5b81356001600160a01b03811681146102fc57600080fd5b9392505050565b6000821982111561031657610316610373565b500190565b60008261033857634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561035757610357610373565b500290565b60008282101561036e5761036e610373565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122051baecb88b2e3924258c058b6adf28c8a64ed8675ac122a5a6e5e1267dbdf04f64736f6c63430008070033",
325+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063b7b800a4116100a2578063c07c00fe11610071578063c07c00fe146101b8578063c36596a61461013e578063c6580d12146101f4578063e4a28a521461011b578063ec093021146101fc57600080fd5b8063b7b800a414610198578063ba019dab146101a0578063bc063e1a146101a8578063bc694ea2146101b057600080fd5b8063867378c5116100e9578063867378c5146101555780639381cd2b1461015d578063992e2a9214610165578063a28f78f11461016d578063b0e0d1361461019857600080fd5b806309a3bbe41461011b578063189d00ca14610136578063218b53821461013e57806376c7a3c71461014d575b600080fd5b610123610204565b6040519081526020015b60405180910390f35b61012361021a565b610123670de0b6b3a764000081565b610123610231565b610123610246565b61012361025d565b610123610270565b600054610180906001600160a01b031681565b6040516001600160a01b03909116815260200161012d565b610123600281565b610123600181565b61012361028e565b6101236102a1565b6101e46101c63660046102d3565b6001600160a01b031660009081526001602052604090205460ff1690565b604051901515815260200161012d565b610123600081565b6101236102c0565b610217670de0b6b3a7640000603261033d565b81565b6102176402540be400670de0b6b3a764000061031b565b610217620f4240670de0b6b3a764000061031b565b61021764e8d4a51000670de0b6b3a764000061031b565b610217670de0b6b3a7640000606461033d565b6102836003670de0b6b3a764000061031b565b610217906001610303565b610217600a670de0b6b3a764000061031b565b60016102b6670de0b6b3a7640000600261033d565b610217919061035c565b6102176002670de0b6b3a764000061031b565b6000602082840312156102e557600080fd5b81356001600160a01b03811681146102fc57600080fd5b9392505050565b6000821982111561031657610316610373565b500190565b60008261033857634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561035757610357610373565b500290565b60008282101561036e5761036e610373565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122051baecb88b2e3924258c058b6adf28c8a64ed8675ac122a5a6e5e1267dbdf04f64736f6c63430008070033",
326+
"linkReferences": {},
327+
"deployedLinkReferences": {}
328+
}

0 commit comments

Comments
 (0)