Source Code

;; SPDX-License-Identifier: BUSL-1.1

;; Contract to hold the constants

(define-constant SCALING-FACTOR u100000000)

(define-read-only (get-scaling-factor) SCALING-FACTOR)

(define-constant MARKET-TOKEN-DECIMALS (unwrap-panic (contract-call? 'SP120SBRBQJ00MCWS7TM5R8WJNTTKD5K0HFRC2CNE.usdcx get-decimals)))

(define-read-only (get-market-token-decimals) MARKET-TOKEN-DECIMALS)

(define-constant STACKS_BLOCK_TIME u5)

(define-read-only (get-stacks-block-time) STACKS_BLOCK_TIME)

Functions (3)

FunctionAccessArgs
get-scaling-factorread-only
get-market-token-decimalsread-only
get-stacks-block-timeread-only