Skip to content

Commit b713fe1

Browse files
committed
chore(contract-docs): update
1 parent 51b9a55 commit b713fe1

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

docs/Counter.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Solidity API
2+
3+
## Counter
4+
5+
### constructor
6+
7+
```solidity
8+
constructor() public
9+
```
10+
11+
### x
12+
13+
```solidity
14+
uint256 x
15+
```
16+
17+
### Increment
18+
19+
```solidity
20+
event Increment(uint256 by)
21+
```
22+
23+
### inc
24+
25+
```solidity
26+
function inc() public
27+
```
28+
29+
### incBy
30+
31+
```solidity
32+
function incBy(uint256 by) public
33+
```
34+

docs/Lock.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Solidity API
2+
3+
## Lock
4+
5+
### unlockTime
6+
7+
```solidity
8+
uint256 unlockTime
9+
```
10+
11+
### owner
12+
13+
```solidity
14+
address payable owner
15+
```
16+
17+
### Withdrawal
18+
19+
```solidity
20+
event Withdrawal(uint256 amount, uint256 when)
21+
```
22+
23+
### constructor
24+
25+
```solidity
26+
constructor(uint256 _unlockTime) public payable
27+
```
28+
29+
### withdraw
30+
31+
```solidity
32+
function withdraw() public
33+
```
34+

0 commit comments

Comments
 (0)