DeXe Protocol Tech Documentation
  • getting started
    • Architecture Overview
    • Glossary
  • guides
    • Creating DAO
      • Deploying DAO
      • Customizing DAO
        • VotePower
        • ERC721Power
        • ERC721Multiplier
    • Interacting with DAO
      • Deposit/Withdraw
      • Delegations
      • Proposal life cycle
      • Rewards
      • Metagovernance
      • Internal validator proposals
      • Special proposals
        • Distribution proposal
        • Token sale proposal
    • Usage of subgraphs
  • contract interfaces
    • Core contracts
      • IPriceFeed
      • IContractsRegistry
      • ICoreProperties
    • Factory contracts
      • IPoolRegistry
      • IPoolFactory
    • Gov contracts
      • ERC20
        • IERC20Gov
      • ERC721
        • experts
          • IERC721Expert
        • multipliers
          • IAbstractERC721Multiplier
          • IERC721Multiplier
          • IDexeERC721Multiplier
        • powers
          • IERC721Power
      • proposals
        • IProposalValidator
        • IDistributionProposal
        • ITokenSaleProposal
      • settings
        • IGovSettings
      • user-keeper
        • IGovUserKeeper
      • validators
        • IGovValidators
        • IGovValidatorsToken
      • voting
        • IVotePower
      • IGovPool
  • contracts deployments
    • Prod (BSC/ETH)
    • Stage (BSC Testnet/Sepolia)
  • subgraphs deployments
    • Prod (BSC)
    • Prod (ETH)
    • Stage (BSC Testnet)
Powered by GitBook
On this page
  • Interface Description
  • Functions info
  • validate (0x4216fc04)
  1. contract interfaces
  2. Gov contracts
  3. proposals

IProposalValidator

Interface Description

License: MIT

interface IProposalValidator

The hook contract that proposals may inherit in order to implement extra validation

Functions info

validate (0x4216fc04)

function validate(
    IGovPool.ProposalAction[] calldata actions
) external view returns (bool valid)

The hook function

Parameters:

Name
Type
Description

actions

struct IGovPool.ProposalAction[]

the proposal "for" actions

Return values:

Name
Type
Description

valid

bool

"true" if everything is ok, "false" to revert the proposal creation