Skip to content

Commit

Permalink
Merge pull request #138 from Zondax/crowdloan_pallets
Browse files Browse the repository at this point in the history
Enable Crowdloan pallet
  • Loading branch information
ftheirs authored May 12, 2022
2 parents 77818ce + 75fe974 commit 2e361f4
Show file tree
Hide file tree
Showing 56 changed files with 32,591 additions and 26,124 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Please:
| Name | Light | XL | Nesting | Arguments |
| :---------- |:------------:|:--------:|:--------:|:--------|
|Claim | | :heavy_check_mark: | | `AccountIndex` index <br/> |
|Transfer | | | | `AccountId` new_ <br/>`AccountIndex` index <br/> |
|Transfer | | :heavy_check_mark: | | `AccountId` new_ <br/>`AccountIndex` index <br/> |
|Free | | :heavy_check_mark: | | `AccountIndex` index <br/> |
|Force transfer | | :heavy_check_mark: | | `AccountId` new_ <br/>`AccountIndex` index <br/>`bool` freeze <br/> |
|Freeze | | :heavy_check_mark: | | `AccountIndex` index <br/> |
Expand Down Expand Up @@ -191,9 +191,9 @@ Please:

| Name | Light | XL | Nesting | Arguments |
| :---------- |:------------:|:--------:|:--------:|:--------|
|Set members | | | | `VecAccountId` new_members <br/>`OptionAccountId` prime <br/>`MemberCount` old_count <br/> |
|Execute | | | | `Proposal` proposal <br/>`Compactu32` length_bound <br/> |
|Propose | | | | `Compactu32` threshold <br/>`Proposal` proposal <br/>`Compactu32` length_bound <br/> |
|Set members | | :heavy_check_mark: | | `VecAccountId` new_members <br/>`OptionAccountId` prime <br/>`MemberCount` old_count <br/> |
|Execute | | :heavy_check_mark: | | `Proposal` proposal <br/>`Compactu32` length_bound <br/> |
|Propose | | :heavy_check_mark: | | `Compactu32` threshold <br/>`Proposal` proposal <br/>`Compactu32` length_bound <br/> |
|Vote | | :heavy_check_mark: | | `Hash` proposal <br/>`Compactu32` index <br/>`bool` approve <br/> |
|Close | | :heavy_check_mark: | | `Hash` proposal_hash <br/>`Compactu32` index <br/>`Compactu64` proposal_weight_bound <br/>`Compactu32` length_bound <br/> |
|Disapprove proposal | | :heavy_check_mark: | | `Hash` proposal_hash <br/> |
Expand All @@ -202,9 +202,9 @@ Please:

| Name | Light | XL | Nesting | Arguments |
| :---------- |:------------:|:--------:|:--------:|:--------|
|Set members | | | | `VecAccountId` new_members <br/>`OptionAccountId` prime <br/>`MemberCount` old_count <br/> |
|Execute | | | | `Proposal` proposal <br/>`Compactu32` length_bound <br/> |
|Propose | | | | `Compactu32` threshold <br/>`Proposal` proposal <br/>`Compactu32` length_bound <br/> |
|Set members | | :heavy_check_mark: | | `VecAccountId` new_members <br/>`OptionAccountId` prime <br/>`MemberCount` old_count <br/> |
|Execute | | :heavy_check_mark: | | `Proposal` proposal <br/>`Compactu32` length_bound <br/> |
|Propose | | :heavy_check_mark: | | `Compactu32` threshold <br/>`Proposal` proposal <br/>`Compactu32` length_bound <br/> |
|Vote | | :heavy_check_mark: | | `Hash` proposal <br/>`Compactu32` index <br/>`bool` approve <br/> |
|Close | | :heavy_check_mark: | | `Hash` proposal_hash <br/>`Compactu32` index <br/>`Compactu64` proposal_weight_bound <br/>`Compactu32` length_bound <br/> |
|Disapprove proposal | | :heavy_check_mark: | | `Hash` proposal_hash <br/> |
Expand Down Expand Up @@ -256,8 +256,8 @@ Please:
| :---------- |:------------:|:--------:|:--------:|:--------|
|Vest | | :heavy_check_mark: | | |
|Vest other | | :heavy_check_mark: | | `LookupasStaticLookupSource` target <br/> |
|Vested transfer | | | | `LookupasStaticLookupSource` target <br/>`VestingInfo` schedule <br/> |
|Force vested transfer | | | | `LookupasStaticLookupSource` source <br/>`LookupasStaticLookupSource` target <br/>`VestingInfo` schedule <br/> |
|Vested transfer | | :heavy_check_mark: | | `LookupasStaticLookupSource` target <br/>`VestingInfo` schedule <br/> |
|Force vested transfer | | :heavy_check_mark: | | `LookupasStaticLookupSource` source <br/>`LookupasStaticLookupSource` target <br/>`VestingInfo` schedule <br/> |
|Merge schedules | | :heavy_check_mark: | | `u32` schedule1_index <br/>`u32` schedule2_index <br/> |

## Utility
Expand Down Expand Up @@ -512,15 +512,15 @@ Please:

| Name | Light | XL | Nesting | Arguments |
| :---------- |:------------:|:--------:|:--------:|:--------|
|Create | | | | `Compactu32` index <br/>`Compactu128` cap <br/>`Compactu32` first_period <br/>`Compactu32` last_period <br/>`Compactu32` end <br/>`OptionMultiSigner` verifier <br/> |
|Contribute | | | | `Compactu32` index <br/>`Compactu128` amount <br/>`OptionMultiSignature` signature <br/> |
|Withdraw | | | | `AccountId` who <br/>`Compactu32` index <br/> |
|Refund | | | | `Compactu32` index <br/> |
|Dissolve | | | | `Compactu32` index <br/> |
|Edit | | | | `Compactu32` index <br/>`Compactu128` cap <br/>`Compactu32` first_period <br/>`Compactu32` last_period <br/>`Compactu32` end <br/>`OptionMultiSigner` verifier <br/> |
|Add memo | | | | `ParaId` index <br/>`Vecu8` memo <br/> |
|Poke | | | | `ParaId` index <br/> |
|Contribute all | | | | `Compactu32` index <br/>`OptionMultiSignature` signature <br/> |
|Create | :heavy_check_mark: | :heavy_check_mark: | | `Compactu32` index <br/>`Compactu128` cap <br/>`Compactu32` first_period <br/>`Compactu32` last_period <br/>`Compactu32` end <br/>`OptionMultiSigner` verifier <br/> |
|Contribute | :heavy_check_mark: | :heavy_check_mark: | | `Compactu32` index <br/>`Compactu128` amount <br/>`OptionMultiSignature` signature <br/> |
|Withdraw | :heavy_check_mark: | :heavy_check_mark: | | `AccountId` who <br/>`Compactu32` index <br/> |
|Refund | :heavy_check_mark: | :heavy_check_mark: | | `Compactu32` index <br/> |
|Dissolve | :heavy_check_mark: | :heavy_check_mark: | | `Compactu32` index <br/> |
|Edit | :heavy_check_mark: | :heavy_check_mark: | | `Compactu32` index <br/>`Compactu128` cap <br/>`Compactu32` first_period <br/>`Compactu32` last_period <br/>`Compactu32` end <br/>`OptionMultiSigner` verifier <br/> |
|Add memo | :heavy_check_mark: | :heavy_check_mark: | | `ParaId` index <br/>`Vecu8` memo <br/> |
|Poke | :heavy_check_mark: | :heavy_check_mark: | | `ParaId` index <br/> |
|Contribute all | :heavy_check_mark: | :heavy_check_mark: | | `Compactu32` index <br/>`OptionMultiSignature` signature <br/> |

## XcmPallet

Expand Down
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ APPVERSION_M=12
# This is the `spec_version` field of `Runtime`
APPVERSION_N=9200
# This is the patch version of this release
APPVERSION_P=0
APPVERSION_P=1
28 changes: 14 additions & 14 deletions app/src/substrate/substrate_coin.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
********************************************************************************/
* (c) 2019 - 2022 Zondax GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
********************************************************************************/
#pragma once

#ifdef __cplusplus
Expand Down
28 changes: 14 additions & 14 deletions app/src/substrate/substrate_dispatch.c
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
********************************************************************************/
* (c) 2019 - 2022 Zondax GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
********************************************************************************/
#include "substrate_dispatch.h"
#include "parser_impl.h"

Expand Down
28 changes: 14 additions & 14 deletions app/src/substrate/substrate_dispatch.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*******************************************************************************
* (c) 2019 - 2022 Zondax GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
********************************************************************************/
* (c) 2019 - 2022 Zondax GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
********************************************************************************/
#pragma once

#ifdef __cplusplus
Expand Down
Loading

0 comments on commit 2e361f4

Please sign in to comment.