🇺🇸
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
  • Milestone
  • Comment
  • Interface
  1. Smart Contracts

Milestone Contract

Address

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

Summary

Milestone contracts define milestones for projects provided to Otherworld.

  • Defines the milestone details.

    • Milestones are included in one universe.

    • A milestone can contain multiple comments.

    • Defines the current progress of the milestone.

    • Defines the current progress of the milestone.

    • Defines the metadata URL for the milestone.

  • Defines the comment details.

    • Comments are included in one milestone.

    • Defines the metadata URL of the comment.

Data

Base

Name
Type

Created Timestamp

Uint

Milestone

Name
Type

ID

Uint

Universe ID

Uint

Metadata URL

String

State

String

Progressing

Uint

Is Active

Boolean

Updated Timestamp

Uint

Created Timestamp

Uint

Comment

Name
Type

ID

Uint

Milestone ID

Uint

Metadata URL

String

Is Active

Boolean

Created Timestamp

Uint

Interface

interface IOWMilestone {
    function addMilestone(uint256 _universeId, string calldata _URL) external;

    function setMilestoneURL(uint256 _milestoneId, string calldata _URL)
        external;

    function setMilestoneUniverse(uint256 _milestoneId, uint256 _universeId)
        external;

    function setMilestoneState(
        uint256 _milestoneId,
        MilestoneBase.MilestoneState _state
    ) external;

    function setMilestoneProgressing(uint256 _milestoneId, uint8 _progressing)
        external;

    function setMilestoneActive(uint256 _milestoneId, bool _isActive) external;

    function isExistMilestoneById(uint256 _milestoneId)
        external
        view
        returns (bool);

    function getMilestoneById(uint256 _milestoneId)
        external
        view
        returns (MilestoneBase.Milestone memory);

    function getMilestoneOfUniverse(uint256 _universeId)
        external
        view
        returns (MilestoneBase.Milestone[] memory);

    function addComment(uint256 _milestoneId, string calldata _URL) external;

    function setCommentURL(uint256 _commentId, string calldata _URL) external;

    function setCommentMilestone(uint256 _commentId, uint256 _milestoneId)
        external;

    function setCommentActive(uint256 _commentId, bool _isActive) external;

    function isExistCommentById(uint256 _commentId)
        external
        view
        returns (bool);

    function getCommentById(uint256 _commentId)
        external
        view
        returns (MilestoneBase.Comment memory);

    function getCommentOfMilestone(uint256 _milestoneId)
        external
        view
        returns (MilestoneBase.Comment[] memory);

    function setBaseURI(string calldata _baseURI) external;

    function getBaseURI() external view returns (string memory);
}
PreviousCurrency ContractNextNFT(ERC-721) Contract

Last updated 2 years ago