Āut Labs
  • Āut Labs
  • The Āutonomy Matrix
  • $AUT Token
  • 🎯What is Āut Labs
    • Intro & History
    • Problem & Solution
    • The Āutonomy Matrix
    • Product Suite
  • ♟️Core Concepts
    • ĀutID
    • Hub
    • Roles
    • Tasks & Contributions
    • Prestige
    • Member <> Hub bond
    • Commitment Level
    • Participation Score
    • Peer Value
  • 💻For Devs
    • Deployed Contracts
      • ĀutID
      • Hub
      • Tasks
      • Participation Score
      • Miscellaneous
    • Integrate dĀut (Web Component)
      • For Angular
      • For Vue.js
      • For React
    • SDK
  • 🎳Product Suite
    • Launchpad
    • HubOS
    • d-Āut
    • Explorer
    • ĀutOS
Powered by GitBook
LogoLogo

PARTICIPATE

  • Website
  • ĀutOS
  • Hub Explorer

© Āut Labs 2025

On this page
  • GlobalParameters.sol
  • AccessUtils.sol
  1. For Devs
  2. Deployed Contracts

Miscellaneous

GlobalParameters.sol

The GlobalParameters contract manages global parameters for the Aut Protocol.

Key Functions:

  • stagePeriodDuration(uint32 nextPeriodDuration): Stages a new period duration.

  • commitPeriodDuration(): Commits the staged period duration.

  • stageSteepnessDegree3Exp(uint16 nextSteepnessDegree3Exp): Stages a new steepness degree.

  • commitSteepnessDegree3Exp(): Commits the staged steepness degree.

Important Concepts:

  • Parameters are staged before being committed to allow for a delay period.

  • The contract uses a two-step process (stage and commit) for parameter changes.

AccessUtils.sol

The AccessUtils contract provides utility functions for access control within the Aut Protocol.

Key Functions:

  • _isAdmin(address who): Checks if an address is an admin.

  • _isMember(address who): Checks if an address is a member.

  • _revertIfNotAdmin(): Reverts the transaction if the sender is not an admin.

  • _revertIfNotHub(): Reverts the transaction if the sender is not the hub.

  • _revertIfNotMember(address who): Reverts the transaction if the given address is not a member.

PreviousParticipation ScoreNextIntegrate dĀut (Web Component)

Last updated 3 months ago

💻