Governance Functions
setLensContracts
Set LensHub address and collectModule address. Read the Lens docs for more details. https://docs.lens.xyz/docs/deployed-contract-addresses
function setLensContracts( address hub, address collectModule ) external onlyGov
Name | Type | Description |
---|---|---|
hub | address | The contract address of LensHub |
collectModule | address | The contract address of CollectMudule |
setMerkleRoot
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 |
---|---|---|
newMerkleRoot | bytes32 | A new merkle root |
whitelistBidToken
Set a whitelist of token types that can be used in transactions
function whitelistBidToken(address token, bool whitelist) external onlyGov
Name | Type | Description |
---|---|---|
token | address | The contract address of token |
whitelist | bool | "true" represents adding to the whitelist, while "false" represents removing from the whitelist. |
whitelistRelayer
function whitelistRelayer(address relayer, bool whitelist) external onlyGov
Name | Type | Description |
---|---|---|
relayer | address | The address of relayer |
whitelist | bool | "true" represents adding to the whitelist "false" represents removing from the whitelist. |
setCurateDuration
function setCurateDuration(uint256 duration) external onlyGov
Name | Type | Description |
---|---|---|
duration | uint256 | The period after the Bid is posted is referred to as CurateDuration. During this period, Curators accept the Bid, and upon completing the curation, the system records and tracks the curation's effectiveness. After the CurateDuration period, the Curator with the best curation effectiveness can claim the reward. |
setRewardClaimProtectionDuration
function setRewardClaimProtectionDuration(uint256 duration) external onlyGov
Name | Type | Description |
---|---|---|
duration | uint256 | After CurateDuration, the Bid concludes and enters a reward claim protection period called RewardClaimProtectionDuration. During this period, only the winning Curator can claim the reward. After the protection period expires, if the Curator has not claimed the reward, the Bidder can withdraw the reward. |
Last updated