constants-v1
SP2XN3H1PXH9PEWGXR867Y88XWQSXVHQ6ZRKQ9BHPSource Code
;; 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? .mock-usdc 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)
| Function | Access | Args |
|---|---|---|
| get-scaling-factor | read-only | |
| get-market-token-decimals | read-only | |
| get-stacks-block-time | read-only |