Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceChecker ¶
type BalanceChecker interface { GetBalance(asset types.AssetData, userAddress *types.Address) (*big.Int, error) GetAllowance(asset types.AssetData, ownerAddress, spenderAddress *types.Address) (*big.Int, error) }
func NewErrorMockBalanceChecker ¶
func NewErrorMockBalanceChecker(err error) BalanceChecker
func NewMockBalanceChecker ¶
func NewRpcERC20BalanceChecker ¶
func NewRpcERC20BalanceChecker(conn bind.ContractBackend) BalanceChecker
func NewRpcERC721BalanceChecker ¶
func NewRpcERC721BalanceChecker(conn bind.ContractBackend) BalanceChecker
type CachedBalanceChecker ¶
type CachedBalanceChecker interface { BalanceChecker Consume(msg channels.Delivery) }
func NewRpcRoutingBalanceChecker ¶
func NewRpcRoutingBalanceChecker(rpcURL string) (CachedBalanceChecker, error)
Click to show internal directories.
Click to hide internal directories.