/protocol_v1

protocol_v1 is for gun pool, farm and stake contracts

Primary LanguageSolidity

  • Polylend

    Overview

    Polylend is a Layer-2 solution based Yield-Aggregator and lending product.

    Truly realize one investment, two gains.

    🐠 DEPLOYER

    👋 POLYLEND CONTRACTS

    🚀function

    • initReserve(): you can use this function that configure reserve/plane context,especially gunpool-tokens;

    • resetPcoinReward():reset pcoin reward parameters;

    • resetPlane():reset base plane and gp-token address;

    • setPcoinAddress():set polylend token ERC20 address;

    • pause(): set reserve pause/work;

    • setFeeto(): set feeto account and permillage;

    • getDepositAPY(): get APY by deposit;

    • deposit(): deposit amount for valid token, you will get reward by APY from plane;

    • withdraw(): withdraw amount from valid token which belongs to you;

    • claim(): you can receive rewards from pcoin

    • rewardBalanceOf(): you can quary rewards from pcoin

    🧐 RESOURCES

    💻 TECHNICAL