├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .openzeppelin ├── unknown-250.json └── unknown-31337.json ├── .prettierignore ├── .prettierrc ├── .solhint.json ├── .solhintignore ├── .vscode └── settings.json ├── README.md ├── bin └── contracts │ ├── Voter-solc-output.json │ ├── Voter.abi │ ├── Voter.bin │ ├── Voter.json │ └── factories │ ├── PairFactory-solc-output.json │ ├── PairFactory.abi │ ├── PairFactory.bin │ └── PairFactory.json ├── contracts ├── Equal.sol ├── EqualizerLibrary.sol ├── ExternalBribe.sol ├── Gauge.sol ├── InternalBribe.sol ├── MasterChef.sol ├── MerkleClaim.sol ├── Minter.sol ├── Pair.sol ├── PairFees.sol ├── RewardsDistributor.sol ├── Router.sol ├── VeArtProxy.sol ├── Voter.sol ├── VotingEscrow.sol ├── factories │ ├── BribeFactory.sol │ ├── GaugeFactory.sol │ └── PairFactory.sol ├── interfaces │ ├── IBribe.sol │ ├── IBribeFactory.sol │ ├── IERC20.sol │ ├── IEqual.sol │ ├── IExternalBribe.sol │ ├── IGauge.sol │ ├── IGaugeFactory.sol │ ├── IMinter.sol │ ├── IPair.sol │ ├── IPairCallee.sol │ ├── IPairFactory.sol │ ├── IRewardsDistributor.sol │ ├── IRouter.sol │ ├── IVeArtProxy.sol │ ├── IVoter.sol │ ├── IVotingEscrow.sol │ └── IWETH.sol ├── libraries │ ├── Base64.sol │ ├── Math.sol │ ├── MerkleProof.sol │ └── Ownable.sol └── mocks │ └── Token.sol ├── hardhat.config.js ├── package.json ├── scripts ├── deployEqual.js ├── deployEqualizerLibrary.js ├── deployMasterChef.js ├── deployMerkleClaim.js ├── deployMinter.js ├── deployRewardsDistributor.js ├── deployRouter.js ├── deployVoter.js ├── deployVotingEscrow.js ├── merkleRoot.js └── tokenWhitelist.js └── test ├── base.js ├── masterchef.js ├── merkle-claim.js ├── minter.js └── vote.js /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | artifacts 3 | cache 4 | coverage 5 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | hardhat.config.js 2 | scripts 3 | test 4 | -------------------------------------------------------------------------------- /.openzeppelin/unknown-250.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/.openzeppelin/unknown-250.json -------------------------------------------------------------------------------- /.openzeppelin/unknown-31337.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/.openzeppelin/unknown-31337.json -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | artifacts 3 | cache 4 | coverage* 5 | gasReporterOutput.json 6 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/.solhint.json -------------------------------------------------------------------------------- /.solhintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/README.md -------------------------------------------------------------------------------- /bin/contracts/Voter-solc-output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/bin/contracts/Voter-solc-output.json -------------------------------------------------------------------------------- /bin/contracts/Voter.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/bin/contracts/Voter.abi -------------------------------------------------------------------------------- /bin/contracts/Voter.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/bin/contracts/Voter.bin -------------------------------------------------------------------------------- /bin/contracts/Voter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/bin/contracts/Voter.json -------------------------------------------------------------------------------- /bin/contracts/factories/PairFactory-solc-output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/bin/contracts/factories/PairFactory-solc-output.json -------------------------------------------------------------------------------- /bin/contracts/factories/PairFactory.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/bin/contracts/factories/PairFactory.abi -------------------------------------------------------------------------------- /bin/contracts/factories/PairFactory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/bin/contracts/factories/PairFactory.bin -------------------------------------------------------------------------------- /bin/contracts/factories/PairFactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/bin/contracts/factories/PairFactory.json -------------------------------------------------------------------------------- /contracts/Equal.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/Equal.sol -------------------------------------------------------------------------------- /contracts/EqualizerLibrary.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/EqualizerLibrary.sol -------------------------------------------------------------------------------- /contracts/ExternalBribe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/ExternalBribe.sol -------------------------------------------------------------------------------- /contracts/Gauge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/Gauge.sol -------------------------------------------------------------------------------- /contracts/InternalBribe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/InternalBribe.sol -------------------------------------------------------------------------------- /contracts/MasterChef.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/MasterChef.sol -------------------------------------------------------------------------------- /contracts/MerkleClaim.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/MerkleClaim.sol -------------------------------------------------------------------------------- /contracts/Minter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/Minter.sol -------------------------------------------------------------------------------- /contracts/Pair.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/Pair.sol -------------------------------------------------------------------------------- /contracts/PairFees.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/PairFees.sol -------------------------------------------------------------------------------- /contracts/RewardsDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/RewardsDistributor.sol -------------------------------------------------------------------------------- /contracts/Router.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/Router.sol -------------------------------------------------------------------------------- /contracts/VeArtProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/VeArtProxy.sol -------------------------------------------------------------------------------- /contracts/Voter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/Voter.sol -------------------------------------------------------------------------------- /contracts/VotingEscrow.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/VotingEscrow.sol -------------------------------------------------------------------------------- /contracts/factories/BribeFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/factories/BribeFactory.sol -------------------------------------------------------------------------------- /contracts/factories/GaugeFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/factories/GaugeFactory.sol -------------------------------------------------------------------------------- /contracts/factories/PairFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/factories/PairFactory.sol -------------------------------------------------------------------------------- /contracts/interfaces/IBribe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IBribe.sol -------------------------------------------------------------------------------- /contracts/interfaces/IBribeFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IBribeFactory.sol -------------------------------------------------------------------------------- /contracts/interfaces/IERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IERC20.sol -------------------------------------------------------------------------------- /contracts/interfaces/IEqual.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IEqual.sol -------------------------------------------------------------------------------- /contracts/interfaces/IExternalBribe.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IExternalBribe.sol -------------------------------------------------------------------------------- /contracts/interfaces/IGauge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IGauge.sol -------------------------------------------------------------------------------- /contracts/interfaces/IGaugeFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IGaugeFactory.sol -------------------------------------------------------------------------------- /contracts/interfaces/IMinter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IMinter.sol -------------------------------------------------------------------------------- /contracts/interfaces/IPair.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IPair.sol -------------------------------------------------------------------------------- /contracts/interfaces/IPairCallee.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IPairCallee.sol -------------------------------------------------------------------------------- /contracts/interfaces/IPairFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IPairFactory.sol -------------------------------------------------------------------------------- /contracts/interfaces/IRewardsDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IRewardsDistributor.sol -------------------------------------------------------------------------------- /contracts/interfaces/IRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IRouter.sol -------------------------------------------------------------------------------- /contracts/interfaces/IVeArtProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IVeArtProxy.sol -------------------------------------------------------------------------------- /contracts/interfaces/IVoter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IVoter.sol -------------------------------------------------------------------------------- /contracts/interfaces/IVotingEscrow.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IVotingEscrow.sol -------------------------------------------------------------------------------- /contracts/interfaces/IWETH.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/interfaces/IWETH.sol -------------------------------------------------------------------------------- /contracts/libraries/Base64.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/libraries/Base64.sol -------------------------------------------------------------------------------- /contracts/libraries/Math.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/libraries/Math.sol -------------------------------------------------------------------------------- /contracts/libraries/MerkleProof.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/libraries/MerkleProof.sol -------------------------------------------------------------------------------- /contracts/libraries/Ownable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/libraries/Ownable.sol -------------------------------------------------------------------------------- /contracts/mocks/Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/contracts/mocks/Token.sol -------------------------------------------------------------------------------- /hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/hardhat.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/package.json -------------------------------------------------------------------------------- /scripts/deployEqual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployEqual.js -------------------------------------------------------------------------------- /scripts/deployEqualizerLibrary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployEqualizerLibrary.js -------------------------------------------------------------------------------- /scripts/deployMasterChef.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployMasterChef.js -------------------------------------------------------------------------------- /scripts/deployMerkleClaim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployMerkleClaim.js -------------------------------------------------------------------------------- /scripts/deployMinter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployMinter.js -------------------------------------------------------------------------------- /scripts/deployRewardsDistributor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployRewardsDistributor.js -------------------------------------------------------------------------------- /scripts/deployRouter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployRouter.js -------------------------------------------------------------------------------- /scripts/deployVoter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployVoter.js -------------------------------------------------------------------------------- /scripts/deployVotingEscrow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/deployVotingEscrow.js -------------------------------------------------------------------------------- /scripts/merkleRoot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/merkleRoot.js -------------------------------------------------------------------------------- /scripts/tokenWhitelist.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/scripts/tokenWhitelist.js -------------------------------------------------------------------------------- /test/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/test/base.js -------------------------------------------------------------------------------- /test/masterchef.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/test/masterchef.js -------------------------------------------------------------------------------- /test/merkle-claim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/test/merkle-claim.js -------------------------------------------------------------------------------- /test/minter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/test/minter.js -------------------------------------------------------------------------------- /test/vote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Equalizer-Exchange/v1-core/HEAD/test/vote.js --------------------------------------------------------------------------------