GLIF Docs
V2 English
V2 English
  • Introduction
    • Quick Guide
    • GLIF Overview
    • Protocol Users
  • For Liquidity Providers
    • Benefits for token holders
    • GLIF Reward Mechanism - iFIL
    • Exit - Withdraw FIL
    • Asset Security
    • Risks
  • For Storage Providers
    • Benefits for Storage Providers
    • SP Liquidation Values
    • Borrowing Limits & DTL
    • Uses of Borrowed FIL
    • Liquidations
    • Borrowing Cost
    • Manage Miner Actors with Agents
    • Guarantor Model
  • Developer Resources
    • GLIF SDK
    • GLIF CLI
    • Deployed Contracts
  • TROUBLESHOOTING
    • FAQ
      • FAQ for Liquidity Providers
        • About GLIF
        • Deposit FIL
        • Withdraw FIL
        • Risk
        • Wallet Connection
        • GLIF Points
        • Miscellaneous
      • FAQ for Storage Providers
        • Borrow and Withdraw FIL
        • Key Financial Ratio
        • Payment
        • Liquidation
        • Agents
        • Transaction Issue
    • TUTORIALS
      • For Token Holders
        • Wallets
          • How to find your corresponding 0x/f410 wallet address
          • How to obtain a Ledger wallet as the intermediary wallet
          • How to obtain a burner wallet as the intermediary wallet
          • How to obtain a FilSnap wallet as the intermediary wallet
          • How to connect your wallet to Filecoin Mainnet
          • How to transfer FIL from a 0x address to an f1 address
          • How to create a multisig wallet on GLIF
        • Using the Pool
          • Deposit FIL into GLIF to earn rewards
          • How to deposit Filecoin from a hardware wallet with GLIF
          • How to deposit FIL to GLIF using multisig wallet
          • Withdraw FIL from GLIF
          • How to withdraw FIL from GLIF using a multisig wallet
        • Transfer FIL to/from exchanges
          • Transfer FIL between exchange and GLIF
          • Binance
            • Transfer FIL from Binance to GLIF
            • Transfer FIL from GLIF to Binance
          • MEXC
            • Transfer FIL from MEXC to GLIF
            • Transfer FIL from GLIF to MEXC
      • For Storage Providers
        • GLIF Agent Website Tutorial Part I— Preparation Setup
        • GLIF Agent Website Tutorial Part II — Create your Agent
        • GLIF Agent Website Tutorial Part III — Add Your Miner
        • How to withdraw FIL from the agent to an exchange at GLIF
      • How to Claim $GLF Airdrop
    • Glossary
    • Contact Us
  • Governance
    • Governance
    • Delegation
    • Proposals (GIPs)
    • Voting Process
Powered by GitBook
On this page
  • What is the role of agents in the GLIF system?
  • How does the guarantor model work?
  • What are the responsibilities of the Agent owner and Agent operator keys?
  • What is the Agent Police and its function?
  • How to remove a miner from an agent?
  1. TROUBLESHOOTING
  2. FAQ
  3. FAQ for Storage Providers

Agents

PreviousLiquidationNextTransaction Issue

Last updated 9 months ago

What is the role of agents in the GLIF system?

Agents are smart contracts that allow Storage Providers (SPs) to collateralize their Filecoin Miner Actors to borrow FIL. Agents act as intermediaries between SPs and GLIF, allowing SPs to maintain ownership and control over their Miner Actors while borrowing from GLIF.

Agents are the only smart contracts that are allowed to borrow FIL from the pool. When an Agent borrows FIL from the pool, it can either withdraw it out of the system, or send it to one of the Agent’s pledged miners to use in the Filecoin Storage Mining process.

Read for more details.

How does the guarantor model work?

The allows an SP to use a larger, more valuable Miner Actor as collateral to support borrowing for other Miner Actors. In other words, the miner used as collateral does not also have to be the miner used for sealing.

What are the responsibilities of the Agent owner and Agent operator keys?

Just like the Filecoin Miner Actor’s owner, worker, and control addresses, GLIF Agents have an owner and operator address with different permissions:

  • Owner Key: Manages sensitive actions like borrowing, withdrawing, and adding/removing miner actors from the Agent.

  • Operator Key: Handles payments, worker addresses, and day to day operations.

Read for more details.

What is the Agent Police and its function?

The Agent Police is GLIF’s keeper contract that ensures each Agent stays within debt-to-liquidation (DTL) ratio when executing actions like borrowing or withdrawing FIL. If an Agent violates system rules, the Agent Police is responsible for processing Agent state transitions and liquidations.

How to remove a miner from an agent?

Step 1:

Propose an ownership change for your miner (miner-id) to set the new-owner-address as the new owner with this command:

glif agent miners remove <miner-id> <new-owner-address>

Step 2:

Step 2 has to be done outside of GLIF – the new owner address must confirm the ownership change. If you're using Lotus, this command is implemented as:

lotus actor set-owner --really-do-it …

If there is any problem, please open a support ticket on (support-tickets channel).

here
guarantor model
here
discord