Skip to content

tokamak-network/tosv2-contracts

Repository files navigation

Mainnet Deployed Contract addresses:

"TOSValueCalculator": "0xD062C01b317933EAabd8F64e3f59141a79C3f95c",
"BondDepository": "0xe3ECA73384Bcfcc16ECd7894C5cA5b6DD64Ce39F",
"LibStaking": "0xC17c09a48793Bff31e7F8CC465DF6451CC9d9fB0",
"StakingV2": "0xC42698D87c95dCB9aaE9aaBE8c70a4d52b243847", -> 0x081fB1858664B160f24234916b732376b92A1c6C
"LibTreasury": "0x2c77067900f1544345552f0A12d0bDf4EaE6fE04",
"Treasury": "0x0bA799B755017a5E148A4De63DD65e816B15BC9E",
"BondDepositoryProxy": "0xbf715e63d767D8378102cdD3FFE3Ce2BF1E02c91",
"StakingV2Proxy": "0x14fb0933Ec45ecE75A431D10AFAa1DDF7BfeE44C",
"TreasuryProxy": "0xD27A68a457005f822863199Af0F817f672588ad6"

Goerli Deployed Contract addresses:

"TOSValueCalculator": "0x2daEBfC5eA67Ed04cE9eE154D626A6e2144333BC",
"BondDepository": "0x83660630Dffb1f4ec15cEB3948849135da9E9d50",
"BondDepositoryProxy": "0x56eE8C5e99425c9B38D9001408d2d0Bcb1085E23",
"LibStaking": "0xEfCDCa72f05b6492663155e38ECC5C0342a82E0c",
"StakingV2": "0x2f04B7641116fA9e9473208Ed3D35cF35A1a984d",
"StakingV2Proxy": "0x2fF6D99EbEE9A61430FE4909745FFa9C69a3FCD0",
"LibTreasury": "0x35f1cc098d14dE8C79806B6A8aDDe56a23fc5f57",
"Treasury": "0xd835046432891d5C2657237eC06f9F84Fea647A7",
"TreasuryProxy": "0x138b6757BF88Cbba7b4eE6d166fCB4fFB12c656D"\

Rinkeby Deployed Contract addresses:

"TOSValueCalculator": "0xCb7eB6567BD93a5bA71eB74b904087fF645D28ca",
"BondDepository": "0xf902FbF4e30022E40cBd1d84f021ec8B20a889e5",
"BondDepositoryProxy": "0x2b030a3Fa2bd70AB64A6A4F42488605d73EA7A68",
"LibStaking": "0x3A2b1e3E6d1D726Ae1b73027ecC918f1C95a3c0f",
"StakingV2": "0x27cafba298D12EC462D425298c9EF3977deb6a76",
"StakingV2Proxy": "0x2Ea85Eab600BDE1d05ec08bAda48497Fa123438c",
"LibTreasury": "0x45864F1fBFDa1Ddeb62Bbbdc28Fa6A022095E679",
"Treasury": "0x0ad71735d9aC039b08f197D3847C69c716fc426E",
"TreasuryProxy": "0xb7fD7020211288586E8270099Dcb91f436029EE9"

Basic Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help