|
1 | 1 | //find out types: const a = createType(api.registry, '[u8;32]', 18) |
2 | 2 | import { AugmentedCall, AugmentedRpc, PromiseRpcResult } from '@polkadot/api/types' |
3 | | -import { Enum, Null, Struct, u128, u32, u64, U8aFixed, Option, Vec, Bytes, Result, bool } from '@polkadot/types' |
| 3 | +import { |
| 4 | + Enum, |
| 5 | + Null, |
| 6 | + Struct, |
| 7 | + u128, |
| 8 | + u32, |
| 9 | + u64, |
| 10 | + U8aFixed, |
| 11 | + Option, |
| 12 | + Vec, |
| 13 | + Bytes, |
| 14 | + Result, |
| 15 | + bool, |
| 16 | + GenericCall, |
| 17 | +} from '@polkadot/types' |
4 | 18 | import { AccountId32, Perquintill, Balance } from '@polkadot/types/interfaces' |
5 | 19 | import { ITuple, Observable } from '@polkadot/types/types' |
6 | 20 |
|
@@ -469,6 +483,16 @@ export type InvestOrdersCollectedEvent = ITuple< |
469 | 483 | ] |
470 | 484 | > |
471 | 485 |
|
| 486 | +export interface RemarksRemark extends Enum { |
| 487 | + readonly isIpfsHash: boolean |
| 488 | + readonly asIpfsHash: Bytes |
| 489 | + readonly isNamed: boolean |
| 490 | + readonly asNamed: Bytes |
| 491 | + readonly isLoan: boolean |
| 492 | + readonly asLoan: ITuple<[u64, u64]> |
| 493 | + readonly type: 'IpfsHash' | 'Named' | 'Loan' |
| 494 | +} |
| 495 | + |
472 | 496 | export type RedeemOrdersCollectedEvent = ITuple< |
473 | 497 | [ |
474 | 498 | investmentId: TrancheCurrency | TrancheCurrencyBefore1400, |
@@ -503,6 +527,8 @@ export type PoolFeesList = Vec<PoolFeesOfBucket> |
503 | 527 |
|
504 | 528 | export type OracleFedEvent = ITuple<[feeder: DevelopmentRuntimeOriginCaller, key: OracleKey, value: u128]> |
505 | 529 |
|
| 530 | +export type RemarkEvent = ITuple<[remarks: Vec<RemarksRemark>, call: GenericCall]> |
| 531 | + |
506 | 532 | export type ExtendedRpc = { |
507 | 533 | pools: { |
508 | 534 | trancheTokenPrice: PromiseRpcResult< |
|
0 commit comments