AriaIPRWAVault

Inherits: UUPSUpgradeable, IAriaIPRWAVault, ERC721Holder, VaultAdmin, VaultFundraise, VaultView, Whitelist

Main contract orchestrating vault logic by inheriting fundraise, admin, and view functionalities. Directly implements fractional token claim function.

Functions

constructor

Note: oz-upgrades-unsafe-allow: constructor

constructor();

claimFractionalTokens

Caller claims the fractionalized IP tokens from fundraise, only when the vault is Closed.

function claimFractionalTokens(address usdc)
    external
    override
    nonReentrant
    whenNotPaused
    returns (address fractionalToken, uint256 amountClaimed);

Parameters

Name
Type
Description

usdc

address

The USDC address used to deposit funds into the fundraise. As it can change over the fundraise lifetime, it is required to specify the USDC address used for deposit.

Returns

Name
Type
Description

fractionalToken

address

The address of the fractional token

amountClaimed

uint256

The amount of the fractional token claimed

claimFractionalTokens

Caller claims the fractionalized IP tokens from fundraise, only when the vault is Closed.

Parameters

Name
Type
Description

_proof

bytes32[]

_amount

uint256

Returns

Name
Type
Description

fractionalToken

address

The address of the fractional token

amountClaimed

uint256

The amount of the fractional token claimed

_authorizeUpgrade

_checkClaim

_checkLegal

_mintAndEmitEvent