File tree Expand file tree Collapse file tree
packages/convenience/contracts/interfaces Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11//SPDX-License-Identifier: MIT
22pragma solidity 0.8.4 ;
33
4- import "@api3-dao/pool/contracts/interfaces/IApi3Pool.sol " ;
5-
6- interface IApi3PoolExtended is IApi3Pool {
4+ interface IApi3PoolExtended {
75 function api3Token ()
86 external
97 view
@@ -48,4 +46,63 @@ interface IApi3PoolExtended is IApi3Pool {
4846 external
4947 view
5048 returns (uint256 );
49+
50+ function totalShares ()
51+ external
52+ view
53+ returns (uint256 );
54+
55+ function userStake (address userAddress )
56+ external
57+ view
58+ returns (uint256 );
59+
60+ function getUser (address userAddress )
61+ external
62+ view
63+ returns (
64+ uint256 unstaked ,
65+ uint256 vesting ,
66+ uint256 unstakeShares ,
67+ uint256 unstakeAmount ,
68+ uint256 unstakeScheduledFor ,
69+ uint256 lastDelegationUpdateTimestamp ,
70+ uint256 lastProposalTimestamp
71+ );
72+
73+ function userLocked (address userAddress )
74+ external
75+ view
76+ returns (uint256 );
77+
78+ function userVotingPowerAt (
79+ address userAddress ,
80+ uint256 _block
81+ )
82+ external
83+ view
84+ returns (uint256 );
85+
86+ function userVotingPower (address userAddress )
87+ external
88+ view
89+ returns (uint256 );
90+
91+ function delegatedToUser (address userAddress )
92+ external
93+ view
94+ returns (uint256 );
95+
96+ function userDelegateAt (
97+ address userAddress ,
98+ uint256 _block
99+ )
100+ external
101+ view
102+ returns (address );
103+
104+ function userDelegate (address userAddress )
105+ external
106+ view
107+ returns (address );
51108}
You can’t perform that action at this time.
0 commit comments