mirror of
https://github.com/alexgo-io/stacks-pyth-bridge.git
synced 2026-04-30 20:52:14 +08:00
chore: update contract names
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
;; Summary:
|
||||
;; Description:
|
||||
|
||||
;;;; Todo
|
||||
;; - Check for non redundant signatures
|
||||
;; - Double check the approach uncompressed / compressed / eth address
|
||||
;; - Transition to new guardian sets
|
||||
|
||||
;;;; Traits
|
||||
|
||||
;; Implements trait specified in wormhole-core-trait contract
|
||||
@@ -3,8 +3,10 @@
|
||||
;; Summary:
|
||||
;; Description:
|
||||
|
||||
;;;; Traits
|
||||
;;;; Todo
|
||||
;; - Update watched price feed ids
|
||||
|
||||
;;;; Traits
|
||||
|
||||
;;;; Constants
|
||||
;;
|
||||
@@ -137,7 +139,7 @@
|
||||
;;;; Private functions
|
||||
;;
|
||||
(define-private (parse-and-verify-vaa (vaa-bytes (buff 2048)))
|
||||
(let ((vaa (unwrap-panic (contract-call? .wormhole-core-v1 parse-and-verify-vaa vaa-bytes))))
|
||||
(let ((vaa (unwrap-panic (contract-call? .wormhole-core-dev-preview-1 parse-and-verify-vaa vaa-bytes)))) ;; try!
|
||||
(get payload vaa)))
|
||||
|
||||
(define-private (parse-price-feed-header (pf-bytes (buff 2048)))
|
||||
Reference in New Issue
Block a user