Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetDetails ¶
type AssetDetails struct { ExternalSystemType int32 `json:"external_system_type,string"` ERC20 struct { Withdraw bool `json:"withdraw"` Address common.Address `json:"address"` } `json:"erc20"` }
AssetDetails contain details about asset that can be deposited using service
func (AssetDetails) Validate ¶
func (s AssetDetails) Validate() error
Validate validates asset details
type Details ¶
type Details struct { regources.Asset AssetDetails }
Details is a composition structure which contain asset resource and it's details
type Opts ¶
type Opts struct { Streamer getters.AssetHandler Log *logan.Entry }
Opts contain parameters required to build service
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is struct representing watchlist service
func (*Service) GetToRemove ¶
GetToRemove returns channel assets to stop watching deposits for will be sent into
Click to show internal directories.
Click to hide internal directories.