Governance Functions
Last updated
Last updated
Set up a Merkle Root Hash to verify the usage privilege of the address used for accessing Tako
function setMerkleRoot(bytes32 newMerkleRoot) external onlyGov
Name | Type | Description |
---|---|---|
Set a whitelist of token types that can be used in transactions
function whitelistBidToken(address token, bool whitelist) external onlyGov
Name | Type | Description |
---|---|---|
function whitelistRelayer(address relayer, bool whitelist) external onlyGov
Name | Type | Description |
---|---|---|
The bid can be sent to multiple curators at one time, and this function can limit the number of curators.
function setToCuratorLimit(uint8 counter) external onlyGov
Bids can be set with a valid duration, and this method can restrict the maximum valid time
function setMaxDuration(uint256 max) external onlyGov
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
newMerkleRoot
bytes32
A new merkle root
token
address
The contract address of token
whitelist
bool
"true" represents adding to the whitelist "false" represents removing from the whitelist.
relayer
address
The address of relayer
whitelist
bool
"true" represents adding to the whitelist, while "false" represents removing from the whitelist.
counter
uint8
Maximum number of target curators
max
uint256
Maximum valid duration for a bid