Smart contracts for the Graviton project
Find documentation for contracts in contract/interfaces
.
BalanceKeeperV2.sol
tracks governance balances of gton holdersLPKeeperV2.sol
tracks locked LP tokensVoterV2.sol
allows to vote using governance balanceClaimGTONAbsolute.sol
allows to withdraw tokens from governance balance to the walletRelay
handles netting exchange of native tokens between chainsOTC
handles over-the-counter dealsBalanceAdderV2.sol
adds gton to governance balances according to farming campaignsSharesEB.sol
tracks deposits of early birdsFarmCurved.sol
calculates damping curve farming scheduleFarmLinear.sol
calculates linear farming scheduleSharesLP.sol
tracks shares in LP farmingLockGTON.sol
andLockUnlockLP.sol
handle locking gton and lp-tokens on blockchains other than FantomLockGTONOnchain
andLockUnlockLPOnchain
handle locking gton and lp-tokens on FantomOracleParserV2.sol
,RelayParser
,ClaimRouter
,DeliveryRouter
,LockRouter
handle oracle datafeeds for crosschain events
yarn
yarn run hardhat compile
yarn run hardhat test
yarn run hardhat coverage
yarn run nuxt