Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions docs/sdk.contractencoder.decode.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Decode encoded call data for a given function
<b>Signature:</b>

```typescript
decode(fn: keyof TContract["functions"], encodedArgs: string): Result;
decode(fn: keyof TContract["functions"], encodedArgs: string): utils.Result;
```

## Parameters
Expand All @@ -21,5 +21,5 @@ decode(fn: keyof TContract["functions"], encodedArgs: string): Result;

<b>Returns:</b>

Result
utils.Result

4 changes: 2 additions & 2 deletions docs/sdk.contractevents.removeeventlistener.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<b>Signature:</b>

```typescript
removeEventListener(eventName: keyof TContract["filters"] | string, listener: Listener): void;
removeEventListener(eventName: keyof TContract["filters"] | string, listener: providers.Listener): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | keyof TContract\["filters"\] \| string | the event name as defined in the contract |
| listener | Listener | the listener to unregister |
| listener | providers.Listener | the listener to unregister |

<b>Returns:</b>

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk.networkorsignerorprovider.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
export declare type NetworkOrSignerOrProvider = Networkish | Signer | Provider;
export declare type NetworkOrSignerOrProvider = providers.Networkish | Signer | providers.Provider;
```
28 changes: 14 additions & 14 deletions docs/sdk.sdkoptionsschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ SDKOptionsSchema: z.ZodDefault<z.ZodObject<{
rpcUrl: z.ZodString;
chainId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
chainId?: number | undefined;
rpcUrl: string;
}, {
chainId?: number | undefined;
}, {
rpcUrl: string;
chainId?: number | undefined;
}>>;
gasSettings: z.ZodDefault<z.ZodObject<{
maxPriceInGwei: z.ZodDefault<z.ZodNumber>;
Expand All @@ -37,8 +37,8 @@ SDKOptionsSchema: z.ZodDefault<z.ZodObject<{
relayerUrl: string;
relayerForwarderAddress: string;
}, {
relayerForwarderAddress?: string | undefined;
relayerUrl: string;
relayerForwarderAddress?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
openzeppelin: {
Expand All @@ -47,8 +47,8 @@ SDKOptionsSchema: z.ZodDefault<z.ZodObject<{
};
}, {
openzeppelin: {
relayerForwarderAddress?: string | undefined;
relayerUrl: string;
relayerForwarderAddress?: string | undefined;
};
}>, z.ZodObject<{
biconomy: z.ZodObject<{
Expand All @@ -60,9 +60,9 @@ SDKOptionsSchema: z.ZodDefault<z.ZodObject<{
apiKey: string;
deadlineSeconds: number;
}, {
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
deadlineSeconds?: number | undefined;
}>;
}, "strip", z.ZodTypeAny, {
biconomy: {
Expand All @@ -72,16 +72,20 @@ SDKOptionsSchema: z.ZodDefault<z.ZodObject<{
};
}, {
biconomy: {
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
deadlineSeconds?: number | undefined;
};
}>]>>;
}, "strip", z.ZodTypeAny, {
readonlySettings?: {
chainId?: number | undefined;
rpcUrl: string;
chainId?: number | undefined;
} | undefined;
gasSettings: {
maxPriceInGwei: number;
speed: "standard" | "fast" | "fastest";
};
gasless?: {
openzeppelin: {
relayerUrl: string;
Expand All @@ -94,29 +98,25 @@ SDKOptionsSchema: z.ZodDefault<z.ZodObject<{
deadlineSeconds: number;
};
} | undefined;
gasSettings: {
maxPriceInGwei: number;
speed: "standard" | "fast" | "fastest";
};
}, {
readonlySettings?: {
chainId?: number | undefined;
rpcUrl: string;
chainId?: number | undefined;
} | undefined;
gasSettings?: {
maxPriceInGwei?: number | undefined;
speed?: "standard" | "fast" | "fastest" | undefined;
} | undefined;
gasless?: {
openzeppelin: {
relayerForwarderAddress?: string | undefined;
relayerUrl: string;
relayerForwarderAddress?: string | undefined;
};
} | {
biconomy: {
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
deadlineSeconds?: number | undefined;
};
} | undefined;
}>>
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk.signerorprovider.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
export declare type SignerOrProvider = Signer | Provider;
export declare type SignerOrProvider = Signer | providers.Provider;
```
4 changes: 2 additions & 2 deletions docs/sdk.split.balanceoftokenallrecipients.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ balanceOfTokenAllRecipients(tokenAddress: string): Promise<{
[key: string]: {
symbol: string;
name: string;
value: BigNumber;
decimals: number;
value: BigNumber;
displayValue: string;
};
}>;
Expand All @@ -28,7 +28,7 @@ balanceOfTokenAllRecipients(tokenAddress: string): Promise<{

<b>Returns:</b>

Promise&lt;{ \[key: string\]: { symbol: string; name: string; value: BigNumber; decimals: number; displayValue: string; }; }&gt;
Promise&lt;{ \[key: string\]: { symbol: string; name: string; decimals: number; value: BigNumber; displayValue: string; }; }&gt;

A map of recipient addresses to their balances in the specified currency.

4 changes: 2 additions & 2 deletions docs/sdk.transactionerror._constructor_.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Constructs a new instance of the `TransactionError` class
<b>Signature:</b>

```typescript
constructor(reason: string, from: string, to: string, data: string, network: Network, rpcUrl: string, raw: string);
constructor(reason: string, from: string, to: string, data: string, network: providers.Network, rpcUrl: string, raw: string);
```

## Parameters
Expand All @@ -20,7 +20,7 @@ constructor(reason: string, from: string, to: string, data: string, network: Net
| from | string | |
| to | string | |
| data | string | |
| network | Network | |
| network | providers.Network | |
| rpcUrl | string | |
| raw | string | |

2 changes: 1 addition & 1 deletion docs/sdk.transactionerror.chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
chain: Network;
chain: providers.Network;
```
2 changes: 1 addition & 1 deletion docs/sdk.transactionerror.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export declare class TransactionError extends Error

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [chain](./sdk.transactionerror.chain.md) | | Network | |
| [chain](./sdk.transactionerror.chain.md) | | providers.Network | |
| [data](./sdk.transactionerror.data.md) | | string | |
| [from](./sdk.transactionerror.from.md) | | string | |
| [reason](./sdk.transactionerror.reason.md) | | string | |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk.userwallet.sendrawtransaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Send a raw transaction to the blockchain from the connected wallet
<b>Signature:</b>

```typescript
sendRawTransaction(transactionRequest: TransactionRequest): Promise<TransactionResult>;
sendRawTransaction(transactionRequest: providers.TransactionRequest): Promise<TransactionResult>;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| transactionRequest | TransactionRequest | |
| transactionRequest | providers.TransactionRequest | |

<b>Returns:</b>

Expand Down
Loading