forked from balancer/balancer-deployments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CircuitBreakerLib.json
40 lines (40 loc) · 13.9 KB
/
CircuitBreakerLib.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"_format": "hh-sol-artifact-1",
"contractName": "CircuitBreakerLib",
"sourceName": "contracts/lib/CircuitBreakerLib.sol",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "bound",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "weight",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isLowerBound",
"type": "bool"
}
],
"name": "calcAdjustedBound",
"outputs": [
{
"internalType": "uint256",
"name": "boundRatio",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
}
],
"bytecode": "0x610cf8610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063f4d8cb7c1461003a575b600080fd5b6100656004803603606081101561005057600080fd5b50803590602081013590604001351515610077565b60408051918252519081900360200190f35b600061009f84610086856100a7565b84610093576100b9610097565b6101735b63ffffffff16565b949350505050565b670de0b6b3a764000081810391100290565b6000670de0b6b3a76400008214156100d257508161016d565b671bc16d674ec800008214156100f3576100ec83846101f9565b905061016d565b673782dace9d90000082141561012357600061010f84856101f9565b905061011b81826101f9565b91505061016d565b600061012f848461022f565b9050600061014961014283612710610339565b6001610371565b90508082101561015e5760009250505061016d565b610168828261038a565b925050505b92915050565b6000670de0b6b3a764000082141561018c57508161016d565b671bc16d674ec800008214156101a6576100ec8384610339565b673782dace9d9000008214156101ce5760006101c28485610339565b905061011b8182610339565b60006101da848461022f565b905060006101ed61014283612710610339565b90506101688282610371565b600082820261021d84158061021657508385838161021357fe5b04145b60036103a0565b670de0b6b3a764000090049392505050565b6000816102455750670de0b6b3a764000061016d565b826102525750600061016d565b61026260ff84901c1560066103a0565b82610288770bce5086492111aea88f4bb1ca6bcf584181ea8059f76532841060076103a0565b826000670c7d713b49da0000831380156102a95750670f43fc2c04ee000083125b156102e05760006102b9846103b2565b9050670de0b6b3a764000080820784020583670de0b6b3a7640000830502019150506102ee565b816102ea846104d2565b0290505b670de0b6b3a76400009005610326680238fd42c5cf03ffff19821280159061031f575068070c1cc73b00c800008213155b60086103a0565b61032f81610871565b9695505050505050565b600082820261035384158061021657508385838161021357fe5b6001670de0b6b3a76400006001830304018115150291505092915050565b600082820161038384821015836103a0565b9392505050565b600061039a8383111560016103a0565b50900390565b816103ae576103ae81610c4e565b5050565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff19850102816103ed57fe5b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f820581019050806002029450505050505b919050565b6000670de0b6b3a764000082121561050e57610504826a0c097ce7bc90715b34b9f160241b816104fe57fe5b056104d2565b60000390506104cd565b60007e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c0000000000000831261055f57770195e54c5dd42177f53a27172fa9ec630262827000000000830592506806f05b59d3b2000000015b73011798004d755d3c8bc8e03204cf44619e0000008312610597576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126105df576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a700831261061a576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261065157693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261068857690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126106bd5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126106e857680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d831261071d576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312610752576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312610786576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126107ba576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816107dd57fe5b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b60006108a0680238fd42c5cf03ffff198312158015610899575068070c1cc73b00c800008313155b60096103a0565b60008212156108d3576108b582600003610871565b6a0c097ce7bc90715b34b9f160241b816108cb57fe5b0590506104cd565b60006806f05b59d3b2000000831261091357506806f05b59d3b1ffffff1990910190770195e54c5dd42177f53a27172fa9ec630262827000000000610949565b6803782dace9d9000000831261094557506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380610949565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126109995768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126109d5576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610a0f57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610a49576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610a8257680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610abb5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610af4576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610b2d5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b610c5e816210905360ea1b610c61565b50565b62461bcd60e51b600090815260206004526007602452600a808404818106603090810160081b958390069590950190829004918206850160101b01602363ffffff0060e086901c160160181b0190930160c81b60445260e882901c90606490fdfea2646970667358221220a77afb65b9ec0ccef6b6e0c4d51569c85351cf30401a6040a347ae03ecceaf5864736f6c63430007010033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063f4d8cb7c1461003a575b600080fd5b6100656004803603606081101561005057600080fd5b50803590602081013590604001351515610077565b60408051918252519081900360200190f35b600061009f84610086856100a7565b84610093576100b9610097565b6101735b63ffffffff16565b949350505050565b670de0b6b3a764000081810391100290565b6000670de0b6b3a76400008214156100d257508161016d565b671bc16d674ec800008214156100f3576100ec83846101f9565b905061016d565b673782dace9d90000082141561012357600061010f84856101f9565b905061011b81826101f9565b91505061016d565b600061012f848461022f565b9050600061014961014283612710610339565b6001610371565b90508082101561015e5760009250505061016d565b610168828261038a565b925050505b92915050565b6000670de0b6b3a764000082141561018c57508161016d565b671bc16d674ec800008214156101a6576100ec8384610339565b673782dace9d9000008214156101ce5760006101c28485610339565b905061011b8182610339565b60006101da848461022f565b905060006101ed61014283612710610339565b90506101688282610371565b600082820261021d84158061021657508385838161021357fe5b04145b60036103a0565b670de0b6b3a764000090049392505050565b6000816102455750670de0b6b3a764000061016d565b826102525750600061016d565b61026260ff84901c1560066103a0565b82610288770bce5086492111aea88f4bb1ca6bcf584181ea8059f76532841060076103a0565b826000670c7d713b49da0000831380156102a95750670f43fc2c04ee000083125b156102e05760006102b9846103b2565b9050670de0b6b3a764000080820784020583670de0b6b3a7640000830502019150506102ee565b816102ea846104d2565b0290505b670de0b6b3a76400009005610326680238fd42c5cf03ffff19821280159061031f575068070c1cc73b00c800008213155b60086103a0565b61032f81610871565b9695505050505050565b600082820261035384158061021657508385838161021357fe5b6001670de0b6b3a76400006001830304018115150291505092915050565b600082820161038384821015836103a0565b9392505050565b600061039a8383111560016103a0565b50900390565b816103ae576103ae81610c4e565b5050565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff19850102816103ed57fe5b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f820581019050806002029450505050505b919050565b6000670de0b6b3a764000082121561050e57610504826a0c097ce7bc90715b34b9f160241b816104fe57fe5b056104d2565b60000390506104cd565b60007e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c0000000000000831261055f57770195e54c5dd42177f53a27172fa9ec630262827000000000830592506806f05b59d3b2000000015b73011798004d755d3c8bc8e03204cf44619e0000008312610597576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126105df576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a700831261061a576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261065157693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261068857690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126106bd5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126106e857680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d831261071d576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312610752576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312610786576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126107ba576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816107dd57fe5b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b60006108a0680238fd42c5cf03ffff198312158015610899575068070c1cc73b00c800008313155b60096103a0565b60008212156108d3576108b582600003610871565b6a0c097ce7bc90715b34b9f160241b816108cb57fe5b0590506104cd565b60006806f05b59d3b2000000831261091357506806f05b59d3b1ffffff1990910190770195e54c5dd42177f53a27172fa9ec630262827000000000610949565b6803782dace9d9000000831261094557506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380610949565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126109995768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126109d5576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610a0f57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610a49576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610a8257680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610abb5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610af4576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610b2d5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b610c5e816210905360ea1b610c61565b50565b62461bcd60e51b600090815260206004526007602452600a808404818106603090810160081b958390069590950190829004918206850160101b01602363ffffff0060e086901c160160181b0190930160c81b60445260e882901c90606490fdfea2646970667358221220a77afb65b9ec0ccef6b6e0c4d51569c85351cf30401a6040a347ae03ecceaf5864736f6c63430007010033",
"linkReferences": {},
"deployedLinkReferences": {}
}