Skip to content

Commit c40be0f

Browse files
committed
add feeTo
1 parent 4089aa2 commit c40be0f

5 files changed

+1761
-18
lines changed

contracts/UniswapV2Factory.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "./Ownable.sol";
66
contract UniswapV2Factory is Ownable {
77

88
address public constant BNB = 0x0000000000000000000000000000000000000001;
9-
9+
address public feeTo;
1010
mapping(address => mapping(address => address)) public getPair;
1111
address[] public allPairs;
1212

contracts/artifacts/UniswapV2Factory.json

+31-14
Large diffs are not rendered by default.

contracts/artifacts/UniswapV2Factory_metadata.json

+18-3
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,21 @@
204204
"stateMutability": "nonpayable",
205205
"type": "function"
206206
},
207+
{
208+
"constant": true,
209+
"inputs": [],
210+
"name": "feeTo",
211+
"outputs": [
212+
{
213+
"internalType": "address",
214+
"name": "",
215+
"type": "address"
216+
}
217+
],
218+
"payable": false,
219+
"stateMutability": "view",
220+
"type": "function"
221+
},
207222
{
208223
"constant": true,
209224
"inputs": [
@@ -407,10 +422,10 @@
407422
]
408423
},
409424
"localhost/contracts/UniswapV2Factory.sol": {
410-
"keccak256": "0xd9cdbe04da2aa4523448927668be1cbe57768ebcecdc832930366d71b9fc6f05",
425+
"keccak256": "0x1a57be2040d859a217f1079c6185c184c5dec3a4358f060d4778b5f28340ed88",
411426
"urls": [
412-
"bzz-raw://0fb7caa775d2d4fd8f2b811a975e6eb92c11f8f384bfc1dc0a81c1a7c3eb4852",
413-
"dweb:/ipfs/QmfG4djH3Qnmmra5bzdrvDi33R6sPxazPtb5WyN1b6Hj8h"
427+
"bzz-raw://60e060fcaa79a143a5c5045c4bd8b1143de5d75347a13f8c1e9ee6110d95a4c1",
428+
"dweb:/ipfs/QmbuvUG7Uf1seaeDAJQuZiNfspMRZY7mge12Wbs993N2Bk"
414429
]
415430
},
416431
"localhost/contracts/UniswapV2Pair.sol": {

contracts/artifacts/UniswapV2Pair.json

+866
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)