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
22
forks
source link
1015/permissioned pools support for xyk pool and liquidityproxy #1105
Added AssetRegulator as an associated type to PoolXYK pallet
Added check_permission with AssetRegulator on deposit_liquidity, withdraw_liquidity , and exchange
Added unit tests to check if all pool operations is working fine with new permission logic
Verified liquidity_proxy logic is working fine with permissioned pools by testing swap with its different variants (multistep, one step, desired_output, desired_input)
Changes
AssetRegulator
as an associated type to PoolXYK palletcheck_permission
withAssetRegulator
ondeposit_liquidity
,withdraw_liquidity
, andexchange
liquidity_proxy
logic is working fine withpermissioned pools
by testingswap
with its different variants (multistep, one step, desired_output, desired_input)