🇺🇸
Protocol
HubSoTWTutorialPartners
ENG
ENG
  • Otherworld's Protocol
  • Smart Contracts
    • Providing Contract
    • Currency Contract
    • Milestone Contract
    • NFT(ERC-721) Contract
    • Minting Contract
    • Offering Contract
    • OD Contract
    • ERD Contract
    • Market Contract
    • oKLAY(ERC-20) Contract
    • Governance Power Contract
    • Proxy Contract
  • PROVIDING - DIMENSION
    • Providing
      • Project
      • Universe
      • Collection
      • Item
      • Milestone
      • Milestone-Comment
    • R&R
      • Player
      • Provider
      • Operator
      • Associator
      • Creator
    • DAO Fund
    • Currency
      • Service Currency
      • Project Currency
    • Launchpad
      • Offering
      • Round
      • Whitelist
      • Minting
    • Marketplace
      • Exchange
      • List
      • Offer
      • Effect of Proposal
      • Market Fee
      • Royalty
    • Governance
      • Governance Power
      • Governance Standard
    • License
      • License A : Full Access
      • License Standard
  • SOCIAL-DIMENSION
    • Other Wallet
    • Other Board
    • Other Channel
    • Other Messenger
    • Gamification
  • DAO-TOOL AS A SERVICE
    • Open Governance
    • Open Launchpad
    • Open Marketplace
    • Open Providing
Powered by GitBook
On this page
  • Address
  • Summary
  • Data
  • Base
  • Royalty Distribution
  • Event
  • Royalty Distribution Invoice
  • Interface
  1. Smart Contracts

ERD Contract

Address

Address : (not yet deployed)

on Klaytn Blockchain Main-net

Summary

An external royalty distribution contract defines a royalty agreement for secondary transactions originating in an external market other than Otherworld.

  • Defines the 'royalty distribution' details for NFTs traded on external markets.

    • Royalty distribution corresponds to one collection.

    • Defines a royalty keeper.

Data

Base

Name
Type

Created Timestamp

Uint

Royalty Distribution

Name
Type

ID

Uint

Collection ID

Uint

Royalty Keeper

Address

Is Active

Boolean

Created Timestamp

Uint

Event

Royalty Distribution Invoice

Name
Type

Royalty Distrbution ID

Uint

Collection ID

Uint

Token

Address

Distributed Balance

Uint

Provider

Address

To Provider

Uint

Operator

Address

To Operator

Uint

Associator

Address

To Associator

Uint

DAO

Address

To DAO

Uint

Interface

interface IOWExternalRoyaltyDistribution {
    function addDistribution(uint256 _collectionId, address _royaltyKeeper)
        external;

    function distributeKLAY() external payable;

    function distributeToken(address _token, uint256 _balance) external;

    function setDistributionCollection(
        uint256 _distributionId,
        uint256 _collectionId
    ) external;

    function setDistributionRoyaltyKeeper(
        uint256 _distributionId,
        address _royaltyKeeper
    ) external;

    function setDistributionActive(uint256 _distributionId, bool _isActive)
        external;

    function isExistDistributionById(uint256 _distributionId)
        external
        view
        returns (bool);

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

    function getActiveDistributionIdByRoyaltyKeeper(address _royaltyKeeper)
        external
        view
        returns (uint256);

    function getDistributionIdByRoyaltyKeeper(address _royaltyKeeper)
        external
        view
        returns (uint256);

    function isActiveDistribution(uint256 _distributionId)
        external
        view
        returns (bool);

    function getDistributionById(uint256 _distributionId)
        external
        view
        returns (ExternalRoyaltyDistributionBase.RoyaltyDistribution memory);

    function getDistributions()
        external
        view
        returns (ExternalRoyaltyDistributionBase.RoyaltyDistribution[] memory);
}
PreviousOD ContractNextMarket Contract

Last updated 2 years ago