Useful WUSD Data

Below is a series of functions to retrieve useful information about WUSD directly from the WUSDExtensionController:

function collection() public view returns (address) {
    return _collection;
}
function extension() public override view returns (address) {
    return _extension;
}
function wusdInfo() public override view returns (address, uint256, address) { 
    return (_collection, _wusdObjectId, _wusdInteroperableInterfaceAddress); 
}
function wusdNote2Info() public view returns (address, uint256, address, address, uint256) {
    return (_collection, _wusdNote2ObjectId, _wusdNote2InteroperableInterfaceAddress, _wusdNote2Controller, _wusdNote2Percentage);
}
function wusdNote5Info() public view returns (address, uint256, address, address, uint256) {
    return (_collection, _wusdNote5ObjectId, _wusdNote5InteroperableInterfaceAddress, _wusdNote5Controller, _wusdNote5Percentage);
}

Last updated