.cryptocash-core-trait

.cryptocash-core-trait contract documentation

;; CryptoCash Core Trait

(define-trait cryptocash-core
  (

    (mine-tokens (uint (optional (buff 34)))
      (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)
    )   

  )
)

  1. mine-tokens: Function to mine for new CryptoCash tokens.

  2. claim-mining-reward: Function to claim mining rewards.

  3. stack-tokens: Function to stack CryptoCash tokens.

  4. claim-stacking-reward: Function to claim stacking rewards.

  5. set-foundation-wallet: Function to set a foundation wallet address.

Last updated