Factory

newFund

function newFund(
        string memory name,
        string memory symbol,
        address issueToken
    )

This function creates a new fund that will be used to manage the RWA, and when executed successfully it will generate two smart contracts, stakingPool and vaultPool.

Parameters:

shareStakingpoolVault

shareStakingpoolVault(address share) returns(ShareInfo memory)
struct ShareInfo {
        address stakingPool;
        address vaultPool;
}

Get stakingpool and vaultpool contract addresses via RWA Token Lookup.

Parameters:

Last updated