|
| 1 | +export const factoryABI = [ |
| 2 | + { type: 'constructor', stateMutability: 'nonpayable', inputs: [] }, |
| 3 | + { |
| 4 | + type: 'event', |
| 5 | + name: 'PairCreated', |
| 6 | + inputs: [ |
| 7 | + { |
| 8 | + type: 'address', |
| 9 | + name: 'token0', |
| 10 | + internalType: 'address', |
| 11 | + indexed: true, |
| 12 | + }, |
| 13 | + { |
| 14 | + type: 'address', |
| 15 | + name: 'token1', |
| 16 | + internalType: 'address', |
| 17 | + indexed: true, |
| 18 | + }, |
| 19 | + { type: 'bool', name: 'stable', internalType: 'bool', indexed: false }, |
| 20 | + { |
| 21 | + type: 'address', |
| 22 | + name: 'pair', |
| 23 | + internalType: 'address', |
| 24 | + indexed: false, |
| 25 | + }, |
| 26 | + { type: 'uint256', name: '', internalType: 'uint256', indexed: false }, |
| 27 | + ], |
| 28 | + anonymous: false, |
| 29 | + }, |
| 30 | + { |
| 31 | + type: 'function', |
| 32 | + stateMutability: 'view', |
| 33 | + outputs: [{ type: 'uint256', name: '', internalType: 'uint256' }], |
| 34 | + name: 'MAX_FEE', |
| 35 | + inputs: [], |
| 36 | + }, |
| 37 | + { |
| 38 | + type: 'function', |
| 39 | + stateMutability: 'nonpayable', |
| 40 | + outputs: [], |
| 41 | + name: 'acceptFeeManager', |
| 42 | + inputs: [], |
| 43 | + }, |
| 44 | + { |
| 45 | + type: 'function', |
| 46 | + stateMutability: 'nonpayable', |
| 47 | + outputs: [], |
| 48 | + name: 'acceptPauser', |
| 49 | + inputs: [], |
| 50 | + }, |
| 51 | + { |
| 52 | + type: 'function', |
| 53 | + stateMutability: 'view', |
| 54 | + outputs: [{ type: 'address', name: '', internalType: 'address' }], |
| 55 | + name: 'allPairs', |
| 56 | + inputs: [{ type: 'uint256', name: '', internalType: 'uint256' }], |
| 57 | + }, |
| 58 | + { |
| 59 | + type: 'function', |
| 60 | + stateMutability: 'view', |
| 61 | + outputs: [{ type: 'uint256', name: '', internalType: 'uint256' }], |
| 62 | + name: 'allPairsLength', |
| 63 | + inputs: [], |
| 64 | + }, |
| 65 | + { |
| 66 | + type: 'function', |
| 67 | + stateMutability: 'nonpayable', |
| 68 | + outputs: [{ type: 'address', name: 'pair', internalType: 'address' }], |
| 69 | + name: 'createPair', |
| 70 | + inputs: [ |
| 71 | + { type: 'address', name: 'tokenA', internalType: 'address' }, |
| 72 | + { type: 'address', name: 'tokenB', internalType: 'address' }, |
| 73 | + { type: 'bool', name: 'stable', internalType: 'bool' }, |
| 74 | + ], |
| 75 | + }, |
| 76 | + { |
| 77 | + type: 'function', |
| 78 | + stateMutability: 'view', |
| 79 | + outputs: [{ type: 'address', name: '', internalType: 'address' }], |
| 80 | + name: 'feeManager', |
| 81 | + inputs: [], |
| 82 | + }, |
| 83 | + { |
| 84 | + type: 'function', |
| 85 | + stateMutability: 'view', |
| 86 | + outputs: [{ type: 'uint256', name: '', internalType: 'uint256' }], |
| 87 | + name: 'getFee', |
| 88 | + inputs: [{ type: 'bool', name: '_stable', internalType: 'bool' }], |
| 89 | + }, |
| 90 | + { |
| 91 | + type: 'function', |
| 92 | + stateMutability: 'view', |
| 93 | + outputs: [ |
| 94 | + { type: 'address', name: '', internalType: 'address' }, |
| 95 | + { type: 'address', name: '', internalType: 'address' }, |
| 96 | + { type: 'bool', name: '', internalType: 'bool' }, |
| 97 | + ], |
| 98 | + name: 'getInitializable', |
| 99 | + inputs: [], |
| 100 | + }, |
| 101 | + { |
| 102 | + type: 'function', |
| 103 | + stateMutability: 'view', |
| 104 | + outputs: [{ type: 'address', name: '', internalType: 'address' }], |
| 105 | + name: 'getPair', |
| 106 | + inputs: [ |
| 107 | + { type: 'address', name: '', internalType: 'address' }, |
| 108 | + { type: 'address', name: '', internalType: 'address' }, |
| 109 | + { type: 'bool', name: '', internalType: 'bool' }, |
| 110 | + ], |
| 111 | + }, |
| 112 | + { |
| 113 | + type: 'function', |
| 114 | + stateMutability: 'view', |
| 115 | + outputs: [{ type: 'bool', name: '', internalType: 'bool' }], |
| 116 | + name: 'isPair', |
| 117 | + inputs: [{ type: 'address', name: '', internalType: 'address' }], |
| 118 | + }, |
| 119 | + { |
| 120 | + type: 'function', |
| 121 | + stateMutability: 'view', |
| 122 | + outputs: [{ type: 'bool', name: '', internalType: 'bool' }], |
| 123 | + name: 'isPaused', |
| 124 | + inputs: [], |
| 125 | + }, |
| 126 | + { |
| 127 | + type: 'function', |
| 128 | + stateMutability: 'pure', |
| 129 | + outputs: [{ type: 'bytes32', name: '', internalType: 'bytes32' }], |
| 130 | + name: 'pairCodeHash', |
| 131 | + inputs: [], |
| 132 | + }, |
| 133 | + { |
| 134 | + type: 'function', |
| 135 | + stateMutability: 'view', |
| 136 | + outputs: [{ type: 'address', name: '', internalType: 'address' }], |
| 137 | + name: 'pauser', |
| 138 | + inputs: [], |
| 139 | + }, |
| 140 | + { |
| 141 | + type: 'function', |
| 142 | + stateMutability: 'view', |
| 143 | + outputs: [{ type: 'address', name: '', internalType: 'address' }], |
| 144 | + name: 'pendingFeeManager', |
| 145 | + inputs: [], |
| 146 | + }, |
| 147 | + { |
| 148 | + type: 'function', |
| 149 | + stateMutability: 'view', |
| 150 | + outputs: [{ type: 'address', name: '', internalType: 'address' }], |
| 151 | + name: 'pendingPauser', |
| 152 | + inputs: [], |
| 153 | + }, |
| 154 | + { |
| 155 | + type: 'function', |
| 156 | + stateMutability: 'nonpayable', |
| 157 | + outputs: [], |
| 158 | + name: 'setFee', |
| 159 | + inputs: [ |
| 160 | + { type: 'bool', name: '_stable', internalType: 'bool' }, |
| 161 | + { type: 'uint256', name: '_fee', internalType: 'uint256' }, |
| 162 | + ], |
| 163 | + }, |
| 164 | + { |
| 165 | + type: 'function', |
| 166 | + stateMutability: 'nonpayable', |
| 167 | + outputs: [], |
| 168 | + name: 'setFeeManager', |
| 169 | + inputs: [{ type: 'address', name: '_feeManager', internalType: 'address' }], |
| 170 | + }, |
| 171 | + { |
| 172 | + type: 'function', |
| 173 | + stateMutability: 'nonpayable', |
| 174 | + outputs: [], |
| 175 | + name: 'setPause', |
| 176 | + inputs: [{ type: 'bool', name: '_state', internalType: 'bool' }], |
| 177 | + }, |
| 178 | + { |
| 179 | + type: 'function', |
| 180 | + stateMutability: 'nonpayable', |
| 181 | + outputs: [], |
| 182 | + name: 'setPauser', |
| 183 | + inputs: [{ type: 'address', name: '_pauser', internalType: 'address' }], |
| 184 | + }, |
| 185 | + { |
| 186 | + type: 'function', |
| 187 | + stateMutability: 'view', |
| 188 | + outputs: [{ type: 'uint256', name: '', internalType: 'uint256' }], |
| 189 | + name: 'stableFee', |
| 190 | + inputs: [], |
| 191 | + }, |
| 192 | + { |
| 193 | + type: 'function', |
| 194 | + stateMutability: 'view', |
| 195 | + outputs: [{ type: 'uint256', name: '', internalType: 'uint256' }], |
| 196 | + name: 'volatileFee', |
| 197 | + inputs: [], |
| 198 | + }, |
| 199 | +] as const; |
0 commit comments