Governance Power Contract

Address

Address : (not yet deployed) on Klaytn Blockchain Main-net

Summary

The Governance Power Contract defines the governance power of a Collection Item provided to Otherworld.

The item's governance power is snapshot based on the collection's issuance volume at the time the collection's governance weight is updated.

  • Defines the 'governance standard'.

  • Defines the maximum number of collections that can be updated in one transaction.

  • Defines the 'Item Governance Power' for each Collection.

Data

Base

Name
Type

Governance Denominator

Uint

Governance Standard

Uint

Max Collection Per Tx

Uint

Created Timestamp

Uint

Item Governance Power

Name
Type

Collection ID

Uint

Timestamp

Uint

Value

Uint

Event

Set Collection Governance Weight

Name
Type

Collection ID

Uint

Governance Weight

Uint

Total Supply

Uint

Set Governance Standard

Name
Type

Governance Standard

Uint

Interface

interface IOWGovernancePower {
    function setCollectionGovernanceWeight(
        uint256[] memory _collectionIds,
        uint256[] memory _governanceWeights
    ) external;

    function getIGPowerByCollectionId(uint256 _collectionId)
        external
        view
        returns (uint256);

    function getPastIGPowerByCollectionId(
        uint256 _collectionId,
        uint256 _timestamp
    ) external view returns (uint256);

    function setGovernanceStandard(uint256 _governanceStandard) external;

    function setMaxCollectionPerTx(uint256 _maxCollectionPerTx) external;

    function getGovernanceStandard() external view returns (uint256);

    function getGovernanceDenominator() external pure returns (uint256);
}

Last updated