forked from balancer/balancer-deployments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LiquidityGaugeFactory.json
111 lines (111 loc) · 7.28 KB
/
LiquidityGaugeFactory.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"_format": "hh-sol-artifact-1",
"contractName": "LiquidityGaugeFactory",
"sourceName": "contracts/gauges/ethereum/LiquidityGaugeFactory.sol",
"abi": [
{
"inputs": [
{
"internalType": "contract ILiquidityGauge",
"name": "gauge",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "gauge",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "pool",
"type": "address"
}
],
"name": "GaugeCreated",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "pool",
"type": "address"
}
],
"name": "create",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getGaugeImplementation",
"outputs": [
{
"internalType": "contract ILiquidityGauge",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "pool",
"type": "address"
}
],
"name": "getPoolGauge",
"outputs": [
{
"internalType": "contract ILiquidityGauge",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "gauge",
"type": "address"
}
],
"name": "isGaugeFromFactory",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60a060405234801561001057600080fd5b5060405161054b38038061054b83398101604081905261002f91610044565b60601b6001600160601b031916608052610072565b600060208284031215610055578081fd5b81516001600160a01b038116811461006b578182fd5b9392505050565b60805160601c6104b86100936000398060b7528061014a52506104b86000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806339312dee146100515780639ed933181461006f578063a8ea687514610082578063ce3cc8bd14610095575b600080fd5b6100596100b5565b60405161006691906103e8565b60405180910390f35b61005961007d3660046103ad565b6100d9565b6100596100903660046103ad565b6102aa565b6100a86100a33660046103ad565b6102d5565b6040516100669190610409565b7f000000000000000000000000000000000000000000000000000000000000000090565b73ffffffffffffffffffffffffffffffffffffffff81811660009081526001602052604081205490911615610143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161013a90610414565b60405180910390fd5b600061016e7f0000000000000000000000000000000000000000000000000000000000000000610300565b6040517fc4d66de800000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff82169063c4d66de8906101c39086906004016103e8565b600060405180830381600087803b1580156101dd57600080fd5b505af11580156101f1573d6000803e3d6000fd5b5050505073ffffffffffffffffffffffffffffffffffffffff81811660008181526020818152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091559488168084529490915280822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001684179055517fbc0aff029cf899fe358381e295caa21dd2e8c1a6607e2b9e6c7ec915db15bd539190a390505b919050565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600160205260409020541690565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205460ff1690565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f091505073ffffffffffffffffffffffffffffffffffffffff81166102a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161013a9061044b565b6000602082840312156103be578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103e1578182fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b60208082526014908201527f476175676520616c726561647920657869737473000000000000000000000000604082015260600190565b60208082526016908201527f455243313136373a20637265617465206661696c65640000000000000000000060408201526060019056fea2646970667358221220c8bcb512d185826a523e34d12bfb4dfb477cb7c3a8e9a517795e546d6b434c8e64736f6c63430007010033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806339312dee146100515780639ed933181461006f578063a8ea687514610082578063ce3cc8bd14610095575b600080fd5b6100596100b5565b60405161006691906103e8565b60405180910390f35b61005961007d3660046103ad565b6100d9565b6100596100903660046103ad565b6102aa565b6100a86100a33660046103ad565b6102d5565b6040516100669190610409565b7f000000000000000000000000000000000000000000000000000000000000000090565b73ffffffffffffffffffffffffffffffffffffffff81811660009081526001602052604081205490911615610143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161013a90610414565b60405180910390fd5b600061016e7f0000000000000000000000000000000000000000000000000000000000000000610300565b6040517fc4d66de800000000000000000000000000000000000000000000000000000000815290915073ffffffffffffffffffffffffffffffffffffffff82169063c4d66de8906101c39086906004016103e8565b600060405180830381600087803b1580156101dd57600080fd5b505af11580156101f1573d6000803e3d6000fd5b5050505073ffffffffffffffffffffffffffffffffffffffff81811660008181526020818152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091559488168084529490915280822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001684179055517fbc0aff029cf899fe358381e295caa21dd2e8c1a6607e2b9e6c7ec915db15bd539190a390505b919050565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600160205260409020541690565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205460ff1690565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f091505073ffffffffffffffffffffffffffffffffffffffff81166102a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161013a9061044b565b6000602082840312156103be578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103e1578182fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b60208082526014908201527f476175676520616c726561647920657869737473000000000000000000000000604082015260600190565b60208082526016908201527f455243313136373a20637265617465206661696c65640000000000000000000060408201526060019056fea2646970667358221220c8bcb512d185826a523e34d12bfb4dfb477cb7c3a8e9a517795e546d6b434c8e64736f6c63430007010033",
"linkReferences": {},
"deployedLinkReferences": {}
}