Search
K
Comment on page

WMaticWrapBridge

Inherits from IWMaticWrap. See code on github.

Wrap

Convert MATIC into WMATIC.
Input Name
Description
percentageIn
Percentage of the balance of the MATIC that will be converted (100000 = 100%)
function wrap(uint256 poolId, uint256 percentage) external;

Unwrap

Convert WMATIC into MATIC.
Input Name
Description
percentageOut
Percentage of the balance of WMATIC to be converted (100000 = 100%)
function unwrap(uint256 poolId, uint256 percentageOut) external;