Documentation ¶
Overview ¶
Copyright © 2023 Glif LTD
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD ¶
Copyright © 2023 Glif LTD
Index ¶
- Variables
- func AddressOrAccountNameToEVM(ctx context.Context, addr string) (common.Address, error)
- func AddressOrAccountNameToNative(ctx context.Context, addr string) (address.Address, error)
- func AddressesToStrings(addrs []address.Address) []string
- func Execute()
- func Exit(code int)
- func ToMinerID(ctx context.Context, addr string) (address.Address, error)
- type MockFullNodeAPI
- type PaymentType
- type PoolType
Constants ¶
This section is empty.
Variables ¶
View Source
var ExitCode int
View Source
var PoolsSDK types.PoolsSDK
Functions ¶
func AddressesToStrings ¶
func AddressesToStrings(addrs []address.Address) []string
Types ¶
type MockFullNodeAPI ¶
func (*MockFullNodeAPI) StateGetActor ¶
func (*MockFullNodeAPI) StateLookupID ¶
type PaymentType ¶
type PaymentType int
const ( Principal PaymentType = iota ToCurrent Custom )
func ParsePaymentType ¶
func ParsePaymentType(s string) (PaymentType, error)
func (PaymentType) String ¶
func (p PaymentType) String() string
Source Files ¶
- agent.go
- agent_admin_set_recovered.go
- agent_autopilot.go
- agent_autopilot_info.go
- agent_borrow.go
- agent_create.go
- agent_exit.go
- agent_history.go
- agent_id.go
- agent_info.go
- agent_miners.go
- agent_miners_add.go
- agent_miners_change_owner.go
- agent_miners_change_worker.go
- agent_miners_confirm_worker.go
- agent_miners_list.go
- agent_miners_pull.go
- agent_miners_push.go
- agent_miners_reclaim.go
- agent_miners_remove.go
- agent_pay.go
- agent_pay_current.go
- agent_pay_custom.go
- agent_pay_principal.go
- agent_preview.go
- agent_preview_borrow_max.go
- agent_preview_withdraw_max.go
- agent_refresh_routes.go
- agent_withdraw.go
- ifil.go
- ifil_approve.go
- ifil_balanceof.go
- ifil_minter.go
- ifil_price.go
- ifil_transfer.go
- infpool.go
- infpool_avail_liquidity.go
- infpool_deposit_fil.go
- infpool_exit_reserve.go
- infpool_get_account.go
- infpool_get_agent_level.go
- infpool_miner_quote.go
- infpool_rate_from_gcred.go
- infpool_redeem.go
- infpool_tfees_owed.go
- infpool_total_assets.go
- infpool_total_borrowed.go
- infpool_total_earnings.go
- infpool_util_rate.go
- infpool_withdraw.go
- mocks.go
- pools.go
- pools_list.go
- root.go
- utils.go
- wallet.go
- wallet_balance.go
- wallet_change_passphrase.go
- wallet_create_account.go
- wallet_create_agent_accounts.go
- wallet_forward_fil.go
- wallet_label_account.go
- wallet_list.go
- wallet_migrate.go
- wfil.go
- wfil_alllowance.go
- wfil_balanceof.go
Click to show internal directories.
Click to hide internal directories.