Documentation
¶
Index ¶
- type SmartExposure
- func (se *SmartExposure) AddNewTrancheToState(tranche types.Tranche)
- func (se *SmartExposure) LoadPools(ctx context.Context, db *pgxpool.Pool) error
- func (se *SmartExposure) LoadTranches(ctx context.Context, db *pgxpool.Pool) error
- func (se *SmartExposure) PoolByAddress(address string) *types.Pool
- func (se *SmartExposure) TrancheByETokenAddress(address string) *types.Tranche
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmartExposure ¶
func New ¶
func New() *SmartExposure
func (*SmartExposure) AddNewTrancheToState ¶
func (se *SmartExposure) AddNewTrancheToState(tranche types.Tranche)
func (*SmartExposure) LoadTranches ¶
func (*SmartExposure) PoolByAddress ¶
func (se *SmartExposure) PoolByAddress(address string) *types.Pool
func (*SmartExposure) TrancheByETokenAddress ¶
func (se *SmartExposure) TrancheByETokenAddress(address string) *types.Tranche
Click to show internal directories.
Click to hide internal directories.