Extrinsics

The following Extrinsics methods are part of the default Substrate runtime. Since an Extrinsic is a holder of an object that is just an array of bytes to be included, it does not have a return.


consensus

▸ reportMisbehavior(report: MisbehaviorReport)

▸ noteOffline(offline_val_indices: Vec<u32>)

▸ remark(remark: Bytes)

▸ setCode(new: Bytes)

▸ setStorage(items: Vec<KeyValue>)


balances

▸ transfer(dest: Address, value: Balance)

▸ setBalance(who: Address, free: Balance, reserved: Balance)


timestamp

▸ set(now: Moment)


session

▸ setKey(key: SessionKey)

▸ setLength(new: BlockNumber)

▸ forceNewSession(apply_rewards: bool)


staking

▸ stake()

▸ unstake(intentions_index: u32)

▸ nominate(target: Address)

▸ unnominate(target_index: u32)

▸ registerPreferences(intentions_index: u32, prefs: ValidatorPrefs)

▸ setSessionsPerEra(new: BlockNumber)

▸ setBondingDuration(new: BlockNumber)

▸ setValidatorCount(new: u32)

▸ forceNewEra(apply_rewards: bool)

▸ setOfflineSlashGrace(new: u32)


democracy

▸ propose(proposal: Proposal, value: Balance)

▸ second(proposal: PropIndex)

▸ vote(ref_index: ReferendumIndex, approve_proposal: bool)

▸ startReferendum(proposal: Proposal, vote_threshold: VoteThreshold)

▸ cancelReferendum(ref_index: ReferendumIndex)


council

▸ setApprovals(votes: Vec<bool>, index: VoteIndex)

▸ reapInactiveVoter(reporter_index: u32, who: Address, who_index: u32, assumed_vote_index: VoteIndex)

▸ retractVoter(index: u32)

▸ submitCandidacy(slot: u32)

▸ presentWinner(candidate: Address, total: Balance, index: VoteIndex)

▸ setDesiredSeats(count: u32)

▸ removeMember(who: Address)

▸ setPresentationDuration(count: BlockNumber)

▸ setTermDuration(count: BlockNumber)


councilVoting

▸ propose(proposal: Proposal)

▸ vote(proposal: Hash, approve: bool)

▸ veto(proposal_hash: Hash)

▸ setCooloffPeriod(blocks: BlockNumber)

▸ setVotingPeriod(blocks: BlockNumber)


councilMotions

▸ propose(threshold: u32, proposal: Proposal)

▸ vote(proposal: Hash, index: ProposalIndex, approve: bool)


treasury

▸ proposeSpend(value: Balance, beneficiary: AccountId)

▸ setPot(new_pot: Balance)

▸ configure(proposal_bond: Permill, proposal_bond_minimum: Balance, spend_period: BlockNumber, burn: Permill)

▸ rejectProposal(roposal_id: ProposalIndex)

▸ approveProposal(proposal_id: ProposalIndex)


contract

▸ call(dest: AccountId, value: Balance, gas_limit: Gas, data: Bytes)

▸ create(value: Balance, gas_limit: Gas, init_code: Bytes, data: Bytes)

results matching ""

    No results matching ""