Skip to content

Commit

Permalink
Merge branch 'master' of github.com:wirednkod/apps into nik-fix-staki…
Browse files Browse the repository at this point in the history
…ng-numbers
  • Loading branch information
wirednkod committed Jun 20, 2022
2 parents db83a8a + 92748bf commit d31a7ec
Show file tree
Hide file tree
Showing 65 changed files with 852 additions and 938 deletions.
17 changes: 10 additions & 7 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
3665 Jaco Bump API (#7737)
3671 Jaco Disable unreachable endpoints (#7768)
79 Thibaut Sardan Nit, use as LedgerTypes casting (#4425)
62 kwingram25 iadd fix (#2911)
46 Antoine Estienne Update moonbeam endpoints and moonbase logo and color (#6890)
44 pan update bifrost name (#7700)
45 pan update bifrost link on subscan (#7761)
41 MiZiet Apply styles to the unbonding icon (#6314)
31 Stefanie Doll Set higher default gas limit, switch from bitlength u32 to u128 for input fields (#2743)
29 Ewa Kowalska Style badges in accounts list (#6208)
Expand Down Expand Up @@ -37,12 +37,12 @@
10 zzcwoshizz rm elara endpoint (#6778)
9 Alex D add genshiro standalone mainnet (#6062)
9 Chevdor Add doc related to IPFS and pinning (#2788)
9 Yongfeng LI Adjust subsquare external links (#7752)
8 Hging Add MathChain mainnet support (#6214)
8 illlefr4u new additions to Russian translation (#2948)
8 Jakub Jóźwiak Code signing and Notarization (#2794)
8 Kodeist add hydradx rpc node (#7704)
8 lumir-mrkva basilisk rococo parachain added (#7180)
8 Yongfeng LI Add subsquare external links for polkadot, polkadex and crab (#7709)
7 alanchang124 add onfinality endpoint for acala mandala tc7 (#7615)
7 Drew Stone Update production.ts (#5757)
7 frank Update Odyssey parachain (#7019)
Expand Down Expand Up @@ -76,6 +76,7 @@
5 FreePoi remove support of karura by elara (#6639)
5 Gabriel Facco de Arruda feat: Added GM Parachain (#7654)
5 Lovesh Harchandani Update types (#5499)
5 Marko Petrlić Update Ternoa logo and mainnet name (#7758)
5 Marni trying to get mapping of nominators correct (#346)
5 Masterdubs Add KSI and SDX bridge type (#7185)
5 Masterdubs update and clean galital standalone chain specs and type (#5225)
Expand All @@ -94,8 +95,8 @@
4 Kai enable litentry endpoint (#7650)
4 Luke Sugiura Refactor Backup component with hooks (#1927)
4 Marcin Wachulski Account row collapsible row details (#5894)
4 marco feat(types): bump types to 0.0.14 (#6636)
4 Marko Petrlić add Ternoa Alphanet and Ternoa Mainnet (#7598)
4 marco feat: add zero alphaville (#7769)
4 marco feat: add zero alphaville (#7769)
4 mn13 update actual equilibrium version (#6836)
4 philipstanislaus Upgrade Centrifuge types (#2428)
4 toxotguo Add ChainX endpoints hosted by Patract Elara (#4582)
Expand All @@ -114,6 +115,7 @@
3 Eric fix websocket connection (#7574)
3 Eswara Sai Added parser to extract i18n strings (#1710)
3 h4x3rotab Update Khala logo, color, and types (#5299)
3 helixstreet Helixstreet -> helixstreet (#7764)
3 Hyungsuk Kang Update opportunity types (#5574)
3 iiiiiiii update jupiter (#5018)
3 imstar15 Remove Neumann (#7701)
Expand All @@ -124,7 +126,6 @@
3 kotlarmilos Update OriginTrail Parachain on polkadotjs (#7416)
3 Lay Hunt Update Uniarts Chain types & logo & main net (#5253)
3 limichange Bump @phala/typedefs version (#5709)
3 marco feat(types): bump types to 0.0.14 (#6636)
3 Mario Pino update PolkaStats logo (#3600)
3 Myron use new log for crust parachain (#6520)
3 Nikhil Ranjan Enable subscan for polkadot parachains (#6802)
Expand Down Expand Up @@ -182,6 +183,7 @@
2 Nazar Mokrynskyi Update Subspace Gemini endpoints to 1b (#7675)
2 Nikita Polyakov update type defenitions to 1.8.30 (#7488)
2 qinghuan add chainx rococo node (#4772)
2 Rishi Karthikeyan Polkadot js master (#7762)
2 Shankar D. Warang Typo: elpased -> elapsed (#4110)
2 sharkygg add subdao test and polkadot parachain network; (#6515)
2 Shawn Tabrizi allow dissolve by anyone when ended (#7184)
Expand All @@ -203,6 +205,8 @@
1 Alistair Singh Add Rococo Snowbridge (#7630)
1 Anakorn Tata Kyavatanakij fix SummaryBar (#1981)
1 Andrew Jones Fix upload and deploy contract(s) after rename (#1346)
1 ashkuc Update UniqueNetwork definitions (#7744)
1 benjichat Dwellir is removing support for Parallel and Parallel Heiko RPC endpoints (#7745)
1 Bill Laboon Add explanation that Docker port is 80 (#1480)
1 BoBin Add subscan rococo extra link (#4439)
1 Bobo type def update (#6612)
Expand Down Expand Up @@ -299,7 +303,6 @@
1 Ravi Kumar Add hi_IN translation (#5420)
1 Raymond Zhong Add types for beresheet runtime (#5576)
1 Ricardo Rius Update stable poc types (#3783)
1 Rishi Karthikeyan Added / Modified Pinknode Endpoints (#7707)
1 robcxyz Add geometry labs endpoints for polkadot and kusama (#6477)
1 Robin Syihab Fix typo in ID translation (#5865)
1 Rocco Musolino italian translation typo fix (#3813)
Expand Down
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "https://github.com/polkadot-js/apps.git"
},
"sideEffects": false,
"version": "0.116.2-34",
"version": "0.116.2-50",
"workspaces": [
"packages/*"
],
Expand Down Expand Up @@ -64,53 +64,53 @@
"@babel/runtime": "^7.18.3",
"@crustio/crust-pin": "^1.0.0",
"@pinata/sdk": "^1.1.26",
"@polkadot/dev": "^0.67.3",
"@polkadot/dev": "^0.67.5",
"@types/chart.js": "^2.9.37",
"@types/file-saver": "^2.0.5",
"@types/jest": "^28.1.1",
"@types/jest": "^28.1.2",
"@types/react-beautiful-dnd": "^13.1.2",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "^18.0.5",
"@types/react-router-dom": "^5.3.3",
"@types/store": "^2.0.2",
"@types/styled-components": "^5.1.25",
"@types/styled-theming": "^2.2.5",
"concurrently": "^7.2.1",
"concurrently": "^7.2.2",
"devtron": "^1.4.0",
"dnslink-cloudflare": "^3.0.0",
"electron": "^12.2.3",
"electron-builder": "22.14.13",
"electron-builder-notarize": "^1.2.0",
"i18next-scanner": "^3.1.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-is": "^18.1.0",
"i18next-scanner": "^3.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"source-map-explorer": "^2.5.2",
"styled-components": "^5.3.5",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"resolutions": {
"@polkadot/api": "^8.8.2",
"@polkadot/api-augment": "^8.8.2",
"@polkadot/api-base": "^8.8.2",
"@polkadot/api-contract": "^8.8.2",
"@polkadot/api-derive": "^8.8.2",
"@polkadot/hw-ledger": "^9.4.1",
"@polkadot/keyring": "^9.4.1",
"@polkadot/networks": "^9.4.1",
"@polkadot/phishing": "^0.13.96",
"@polkadot/rpc-augment": "^8.8.2",
"@polkadot/rpc-core": "^8.8.2",
"@polkadot/rpc-provider": "^8.8.2",
"@polkadot/types": "^8.8.2",
"@polkadot/types-augment": "^8.8.2",
"@polkadot/types-codec": "^8.8.2",
"@polkadot/types-create": "^8.8.2",
"@polkadot/types-known": "^8.8.2",
"@polkadot/types-support": "^8.8.2",
"@polkadot/util": "^9.4.1",
"@polkadot/util-crypto": "^9.4.1",
"@polkadot/api": "^8.9.1",
"@polkadot/api-augment": "^8.9.1",
"@polkadot/api-base": "^8.9.1",
"@polkadot/api-contract": "^8.9.1",
"@polkadot/api-derive": "^8.9.1",
"@polkadot/hw-ledger": "^9.5.1",
"@polkadot/keyring": "^9.5.1",
"@polkadot/networks": "^9.5.1",
"@polkadot/phishing": "^0.14.2",
"@polkadot/rpc-augment": "^8.9.1",
"@polkadot/rpc-core": "^8.9.1",
"@polkadot/rpc-provider": "^8.9.1",
"@polkadot/types": "^8.9.1",
"@polkadot/types-augment": "^8.9.1",
"@polkadot/types-codec": "^8.9.1",
"@polkadot/types-create": "^8.9.1",
"@polkadot/types-known": "^8.9.1",
"@polkadot/types-support": "^8.9.1",
"@polkadot/util": "^9.5.1",
"@polkadot/util-crypto": "^9.5.1",
"@polkadot/wasm-crypto": "^6.1.1",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.3.1",
Expand Down
42 changes: 22 additions & 20 deletions packages/apps-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,43 @@
},
"sideEffects": false,
"type": "module",
"version": "0.116.2-34",
"version": "0.116.2-50",
"main": "index.js",
"dependencies": {
"@acala-network/type-definitions": "^4.1.3",
"@acala-network/type-definitions": "^4.1.5",
"@babel/runtime": "^7.18.3",
"@bifrost-finance/type-definitions": "1.5.0",
"@bifrost-finance/type-definitions": "1.6.0",
"@crustio/type-definitions": "1.3.0",
"@darwinia/types": "2.8.3",
"@darwinia/types-known": "2.8.3",
"@darwinia/types": "2.8.6",
"@darwinia/types-known": "2.8.6",
"@digitalnative/type-definitions": "1.1.27",
"@docknetwork/node-types": "0.6.0",
"@edgeware/node-types": "3.6.2-wako",
"@equilab/definitions": "1.4.11",
"@interlay/interbtc-types": "1.6.0",
"@equilab/definitions": "1.4.12",
"@interlay/interbtc-types": "1.7.0",
"@kiltprotocol/type-definitions": "0.1.23",
"@laminar/type-definitions": "0.3.1",
"@mangata-finance/types": "^0.1.5",
"@mangata-finance/types": "^0.5.0",
"@metaverse-network-sdk/type-definitions": "^0.0.1-13",
"@parallel-finance/type-definitions": "1.7.4",
"@parallel-finance/type-definitions": "1.7.7",
"@phala/typedefs": "0.2.30",
"@polkadot/api": "^8.8.2",
"@polkadot/api-derive": "^8.8.2",
"@polkadot/networks": "^9.4.1",
"@polkadot/types": "^8.8.2",
"@polkadot/util": "^9.4.1",
"@polkadot/x-fetch": "^9.4.1",
"@polkadot/api": "^8.9.1",
"@polkadot/api-derive": "^8.9.1",
"@polkadot/networks": "^9.5.1",
"@polkadot/types": "^8.9.1",
"@polkadot/util": "^9.5.1",
"@polkadot/x-fetch": "^9.5.1",
"@polymathnetwork/polymesh-types": "0.0.2",
"@snowfork/snowbridge-types": "0.2.7",
"@sora-substrate/type-definitions": "1.9.8",
"@subsocial/definitions": "^0.6.10",
"@unique-nft/types": "0.6.0-4",
"@zeitgeistpm/type-defs": "0.5.0",
"@sora-substrate/type-definitions": "1.9.13",
"@subsocial/definitions": "^0.6.11",
"@unique-nft/opal-testnet-types": "0.5.2",
"@unique-nft/quartz-mainnet-types": "0.5.2",
"@unique-nft/unique-mainnet-types": "0.6.1",
"@zeitgeistpm/type-defs": "0.6.0",
"@zeroio/type-definitions": "0.0.14",
"lodash": "^4.17.21",
"moonbeam-types-bundle": "2.0.4",
"moonbeam-types-bundle": "2.0.7",
"pontem-types-bundle": "1.0.15",
"rxjs": "^7.5.5"
}
Expand Down
4 changes: 3 additions & 1 deletion packages/apps-config/src/api/spec/mangata.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { typesBundleForPolkadotApps } from '@mangata-finance/types';
// Since this libary includes augmented definitions, we inmport it via
// a CJS bridge ... which hopefully just short-circuits all of that
import { typesBundleForPolkadotApps } from '../../cjs/mangata.js';

export default typesBundleForPolkadotApps;
2 changes: 1 addition & 1 deletion packages/apps-config/src/api/spec/opal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import type { OverrideBundleDefinition } from '@polkadot/types/types';

import { unique } from '@unique-nft/types/definitions';
import { unique } from '@unique-nft/opal-testnet-types/definitions';

export default {
rpc: { unique: unique.rpc }
Expand Down
2 changes: 1 addition & 1 deletion packages/apps-config/src/api/spec/quartz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import type { OverrideBundleDefinition } from '@polkadot/types/types';

import { unique } from '@unique-nft/types/definitions';
import { unique } from '@unique-nft/quartz-mainnet-types/definitions';

export default {
rpc: { unique: unique.rpc }
Expand Down
123 changes: 4 additions & 119 deletions packages/apps-config/src/api/spec/unique.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,123 +3,8 @@

import type { OverrideBundleDefinition } from '@polkadot/types/types';

// structs need to be in order
/* eslint-disable sort-keys */
import { unique } from '@unique-nft/unique-mainnet-types/definitions';

const definitions: OverrideBundleDefinition = {
types: [
{
// on all versions
minmax: [0, undefined],
types: {
AccessMode: {
_enum: ['Normal', 'WhiteList']
},
DecimalPoints: 'u8',
CollectionMode: {
_enum: {
Invalid: null,
NFT: null,
Fungible: 'DecimalPoints',
ReFungible: null
}
},
Ownership: {
Owner: 'AccountId',
Fraction: 'u128'
},
FungibleItemType: {
Value: 'u128'
},
NftItemType: {
Owner: 'AccountId',
ConstData: 'Vec<u8>',
VariableData: 'Vec<u8>'
},
ReFungibleItemType: {
Owner: 'Vec<Ownership<AccountId>>',
ConstData: 'Vec<u8>',
VariableData: 'Vec<u8>'
},
SponsorshipState: {
_enum: {
Disabled: null,
Unconfirmed: 'AccountId',
Confirmed: 'AccountId'
}
},
Collection: {
Owner: 'AccountId',
Mode: 'CollectionMode',
Access: 'AccessMode',
DecimalPoints: 'DecimalPoints',
Name: 'Vec<u16>',
Description: 'Vec<u16>',
TokenPrefix: 'Vec<u8>',
MintMode: 'bool',
OffchainSchema: 'Vec<u8>',
SchemaVersion: 'SchemaVersion',
Sponsorship: 'SponsorshipState',
Limits: 'CollectionLimits',
VariableOnChainSchema: 'Vec<u8>',
ConstOnChainSchema: 'Vec<u8>'
},
RawData: 'Vec<u8>',
Address: 'AccountId',
LookupSource: 'AccountId',
Weight: 'u64',
CreateNftData: {
const_data: 'Vec<u8>',
variable_data: 'Vec<u8>'
},
CreateFungibleData: {
value: 'u128'
},
CreateReFungibleData: {
const_data: 'Vec<u8>',
variable_data: 'Vec<u8>',
pieces: 'u128'
},
CreateItemData: {
_enum: {
NFT: 'CreateNftData',
Fungible: 'CreateFungibleData',
ReFungible: 'CreateReFungibleData'
}
},
SchemaVersion: {
_enum: [
'ImageURL',
'Unique'
]
},
CollectionId: 'u32',
TokenId: 'u32',
ChainLimits: {
CollectionNumbersLimit: 'u32',
AccountTokenOwnershipLimit: 'u32',
CollectionAdminsLimit: 'u64',
CustomDataLimit: 'u32',
NftSponsorTimeout: 'u32',
FungibleSponsorTimeout: 'u32',
RefungibleSponsorTimeout: 'u32',
OffchainSchemaLimit: 'u32',
VariableOnChainSchemaLimit: 'u32',
ConstOnChainSchemaLimit: 'u32'
},
CollectionLimits: {
AccountTokenOwnershipLimit: 'u32',
SponsoredDataSize: 'u32',
SponsoredDataRateLimit: 'Option<BlockNumber>',
TokenLimit: 'u32',
SponsorTimeout: 'u32',
OwnerCanTransfer: 'bool',
OwnerCanDestroy: 'bool'
},
AccountInfo: 'AccountInfoWithDualRefCount'
}
}
]
};

export default definitions;
export default {
rpc: { unique: unique.rpc }
} as OverrideBundleDefinition;
Loading

0 comments on commit d31a7ec

Please sign in to comment.