-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fca2e7
commit 7c3ece2
Showing
34 changed files
with
7,148 additions
and
0 deletions.
There are no files selected for viewing
Submodule angle
added at
464963
Submodule avax
added at
e15b9f
Submodule convex
added at
6ba93b
Submodule harmony
added at
4bf165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,363 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{"internalType": "uint256", "name": "pid_", "type": "uint256"}, | ||
{"internalType": "address", "name": "stakingToken_", "type": "address"}, | ||
{"internalType": "address", "name": "rewardToken_", "type": "address"}, | ||
{"internalType": "address", "name": "operator_", "type": "address"}, | ||
{"internalType": "address", "name": "rewardManager_", "type": "address"} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "reward", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "RewardAdded", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "user", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "reward", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "RewardPaid", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "user", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Staked", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "user", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Withdrawn", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "address", "name": "_reward", "type": "address"} | ||
], | ||
"name": "addExtraReward", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "address", "name": "account", "type": "address"} | ||
], | ||
"name": "balanceOf", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "clearExtraRewards", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "currentRewards", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "uint256", "name": "_amount", "type": "uint256"} | ||
], | ||
"name": "donate", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "duration", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "address", "name": "account", "type": "address"} | ||
], | ||
"name": "earned", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"name": "extraRewards", | ||
"outputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "extraRewardsLength", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getReward", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "address", "name": "_account", "type": "address"}, | ||
{"internalType": "bool", "name": "_claimExtras", "type": "bool"} | ||
], | ||
"name": "getReward", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "historicalRewards", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "lastTimeRewardApplicable", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "lastUpdateTime", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "newRewardRatio", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "operator", | ||
"outputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "periodFinish", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "pid", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "uint256", "name": "_rewards", "type": "uint256"} | ||
], | ||
"name": "queueNewRewards", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "queuedRewards", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "rewardManager", | ||
"outputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "rewardPerToken", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "rewardPerTokenStored", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "rewardRate", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "rewardToken", | ||
"outputs": [ | ||
{"internalType": "contract IERC20", "name": "", "type": "address"} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"name": "rewards", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "uint256", "name": "_amount", "type": "uint256"} | ||
], | ||
"name": "stake", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "stakeAll", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "address", "name": "_for", "type": "address"}, | ||
{"internalType": "uint256", "name": "_amount", "type": "uint256"} | ||
], | ||
"name": "stakeFor", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "stakingToken", | ||
"outputs": [ | ||
{"internalType": "contract IERC20", "name": "", "type": "address"} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "totalSupply", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"name": "userRewardPerTokenPaid", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "uint256", "name": "amount", "type": "uint256"}, | ||
{"internalType": "bool", "name": "claim", "type": "bool"} | ||
], | ||
"name": "withdraw", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "bool", "name": "claim", "type": "bool"}], | ||
"name": "withdrawAll", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "bool", "name": "claim", "type": "bool"}], | ||
"name": "withdrawAllAndUnwrap", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{"internalType": "uint256", "name": "amount", "type": "uint256"}, | ||
{"internalType": "bool", "name": "claim", "type": "bool"} | ||
], | ||
"name": "withdrawAndUnwrap", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.