ITribe
Functions
delegate
function delegate(
address delegatee
) external
Parameters
Name | Type | Description |
---|---|---|
delegatee | address |
ITimelockedDelegator
Functions
delegate
function delegate(
address delegatee,
uint256 amount
) external
Parameters
Name | Type | Description |
---|---|---|
delegatee | address | |
amount | uint256 |
undelegate
function undelegate(
address delegatee
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
delegatee | address |
delegateContract
function delegateContract(
address delegatee
) external returns (address)
Parameters
Name | Type | Description |
---|---|---|
delegatee | address |
delegateAmount
function delegateAmount(
address delegatee
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
delegatee | address |
totalDelegated
function totalDelegated() external returns (uint256)
tribe
function tribe() external returns (contract ITribe)
Events
Delegate
event Delegate(
address _delegatee,
uint256 _amount
)
Parameters
Name | Type | Description |
---|---|---|
_delegatee | address | |
_amount | uint256 |
Undelegate
event Undelegate(
address _delegatee,
uint256 _amount
)
Parameters
Name | Type | Description |
---|---|---|
_delegatee | address | |
_amount | uint256 |