Documentation
¶
Index ¶
- Variables
- func ConnectEthClient(dialAddr string, token string) (*ethclient.Client, error)
- func ConnectEthClientWS(dialAddr string, token string) (*ethclient.Client, error)
- func ConnectLotusClient(lotusDialAddr string, lotusToken string) (*lotusapi.FullNodeStruct, jsonrpc.ClientCloser, error)
- func Init(ctx context.Context, sdk *types.PoolsSDK, agentPolice common.Address, ...) error
- func InitFEVMConnection(agentPolice common.Address, minerRegistry common.Address, ...) *fevmConnection
- func LazyInit(ctx context.Context, sdk *types.PoolsSDK, router common.Address, ...) error
- func New(ctx context.Context, chainID *big.Int, extern types.Extern) (types.PoolsSDK, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var INF_POOL_APR = big.NewInt(15e16)
Functions ¶
func ConnectEthClient ¶ added in v1.2.0
func ConnectEthClientWS ¶ added in v1.2.0
func ConnectLotusClient ¶ added in v1.2.0
func ConnectLotusClient(lotusDialAddr string, lotusToken string) (*lotusapi.FullNodeStruct, jsonrpc.ClientCloser, error)
func Init ¶
func Init( ctx context.Context, sdk *types.PoolsSDK, agentPolice common.Address, minerRegistry common.Address, router common.Address, poolRegistry common.Address, agentFactory common.Address, iFIL common.Address, wFIL common.Address, glf common.Address, spPlus common.Address, lpPlus common.Address, rwtFuture common.Address, infinityPool common.Address, tokenNFTWrapper common.Address, delegatedClaimsCampaigns common.Address, governor common.Address, adoAddr string, adoNamespace string, dialAddr string, token string, eventsURL string, ) error
func InitFEVMConnection ¶
func InitFEVMConnection( agentPolice common.Address, minerRegistry common.Address, router common.Address, agentFactory common.Address, iFIL common.Address, wFIL common.Address, glf common.Address, spPlus common.Address, lpPlus common.Address, rwtFuture common.Address, infinityPool common.Address, tokenNFTWrapper common.Address, delegatedClaimsCampaigns common.Address, governor common.Address, adoAddr string, adoNamespace string, dialAddr string, token string, chainID *big.Int, eventsURL string, ) *fevmConnection
Types ¶
This section is empty.
Source Files
¶
- addr_queries.go
- agent_actions.go
- agent_queries.go
- agfactory_queries.go
- chain_queries.go
- extern.go
- ifil_actions.go
- ifil_queries.go
- infpool_actions.go
- infpool_queries.go
- init.go
- minerregistry_queries.go
- plus_lp_queries.go
- plus_sp_actions.go
- plus_sp_queries.go
- police_queries.go
- router_queries.go
- state_queries.go
- types.go
- wfil_queries.go
Click to show internal directories.
Click to hide internal directories.