PoolManagerInitializer

\

Functions

active

Returns whether or not a pool is active.

    function active()
        view
        returns (
            bool
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

bool

bool

\

asset

Gets the address of the funds asset.

    function asset()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

configured

Returns whether or not a pool is configured.

    function configured()
        view
        returns (
            bool
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

bool

bool

\

decodeArguments

    function decodeArguments(
        bytes encodedArguments_
    )
        pure
        returns (
            address poolDelegate_,
            address asset_,
            uint256 initialSupply_,
            string name_,
            string symbol_
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

encodedArguments_

bytes

bytes

Return Values:

Index
Name
Type
Internal Type
Description

0

poolDelegate_

address

address

1

asset_

address

address

2

initialSupply_

uint256

uint256

3

name_

string

string

4

symbol_

string

string

\

delegateManagementFeeRate

Gets the delegate management fee rate.

    function delegateManagementFeeRate()
        view
        returns (
            uint256
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint256

uint256

\

encodeArguments

    function encodeArguments(
        address poolDelegate_,
        address asset_,
        uint256 initialSupply_,
        string name_,
        string symbol_
    )
        pure
        returns (
            bytes encodedArguments_
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

poolDelegate_

address

address

1

asset_

address

address

2

initialSupply_

uint256

uint256

3

name_

string

string

4

symbol_

string

string

Return Values:

Index
Name
Type
Internal Type
Description

0

encodedArguments_

bytes

bytes

\

isLoanManager

Returns whether or not the given address is a loan manager.

    function isLoanManager(
        address
    )
        view
        returns (
            bool
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

address

address

Return Values:

Index
Name
Type
Internal Type
Description

0

bool

bool

\

isValidLender

Returns whether or not the given address is a valid lender.

    function isValidLender(
        address
    )
        view
        returns (
            bool
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

address

address

Return Values:

Index
Name
Type
Internal Type
Description

0

bool

bool

\

liquidityCap

Gets the liquidity cap for the pool.

    function liquidityCap()
        view
        returns (
            uint256
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint256

uint256

\

loanManagerList

Gets the address of the loan manager in the list.

    function loanManagerList(
        uint256
    )
        view
        returns (
            address
        );

Parameters:

Index
Name
Type
Internal Type
Description

0

``

uint256

uint256

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

openToPublic

Returns whether or not a pool is open to public deposits.

    function openToPublic()
        view
        returns (
            bool
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

bool

bool

\

pendingPoolDelegate

Gets the address of the pending pool delegate.

    function pendingPoolDelegate()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

pool

Gets the address of the pool.

    function pool()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

poolDelegate

Gets the address of the pool delegate.

    function poolDelegate()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

poolDelegateCover

Gets the address of the pool delegate cover.

    function poolDelegateCover()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

withdrawalManager

Gets the address of the withdrawal manager.

    function withdrawalManager()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

\

Events

Initialized

    event Initialized(
        address owner_,
        address asset_,
        address pool_
    );

Parameters:

Index
Name
Type
Internal Type
Description

0

owner_

address

address

1

asset_

address

address

2

pool_

address

address

\

Last updated