Governance
Functions:
Events:
Function setContractGuard(address extContract, address guardAddress)
setContractGuard(address extContract, address guardAddress)
Maps an exernal contract to a guard which enables managers to use the contract
Parameters:
extContract
: The third party contract to integrateguardAddress
: The protections for manager third party contract interaction
Function setAssetGuard(uint16 assetType, address guardAddress)
setAssetGuard(uint16 assetType, address guardAddress)
Maps an asset type to an asset guard which allows managers to enable the asset
Parameters:
assetType
: Asset type as defined in Asset HandlerguardAddress
: The asset guard address that allows manager interaction
Function setAddresses(struct Governance.ContractName[] contractNames)
setAddresses(struct Governance.ContractName[] contractNames)
Maps multiple contract names to destination addresses
Parameters:
contractNames
: The contract names and addresses struct
Last updated