Skip to content

Commit

Permalink
Bring asset handler and integrate it into staking template
Browse files Browse the repository at this point in the history
1) Bring ERC20 asset handler(one of trust asset handler)
2) Bring Trustless asset handler(used by Steem SP delegate or substrate crowdloan and staking)
3) Trust asset now all locked in trust asset handler, e.g. ERC20AssetHandler
4) StakingTemplate support both trust asset and trustless asset staking
5) More robust permission control
  • Loading branch information
tolak committed May 30, 2021
1 parent 540e762 commit 8a0fb75
Show file tree
Hide file tree
Showing 31 changed files with 644 additions and 1,255 deletions.
2 changes: 1 addition & 1 deletion contracts/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;
pragma solidity ^0.8.0;

contract Migrations {
address public owner = msg.sender;
Expand Down
302 changes: 0 additions & 302 deletions contracts/NutboxERC20.sol

This file was deleted.

Loading

0 comments on commit 8a0fb75

Please sign in to comment.