Safe Yields Smart Contracts
____ __ __ ___ _ _
/ ___| __ _ / _| ___ \ \ / (_) ___| | __| |___
\___ \ / _` | |_ / _ \ \ V /| |/ _ \ |/ _` / __|
___) | (_| | _| __/ | | | | __/ | (_| \__ \
|____/ \__,_|_| \___| |_| |_|\___|_|\__,_|___/
Safe Yields is a DeFi protocol on Arbitrum blockchain implementing a deflationary token mathematically designed to sustain positive price action. More details are available on https://www.safeyields.io/.
Copy .env.example
to .env
.
$ yarn install
To run unit & integration tests:
$ yarn test
To run the coverage:
$ yarn coverage
Note to compile the contracts and build the types with yarn typechain
prior to that if you're running
coverage as the
first command after installation.
yarn start
Deployment (or upgrading) the contracts are done with
yarn deploy NETWORK #NETWORK is localhost, testnet or mainnet
Scripts in /deploy as well as the handy scripts below work with any network managed by the hardhat and hardhat-deploy.
The contracts are upgradable both ERC-173 and ERC-1967 transparent proxy compliant.
- SafeNFT.sol : ERC-1155 compatible NFT implementing Safe NFT, including presale tokens.
- SafeToken.sol : ERC-20 compatible token.
- SafeVault.sol : A vault that manages stable coins deposited to the project which may deposit funds to yield farms and withdraws as a part of withdrawal tx.
Contract | Address |
---|---|
SafeNFT | 0xe2967C90F8cec65Ae12c4bC36c771249C12a2310 |
SafeToken | 0x519EfB2bEFBd3f00D335dc9DF42BF721D591604f |
Contract | Address |
---|---|
SafeNFT | 0xAa1D2ca80198470dbCC594CbcA8B7Ea4cBf9a3fE |
SafeToken | 0xeeC181F2008b0f719e572000b1F02F120634326C |
NFT presale Starts 3rd of March 2023, 17:00 UTC and ends on 31 March 2023, 17:00 UTC decreasing in price every week.