@howlswap/core
Version:
🎛 Core contracts for the Howl exchange
297 lines • 6.78 kB
JSON
{
"compiler": {
"version": "0.6.12+commit.27d51765"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_feeToSetter",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "token0",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "token1",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "pair",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "PairCreated",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "allPairs",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "allPairsLength",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "tokenA",
"type": "address"
},
{
"internalType": "address",
"name": "tokenB",
"type": "address"
}
],
"name": "createPair",
"outputs": [
{
"internalType": "address",
"name": "pair",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "feeTo",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "feeToSetter",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "getPair",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "pairCodeHash",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_feeTo",
"type": "address"
}
],
"name": "setFeeTo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_feeToSetter",
"type": "address"
}
],
"name": "setFeeToSetter",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"core/contracts/UniswapV2Factory.sol": "UniswapV2Factory"
},
"evmVersion": "istanbul",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": []
},
"sources": {
"core/contracts/UniswapV2ERC20.sol": {
"keccak256": "0xa9b36141152d5e748d20727686798520e53f841f163a4ed335e42be287d6e8c8",
"license": "GPL-3.0",
"urls": [
"bzz-raw://0bda3789ada47d6b4bf7540d77c9a2ba3d78974da4f2c63ab1c90b5dc670576b",
"dweb:/ipfs/QmWuQ1EaN1qp1wSFHc1zoaCqsrGfxx9hTy7trUv57QeBM7"
]
},
"core/contracts/UniswapV2Factory.sol": {
"keccak256": "0xae459baf9d31d7dcabb25dfbe65a8643a0f72ac2e468fc55b7aebe9c45f07257",
"license": "GPL-3.0",
"urls": [
"bzz-raw://65daca0a92f9e38f44caafb430f8bfe2be57a844d54774b5afc6d7aac10f9bb9",
"dweb:/ipfs/QmR2TbdRqf3ZtJcHYnnoqstT8DyUHHNLTgCXci4eQc8xZy"
]
},
"core/contracts/UniswapV2Pair.sol": {
"keccak256": "0xfd3327e1172e647fcaa5b2d1f5b6d7c56d40b5ccb693f37e0f5023898364486d",
"license": "GPL-3.0",
"urls": [
"bzz-raw://016a836a09b4693ce37baaf14252c4937461d0b05767c8df86878fd111f4e913",
"dweb:/ipfs/QmQXAzhsUj3dVVDmC42LatXHKAAuWNgxPQRSkEX9s2xhLa"
]
},
"core/contracts/interfaces/IERC20.sol": {
"keccak256": "0x76866491759a6f069ddc030d52df08d4105a8bcef0e3330dee261cf7ee049b1a",
"license": "GPL-3.0",
"urls": [
"bzz-raw://0b3b2a687415260c33e491cc2d03577729802b5ff8227cc9fd7b45b28cbd24e4",
"dweb:/ipfs/QmNtBCKh68KLnNj8M2rQDPnbBfKhntzaZ1JReQx4Axtx5w"
]
},
"core/contracts/interfaces/IUniswapV2Callee.sol": {
"keccak256": "0x6bf2e1cd601f8df7a25606a03fb01532f33aa5d77278ef6e7fb72a3b95a2d8d8",
"license": "GPL-3.0",
"urls": [
"bzz-raw://aaaf7c44351d883b3830e484cc20fe1f91b832aaeb8c4631b1848b6bb08c7661",
"dweb:/ipfs/QmbxistLwfsuywWLHgBpDcQu4f5j6wV13Vs3JrSd1gjX9N"
]
},
"core/contracts/interfaces/IUniswapV2Factory.sol": {
"keccak256": "0xb8d3fecafdca8fc36865db78ea552c0ab311df74b44d3d82015f1dc151e0537f",
"license": "GPL-3.0",
"urls": [
"bzz-raw://eeaab619ce439ebc1244237981f5557e3a892e62b1e9c43adbfee646707ae17f",
"dweb:/ipfs/QmfU4zVedNZhBT1fQAaKwc34bkxqDnGNTPYf5zpz3Hjmk3"
]
},
"core/contracts/libraries/Math.sol": {
"keccak256": "0x3e0a5520297ed1dc711407fb10e309db409fc8143e19a0a7751aa064bb99dfa1",
"license": "GPL-3.0",
"urls": [
"bzz-raw://5d44428171de5cd02c255aebd53d88e78cfee0b877bc1a13bbafa6e83eb0597d",
"dweb:/ipfs/QmXLVkrxEpA57vgP2CYh26PPGqaFy8C5peKKSdLobfCv31"
]
},
"core/contracts/libraries/SafeMath.sol": {
"keccak256": "0xbde2cf4655f2f21a4e6cc76c28cf88ade1d8150289c208d48662135be9d5dd97",
"license": "GPL-3.0",
"urls": [
"bzz-raw://bd8f46ed9dc5ad8123e596a3b762815503a04ce8a83098d80ba45085fe3c5953",
"dweb:/ipfs/QmUa6d2v7Miy26dzUctkrumi5My4G34TL9QNUj9u4hh7iS"
]
},
"core/contracts/libraries/UQ112x112.sol": {
"keccak256": "0xc4574ee73aa220d7a8b363ef7c874c099b6007b0f30365993e758c8337a294d8",
"license": "GPL-3.0",
"urls": [
"bzz-raw://e27c362f1a0f0bf97004bccab2b19faaea0706bc8a21febca6e365de77a20536",
"dweb:/ipfs/QmZipPjDSok9FxPjMB5rPTuJ7P2VvhaNzHA92TpYvE16FR"
]
}
},
"version": 1
}