Committee

Functions

isRuler

Copy function isRuler(address account) external view returns (bool)

createProposal

Copy function createPoolProposal( address _stakedTokenAddr, uint256 _leverage, uint256 _durationDays ) external returns (uint256)

vote

Copy function vote( uint256 proposalId, bool direction, uint256 voteShare ) external

getUserShares

Copy function getUserShares(address account) external view returns ( uint256 totalShare, uint256 lockedShare )

deposit

Copy function deposit(uint256 amount) external

withdraw

Copy function withdraw(uint256 amount) external