migrate-core-v1
SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBGSource Code
(define-public (migrate)
(let (
(amount (unwrap-panic (contract-call? .ststx-token get-balance .stacking-dao-core-v3)))
)
(try! (contract-call? .ststx-token burn-for-protocol amount .stacking-dao-core-v3))
(try! (contract-call? .ststx-token mint-for-protocol amount .stacking-dao-core-v4))
(ok true)
)
)Functions (1)
| Function | Access | Args |
|---|---|---|
| migrate | public |