Documentation
¶
Index ¶
- Constants
- func LookupNativeInstrumentID(ctx context.Context, participant canton.Participant) (splice_api_token_holding_v1.InstrumentId, error)
- func ResolveNativeInstrumentID(ctx context.Context, participant canton.Participant, ds datastore.DataStore, ...) (splice_api_token_holding_v1.InstrumentId, error)
Constants ¶
View Source
const DefaultNativeTokenInstrumentID = "Amulet"
Variables ¶
This section is empty.
Functions ¶
func LookupNativeInstrumentID ¶
func LookupNativeInstrumentID(ctx context.Context, participant canton.Participant) (splice_api_token_holding_v1.InstrumentId, error)
LookupNativeInstrumentID resolves the Canton network native token (Amulet) admin party from the participant validator scan-proxy registry metadata API.
func ResolveNativeInstrumentID ¶
func ResolveNativeInstrumentID( ctx context.Context, participant canton.Participant, ds datastore.DataStore, chainSelector uint64, ) (splice_api_token_holding_v1.InstrumentId, error)
ResolveNativeInstrumentID returns the native fee token instrument. It prefers a Token address ref already in the datastore (Amulet registered in TAR) so lane configure and re-runs do not require validator scan-proxy access. Falls back to scan-proxy registry metadata when no ref is present (first-time bootstrap).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.