CryptoCash Docs
  • Introduction
    • Mining CryptoCash
    • Stacking CryptoCash
    • Token Configuration
    • History
  • Latest Docs
    • Contracts
      • Testnet Addresses
      • Mainnet Addresses
      • .cryptocash-vrf
      • .cryptocash-token-trait
      • .cryptocash-core-trait
      • .cryptocash-token
      • .cryptocash-core
  • archives
    • Testnet Contracts
      • Testnet Addresses (old)
      • Testnet Addresses (old2)
      • Testnet Addresses (broken)
Powered by GitBook
On this page
  1. Latest Docs
  2. Contracts

.cryptocash-core-trait

.cryptocash-core-trait contract documentation

Work in Progress

;; title: cryptocash-core-trait
;; version: 1.3.1
;; summary: CryptoCash Core Trait Contract

(define-trait cryptocash-core
  (
    (mine ((list 200 uint))
      (response bool uint)
    )

    (claim-mining-reward (uint)
      (response bool uint)
    )

    (stack (uint uint)
      (response bool uint)
    )

    (claim-stacking-reward (uint)
      (response bool uint)
    )

    (set-foundation-wallet (principal)
      (response bool uint)
    )   

  )
)
Previous.cryptocash-token-traitNext.cryptocash-token

Last updated 5 months ago