Skip to content

Commit

Permalink
Support for payable contract methods (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xslipk authored Oct 27, 2022
1 parent b525819 commit 333b25f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@ import { Key, MnemonicKey, PrivateKey } from './wallets'

export type BNish = BN | Arrayish | bigint | number

/**
* Supported parameter by smart contracts
* @see {@link https://github.com/harmony-one/sdk/blob/master/packages/harmony-contract/src/methods/method.ts#L169}
*/
export interface ITransactionOptions {
gasLimit?: BN | number | string
gasPrice: BN | number | string
from?: string
to?: string
value?: string
data?: string
}

export interface HarmonyRpcConfig {
Expand Down

0 comments on commit 333b25f

Please sign in to comment.