Skip to content

Instantly share code, notes, and snippets.

@theSchein
theSchein / sentinel.sol
Last active July 25, 2022 11:04
Sentinel Staking Development Contract
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Sentinel
* @dev Accepts deposits gives depositor a token in return. When the threshold
* to become PIC is reached, this contract transfers the funds to the TOGA contract.
* After a given timeperiod the contract unstakes until it is no longer the PIC.
* At that point the contract will allow for exchanging the shares for a its funds/profit.
*/