Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-lough committed Dec 10, 2017
2 parents e42bf60 + 0b8f044 commit f68c563
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions BlockchainLabsNZ_Audit_Report.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,37 @@ All files | 41.28 | 25.64 | 50.82 | 40.61 |
--------------------------|----------|----------|----------|----------|----------------|
```

```
.--------------------------------------------------------------------------------------------------------.
| contracts/GiftoCrowdsale.sol |
|--------------------------------------------------------------------------------------------------------|
| Function | Constant | Returns | Modifiers |
|---------------------------------------|----------|-----------|-----------------------------------------|
| () | false | | payable |
| buyGifto() | false | | payable,onSale,validValue,validInvestor |
| Gifto() | false | | |
| totalSupply() | true | uint256 | |
| turnOnSale() | false | | onlyOwner |
| turnOffSale() | false | | onlyOwner |
| setIcoPercent(uint256) | false | | onlyOwner |
| setMaximumBuy(uint256) | false | | onlyOwner |
| setBuyPrice(uint) | false | | onlyOwner |
| balanceOf(address) | true | uint256 | |
| isApprovedInvestor(address) | true | bool | |
| getBuyers() | true | | |
| getDeposit(address) | true | uint256 | |
| addInvestorList(address) | false | | onlyOwner |
| removeInvestorList(address) | false | | onlyOwner |
| deliveryToken(uint,uint) | false | | onlyOwner,validRange |
| transfer(address,uint256) | false | bool | |
| transferFrom(address,address,uint256) | false | success | |
| approve(address,uint256) | false | success | |
| allowance(address,address) | true | remaining | |
| withdraw() | false | bool | onlyOwner |
'--------------------------------------------------------------------------------------------------------'
```

## Gas Consumption
Contracts were assessed on the gas usage of each function to ensure there aren't any unforeseen issues with exceeding the block size GasLimit. A detailed report can be found in [Gas_Consumption.md](https://github.com/BlockchainLabsNZ/gifto-contracts/blob/master/Gas_Consumption.md).

Expand Down

0 comments on commit f68c563

Please sign in to comment.