MultiCollateralSynth¶
Description¶
Implemented in SIP 35: Skinny Ether Collateral
This contract was required by EtherCollateral to allow it the ability to issue the MultiCollateralSynth in this case sETH.
It could be used where there a multiple Collateral contracts. i.e. If there where a DAICollateral for issuing sUSD or a WBTCCollateral Contract for issuing sBTC then those synths would need to inherit MultiCollateralSynth and then have their corresponding Collateral Contract set via the constructor argument multiCollateralKey
Source: contracts/MultiCollateralSynth.sol
Architecture¶
Related Contracts¶
Variables¶
CONTRACT_NAME
¶
Type: bytes32
Constructor¶
constructor
¶
Details
Signature
constructor(address payable _proxy, contract TokenState _tokenState, string _tokenName, string _tokenSymbol, address _owner, bytes32 _currencyKey, uint256 _totalSupply, address _resolver)
Visibility
public
State Mutability
``
Views¶
resolverAddressesRequired
¶
Details
Signature
resolverAddressesRequired() view returns (bytes32[] addresses)
Visibility
public
State Mutability
view
Restricted Functions¶
burn
¶
Details
Signature
burn(address account, uint256 amount)
Visibility
external
State Mutability
``
Modifiers
issue
¶
Details
Signature
issue(address account, uint256 amount)
Visibility
external
State Mutability
``
Modifiers
Internal Functions¶
_isInternalContract
¶
Details
Signature
_isInternalContract(address account) view returns (bool)
Visibility
internal
State Mutability
view
collateralManager
¶
Details
Signature
collateralManager() view returns (contract ICollateralManager)
Visibility
internal
State Mutability
view
etherWrapper
¶
Details
Signature
etherWrapper() view returns (contract IEtherWrapper)
Visibility
internal
State Mutability
view
wrapperFactory
¶
Details
Signature
wrapperFactory() view returns (contract IWrapperFactory)
Visibility
internal
State Mutability
view