forked from visoftsolutions/noir_rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): DIP1: Extract Explanations (AztecProtocol#4228)
[ x ] Learn / Concepts section more organized [ x ] Take explanations out of Build/dev docs into Concepts/Learn section and link to it --------- Co-authored-by: José Pedro Sousa <jose@aztecprotocol.com>
- Loading branch information
1 parent
70949a7
commit 1e0f50c
Showing
175 changed files
with
3,891 additions
and
451 deletions.
There are no files selected for viewing
15 changes: 0 additions & 15 deletions
15
docs/docs/about_aztec/history/differences_to_aztec_connect.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
label: "API" |
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,2 @@ | ||
label: "Classes" | ||
position: 3 |
112 changes: 112 additions & 0 deletions
112
docs/docs/developers/apis/accounts/classes/defaults.DefaultAccountContract.md
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,112 @@ | ||
--- | ||
id: "defaults.DefaultAccountContract" | ||
title: "Class: DefaultAccountContract" | ||
sidebar_label: "DefaultAccountContract" | ||
custom_edit_url: null | ||
--- | ||
|
||
[defaults](../modules/defaults.md).DefaultAccountContract | ||
|
||
Base class for implementing an account contract. Requires that the account uses the | ||
default entrypoint method signature. | ||
|
||
## Hierarchy | ||
|
||
- **`DefaultAccountContract`** | ||
|
||
↳ [`EcdsaAccountContract`](ecdsa.EcdsaAccountContract.md) | ||
|
||
↳ [`SchnorrAccountContract`](schnorr.SchnorrAccountContract.md) | ||
|
||
↳ [`SingleKeyAccountContract`](single_key.SingleKeyAccountContract.md) | ||
|
||
## Implements | ||
|
||
- `AccountContract` | ||
|
||
## Constructors | ||
|
||
### constructor | ||
|
||
• **new DefaultAccountContract**(`artifact`): [`DefaultAccountContract`](defaults.DefaultAccountContract.md) | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `artifact` | `ContractArtifact` | | ||
|
||
#### Returns | ||
|
||
[`DefaultAccountContract`](defaults.DefaultAccountContract.md) | ||
|
||
## Properties | ||
|
||
### artifact | ||
|
||
• `Private` **artifact**: `ContractArtifact` | ||
|
||
## Methods | ||
|
||
### getAuthWitnessProvider | ||
|
||
▸ **getAuthWitnessProvider**(`address`): `AuthWitnessProvider` | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `address` | `CompleteAddress` | | ||
|
||
#### Returns | ||
|
||
`AuthWitnessProvider` | ||
|
||
___ | ||
|
||
### getContractArtifact | ||
|
||
▸ **getContractArtifact**(): `ContractArtifact` | ||
|
||
#### Returns | ||
|
||
`ContractArtifact` | ||
|
||
#### Implementation of | ||
|
||
AccountContract.getContractArtifact | ||
|
||
___ | ||
|
||
### getDeploymentArgs | ||
|
||
▸ **getDeploymentArgs**(): `any`[] | ||
|
||
#### Returns | ||
|
||
`any`[] | ||
|
||
#### Implementation of | ||
|
||
AccountContract.getDeploymentArgs | ||
|
||
___ | ||
|
||
### getInterface | ||
|
||
▸ **getInterface**(`address`, `nodeInfo`): `AccountInterface` | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `address` | `CompleteAddress` | | ||
| `nodeInfo` | `NodeInfo` | | ||
|
||
#### Returns | ||
|
||
`AccountInterface` | ||
|
||
#### Implementation of | ||
|
||
AccountContract.getInterface |
88 changes: 88 additions & 0 deletions
88
docs/docs/developers/apis/accounts/classes/defaults.DefaultAccountEntrypoint.md
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,88 @@ | ||
--- | ||
id: "defaults.DefaultAccountEntrypoint" | ||
title: "Class: DefaultAccountEntrypoint" | ||
sidebar_label: "DefaultAccountEntrypoint" | ||
custom_edit_url: null | ||
--- | ||
|
||
[defaults](../modules/defaults.md).DefaultAccountEntrypoint | ||
|
||
Implementation for an entrypoint interface that follows the default entrypoint signature | ||
for an account, which accepts an EntrypointPayload as defined in noir-libs/aztec-noir/src/entrypoint.nr. | ||
|
||
## Implements | ||
|
||
- `EntrypointInterface` | ||
|
||
## Constructors | ||
|
||
### constructor | ||
|
||
• **new DefaultAccountEntrypoint**(`address`, `auth`, `chainId?`, `version?`): [`DefaultAccountEntrypoint`](defaults.DefaultAccountEntrypoint.md) | ||
|
||
#### Parameters | ||
|
||
| Name | Type | Default value | | ||
| :------ | :------ | :------ | | ||
| `address` | `AztecAddress` | `undefined` | | ||
| `auth` | `AuthWitnessProvider` | `undefined` | | ||
| `chainId` | `number` | `DEFAULT_CHAIN_ID` | | ||
| `version` | `number` | `DEFAULT_VERSION` | | ||
|
||
#### Returns | ||
|
||
[`DefaultAccountEntrypoint`](defaults.DefaultAccountEntrypoint.md) | ||
|
||
## Properties | ||
|
||
### address | ||
|
||
• `Private` **address**: `AztecAddress` | ||
|
||
___ | ||
|
||
### auth | ||
|
||
• `Private` **auth**: `AuthWitnessProvider` | ||
|
||
___ | ||
|
||
### chainId | ||
|
||
• `Private` **chainId**: `number` = `DEFAULT_CHAIN_ID` | ||
|
||
___ | ||
|
||
### version | ||
|
||
• `Private` **version**: `number` = `DEFAULT_VERSION` | ||
|
||
## Methods | ||
|
||
### createTxExecutionRequest | ||
|
||
▸ **createTxExecutionRequest**(`executions`): `Promise`\<`TxExecutionRequest`\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `executions` | `FunctionCall`[] | | ||
|
||
#### Returns | ||
|
||
`Promise`\<`TxExecutionRequest`\> | ||
|
||
#### Implementation of | ||
|
||
EntrypointInterface.createTxExecutionRequest | ||
|
||
___ | ||
|
||
### getEntrypointAbi | ||
|
||
▸ **getEntrypointAbi**(): `FunctionAbi` | ||
|
||
#### Returns | ||
|
||
`FunctionAbi` |
Oops, something went wrong.