Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

API Changes for publish flow #506

Merged
merged 25 commits into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/sdk.abifunction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [AbiFunction](./sdk.abifunction.md)

## AbiFunction type

<b>Signature:</b>

```typescript
export declare type AbiFunction = {
name: string;
inputs: z.infer<typeof AbiTypeSchema>[];
outputs: z.infer<typeof AbiTypeSchema>[];
signature: string;
stateMutability: string;
comment: string;
};
```
11 changes: 11 additions & 0 deletions docs/sdk.contractparam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [ContractParam](./sdk.contractparam.md)

## ContractParam type

<b>Signature:</b>

```typescript
export declare type ContractParam = z.infer<typeof AbiTypeSchema>;
```
14 changes: 14 additions & 0 deletions docs/sdk.contractsource.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [ContractSource](./sdk.contractsource.md)

## ContractSource type

<b>Signature:</b>

```typescript
export declare type ContractSource = {
filename: string;
source: string;
};
```
11 changes: 11 additions & 0 deletions docs/sdk.extrapublishmetadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [ExtraPublishMetadata](./sdk.extrapublishmetadata.md)

## ExtraPublishMetadata type

<b>Signature:</b>

```typescript
export declare type ExtraPublishMetadata = z.infer<typeof ExtraPublishMetadataSchema>;
```
11 changes: 11 additions & 0 deletions docs/sdk.fullpublishmetadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [FullPublishMetadata](./sdk.fullpublishmetadata.md)

## FullPublishMetadata type

<b>Signature:</b>

```typescript
export declare type FullPublishMetadata = z.infer<typeof FullPublishMetadataSchema>;
```
10 changes: 10 additions & 0 deletions docs/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@

| Type Alias | Description |
| --- | --- |
| [AbiFunction](./sdk.abifunction.md) | |
| [AirdropInput](./sdk.airdropinput.md) | Input model to pass a list of addresses + amount to transfer to each one |
| [Amount](./sdk.amount.md) | Represents a currency amount already formatted. ie. "1" for 1 ether. |
| [BufferOrStringWithName](./sdk.bufferorstringwithname.md) | |
Expand All @@ -136,6 +137,8 @@
| [ClaimVerification](./sdk.claimverification.md) | |
| [ContractEvent](./sdk.contractevent.md) | Standardized return type for contract events that returns event arguments |
| [ContractForContractType](./sdk.contractforcontracttype.md) | |
| [ContractParam](./sdk.contractparam.md) | |
| [ContractSource](./sdk.contractsource.md) | |
| [ContractType](./sdk.contracttype.md) | |
| [Currency](./sdk.currency.md) | |
| [CurrencyValue](./sdk.currencyvalue.md) | Currency metadata &amp; value. |
Expand All @@ -146,6 +149,7 @@
| [ERC1155Wrappable](./sdk.erc1155wrappable.md) | Represents a certain amount of ERC1155 NFTs that can be wrapped |
| [ERC20Wrappable](./sdk.erc20wrappable.md) | Represents a certain amount of ERC20 tokens that can be wrapped |
| [ERC721Wrappable](./sdk.erc721wrappable.md) | Represents a ERC721 NFT that can be wrapped |
| [ExtraPublishMetadata](./sdk.extrapublishmetadata.md) | |
| [FileOrBuffer](./sdk.fileorbuffer.md) | |
| [FilledConditionInput](./sdk.filledconditioninput.md) | |
| [FilledSignature721WithQuantity](./sdk.filledsignature721withquantity.md) | |
Expand All @@ -154,6 +158,7 @@
| [FilledSignaturePayload20](./sdk.filledsignaturepayload20.md) | |
| [FilledSignaturePayload721](./sdk.filledsignaturepayload721.md) | |
| [ForwardRequestMessage](./sdk.forwardrequestmessage.md) | Forward Request Message that's used for gasless transaction |
| [FullPublishMetadata](./sdk.fullpublishmetadata.md) | |
| [Json](./sdk.json.md) | |
| [JsonObject](./sdk.jsonobject.md) | |
| [NetworkOrSignerOrProvider](./sdk.networkorsignerorprovider.md) | |
Expand All @@ -170,7 +175,12 @@
| [PayloadWithUri721](./sdk.payloadwithuri721.md) | |
| [PayloadWithUri721withQuantity](./sdk.payloadwithuri721withquantity.md) | |
| [PermitRequestMessage](./sdk.permitrequestmessage.md) | EIP-2612 token permit message for gasless transaction |
| [PreDeployMetadataFetched](./sdk.predeploymetadatafetched.md) | |
| [Price](./sdk.price.md) | Represents a currency price already formatted. ie. "1" for 1 ether. |
| [ProfileMetadata](./sdk.profilemetadata.md) | |
| [PublishedContract](./sdk.publishedcontract.md) | |
| [PublishedContractFetched](./sdk.publishedcontractfetched.md) | |
| [PublishedMetadata](./sdk.publishedmetadata.md) | |
| [Role](./sdk.role.md) | |
| [SDKOptions](./sdk.sdkoptions.md) | All these configuration options are optional with sane defaults: |
| [SignedPayload1155](./sdk.signedpayload1155.md) | |
Expand Down
11 changes: 11 additions & 0 deletions docs/sdk.predeploymetadatafetched.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [PreDeployMetadataFetched](./sdk.predeploymetadatafetched.md)

## PreDeployMetadataFetched type

<b>Signature:</b>

```typescript
export declare type PreDeployMetadataFetched = z.infer<typeof PreDeployMetadataFetchedSchema>;
```
11 changes: 11 additions & 0 deletions docs/sdk.profilemetadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [ProfileMetadata](./sdk.profilemetadata.md)

## ProfileMetadata type

<b>Signature:</b>

```typescript
export declare type ProfileMetadata = z.infer<typeof ProfileSchema>;
```
11 changes: 11 additions & 0 deletions docs/sdk.publishedcontract.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [PublishedContract](./sdk.publishedcontract.md)

## PublishedContract type

<b>Signature:</b>

```typescript
export declare type PublishedContract = z.infer<typeof PublishedContractSchema>;
```
17 changes: 17 additions & 0 deletions docs/sdk.publishedcontractfetched.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [PublishedContractFetched](./sdk.publishedcontractfetched.md)

## PublishedContractFetched type

<b>Signature:</b>

```typescript
export declare type PublishedContractFetched = {
name: string;
publishedTimestamp: BigNumberish;
publishedMetadata: FullPublishMetadata;
};
```
<b>References:</b> [FullPublishMetadata](./sdk.fullpublishmetadata.md)

11 changes: 11 additions & 0 deletions docs/sdk.publishedmetadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thirdweb-dev/sdk](./sdk.md) &gt; [PublishedMetadata](./sdk.publishedmetadata.md)

## PublishedMetadata type

<b>Signature:</b>

```typescript
export declare type PublishedMetadata = z.infer<typeof CompilerMetadataFetchedSchema>;
```
Loading