@@ -27,27 +27,10 @@ function DEFAULT_ADMIN_ROLE() external view returns (bytes32)
2727| ---| ---| ---|
2828| _ 0 | bytes32 | undefined
2929
30- ### contractURI
31-
32- ``` solidity
33- function contractURI() external view returns (string)
34- ```
35-
36-
37-
38-
39-
40-
41- #### Returns
42-
43- | Name | Type | Description |
44- | ---| ---| ---|
45- | _ 0 | string | undefined
46-
4730### deployInstance
4831
4932``` solidity
50- function deployInstance(address _publisher, bytes _contractBytecode, bytes _constructorArgs, bytes32 _salt, uint256 _value, ThirdwebContract.ThirdwebInfo _thirdwebInfo ) external nonpayable returns (address deployedAddress)
33+ function deployInstance(address _publisher, bytes _contractBytecode, bytes _constructorArgs, bytes32 _salt, uint256 _value, string publishMetadataUri ) external nonpayable returns (address deployedAddress)
5134```
5235
5336Deploys an instance of a published contract directly.
@@ -63,7 +46,7 @@ Deploys an instance of a published contract directly.
6346| _ constructorArgs | bytes | undefined
6447| _ salt | bytes32 | undefined
6548| _ value | uint256 | undefined
66- | _ thirdwebInfo | ThirdwebContract.ThirdwebInfo | undefined
49+ | publishMetadataUri | string | undefined
6750
6851#### Returns
6952
@@ -74,7 +57,7 @@ Deploys an instance of a published contract directly.
7457### deployInstanceProxy
7558
7659``` solidity
77- function deployInstanceProxy(address _publisher, address _implementation, bytes _initializeData, bytes32 _salt, uint256 _value, ThirdwebContract.ThirdwebInfo _thirdwebInfo ) external nonpayable returns (address deployedAddress)
60+ function deployInstanceProxy(address _publisher, address _implementation, bytes _initializeData, bytes32 _salt, uint256 _value, string publishMetadataUri ) external nonpayable returns (address deployedAddress)
7861```
7962
8063Deploys a clone pointing to an implementation of a published contract.
@@ -90,7 +73,7 @@ Deploys a clone pointing to an implementation of a published contract.
9073| _ initializeData | bytes | undefined
9174| _ salt | bytes32 | undefined
9275| _ value | uint256 | undefined
93- | _ thirdwebInfo | ThirdwebContract.ThirdwebInfo | undefined
76+ | publishMetadataUri | string | undefined
9477
9578#### Returns
9679
@@ -261,23 +244,6 @@ function isTrustedForwarder(address forwarder) external view returns (bool)
261244| ---| ---| ---|
262245| _ 0 | bool | undefined
263246
264- ### owner
265-
266- ``` solidity
267- function owner() external view returns (address)
268- ```
269-
270-
271-
272-
273-
274-
275- #### Returns
276-
277- | Name | Type | Description |
278- | ---| ---| ---|
279- | _ 0 | address | undefined
280-
281247### renounceRole
282248
283249``` solidity
@@ -312,38 +278,6 @@ function revokeRole(bytes32 role, address account) external nonpayable
312278| role | bytes32 | undefined
313279| account | address | undefined
314280
315- ### setContractURI
316-
317- ``` solidity
318- function setContractURI(string _uri) external nonpayable
319- ```
320-
321-
322-
323- * Lets a contract admin set the URI for contract-level metadata.*
324-
325- #### Parameters
326-
327- | Name | Type | Description |
328- | ---| ---| ---|
329- | _ uri | string | undefined
330-
331- ### setOwner
332-
333- ``` solidity
334- function setOwner(address _newOwner) external nonpayable
335- ```
336-
337-
338-
339- * Lets a contract admin set a new owner for the contract. The new owner must be a contract admin.*
340-
341- #### Parameters
342-
343- | Name | Type | Description |
344- | ---| ---| ---|
345- | _ newOwner | address | undefined
346-
347281### setPause
348282
349283``` solidity
@@ -360,21 +294,21 @@ function setPause(bool _pause) external nonpayable
360294| ---| ---| ---|
361295| _ pause | bool | undefined
362296
363- ### setThirdwebInfo
297+ ### setPublisheMetadataUi
364298
365299``` solidity
366- function setThirdwebInfo(ThirdwebContract.ThirdwebInfo _thirdwebInfo ) external nonpayable
300+ function setPublisheMetadataUi(string uri ) external nonpayable
367301```
368302
369303
370304
371- * Initializes the publish metadata and contract metadata at deploy time.*
305+ * Initializes the publish metadata and at deploy time.*
372306
373307#### Parameters
374308
375309| Name | Type | Description |
376310| ---| ---| ---|
377- | _ thirdwebInfo | ThirdwebContract.ThirdwebInfo | undefined
311+ | uri | string | undefined
378312
379313### supportsInterface
380314
@@ -420,23 +354,6 @@ event ContractDeployed(address indexed deployer, address indexed publisher, addr
420354| publisher ` indexed ` | address | undefined |
421355| deployedContract | address | undefined |
422356
423- ### OwnerUpdated
424-
425- ``` solidity
426- event OwnerUpdated(address prevOwner, address newOwner)
427- ```
428-
429-
430-
431-
432-
433- #### Parameters
434-
435- | Name | Type | Description |
436- | ---| ---| ---|
437- | prevOwner | address | undefined |
438- | newOwner | address | undefined |
439-
440357### Paused
441358
442359``` solidity
0 commit comments