Browse Source

fix: linter error

friedger-patch-7
Patrick Gray 4 years ago
parent
commit
43c7b3438e
  1. 12
      src/pages/build-apps/guides/transaction-signing.md

12
src/pages/build-apps/guides/transaction-signing.md

@ -90,7 +90,7 @@ interface STXTransferOptions {
amount: string;
memo?: string;
network: StacksNetwork;
fee: number | string,
fee: number | string;
appDetails: {
name: string;
icon: string;
@ -100,7 +100,7 @@ interface STXTransferOptions {
```
| parameter | type | required | description |
| ---------- | ------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
| ---------- | ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| recipient | string | true | STX address for recipient of transfer |
| amount | string | true | Amount of microstacks (1 STX = 1,000,000 microstacks) to be transferred provided as string to prevent floating point errors. |
| appDetails | object | true | Dictionary that requires `name` and `icon` for app |
@ -140,7 +140,7 @@ interface ContractDeployOptions {
codeBody: string;
contractName: string;
network: StacksNetwork;
fee: number | string,
fee: number | string;
appDetails: {
name: string;
icon: string;
@ -150,7 +150,7 @@ interface ContractDeployOptions {
```
| parameter | type | required | description |
| ------------ | ------------- | -------- | -------------------------------------------------------------------------------------------------------- |
| ------------ | ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| codeBody | string | true | Clarity source code for contract |
| contractName | string | true | Name for contract |
| appDetails | object | true | Dictionary that requires `name` and `icon` for app |
@ -233,7 +233,7 @@ interface ContractCallOptions {
contractName: string;
functionArgs?: ClarityValue[];
network: StacksNetwork;
fee: number | string,
fee: number | string;
appDetails: {
name: string;
icon: string;
@ -243,7 +243,7 @@ interface ContractCallOptions {
```
| parameter | type | required | description |
| ------------ | ------------- | -------- | -------------------------------------------------------------------------------------------------------- |
| --------------- | ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |
| contractAddress | string | true | Stacks address to which contract is deployed |
| contractName | string | true | Name of contract to sign |
| functionName | string | true | Name of function for signing / execution, which needs to be a [public function](/references/language-functions#define-public). |

Loading…
Cancel
Save