Skip to main content

ITribe

Functions

delegate

function delegate(
address delegatee
) external

Parameters

NameTypeDescription
delegateeaddress

ITimelockedDelegator

Functions

delegate

function delegate(
address delegatee,
uint256 amount
) external

Parameters

NameTypeDescription
delegateeaddress
amountuint256

undelegate

function undelegate(
address delegatee
) external returns (uint256)

Parameters

NameTypeDescription
delegateeaddress

delegateContract

function delegateContract(
address delegatee
) external returns (address)

Parameters

NameTypeDescription
delegateeaddress

delegateAmount

function delegateAmount(
address delegatee
) external returns (uint256)

Parameters

NameTypeDescription
delegateeaddress

totalDelegated

function totalDelegated() external returns (uint256)

tribe

function tribe() external returns (contract ITribe)

Events

Delegate

event Delegate(
address _delegatee,
uint256 _amount
)

Parameters

NameTypeDescription
_delegateeaddress
_amountuint256

Undelegate

event Undelegate(
address _delegatee,
uint256 _amount
)

Parameters

NameTypeDescription
_delegateeaddress
_amountuint256