-
Notifications
You must be signed in to change notification settings - Fork 199
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
a20f793
commit 092fe57
Showing
7 changed files
with
402 additions
and
55 deletions.
There are no files selected for viewing
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
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,280 @@ | ||
const IOOEStaking = [ | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ indexed: true, internalType: 'address', name: 'previousOwner', type: 'address' }, | ||
{ indexed: true, internalType: 'address', name: 'newOwner', type: 'address' }, | ||
], | ||
name: 'OwnershipTransferred', | ||
type: 'event', | ||
}, | ||
{ | ||
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', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'DURATION', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [{ internalType: 'address', name: 'account', type: 'address' }], | ||
name: 'balanceOf', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'bifi', | ||
outputs: [{ internalType: 'contract IERC20', name: '', type: 'address' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [{ internalType: 'address', name: 'account', type: 'address' }], | ||
name: 'earned', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [], | ||
name: 'exit', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [], | ||
name: 'getReward', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'isOwner', | ||
outputs: [{ internalType: 'bool', name: '', type: 'bool' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'lastTimeRewardApplicable', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'lastUpdateTime', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'uint256', name: 'reward', type: 'uint256' }], | ||
name: 'notifyRewardAmount', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'owner', | ||
outputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'periodFinish', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [], | ||
name: 'renounceOwnership', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'rewardPerToken', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'rewardPerTokenStored', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'rewardRate', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
name: 'rewards', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'address', name: '_rewardDistribution', type: 'address' }], | ||
name: 'setRewardDistribution', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'uint256', name: 'amount', type: 'uint256' }], | ||
name: 'stake', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'totalSupply', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], | ||
name: 'transferOwnership', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
name: 'userRewardPerTokenPaid', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'wbnb', | ||
outputs: [{ internalType: 'contract IERC20', name: '', type: 'address' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: false, | ||
inputs: [{ internalType: 'uint256', name: 'amount', type: 'uint256' }], | ||
name: 'withdraw', | ||
outputs: [], | ||
payable: false, | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'rewardSpeed', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
constant: true, | ||
inputs: [], | ||
name: 'totalCollateral', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
payable: false, | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
] as const; | ||
|
||
export default IOOEStaking; |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.