Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BurnMintTokenPool ¶
type BurnMintTokenPool struct {
Address contracts.RawInstanceAddress
InstrumentId splice_api_token_holding_v1.InstrumentId
Decimals types.INT64
RemoteChainConfigs map[uint64]RemoteChainConfig
}
func ParseBurnMintTokenPool ¶
func ParseBurnMintTokenPool(createdEvent *apiv2.CreatedEvent) (*BurnMintTokenPool, error)
type ContractConfig ¶
type ContractConfig struct {
Type config.TokenPoolType
Owner types.PARTY
// contains filtered or unexported fields
}
type LockReleaseTokenPool ¶
type LockReleaseTokenPool struct {
Address contracts.RawInstanceAddress
CCIPOwner types.PARTY
InstrumentId splice_api_token_holding_v1.InstrumentId
Decimals types.INT64
RemoteChainConfigs map[uint64]RemoteChainConfig
}
func ParseLockReleaseTokenPool ¶
func ParseLockReleaseTokenPool(createdEvent *apiv2.CreatedEvent) (*LockReleaseTokenPool, error)
type RemoteChainConfig ¶
type RemoteChainConfig struct {
InboundRateLimiter contracts.InstanceAddress
InboundCustomBlockConfirmationsRateLimiter contracts.InstanceAddress
OutboundRateLimiter contracts.InstanceAddress
InboundCCVs []contracts.RawInstanceAddress
OutboundCCVs []contracts.RawInstanceAddress
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( ctx context.Context, logger zerolog.Logger, activeContractStore store.ActiveContractStoreInterface, instrumentHoldingStore store.InstrumentHoldingStoreInterface, cfg config.TokenPoolAPIConfig, ) (*Server, error)
func (Server) FilterContracts ¶
func (s Server) FilterContracts(addresses []contracts.InstanceAddress) []contracts.InstanceAddress
FilterContracts returns the sub-set of addresses that are tracked by the Token Pool API Server. This includes token pools themselves, and their rate limiters.
func (Server) PostTokenPoolExecute ¶
Click to show internal directories.
Click to hide internal directories.