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:

name
type
description

name

string

Name of the new Fund

symbol

string

Ticker of the new Fund

issueToken

address

Address to receive Fundraising funds

shareStakingpoolVault

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

Get stakingpool and vaultpool contract addresses via RWA Token Lookup.

Parameters:

name
type
description

share

address

RWA token contract adress

stakingPool

address

stakingPool contract address

vaultPool

address

vaultPool contract address

Last updated