🇺🇸
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
  • Contract Type
  • Contract
  • Event
  • Contract Added
  • Interface
  1. Smart Contracts

Proxy Contract

Address

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

Summary

Proxy contracts define contracts in Otherworld

  • Defines the 'contract type' details.

    • Defines the type name.

    • A contract type can contain multiple contracts.

  • Defines the 'contract' details.

    • Contracts are included in one contract type.

    • Defines the version.

    • Defines the contract address.

Data

Base

Name
Type

Created Timestamp

Uint

Contract Type

Name
Type

ID

Uint

Name

String

Contract

Name
Type

ID

Uint

Type ID

Uint

Version

Uint

Contract

Address

Created Timestmap

Uint

Event

Contract Added

Name
Type

Type ID

Uint

Version

Uint

OWContract

Address

Interface

interface IOWProxy {
    function addContractType(string calldata _type) external;

    function setContractType(uint256 _typeId, string calldata _type) external;

    function removeContractType(uint256 _typeId) external;

    function isExistContractTypeById(uint256 _typeId)
        external
        view
        returns (bool);

    function isExistContractType(string calldata _type)
        external
        view
        returns (bool);

    function getContractTypeId(string calldata _type)
        external
        view
        returns (uint256);

    function getContractTypeById(uint256 _typeId)
        external
        view
        returns (string memory);

    function getContractTypeIds() external view returns (uint256[] memory);

    function getContractTypes() external view returns (string[] memory);

    function addContract(uint256 _typeId, address _OWContract) external;

    function setContract(
        uint256 _typeId,
        uint256 _version,
        address _OWContract
    ) external;

    function removeLatestContract(uint256 _typeId) external;

    function getOWContractByTypeId(uint256 _typeId, uint256 _version)
        external
        view
        returns (address);

    function isValidVersion(uint256 _typeId, uint256 _version)
        external
        view
        returns (bool);

    function getLatestVersion(uint256 _typeId) external view returns (uint256);

    function getOWContractByType(string calldata _type, uint256 _version)
        external
        view
        returns (address);

    function getContractOfType(uint256 _typeId)
        external
        view
        returns (address[] memory);
}
PreviousGovernance Power ContractNextProviding

Last updated 2 years ago