// Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ // import type lookup before we augment - in some environments // this is required to allow for ambient/previous definitions import '@polkadot/api-base/types/submittable'; import type { AmountOf, CurrencyIdOf } from '@boo-0x/types/interfaces/primitives'; import type { BalanceOf, LookupSource } from '@boo-0x/types/interfaces/runtime'; import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; import type { Compact } from '@polkadot/types-codec'; import type { AnyNumber } from '@polkadot/types-codec/types'; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __SubmittableExtrinsic = SubmittableExtrinsic; export type __SubmittableExtrinsicFunction = SubmittableExtrinsicFunction; declare module '@polkadot/api-base/types/submittable' { interface AugmentedSubmittables { currencies: { /** * Transfer some balance to another account under `currency_id`. * * The dispatch origin for this call must be `Signed` by the * transactor. **/ transfer: AugmentedSubmittable<(dest: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: CurrencyIdOf | { Token: any } | { DEXShare: any } | { ERC20: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [LookupSource, CurrencyIdOf, Compact]>; /** * Transfer some native currency to another account. * * The dispatch origin for this call must be `Signed` by the * transactor. **/ transferNativeCurrency: AugmentedSubmittable<(dest: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [LookupSource, Compact]>; /** * update amount of account `who` under `currency_id`. * * The dispatch origin of this call must be _Root_. **/ updateBalance: AugmentedSubmittable<(who: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: CurrencyIdOf | { Token: any } | { DEXShare: any } | { ERC20: any } | string | Uint8Array, amount: AmountOf | AnyNumber | Uint8Array) => SubmittableExtrinsic, [LookupSource, CurrencyIdOf, AmountOf]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; } // AugmentedSubmittables } // declare module