Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DecentricCorp/FuelToken

Repository files navigation

 Metadata
 ✓ has correct name at deploy time
 ✓ has correct symbol at deploy time
 ✓ has correct decimals at deploy time
 ✓ has updated metadata after changing (106ms)
 ✓ only owner is able to update metadata (88ms)
 ✓ owner is not able to update metadata on locked contracts (104ms)
 Transfer
 ✓ Public Transfers emit Transfer event (72ms)
 ✓ Transfers with visibility off emit no event (213ms)
 Stakability
 ✓ Base token is allowed to stake itself
 ✓ Base token can be deposited into contract (199ms)
 ✓ unable to deposit non whitelisted token (208ms)
 ✓ owner is able to whitelist token (151ms)
 ✓ owner is able to remove token from whitelist (194ms)
 ✓ non-owner is able to deposit whitelisted token (227ms)
 ✓ non-owner is unable to whitelist token (131ms)
 ✓ non-owner is unable to remove token from whitelist (165ms)
 ETH
 ✓ Sending ETH throws Received Event (49ms)
 ✓ sending ETH buys expected amount of Base token (72ms)
 ✓ sending 0 ETH fails (45ms)
 Strategies
 ✓ sending ETH distributes expected amount of eth to treasury (48ms)
 ✓ sending ETH distributes expected amount of eth to staker with 100% of pool (159ms)
 ✓ sending ETH distributes expected amount of eth to both stakers owning 50% of the pool (294ms)
 - Can sell half of eth, receive LP tokens & add liquidity
 - Rewards stakers, based on remaining balancs: the LP tokens held by the base contract
 - Time limit / block number establishes a strategy length

Base Token: $Fuel

Earned @: staking pools, promotions and conversions.

Conversions: erc20 tokens can be deposited into contract that turn into $Fuel at a fixed or dynamic conversion rate.

Staking: erc20 tokens that are whitelisted by governance can be staked and instantly reflect a $Fuel balance based on the conversion rate. (1:100, 1:1, etc...)

Earn: earn rewards of a portion of other tokens converted, $Fuel, and LP tokens created by conversions as well. Rewards of $Fuel will reflect in your wallet without the need to harvest.

Withdraw: withdrawing staked tokens will return unspent and unconverted tokes to user upon withdrawal. $Fuel balance will reduce by staked amount at the defined conversion rate. Rewards, and converted fuel will remain spendable and reflected in your balance.

Spend: spending all or a portion of the $Fuel immediately acquired by staking will result in an equivilant portion of your deposit being converted, and otherwise non withdrawable.

$Fuel once acquired can be deposited into the token contract to be either converted, or added to the purchase pool. $Fuel can be purchased by sending eth to the token contract. The resulting ETH will be partially distributed to participants of the purchase pool, converted into locked $Fuel lp tokens, and the treasury.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /