Documentation
¶
Index ¶
- Constants
- func ActiveContractToDisclosedContract(activeContract *apiv2.ActiveContract, includeDebugFields bool) oapiTransferInstruction.DisclosedContract
- type Server
- func (s Server) FilterContracts(addresses []contracts.InstanceAddress) []contracts.InstanceAddress
- func (s Server) GetInstrument(c *gin.Context, instrumentId string)
- func (s Server) GetRegistryInfo(c *gin.Context)
- func (s Server) GetTransferFactory(c *gin.Context)
- func (s Server) GetTransferInstructionAcceptContext(c *gin.Context, transferInstructionId string)
- func (s Server) GetTransferInstructionRejectContext(c *gin.Context, transferInstructionId string)
- func (s Server) GetTransferInstructionWithdrawContext(c *gin.Context, transferInstructionId string)
- func (s Server) ListInstruments(c *gin.Context, params oapiTokenMetadataV1.ListInstrumentsParams)
- type TokenConfig
Constants ¶
View Source
const ( DefaultPageSize = int32(25) MaximumPageSize = int32(1024) )
Variables ¶
This section is empty.
Functions ¶
func ActiveContractToDisclosedContract ¶
func ActiveContractToDisclosedContract(activeContract *apiv2.ActiveContract, includeDebugFields bool) oapiTransferInstruction.DisclosedContract
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( _ context.Context, logger zerolog.Logger, activeContractStore store.ActiveContractStoreInterface, instrumentHoldingStore store.InstrumentHoldingStoreInterface, cfg config.TokenStandardAPIConfig, ) (*Server, error)
func (Server) FilterContracts ¶
func (s Server) FilterContracts(addresses []contracts.InstanceAddress) []contracts.InstanceAddress
func (Server) GetRegistryInfo ¶
func (Server) GetTransferFactory ¶
func (Server) GetTransferInstructionAcceptContext ¶
func (Server) GetTransferInstructionRejectContext ¶
func (Server) GetTransferInstructionWithdrawContext ¶
func (Server) ListInstruments ¶
func (s Server) ListInstruments(c *gin.Context, params oapiTokenMetadataV1.ListInstrumentsParams)
type TokenConfig ¶
Click to show internal directories.
Click to hide internal directories.