LogoLogo
  • DFK Developer Docs
  • Contracts
    • Exchanges
      • The Trader
      • The Bazaar
    • Sales & Rentals
      • Hero Auction
      • Hero Rental
      • Equipment Auction
      • Pet Auction
      • Land Auction
    • Summoning
      • Hero Summoning
        • Dark Summoning
      • Pet Hatching
    • Meditation Circle
    • Quests
      • Quest Core
      • Historical Contracts
        • Quest Core
        • Profession Quests
        • Training Quests
    • Void Hunts
    • Patrols
    • PVP Combat
    • Influence System
    • Gardens
      • Master Gardener
    • Jeweler 2.0
      • Power-Ups
      • Jeweler 1.0
    • Profiles
    • DFK Duel
      • Previous Seasons
      • Raffle Master
    • Events
      • Gen0 Reroll
      • Gene Reroll
      • Perilous Journey
    • Bridging
      • Hero Bridge (Synapse)
      • Hero Bridge (LayerZero)
      • Equipment Bridge (Synapse)
      • Equipment Bridge (LayerZero)
      • Item Bridge V2
        • Item Bridge V1 (Deprecated)
      • Gaia's Tear Bridge
    • Miscellaneous
      • Airdrops
      • Charity
      • Flag Storage
      • Gen0 Airdrop (Harmony)
      • Gen0 Sale (Harmony)
      • Graveyard
      • Locked Token Claim
      • Locked Token Raffle
      • Token Disburse
  • NFTs
    • Heroes
      • HeroV4 (Metis)
    • Equipment
      • Weapons
      • Armor
      • Accessories
      • Shared Equipment Mappings
      • CacheCore
      • Equipment Shop
      • Visage Shop
    • Pets
      • Pet Exchange
    • Lands
  • Tokens
    • Ecosystem Token
    • Power Tokens
    • Governance Tokens
    • Currencies
      • DFK Gold
      • Gaia's Tears
    • Inventory Items
    • Gold Crops
    • Combat Items
    • Miscellaneous Tokens
      • Collectible Items
      • Raffle Tickets
  • Crafting
    • Alchemist
    • Nutritionist
    • Stone Carver
    • Vendor (Item Gold Trader)
  • Collections
    • Runes
    • Pet Eggs
    • Pet Treats
    • Potions & Consumables
      • Item Consumer
      • Potion Migrator
    • Enhancement Stones
    • Attunement Crystals
      • Atonement Crystals
    • Pages of the Eternal Story
  • API
    • Community GraphQL API
      • Getting Started
      • Auctions
      • Bazaar
      • Heroes
      • Pets
      • Profiles
    • Hero Metadata & Image API
    • Pet Metadata & Image API
    • Token Supply API
  • Community Builders
    • Kingdom Building Program
    • Developer Resources
    • Community Projects
  • DFK CHain
    • Getting Started
    • Nodes & Validators
    • Bridged Tokens
    • Ecosystem Partners
      • Covalent API
      • SupraOracles Price Feeds
      • SupraOracles VRF
    • Miscellaneous Contracts
Powered by GitBook
On this page
  • Suggested Use Cases
  • Contracts
  • Addresses
  • Interfaces
  • ABIs
  1. Tokens

Power Tokens

PreviousEcosystem TokenNextGovernance Tokens

Last updated 2 years ago

ERC20: Power Tokens are based on the ERC20 standard. For more information, please view the documentation by OpenZeppelin:

Suggested Use Cases

  • Exchange Fees

  • NFT Fees

  • Transaction Fees

  • Staking

  • Escrow

  • Purchases

  • Governance

  • Lending

Contracts

Addresses

DFK Chain

Name
Mainnet
Testnet

0x04b9dA42306B023f3572e106B11D82aAd9D32EBb

0xa5c47B4bEb35215fB0CF0Ea6516F9921591c3aCE

Klaytn

Name
Mainnet
Testnet

0xB3F5867E277798b50ba7A71C0b24FDcA03045eDF

0x4dDD03B3850794534e01F2C95C93a45855058e19

Interfaces

interface ICrystalToken {
    
  event Approval(address indexed owner, address indexed spender, uint256 value);
  event Lock(address indexed to, uint256 value);
  event Transfer(address indexed from, address indexed to, uint256 value);
  event Unlock(address indexed to, uint256 value);

  function allowance(address owner, address spender) external view returns (uint256);
  function approve(address spender, uint256 amount) external returns (bool);
  function balanceOf(address account) external view returns (uint256);
  function canUnlockAmount(address _holder) external view returns (uint256);
  function cap() external view returns (uint256);
  function circulatingSupply() external view returns (uint256);
  function decimals() external view returns (uint8);
  function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
  function increaseAllowance(address spender, uint256 addedValue) external returns (bool);
  function lastUnlockTime(address) external view returns (uint256);
  function lock(address _holder, uint256 _amount) external;
  function lockFromTime() external view returns (uint256);
  function lockOf(address _holder) external view returns (uint256);
  function lockToTime() external view returns (uint256);
  function name() external view returns (string memory);
  function owner() external view returns (address);
  function symbol() external view returns (string memory);
  function totalBalanceOf(address _holder) external view returns (uint256);
  function totalLock() external view returns (uint256);
  function totalSupply() external view returns (uint256);
  function transfer(address to, uint256 amount) external returns (bool);
  function transferAll(address _to) external;
  function transferAllInterval() external view returns (uint256);
  function transferAllTracker(address) external view returns (uint256);
  function transferFrom(address from, address to, uint256 amount) external returns (bool);
  function unlock() external;
  function unlockedSupply() external view returns (uint256);

}

ABIs

CRYSTAL

JADE

https://docs.openzeppelin.com/contracts/4.x/erc20
16KB
CrystalToken.json