-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from 1inch/feature/fix-docgen-warnings
[SC-1121] Patch documents generation
- Loading branch information
Showing
13 changed files
with
459 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Table of contents | ||
|
||
* [Main Readme](README.md) | ||
* [contracts](contracts/README.md) | ||
* [interfaces](contracts/interfaces/README.md) | ||
* [ICreate3Deployer](contracts/interfaces/ICreate3Deployer.md) | ||
* [IDaiLikePermit](contracts/interfaces/IDaiLikePermit.md) | ||
* [IERC20MetadataUppercase](contracts/interfaces/IERC20MetadataUppercase.md) | ||
* [IERC7597Permit](contracts/interfaces/IERC7597Permit.md) | ||
* [IPermit2](contracts/interfaces/IPermit2.md) | ||
* [IWETH](contracts/interfaces/IWETH.md) | ||
* [libraries](contracts/libraries/README.md) | ||
* [AddressArray](contracts/libraries/AddressArray.md) | ||
* [AddressLib](contracts/libraries/AddressLib.md) | ||
* [AddressSet](contracts/libraries/AddressSet.md) | ||
* [BySigTraits](contracts/libraries/BySigTraits.md) | ||
* [BytesMemory](contracts/libraries/BytesMemory.md) | ||
* [BytesStorage](contracts/libraries/BytesStorage.md) | ||
* [ECDSA](contracts/libraries/ECDSA.md) | ||
* [RevertReasonForwarder](contracts/libraries/RevertReasonForwarder.md) | ||
* [RevertReasonParser](contracts/libraries/RevertReasonParser.md) | ||
* [SafeERC20](contracts/libraries/SafeERC20.md) | ||
* [StringUtil](contracts/libraries/StringUtil.md) | ||
* [UniERC20](contracts/libraries/UniERC20.md) | ||
* [mixins](contracts/mixins/README.md) | ||
* [BySig](contracts/mixins/BySig.md) | ||
* [EthReceiver](contracts/mixins/EthReceiver.md) | ||
* [OnlyWethReceiver](contracts/mixins/OnlyWethReceiver.md) | ||
* [PermitAndCall](contracts/mixins/PermitAndCall.md) | ||
* [SelfdestructEthSender](contracts/mixins/SelfdestructEthSender.md) | ||
* [mocks](contracts/mocks/README.md) | ||
* [ERC20PermitMock](contracts/mocks/ERC20PermitMock.md) | ||
* [SelfdestructEthSenderMock](contracts/mocks/SelfdestructEthSenderMock.md) | ||
* [TokenCustomDecimalsMock](contracts/mocks/TokenCustomDecimalsMock.md) | ||
* [TokenMock](contracts/mocks/TokenMock.md) | ||
* [js](js/README.md) | ||
* [classes](js/classes/README.md) | ||
* [hardhat_setup.Networks](js/classes/hardhat_setup.Networks.md) | ||
* [interfaces](js/interfaces/README.md) | ||
* [src.DeployContractOptions](js/interfaces/src.DeployContractOptions.md) | ||
* [modules](js/modules/README.md) | ||
* [hardhat_setup](js/modules/hardhat_setup.md) | ||
* [src](js/modules/src.md) | ||
* [modules](js/modules.md) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# mocks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
[@1inch/solidity-utils](../README.md) / [Modules](../modules.md) / [src](../modules/src.md) / DeployContractOptions | ||
|
||
# Interface: DeployContractOptions | ||
|
||
[src](../modules/src.md).DeployContractOptions | ||
|
||
**`Notice`** | ||
|
||
Options for deployment methods. | ||
|
||
**`Param`** | ||
|
||
Name of the contract to deploy. | ||
|
||
**`Param`** | ||
|
||
Arguments for the contract's constructor. | ||
|
||
**`Param`** | ||
|
||
Deployment facilitator object from Hardhat. | ||
|
||
**`Param`** | ||
|
||
Wallet deploying the contract. | ||
|
||
**`Param`** | ||
|
||
Optional custom name for deployment. | ||
|
||
**`Param`** | ||
|
||
Skips Etherscan verification if true. | ||
|
||
**`Param`** | ||
|
||
Avoids redeployment if contract already deployed. | ||
|
||
**`Param`** | ||
|
||
Gas strategy option. | ||
|
||
**`Param`** | ||
|
||
Gas strategy option. | ||
|
||
**`Param`** | ||
|
||
Gas strategy option. | ||
|
||
**`Param`** | ||
|
||
Toggles deployment logging. | ||
|
||
**`Param`** | ||
|
||
Number of confirmations to wait based on network. Ussually it's need for waiting before Etherscan verification. | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [constructorArgs](src.DeployContractOptions.md#constructorargs) | ||
- [contractName](src.DeployContractOptions.md#contractname) | ||
- [deployer](src.DeployContractOptions.md#deployer) | ||
- [deploymentName](src.DeployContractOptions.md#deploymentname) | ||
- [deployments](src.DeployContractOptions.md#deployments) | ||
- [gasPrice](src.DeployContractOptions.md#gasprice) | ||
- [log](src.DeployContractOptions.md#log) | ||
- [maxFeePerGas](src.DeployContractOptions.md#maxfeepergas) | ||
- [maxPriorityFeePerGas](src.DeployContractOptions.md#maxpriorityfeepergas) | ||
- [skipIfAlreadyDeployed](src.DeployContractOptions.md#skipifalreadydeployed) | ||
- [skipVerify](src.DeployContractOptions.md#skipverify) | ||
- [waitConfirmations](src.DeployContractOptions.md#waitconfirmations) | ||
|
||
## Properties | ||
|
||
### constructorArgs | ||
|
||
• `Optional` **constructorArgs**: `any`[] | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:29](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L29) | ||
|
||
___ | ||
|
||
### contractName | ||
|
||
• **contractName**: `string` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:27](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L27) | ||
|
||
___ | ||
|
||
### deployer | ||
|
||
• **deployer**: `string` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:31](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L31) | ||
|
||
___ | ||
|
||
### deploymentName | ||
|
||
• `Optional` **deploymentName**: `string` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:32](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L32) | ||
|
||
___ | ||
|
||
### deployments | ||
|
||
• **deployments**: `Object` | ||
|
||
#### Type declaration | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `deploy` | (`name`: `string`, `options`: `DeployOptions`) => `Promise`\<`DeployResult`\> | | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:30](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L30) | ||
|
||
___ | ||
|
||
### gasPrice | ||
|
||
• `Optional` **gasPrice**: `bigint` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:35](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L35) | ||
|
||
___ | ||
|
||
### log | ||
|
||
• `Optional` **log**: `boolean` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:38](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L38) | ||
|
||
___ | ||
|
||
### maxFeePerGas | ||
|
||
• `Optional` **maxFeePerGas**: `bigint` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:37](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L37) | ||
|
||
___ | ||
|
||
### maxPriorityFeePerGas | ||
|
||
• `Optional` **maxPriorityFeePerGas**: `bigint` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:36](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L36) | ||
|
||
___ | ||
|
||
### skipIfAlreadyDeployed | ||
|
||
• `Optional` **skipIfAlreadyDeployed**: `boolean` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:34](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L34) | ||
|
||
___ | ||
|
||
### skipVerify | ||
|
||
• `Optional` **skipVerify**: `boolean` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:33](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L33) | ||
|
||
___ | ||
|
||
### waitConfirmations | ||
|
||
• `Optional` **waitConfirmations**: `number` | ||
|
||
#### Defined in | ||
|
||
[src/utils.ts:39](https://github.com/1inch/solidity-utils/blob/cdb7d95/src/utils.ts#L39) |
Oops, something went wrong.