Changed firstSlot and lastSlot to firstPeriod and lastPeriod. Reference: [Polkadot definition source](https://github.com/paritytech/polkadot/blob/master/runtime/common/src/crowdloan.rs#L141) (#3568)

This commit is contained in:
Arjan Zijderveld
2021-05-26 08:38:22 +02:00
committed by GitHub
parent 05e3db01ba
commit 711a145e1e
2 changed files with 4 additions and 4 deletions
@@ -25,8 +25,8 @@ export default {
end: 'BlockNumber',
cap: 'Balance',
lastContribution: 'LastContribution',
firstSlot: 'LeasePeriod',
lastSlot: 'LeasePeriod',
firstPeriod: 'LeasePeriod',
lastPeriod: 'LeasePeriod',
trieIndex: 'TrieIndex'
},
TrieIndex: 'u32'
@@ -17,8 +17,8 @@ export interface FundInfo extends Struct {
readonly end: BlockNumber;
readonly cap: Balance;
readonly lastContribution: LastContribution;
readonly firstSlot: LeasePeriod;
readonly lastSlot: LeasePeriod;
readonly firstPeriod: LeasePeriod;
readonly lastPeriod: LeasePeriod;
readonly trieIndex: TrieIndex;
}