Skip to content

Commit

Permalink
fix: update naming structure in types file
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan-LukeKlopper committed Sep 4, 2024
1 parent dbfa6dc commit b48f698
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/sdk-ts/src/client/chain/types/permissions.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import {
InjectivePermissionsV1Beta1Exchange,
InjectivePermissionsV1Beta1Params
} from '@injectivelabs/core-proto-ts'

import { Coin } from '@injectivelabs/ts-types'

export interface PermissionsModuleNamespace {
export interface Namespace {
denom: string
wasmHook: string
mintsPaused: boolean
Expand All @@ -14,11 +16,17 @@ import { Coin } from '@injectivelabs/ts-types'

}

export interface PermissionsModuleParams {
wasmHookQueryMaxGas: string
}


export interface AddressRoles {
address: string
roles: string[]
}


export interface Role {
role: string
permissions: number
Expand All @@ -44,3 +52,4 @@ import { Coin } from '@injectivelabs/ts-types'
export type GrpcPermissionsRoleIDs = InjectivePermissionsV1Beta1Exchange.RoleIDs
export type GrpcPermissionsAddressVoucher = InjectivePermissionsV1Beta1Exchange.AddressVoucher
export type GrpcPermissionVoucher = InjectivePermissionsV1Beta1Exchange.Voucher
export type GrpcPermissionsParams = InjectivePermissionsV1Beta1Params.Params

0 comments on commit b48f698

Please sign in to comment.