These are the public and external methods declared directly by VLStaking. Inherited token, ownership, and upgrade methods follow their respective standards.
registryName() returns (string memory)Read
Returns the human-readable name used for contract registration.
setVerifier(address verifier, bool enabled)Transaction · onlyOwner
Updates the named protocol configuration value or permission.
setGovernor(address governor, bool enabled)Transaction · onlyOwner
Updates the named protocol configuration value or permission.
setGovernor(address governor)Transaction · onlyOwner
Updates the named protocol configuration value or permission.
removeGovernor(address governor)Transaction · onlyOwner
Removes or releases the specified record, permission, or held value.
setVerifier(address verifier)Transaction · onlyOwner
Updates the named protocol configuration value or permission.
setVerifier(address verifier, uint8)Transaction · onlyOwner
Updates the named protocol configuration value or permission.
removeVerifier(address verifier)Transaction · onlyOwner
Removes or releases the specified record, permission, or held value.
addStablecoin(address stablecoin)Transaction · onlyOwner
Executes the add stablecoin operation.
setStablecoinProcessor(address processor, bool enabled)Transaction · onlyOwner
Updates the named protocol configuration value or permission.
setTokenRuleManager(address manager, bool enabled)Transaction · onlyOwner
Updates the named protocol configuration value or permission.
configureTokenRule(address token, uint64 minimumLockDuration, bool permanent)Transaction
Executes the configure token rule operation.
setTokenOperator(address token, address operator, bool enabled)Transaction
Updates the named protocol configuration value or permission.
stakeTokenFor(address token, uint256 amount, address account, uint64 lockDuration)Transaction
Executes the stake token for operation.
releaseTokenStake(address token, address account, address recipient) returns (uint256 amount)Transaction
Removes or releases the specified record, permission, or held value.
tokenStake(address token, address account) returns (TokenStake memory)Read
Executes the token stake operation.
setStablecoinNotary(address notary_, uint256 subscriptionId)Transaction · onlyOwner
Updates the named protocol configuration value or permission.
stablecoinCount() returns (uint256)Read
Executes the stablecoin count operation.
stakeStablecoin(address stablecoin, uint256 amount)Transaction
Executes the stake stablecoin operation.
stakeStablecoinFor(address stablecoin, uint256 amount, address account)Transaction
Executes the stake stablecoin for operation.
processStablecoinTransfer(address stablecoin, uint256 amount, address account)Transaction
Executes the process stablecoin transfer operation.
totalStake(address user) returns (uint256 vowAmount, uint256 mintedAmount)Read
Reads the requested contract state or calculated result without changing state.
totalStake(address vcToken, address user) returns (uint256 vowAmount, uint256 mintedAmount)Read
Reads the requested contract state or calculated result without changing state.
lockFor(address vcToken, address stakeOwner, address mintRecipient, uint256 vowAmount, uint256 mintedAmount)Transaction
Executes the lock for operation.
releaseAllStake(address vcToken, address stakeOwner) returns (uint256 vowAmount, uint256 mintedAmount)Transaction
Removes or releases the specified record, permission, or held value.
consumeStake(address vcToken, address stakeOwner, uint256 requestedAmount) returns (uint256 vowToReturn, uint256 burnedAmount, uint256 remainder)Transaction
Executes the consume stake operation.
tokensReceived(address, address from, address, uint256 amount, bytes calldata userData, bytes calldata)Transaction
Handles an ERC-777 token-receipt callback.