---
title: "IOverlayerWrapDefs"
description: "Solidity interface defining the core structures and events of the Overlayer Wrap system, including the ConstructorParams struct."
keywords:
  - "IOverlayerWrapDefs"
  - "Solidity interface"
  - "ConstructorParams"
  - "structs"
canonical_url: https://docs.overlayer.fi/developer_guide/contracts/interfaces/IOverlayerWrapDefs
md_url: https://docs.overlayer.fi/developer_guide/contracts/interfaces/IOverlayerWrapDefs.md
last_updated: 2026-05-05T15:42:56.000Z
---

# IOverlayerWrapDefs

> Solidity interface defining the core structures and events of the Overlayer Wrap system, including the ConstructorParams struct.

Defines the core structures and events for the Overlayer Wrap system

### ConstructorParams

Parameters required for constructing the Overlayer Wrap contract

#### Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |

```solidity
struct ConstructorParams {
  address admin;
  address lzEndpoint;
  string name;
  string symbol;
  struct OverlayerWrapCoreTypes.StableCoin collateral;
  struct OverlayerWrapCoreTypes.StableCoin aCollateral;
  uint256 maxMintPerBlock;
  uint256 maxRedeemPerBlock;
  uint256 minValmaxRedeemPerBlock;
  uint256 hubChainId;
}
```

### OverlayerWrapZeroAddressException

```solidity
error OverlayerWrapZeroAddressException()
```

Zero address not allowed

### OverlayerWrapInvalidDecimals

```solidity
error OverlayerWrapInvalidDecimals()
```

The asset decimals can not be larger that the underlying decimals

### OverlayerWrapAccountDisabled

```solidity
error OverlayerWrapAccountDisabled()
```

An account has been disabled from performing transactions

### OverlayerWrapBlacklistNotActive

```solidity
error OverlayerWrapBlacklistNotActive()
```

Blacklist not active

### OverlayerWrapBlacklistTimeNotValid

```solidity
error OverlayerWrapBlacklistTimeNotValid()
```

Blacklist time not valid

### OverlayerWrapInvalidBenefactor

```solidity
error OverlayerWrapInvalidBenefactor()
```

The benefactor of an operation is not the message sender

### OverlayerWrapCannotRenounceBlacklist

```solidity
error OverlayerWrapCannotRenounceBlacklist()
```

Cannot renounce the blacklisted role

### OverlayerWrapCannotDirectlyAssignBlacklist

```solidity
error OverlayerWrapCannotDirectlyAssignBlacklist()
```

Cannot directly grant or revoke the blacklisted role via grantRole/revokeRole

### DisableAccount

```solidity
event DisableAccount(address account)
```

A blacklist event

### EnableAccount

```solidity
event EnableAccount(address account)
```

A reverted blacklist event

### BlackListTimeUpdated

```solidity
event BlackListTimeUpdated(uint256 previous, uint256 current)
```

Emitted when the blacklist activation time is updated
