# *contract* GlobalConstraintMock ([source](https://github.com/daostack/daostack/tree/master/./contracts/test/GlobalConstraintMock.sol))
*Code deposit cost: **less than 192400 gas.***

*Execution cost: **less than 233 gas.***

*Total deploy cost(deposit + execution): **less than 192633 gas.***

> 

## Reference
- [Constructors](#constructors)

- [Events](#events)

- [Fallback](#fallback)
- [Functions](#functions)
    - [setConstraint](#function-setconstraint)
    - [pre](#function-pre)
    - [post](#function-post)
### Constructors

### Events

### Fallback
*Nothing*
### Functions
#### *function* setConstraint

*Execution cost: **No bound available.***

**nonpayable**

*Inputs:*
1. **method** *of type bytes*
2. **pre** *of type bool*
3. **post** *of type bool*

*Returns:*
1. **unnamed** *of type bool*


#### *function* pre

*Execution cost: **No bound available.***

**constant | view**

*Inputs:*
1. **unnamed** *of type address*
2. **unnamed** *of type bytes32*
3. **method** *of type bytes*

*Returns:*
1. **unnamed** *of type bool*


#### *function* post

*Execution cost: **No bound available.***

**constant | view**

*Inputs:*
1. **unnamed** *of type address*
2. **unnamed** *of type bytes32*
3. **method** *of type bytes*

*Returns:*
1. **unnamed** *of type bool*


