-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
Kirina/fix polkadot config
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
npm run generate-helper | ||
npm run generate-helper & npm run generate-multihop |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import { TX_MSG } from './constants'; | ||
export type TX_MSG_TYPE = typeof TX_MSG; | ||
export { type Keplr, type OfflineAminoSigner } from '@keplr-wallet/types'; | ||
export { type IbcExtension } from '@cosmjs/stargate'; | ||
//# sourceMappingURL=types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
declare const _default: { | ||
rpc: { | ||
balanceOf: { | ||
description: string; | ||
params: ({ | ||
name: string; | ||
type: string; | ||
isOptional?: undefined; | ||
} | { | ||
name: string; | ||
type: string; | ||
isOptional: boolean; | ||
})[]; | ||
type: string; | ||
}; | ||
listAssets: { | ||
description: string; | ||
params: { | ||
name: string; | ||
type: string; | ||
isOptional: boolean; | ||
}[]; | ||
type: string; | ||
}; | ||
}; | ||
types: { | ||
Asset: { | ||
name: string; | ||
id: string; | ||
decimals: string; | ||
ratio: string; | ||
foreignId: string; | ||
existentialDeposit: string; | ||
}; | ||
}; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=definitions.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = { | ||
rpc: { | ||
balanceOf: { | ||
description: 'Balance available for the specified account for the specified asset.', | ||
params: [ | ||
{ | ||
name: 'asset', | ||
type: 'CustomRpcCurrencyId' | ||
}, | ||
{ | ||
name: 'account', | ||
type: 'AccountId32' | ||
}, | ||
{ | ||
name: 'at', | ||
type: 'Hash', | ||
isOptional: true | ||
} | ||
], | ||
type: 'CustomRpcBalance' | ||
}, | ||
listAssets: { | ||
description: 'Lists the available recognized assets for the runtime.', | ||
params: [ | ||
{ | ||
name: 'at', | ||
type: 'Hash', | ||
isOptional: true | ||
} | ||
], | ||
type: 'Vec<Asset>' | ||
} | ||
}, | ||
types: { | ||
Asset: { | ||
name: 'Vec<u8>', | ||
id: 'u128', | ||
decimals: 'u32', | ||
ratio: 'Option<ComposableTraitsCurrencyRational64>', | ||
foreignId: 'Option<XcmV1MultiLocation>', | ||
existentialDeposit: 'CustomRpcBalance' | ||
} | ||
} | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"use strict"; | ||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./types"), exports); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import type { Bytes, Option, Struct, u32 } from '@polkadot/types-codec'; | ||
import type { CustomRpcBalance } from '../common'; | ||
import type { ComposableTraitsCurrencyRational64, XcmV1MultiLocation } from '../crowdloanRewards'; | ||
/** @name Asset */ | ||
export interface Asset extends Struct { | ||
readonly name: Bytes; | ||
readonly id: Text; | ||
readonly decimals: u32; | ||
readonly ratio: Option<ComposableTraitsCurrencyRational64>; | ||
readonly foreignId: Option<XcmV1MultiLocation>; | ||
readonly existentialDeposit: CustomRpcBalance; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |