T
Last updated
Last updated
Threshold Network T token
By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it requires users to delegate to themselves to activate checkpoints and have their voting power tracked.
The EIP-712 typehash for the delegation struct used by delegateBySig
.
Delegates votes from signatory to delegatee
Name | Type | Description |
---|---|---|
Delegate votes from msg.sender
to delegatee
.
Hook that is called before any transfer of tokens. This includes minting and burning.
Calling conditions:
when from
and to
are both non-zero, amount
of from
's tokens will be to transferred to to
.
when from
is zero, amount
tokens will be minted for to
.
when to
is zero, amount
of from
's tokens will be burned.
from
and to
are never both zero.
Change delegation for delegator
to delegatee
.
Name | Type | Description |
---|---|---|
signatory
address
delegatee
address
The address to delegate votes to
deadline
uint256
The time at which to expire the signature
v
uint8
The recovery byte of the signature
r
bytes32
Half of the ECDSA signature pair
s
bytes32
Half of the ECDSA signature pair
delegatee
address
The address to delegate votes to