Skip to content

Commit 4fa9087

Browse files
update docs
1 parent 0532c04 commit 4fa9087

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

docs/MockContractPublisher.md

+24-24
Original file line numberDiff line numberDiff line change
@@ -13,86 +13,86 @@
1313
### getAllPublishedContracts
1414

1515
```solidity
16-
function getAllPublishedContracts(address publisher) external view returns (struct IContractPublisher.CustomContractInstance[] published)
16+
function getAllPublishedContracts(address) external pure returns (struct IContractPublisher.CustomContractInstance[] published)
1717
```
1818

19-
Returns the latest version of all contracts published by a publisher.
19+
2020

2121

2222

2323
#### Parameters
2424

2525
| Name | Type | Description |
2626
|---|---|---|
27-
| publisher | address | The address of the publisher.
27+
| _0 | address | undefined
2828

2929
#### Returns
3030

3131
| Name | Type | Description |
3232
|---|---|---|
33-
| published | IContractPublisher.CustomContractInstance[] | An array of all contracts published by the publisher.
33+
| published | IContractPublisher.CustomContractInstance[] | undefined
3434

3535
### getPublishedContract
3636

3737
```solidity
38-
function getPublishedContract(address publisher, string contractId) external view returns (struct IContractPublisher.CustomContractInstance published)
38+
function getPublishedContract(address, string) external pure returns (struct IContractPublisher.CustomContractInstance published)
3939
```
4040

41-
Returns the latest version of a contract published by a publisher.
41+
4242

4343

4444

4545
#### Parameters
4646

4747
| Name | Type | Description |
4848
|---|---|---|
49-
| publisher | address | The address of the publisher.
50-
| contractId | string | The identifier for a published contract (that can have multiple verisons).
49+
| _0 | address | undefined
50+
| _1 | string | undefined
5151

5252
#### Returns
5353

5454
| Name | Type | Description |
5555
|---|---|---|
56-
| published | IContractPublisher.CustomContractInstance | The desired contract published by the publisher.
56+
| published | IContractPublisher.CustomContractInstance | undefined
5757

5858
### getPublishedContractVersions
5959

6060
```solidity
61-
function getPublishedContractVersions(address publisher, string contractId) external view returns (struct IContractPublisher.CustomContractInstance[] published)
61+
function getPublishedContractVersions(address, string) external pure returns (struct IContractPublisher.CustomContractInstance[] published)
6262
```
6363

64-
Returns all versions of a published contract.
64+
6565

6666

6767

6868
#### Parameters
6969

7070
| Name | Type | Description |
7171
|---|---|---|
72-
| publisher | address | The address of the publisher.
73-
| contractId | string | The identifier for a published contract (that can have multiple verisons).
72+
| _0 | address | undefined
73+
| _1 | string | undefined
7474

7575
#### Returns
7676

7777
| Name | Type | Description |
7878
|---|---|---|
79-
| published | IContractPublisher.CustomContractInstance[] | The desired contracts published by the publisher.
79+
| published | IContractPublisher.CustomContractInstance[] | undefined
8080

8181
### getPublishedUriFromCompilerUri
8282

8383
```solidity
84-
function getPublishedUriFromCompilerUri(string compilerMetadataUri) external view returns (string[] publishedMetadataUris)
84+
function getPublishedUriFromCompilerUri(string) external pure returns (string[] publishedMetadataUris)
8585
```
8686

87-
Retrieve the published metadata URI from a compiler metadata URI.
87+
8888

8989

9090

9191
#### Parameters
9292

9393
| Name | Type | Description |
9494
|---|---|---|
95-
| compilerMetadataUri | string | undefined
95+
| _0 | string | undefined
9696

9797
#### Returns
9898

@@ -103,18 +103,18 @@ Retrieve the published metadata URI from a compiler metadata URI.
103103
### getPublisherProfileUri
104104

105105
```solidity
106-
function getPublisherProfileUri(address publisher) external view returns (string uri)
106+
function getPublisherProfileUri(address) external pure returns (string uri)
107107
```
108108

109-
Get the publisher profile uri for a given publisher.
109+
110110

111111

112112

113113
#### Parameters
114114

115115
| Name | Type | Description |
116116
|---|---|---|
117-
| publisher | address | undefined
117+
| _0 | address | undefined
118118

119119
#### Returns
120120

@@ -146,19 +146,19 @@ Let's an account publish a contract.
146146
### setPublisherProfileUri
147147

148148
```solidity
149-
function setPublisherProfileUri(address publisher, string uri) external nonpayable
149+
function setPublisherProfileUri(address, string) external nonpayable
150150
```
151151

152-
Lets an account set its publisher profile uri
152+
153153

154154

155155

156156
#### Parameters
157157

158158
| Name | Type | Description |
159159
|---|---|---|
160-
| publisher | address | undefined
161-
| uri | string | undefined
160+
| _0 | address | undefined
161+
| _1 | string | undefined
162162

163163
### unpublishContract
164164

0 commit comments

Comments
 (0)