Skip to main content

IKashi

Functions

removeAsset

function removeAsset(
address to,
uint256 fraction
) external returns (uint256 share)

Parameters

NameTypeDescription
toaddress
fractionuint256

KashiPCVRedeemer

Functions

constructor

function constructor(
address _target
) public

Parameters

NameTypeDescription
_targetaddress

redeem

function redeem(
contract IKashi pair,
uint256 fraction
) external

redeem Kashi shares

Parameters

NameTypeDescription
paircontract IKashikashi pair to redeem from
fractionuint256asset fraction to redeem

sweep

function sweep(
contract IERC20 token,
uint256 amount
) external

Parameters

NameTypeDescription
tokencontract IERC20
amountuint256