@daostack/access_control
Version:
Capability-based access control for Ethereum smart contracts.
73 lines (29 loc) • 830 B
Markdown
# Migrations
[see the source](git+https://github.com/daostack/access_control/tree/master/contracts/Migrations.sol)
**Execution cost**: less than 20451 gas
**Deployment cost**: less than 114400 gas
**Combined cost**: less than 134851 gas
## Constructor
## Methods
### upgrade(address)
**Execution cost**: No bound available
Params:
1. **newAddress** *of type `address`*
### owner()
**Execution cost**: less than 421 gas
**Attributes**: constant
Returns:
1. **output_0** *of type `address`*
### lastCompletedMigration()
**Execution cost**: less than 428 gas
**Attributes**: constant
Returns:
1. **output_0** *of type `uint256`*
### setCompleted(uint256)
**Execution cost**: less than 20444 gas
Params:
1. **completed** *of type `uint256`*
[Back to the top ↑](#migrations)