@polkadot/types
Version:
Implementation of the Parity codec
29 lines (28 loc) • 706 B
JavaScript
export default {
rpc: {},
types: {
Bid: {
who: 'AccountId',
kind: 'BidKind',
value: 'Balance'
},
BidKind: {
_enum: {
Deposit: 'Balance',
Vouch: '(AccountId, Balance)'
}
},
// a society-specific Judgement (not the same as identity Judgement)
SocietyJudgement: {
_enum: ['Rebid', 'Reject', 'Approve']
},
// a society-specific Vote
SocietyVote: {
_enum: ['Skeptic', 'Reject', 'Approve']
},
StrikeCount: 'u32',
VouchingStatus: {
_enum: ['Vouching', 'Banned']
}
}
};