Documentation
¶
Index ¶
- type Reader
- func (r Reader) GetChainMetadata(e cldf.Environment, chainSelector uint64, input cldf.MCMSTimelockProposalInput) (mcmstypes.ChainMetadata, error)
- func (Reader) GetMCMSRef(e cldf.Environment, chainSelector uint64, input cldf.MCMSTimelockProposalInput) (datastore.AddressRef, error)
- func (Reader) GetTimelockRef(e cldf.Environment, chainSelector uint64, input cldf.MCMSTimelockProposalInput) (datastore.AddressRef, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct{}
Reader resolves Stellar MCMS and timelock references from the CLDF datastore and reads the on-chain MCMS metadata required to construct proposals.
func (Reader) GetChainMetadata ¶
func (r Reader) GetChainMetadata( e cldf.Environment, chainSelector uint64, input cldf.MCMSTimelockProposalInput, ) (mcmstypes.ChainMetadata, error)
func (Reader) GetMCMSRef ¶
func (Reader) GetMCMSRef( e cldf.Environment, chainSelector uint64, input cldf.MCMSTimelockProposalInput, ) (datastore.AddressRef, error)
func (Reader) GetTimelockRef ¶
func (Reader) GetTimelockRef( e cldf.Environment, chainSelector uint64, input cldf.MCMSTimelockProposalInput, ) (datastore.AddressRef, error)
Click to show internal directories.
Click to hide internal directories.