├── .env.example ├── .eslintrc ├── .githooks └── pre-commit ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── abi └── uniswap-v3-staker.json ├── contracts ├── .deps │ └── npm │ │ └── @openzeppelin │ │ └── contracts │ │ └── token │ │ └── ERC20 │ │ └── IERC20.sol ├── Distributors │ ├── GardenUnipoolTokenDistributor.sol │ ├── MerkleDistro.sol │ ├── TokenManagerHook.sol │ └── UnipoolTokenDistributor.sol ├── Interfaces │ ├── IDistro.sol │ └── IMerkleTreeDistributor.sol ├── Mocks │ ├── GardenUnipoolTokenDistributorMock.sol │ ├── HookedTokenManagerMock.sol │ ├── PermitMock.sol │ ├── TokenDistroMock.sol │ ├── UniMock.sol │ ├── UnipoolTokenDistributorMock.sol │ ├── UniswapV3RewardTokenMock.sol │ ├── UniswapV3StakerMock.sol │ └── Upgrades │ │ ├── GardenUnipoolTokenDistributorV2.sol │ │ ├── MerkleDistroV2.sol │ │ ├── TokenDistroV2.sol │ │ ├── UnipoolTokenDistributorV2.sol │ │ └── UniswapV3RewardTokenV2.sol ├── TokenDistro │ └── TokenDistro.sol ├── Tokens │ ├── BridgeToken.sol │ ├── GIV.sol │ ├── MinimeToken.sol │ ├── TokenERC677.sol │ └── UniswapV3RewardToken.sol └── UniswapV3Staker │ ├── UniswapV3Staker.sol │ ├── interfaces │ └── IUniswapV3Staker.sol │ ├── libraries │ ├── IncentiveId.sol │ ├── NFTPositionInfo.sol │ └── RewardMath.sol │ └── test │ ├── TestERC20.sol │ ├── TestIncentiveId.sol │ └── TestRewardMath.sol ├── deployments ├── mainnet │ └── 2_tokenDistro_Unipools.js ├── notifyRewardAmount │ ├── mainnet │ │ ├── cult_regen_distribute.js │ │ ├── distributor.js │ │ ├── distributor_extended.js │ │ └── giveth_angel_vault_distributor.js │ ├── optimism-goerli │ │ └── givpower_distribute_extended.js │ └── xDAI │ │ ├── distributor.js │ │ ├── distributor_extended.js │ │ └── fox_regen_distribute.js ├── regenFarms │ ├── 1_regenFarm.ts │ └── config.ts ├── types.ts └── xDAI │ └── 1_tokenDistro_merkleDistro_Unipool.js ├── files ├── GIV_tokens_-_AIRDROP_TEST_LIST.csv ├── merkle_distributor_xdai.json └── merkle_distributor_xdai_result.json ├── funding.json ├── hardhat.config.ts ├── package.json ├── scripts ├── csv2json.ts ├── deployGardenUnipool.js ├── deployUnipool.js ├── generate-merkle-root.ts ├── upgradeGardenUnipool.js └── upgradeTokenDistro.js ├── src ├── balance-tree.ts ├── merkle-tree.ts └── parse-balance-map.ts ├── test ├── TokenDistro │ ├── .solcover.js │ └── TokenDistro.test.ts ├── Tokens │ ├── GivTokenPermit.test.ts │ ├── UniswapV3Reward.test.ts │ └── helpers │ │ └── erc2612.js ├── Unipool │ ├── GardenUnipool.test.ts │ ├── GardenUnipoolTokenManager.test.ts │ └── Unipool.test.ts ├── Uniswap-staker │ ├── UniswapV3Staker.integration.spec.ts │ ├── helpers │ │ ├── index.ts │ │ └── types.ts │ ├── matchers │ │ └── beWithin.ts │ ├── shared │ │ ├── actors.ts │ │ ├── external │ │ │ ├── WETH9.json │ │ │ └── v3-periphery │ │ │ │ ├── constants.ts │ │ │ │ ├── ticks.ts │ │ │ │ └── tokenSort.ts │ │ ├── fixtures.ts │ │ ├── index.ts │ │ ├── linkLibraries.ts │ │ ├── logging.ts │ │ ├── provider.ts │ │ ├── ticks.ts │ │ └── time.ts │ ├── typechain │ │ ├── ISwapRouter.ts │ │ ├── IWETH9.ts │ │ ├── NFTDescriptor.ts │ │ └── contractParams.ts │ ├── types.ts │ └── unit │ │ ├── Deployment.spec.ts │ │ ├── Deposits.spec.ts │ │ ├── Incentives.spec.ts │ │ ├── Multicall.spec.ts │ │ ├── RewardMath │ │ └── RewardMath.spec.ts │ │ ├── Stakes.spec.ts │ │ └── __snapshots__ │ │ ├── Deposits.spec.ts.snap │ │ ├── Incentives.spec.ts.snap │ │ ├── Multicall.spec.ts.snap │ │ └── Stakes.spec.ts.snap ├── proxy │ └── deployment.test.ts └── utils │ ├── block.ts │ ├── mining.ts │ └── time.ts ├── tsconfig.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/.eslintrc -------------------------------------------------------------------------------- /.githooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/.githooks/pre-commit -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | #remix files 2 | *_flat.sol 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/README.md -------------------------------------------------------------------------------- /abi/uniswap-v3-staker.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/abi/uniswap-v3-staker.json -------------------------------------------------------------------------------- /contracts/.deps/npm/@openzeppelin/contracts/token/ERC20/IERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/.deps/npm/@openzeppelin/contracts/token/ERC20/IERC20.sol -------------------------------------------------------------------------------- /contracts/Distributors/GardenUnipoolTokenDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Distributors/GardenUnipoolTokenDistributor.sol -------------------------------------------------------------------------------- /contracts/Distributors/MerkleDistro.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Distributors/MerkleDistro.sol -------------------------------------------------------------------------------- /contracts/Distributors/TokenManagerHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Distributors/TokenManagerHook.sol -------------------------------------------------------------------------------- /contracts/Distributors/UnipoolTokenDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Distributors/UnipoolTokenDistributor.sol -------------------------------------------------------------------------------- /contracts/Interfaces/IDistro.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Interfaces/IDistro.sol -------------------------------------------------------------------------------- /contracts/Interfaces/IMerkleTreeDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Interfaces/IMerkleTreeDistributor.sol -------------------------------------------------------------------------------- /contracts/Mocks/GardenUnipoolTokenDistributorMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/GardenUnipoolTokenDistributorMock.sol -------------------------------------------------------------------------------- /contracts/Mocks/HookedTokenManagerMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/HookedTokenManagerMock.sol -------------------------------------------------------------------------------- /contracts/Mocks/PermitMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/PermitMock.sol -------------------------------------------------------------------------------- /contracts/Mocks/TokenDistroMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/TokenDistroMock.sol -------------------------------------------------------------------------------- /contracts/Mocks/UniMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/UniMock.sol -------------------------------------------------------------------------------- /contracts/Mocks/UnipoolTokenDistributorMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/UnipoolTokenDistributorMock.sol -------------------------------------------------------------------------------- /contracts/Mocks/UniswapV3RewardTokenMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/UniswapV3RewardTokenMock.sol -------------------------------------------------------------------------------- /contracts/Mocks/UniswapV3StakerMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/UniswapV3StakerMock.sol -------------------------------------------------------------------------------- /contracts/Mocks/Upgrades/GardenUnipoolTokenDistributorV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/Upgrades/GardenUnipoolTokenDistributorV2.sol -------------------------------------------------------------------------------- /contracts/Mocks/Upgrades/MerkleDistroV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/Upgrades/MerkleDistroV2.sol -------------------------------------------------------------------------------- /contracts/Mocks/Upgrades/TokenDistroV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/Upgrades/TokenDistroV2.sol -------------------------------------------------------------------------------- /contracts/Mocks/Upgrades/UnipoolTokenDistributorV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/Upgrades/UnipoolTokenDistributorV2.sol -------------------------------------------------------------------------------- /contracts/Mocks/Upgrades/UniswapV3RewardTokenV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Mocks/Upgrades/UniswapV3RewardTokenV2.sol -------------------------------------------------------------------------------- /contracts/TokenDistro/TokenDistro.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/TokenDistro/TokenDistro.sol -------------------------------------------------------------------------------- /contracts/Tokens/BridgeToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Tokens/BridgeToken.sol -------------------------------------------------------------------------------- /contracts/Tokens/GIV.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Tokens/GIV.sol -------------------------------------------------------------------------------- /contracts/Tokens/MinimeToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Tokens/MinimeToken.sol -------------------------------------------------------------------------------- /contracts/Tokens/TokenERC677.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Tokens/TokenERC677.sol -------------------------------------------------------------------------------- /contracts/Tokens/UniswapV3RewardToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/Tokens/UniswapV3RewardToken.sol -------------------------------------------------------------------------------- /contracts/UniswapV3Staker/UniswapV3Staker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/UniswapV3Staker/UniswapV3Staker.sol -------------------------------------------------------------------------------- /contracts/UniswapV3Staker/interfaces/IUniswapV3Staker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/UniswapV3Staker/interfaces/IUniswapV3Staker.sol -------------------------------------------------------------------------------- /contracts/UniswapV3Staker/libraries/IncentiveId.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/UniswapV3Staker/libraries/IncentiveId.sol -------------------------------------------------------------------------------- /contracts/UniswapV3Staker/libraries/NFTPositionInfo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/UniswapV3Staker/libraries/NFTPositionInfo.sol -------------------------------------------------------------------------------- /contracts/UniswapV3Staker/libraries/RewardMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/UniswapV3Staker/libraries/RewardMath.sol -------------------------------------------------------------------------------- /contracts/UniswapV3Staker/test/TestERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/UniswapV3Staker/test/TestERC20.sol -------------------------------------------------------------------------------- /contracts/UniswapV3Staker/test/TestIncentiveId.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/UniswapV3Staker/test/TestIncentiveId.sol -------------------------------------------------------------------------------- /contracts/UniswapV3Staker/test/TestRewardMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/contracts/UniswapV3Staker/test/TestRewardMath.sol -------------------------------------------------------------------------------- /deployments/mainnet/2_tokenDistro_Unipools.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/mainnet/2_tokenDistro_Unipools.js -------------------------------------------------------------------------------- /deployments/notifyRewardAmount/mainnet/cult_regen_distribute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/notifyRewardAmount/mainnet/cult_regen_distribute.js -------------------------------------------------------------------------------- /deployments/notifyRewardAmount/mainnet/distributor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/notifyRewardAmount/mainnet/distributor.js -------------------------------------------------------------------------------- /deployments/notifyRewardAmount/mainnet/distributor_extended.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/notifyRewardAmount/mainnet/distributor_extended.js -------------------------------------------------------------------------------- /deployments/notifyRewardAmount/mainnet/giveth_angel_vault_distributor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/notifyRewardAmount/mainnet/giveth_angel_vault_distributor.js -------------------------------------------------------------------------------- /deployments/notifyRewardAmount/optimism-goerli/givpower_distribute_extended.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/notifyRewardAmount/optimism-goerli/givpower_distribute_extended.js -------------------------------------------------------------------------------- /deployments/notifyRewardAmount/xDAI/distributor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/notifyRewardAmount/xDAI/distributor.js -------------------------------------------------------------------------------- /deployments/notifyRewardAmount/xDAI/distributor_extended.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/notifyRewardAmount/xDAI/distributor_extended.js -------------------------------------------------------------------------------- /deployments/notifyRewardAmount/xDAI/fox_regen_distribute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/notifyRewardAmount/xDAI/fox_regen_distribute.js -------------------------------------------------------------------------------- /deployments/regenFarms/1_regenFarm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/regenFarms/1_regenFarm.ts -------------------------------------------------------------------------------- /deployments/regenFarms/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/regenFarms/config.ts -------------------------------------------------------------------------------- /deployments/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/types.ts -------------------------------------------------------------------------------- /deployments/xDAI/1_tokenDistro_merkleDistro_Unipool.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/deployments/xDAI/1_tokenDistro_merkleDistro_Unipool.js -------------------------------------------------------------------------------- /files/GIV_tokens_-_AIRDROP_TEST_LIST.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/files/GIV_tokens_-_AIRDROP_TEST_LIST.csv -------------------------------------------------------------------------------- /files/merkle_distributor_xdai.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/files/merkle_distributor_xdai.json -------------------------------------------------------------------------------- /files/merkle_distributor_xdai_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/files/merkle_distributor_xdai_result.json -------------------------------------------------------------------------------- /funding.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/funding.json -------------------------------------------------------------------------------- /hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/hardhat.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/package.json -------------------------------------------------------------------------------- /scripts/csv2json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/scripts/csv2json.ts -------------------------------------------------------------------------------- /scripts/deployGardenUnipool.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/scripts/deployGardenUnipool.js -------------------------------------------------------------------------------- /scripts/deployUnipool.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/scripts/deployUnipool.js -------------------------------------------------------------------------------- /scripts/generate-merkle-root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/scripts/generate-merkle-root.ts -------------------------------------------------------------------------------- /scripts/upgradeGardenUnipool.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/scripts/upgradeGardenUnipool.js -------------------------------------------------------------------------------- /scripts/upgradeTokenDistro.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/scripts/upgradeTokenDistro.js -------------------------------------------------------------------------------- /src/balance-tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/src/balance-tree.ts -------------------------------------------------------------------------------- /src/merkle-tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/src/merkle-tree.ts -------------------------------------------------------------------------------- /src/parse-balance-map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/src/parse-balance-map.ts -------------------------------------------------------------------------------- /test/TokenDistro/.solcover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/TokenDistro/.solcover.js -------------------------------------------------------------------------------- /test/TokenDistro/TokenDistro.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/TokenDistro/TokenDistro.test.ts -------------------------------------------------------------------------------- /test/Tokens/GivTokenPermit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Tokens/GivTokenPermit.test.ts -------------------------------------------------------------------------------- /test/Tokens/UniswapV3Reward.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Tokens/UniswapV3Reward.test.ts -------------------------------------------------------------------------------- /test/Tokens/helpers/erc2612.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Tokens/helpers/erc2612.js -------------------------------------------------------------------------------- /test/Unipool/GardenUnipool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Unipool/GardenUnipool.test.ts -------------------------------------------------------------------------------- /test/Unipool/GardenUnipoolTokenManager.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Unipool/GardenUnipoolTokenManager.test.ts -------------------------------------------------------------------------------- /test/Unipool/Unipool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Unipool/Unipool.test.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/UniswapV3Staker.integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/UniswapV3Staker.integration.spec.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/helpers/index.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/helpers/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/helpers/types.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/matchers/beWithin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/matchers/beWithin.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/actors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/actors.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/external/WETH9.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/external/WETH9.json -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/external/v3-periphery/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/external/v3-periphery/constants.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/external/v3-periphery/ticks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/external/v3-periphery/ticks.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/external/v3-periphery/tokenSort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/external/v3-periphery/tokenSort.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/fixtures.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/index.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/linkLibraries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/linkLibraries.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/logging.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/logging.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/provider.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/ticks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/ticks.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/shared/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/shared/time.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/typechain/ISwapRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/typechain/ISwapRouter.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/typechain/IWETH9.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/typechain/IWETH9.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/typechain/NFTDescriptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/typechain/NFTDescriptor.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/typechain/contractParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/typechain/contractParams.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/types.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/Deployment.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/Deployment.spec.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/Deposits.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/Deposits.spec.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/Incentives.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/Incentives.spec.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/Multicall.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/Multicall.spec.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/RewardMath/RewardMath.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/RewardMath/RewardMath.spec.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/Stakes.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/Stakes.spec.ts -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/__snapshots__/Deposits.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/__snapshots__/Deposits.spec.ts.snap -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/__snapshots__/Incentives.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/__snapshots__/Incentives.spec.ts.snap -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/__snapshots__/Multicall.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/__snapshots__/Multicall.spec.ts.snap -------------------------------------------------------------------------------- /test/Uniswap-staker/unit/__snapshots__/Stakes.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/Uniswap-staker/unit/__snapshots__/Stakes.spec.ts.snap -------------------------------------------------------------------------------- /test/proxy/deployment.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/proxy/deployment.test.ts -------------------------------------------------------------------------------- /test/utils/block.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/utils/block.ts -------------------------------------------------------------------------------- /test/utils/mining.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/utils/mining.ts -------------------------------------------------------------------------------- /test/utils/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/test/utils/time.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Giveth/giv-token-contracts/HEAD/yarn.lock --------------------------------------------------------------------------------