sora-xor / sora2-network

SORA is a new economic system aimed at creating a supranational, world economic system with built-in tools for decentralized finance (DeFi). The SORA network implements a new way of parachain architecture on Polkadot and Kusama network, with the capability to bridge external blockchains (like Ethereum) to the Polkadot ecosystem.
Other
50 stars 23 forks source link

[Feature][Demeter]: Set liquidity incentive percent for a vaultType #701

Open Tieumsan opened 1 year ago

Tieumsan commented 1 year ago

As a

governance actor (council) or Kensetsu Risk Assessment Committee

I want to

modify the liquidity incentive percent for a specific type of vault

So that

I can adapt the conditions of borrowing against a certain type of vault

Preconditions

The vaultTypeID is valid

Flow

  1. The user determines the value of the _liquidity_incentivepercent for the chosen vaultTypeID
  2. The system creates a preimage with the parameter vaultTypeID, liquidity_incentive_percent to enable the execution of the kensetsu.setLiquidityIncentivePercent. The extrinsic can only be executed after Governance vote.

Postconditions

The _liquidity_incentivepercent parameter for the vaults of vaultTypeID has been updated with the new value of liquidity_incentive_percent.

ra9mls commented 4 months ago

"This was part of the initial RFP so we should implement it.

And this is a flow that makes sense to automatise somehow since it seems we haven't yet. We can collaborate directly with the Ceres team to make this happen. Community effort.

i.e. flow Some tokens get automatically sent to an active Demeter farm. Now the tokens come from a vault, but they could come from somewhere else in the future." - @Tieumsan cc @Alexey-N-Chernyshov

ra9mls commented 4 months ago

Should be approved by Shibarimoto: -Borrow taxed KEN -> 80% to farm (XOR-KUSD) -Borrow taxed KARMA -> 80% (XOR(KXOR)-ETH pool) -Stab fee, liquidation penalty KUSD -> ???% to farm (XOR-KUSD) -Stab fee, liquidation penalty KXOR -> ???% to farm (XOR-KXOR?)

AndreyKortosov commented 3 months ago

My proposal: