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
  • Contracts
  • Addresses
  • Interfaces
  • ABIs
  1. Contracts
  2. Miscellaneous

Token Disburse

The Token Disburse contract is used for airdropped and vested tokens. These include:

DFK Chain

  • Airdropped and vested xCRYSTAL

  • Vested JEWEL

Klaytn

  • Vested and Liquid JADE

Contracts

Addresses

DFK Chain

Name
Mainnet
Testnet

TokenDisburse (xCRYSTAL)

0x123165B3a30fdA3655B30cfC10135C1CA3C21bFC

0x2173A8153B4b88735A6E77E910e86cdB122BDd18

TokenDisburse (JEWEL)

0x9a7C710A6E3A86c69F2FE704AD223Ce76934bb37

0x0C77D26bDd421B3d5c4a37F111910B7E57B53E8B

Klaytn

Name
Mainnet
Testnet

TokenDisburse (JADE)

0x33da18a92cB717ACcdA5d453B6ddB7Ee61000F81

0x9d05F8289F0eA7D1993B316F45b8e6E29F7e5D16

Interfaces

interface ITokenDisburse {

    event DisbursementAdded(uint256 id, address recipient, uint256 amount, uint64 startTime, uint64 duration);
    event DisbursementClaim(uint256 id, address recipient, uint256 amount);
    event DisbursementUpdated(uint256 id, uint256 reduction, uint64 startTime, uint64 duration);
    
    function addDisbursement(address _recipient, uint256 _amount, uint64 _startTime, uint64 _duration, string _note);
    function addDisbursements(address[] _recipients, uint256[] _amounts, uint64 _startTime, uint64 _duration, string _note);
    function claim(uint256 _amount);
    function disbursements(uint256) view returns (uint256 id, address recipient, string note, uint256 total, uint256 claimed, uint256 balance, uint64 createdTime, uint64 startTime, uint64 duration);
    function getDisbursementIds(address _recipient) view returns (uint256[]);
    function globalStartTime() view returns (uint256);
    function reservedToken() view returns (uint256);
    function totalClaimed(address _recipient) view returns (uint256);
    function totalUnvested(address _recipient) view returns (uint256);
    function totalVested(address _recipient) view returns (uint256);
    function updateDisbursement(uint256 _disbursementId, uint256 _reduction, uint64 _startTime, uint64 _duration);
    
}

ABIs

PreviousLocked Token RaffleNextHeroes

Last updated 2 years ago

14KB
TokenDisburse.json