Skip to content

Commit

Permalink
fix callSC param type
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Nov 8, 2024
1 parent ffc98a8 commit d9e44cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/provider/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ import { U64_t } from '../basicElements/serializers/number/u64'
import { SCEvent, Slot } from '../client'

type CallSCCommons = {
func: string
target: string
parameter?: Args | Uint8Array
coins?: Mas
fee?: Mas
maxGas?: U64_t
}

export type ReadSCParams = CallSCCommons & {
func: string
target: string
caller?: string
}

export type CallSCParams = ReadSCParams & {
export type CallSCParams = CallSCCommons & {
periodToLive?: number
}

Expand Down

0 comments on commit d9e44cc

Please sign in to comment.