Newer
Older
old: Option<T::AccountId>
new: T::AccountId
```
</details>
</li>
<li>
<details>
<summary>
<code>KeyRemoved()</code> - 2</summary>
The key was permanently removed.
```rust
no args
```
</details>
</li>
<li>
<details>
<summary>
<code>SudoAsDone(sudo_result)</code> - 3</summary>
A [sudo_as](Pallet::sudo_as) call just took place.
```rust
sudo_result: DispatchResult
```
</details>
</li>
</ul>
</li>
<li>UpgradeOrigin - 21
<ul>
<li>
<details>
<summary>
<code>DispatchedAsRoot(result)</code> - 0</summary>
A call was dispatched as root from an upgradable origin
```rust
result: DispatchResult
```
</details>
</li>
</ul>
</li>
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
<ul>
<li>
<details>
<summary>
<code>Noted(hash)</code> - 0</summary>
A preimage has been noted.
```rust
hash: T::Hash
```
</details>
</li>
<li>
<details>
<summary>
<code>Requested(hash)</code> - 1</summary>
A preimage has been requested.
```rust
hash: T::Hash
```
</details>
</li>
<li>
<details>
<summary>
<code>Cleared(hash)</code> - 2</summary>
A preimage has ben cleared.
```rust
hash: T::Hash
```
</details>
</li>
</ul>
</li>
<li>TechnicalCommittee - 23
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
<ul>
<li>
<details>
<summary>
<code>Proposed(account, proposal_index, proposal_hash, threshold)</code> - 0</summary>
A motion (given hash) has been proposed (by given account) with a threshold (given
`MemberCount`).
```rust
account: T::AccountId
proposal_index: ProposalIndex
proposal_hash: T::Hash
threshold: MemberCount
```
</details>
</li>
<li>
<details>
<summary>
<code>Voted(account, proposal_hash, voted, yes, no)</code> - 1</summary>
A motion (given hash) has been voted on by given account, leaving
a tally (yes votes and no votes given respectively as `MemberCount`).
```rust
account: T::AccountId
proposal_hash: T::Hash
voted: bool
yes: MemberCount
no: MemberCount
```
</details>
</li>
<li>
<details>
<summary>
<code>Approved(proposal_hash)</code> - 2</summary>
A motion was approved by the required threshold.
```rust
proposal_hash: T::Hash
```
</details>
</li>
<li>
<details>
<summary>
<code>Disapproved(proposal_hash)</code> - 3</summary>
A motion was not approved by the required threshold.
```rust
proposal_hash: T::Hash
```
</details>
</li>
<li>
<details>
<summary>
<code>Executed(proposal_hash, result)</code> - 4</summary>
A motion was executed; result will be `Ok` if it returned without error.
```rust
proposal_hash: T::Hash
result: DispatchResult
```
</details>
</li>
<li>
<details>
<summary>
<code>MemberExecuted(proposal_hash, result)</code> - 5</summary>
A single member did some action; result will be `Ok` if it returned without error.
```rust
proposal_hash: T::Hash
result: DispatchResult
```
</details>
</li>
<li>
<details>
<summary>
<code>Closed(proposal_hash, yes, no)</code> - 6</summary>
A proposal was closed because its threshold was reached or after its duration was up.
```rust
proposal_hash: T::Hash
yes: MemberCount
no: MemberCount
```
</details>
</li>
</ul>
</li>
<li>UniversalDividend - 30
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
<ul>
<li>
<details>
<summary>
<code>NewUdCreated(amount, index, monetary_mass, members_count)</code> - 0</summary>
A new universal dividend is created.
```rust
amount: BalanceOf<T>
index: UdIndex
monetary_mass: BalanceOf<T>
members_count: BalanceOf<T>
```
</details>
</li>
<li>
<details>
<summary>
<code>UdReevalued(new_ud_amount, monetary_mass, members_count)</code> - 1</summary>
The universal dividend has been re-evaluated.
```rust
new_ud_amount: BalanceOf<T>
monetary_mass: BalanceOf<T>
members_count: BalanceOf<T>
```
</details>
</li>
<li>
<details>
<summary>
<code>UdsAutoPaid(count, total, who)</code> - 2</summary>
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
DUs were automatically transferred as part of a member removal.
```rust
count: UdIndex
total: BalanceOf<T>
who: T::AccountId
```
</details>
</li>
<li>
<details>
<summary>
<code>UdsClaimed(count, total, who)</code> - 3</summary>
A member claimed his UDs.
```rust
count: UdIndex
total: BalanceOf<T>
who: T::AccountId
```
</details>
</li>
</ul>
</li>
<ul>
</ul>
</li>
<ul>
<li>
<details>
<summary>
<code>IdtyCreated(idty_index, owner_key)</code> - 0</summary>
Benjamin Gallois
committed
A new identity has been created.
```rust
idty_index: T::IdtyIndex
owner_key: T::AccountId
```
</details>
</li>
<li>
<details>
<summary>
<code>IdtyConfirmed(idty_index, owner_key, name)</code> - 1</summary>
Benjamin Gallois
committed
An identity has been confirmed by its owner.
```rust
idty_index: T::IdtyIndex
owner_key: T::AccountId
name: IdtyName
```
</details>
</li>
<li>
<details>
<summary>
<code>IdtyValidated(idty_index)</code> - 2</summary>
Benjamin Gallois
committed
An identity has been validated.
```rust
idty_index: T::IdtyIndex
```
</details>
</li>
<li>
<details>
<summary>
<code>IdtyChangedOwnerKey(idty_index, new_owner_key)</code> - 3</summary>
```rust
idty_index: T::IdtyIndex
new_owner_key: T::AccountId
```
</details>
</li>
<li>
<details>
<summary>
<code>IdtyRevoked(idty_index, reason)</code> - 4</summary>
An identity has been revoked.
```rust
idty_index: T::IdtyIndex
reason: RevocationReason
```
</details>
</li>
<li>
<details>
<summary>
<code>IdtyRemoved(idty_index, reason)</code> - 5</summary>
An identity has been removed.
idty_index: T::IdtyIndex
reason: RemovalReason
```
</details>
</li>
<li>
<details>
<summary>
<code>MembershipAdded(member, expire_on)</code> - 0</summary>
A membership was added.
Benjamin Gallois
committed
member: T::IdtyId
expire_on: BlockNumberFor<T>
```
</details>
</li>
<li>
<details>
<summary>
<code>MembershipRenewed(member, expire_on)</code> - 1</summary>
A membership was renewed.
```rust
member: T::IdtyId
expire_on: BlockNumberFor<T>
```
</details>
</li>
<li>
<details>
<summary>
<code>MembershipRemoved(member, reason)</code> - 2</summary>
A membership was removed.
Benjamin Gallois
committed
member: T::IdtyId
reason: MembershipRemovalReason
```
</details>
</li>
</ul>
</li>
<li>Certification - 43
<ul>
<li>
<details>
<summary>
<code>CertAdded(issuer, receiver)</code> - 0</summary>
Benjamin Gallois
committed
A new certification was added.
```rust
issuer: T::IdtyIndex
receiver: T::IdtyIndex
```
</details>
</li>
<li>
<details>
<summary>
<code>CertRemoved(issuer, receiver, expiration)</code> - 1</summary>
Benjamin Gallois
committed
A certification was removed.
```rust
issuer: T::IdtyIndex
receiver: T::IdtyIndex
expiration: bool
```
</details>
</li>
<li>
<details>
<summary>
<code>CertRenewed(issuer, receiver)</code> - 2</summary>
Benjamin Gallois
committed
A certification was renewed.
```rust
issuer: T::IdtyIndex
receiver: T::IdtyIndex
```
</details>
</li>
</ul>
</li>
Benjamin Gallois
committed
<li>
<details>
<summary>
<code>EvaluationRequested(idty_index, who)</code> - 0</summary>
A distance evaluation was requested.
```rust
idty_index: T::IdtyIndex
who: T::AccountId
```
</details>
</li>
<li>
<details>
<summary>
<code>EvaluatedValid(idty_index, distance)</code> - 1</summary>
Distance rule was found valid.
idty_index: T::IdtyIndex
distance: Perbill
```
</details>
</li>
<li>
<details>
<summary>
<code>EvaluatedInvalid(idty_index, distance)</code> - 2</summary>
Distance rule was found invalid.
Benjamin Gallois
committed
idty_index: T::IdtyIndex
distance: Perbill
```
</details>
</li>
Benjamin Gallois
committed
</ul>
</li>
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
<ul>
<li>
<details>
<summary>
<code>NewSwap(account, proof, swap)</code> - 0</summary>
Swap created.
```rust
account: T::AccountId
proof: HashedProof
swap: PendingSwap<T>
```
</details>
</li>
<li>
<details>
<summary>
<code>SwapClaimed(account, proof, success)</code> - 1</summary>
Swap claimed. The last parameter indicates whether the execution succeeds.
```rust
account: T::AccountId
proof: HashedProof
success: bool
```
</details>
</li>
<li>
<details>
<summary>
<code>SwapCancelled(account, proof)</code> - 2</summary>
Swap cancelled.
```rust
account: T::AccountId
proof: HashedProof
```
</details>
</li>
</ul>
</li>
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
<ul>
<li>
<details>
<summary>
<code>NewMultisig(approving, multisig, call_hash)</code> - 0</summary>
A new multisig operation has begun.
```rust
approving: T::AccountId
multisig: T::AccountId
call_hash: CallHash
```
</details>
</li>
<li>
<details>
<summary>
<code>MultisigApproval(approving, timepoint, multisig, call_hash)</code> - 1</summary>
A multisig operation has been approved by someone.
```rust
approving: T::AccountId
timepoint: Timepoint<BlockNumberFor<T>>
multisig: T::AccountId
call_hash: CallHash
```
</details>
</li>
<li>
<details>
<summary>
<code>MultisigExecuted(approving, timepoint, multisig, call_hash, result)</code> - 2</summary>
A multisig operation has been executed.
```rust
approving: T::AccountId
timepoint: Timepoint<BlockNumberFor<T>>
multisig: T::AccountId
call_hash: CallHash
result: DispatchResult
```
</details>
</li>
<li>
<details>
<summary>
<code>MultisigCancelled(cancelling, timepoint, multisig, call_hash)</code> - 3</summary>
A multisig operation has been cancelled.
```rust
cancelling: T::AccountId
timepoint: Timepoint<BlockNumberFor<T>>
multisig: T::AccountId
call_hash: CallHash
```
</details>
</li>
</ul>
</li>
<li>ProvideRandomness - 52
<ul>
<li>
<details>
<summary>
<code>FilledRandomness(request_id, randomness)</code> - 0</summary>
Benjamin Gallois
committed
A request for randomness was fulfilled.
```rust
request_id: RequestId
randomness: H256
```
</details>
</li>
<li>
<details>
<summary>
<code>RequestedRandomness(request_id, salt, r#type)</code> - 1</summary>
Benjamin Gallois
committed
A request for randomness was made.
```rust
request_id: RequestId
salt: H256
r#type: RandomnessType
```
</details>
</li>
</ul>
</li>
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
<ul>
<li>
<details>
<summary>
<code>ProxyExecuted(result)</code> - 0</summary>
A proxy was executed correctly, with the given.
```rust
result: DispatchResult
```
</details>
</li>
<li>
<details>
<summary>
<code>PureCreated(pure, who, proxy_type, disambiguation_index)</code> - 1</summary>
A pure account has been created by new proxy with given
disambiguation index and proxy type.
```rust
pure: T::AccountId
who: T::AccountId
proxy_type: T::ProxyType
disambiguation_index: u16
```
</details>
</li>
<li>
<details>
<summary>
<code>Announced(real, proxy, call_hash)</code> - 2</summary>
An announcement was placed to make a call in the future.
```rust
real: T::AccountId
proxy: T::AccountId
call_hash: CallHashOf<T>
```
</details>
</li>
<li>
<details>
<summary>
<code>ProxyAdded(delegator, delegatee, proxy_type, delay)</code> - 3</summary>
A proxy was added.
```rust
delegator: T::AccountId
delegatee: T::AccountId
proxy_type: T::ProxyType
delay: BlockNumberFor<T>
```
</details>
</li>
<li>
<details>
<summary>
<code>ProxyRemoved(delegator, delegatee, proxy_type, delay)</code> - 4</summary>
A proxy was removed.
```rust
delegator: T::AccountId
delegatee: T::AccountId
proxy_type: T::ProxyType
delay: BlockNumberFor<T>
```
</details>
</li>
</ul>
</li>
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
<ul>
<li>
<details>
<summary>
<code>BatchInterrupted(index, error)</code> - 0</summary>
Batch of dispatches did not complete fully. Index of first failing dispatch given, as
well as the error.
```rust
index: u32
error: DispatchError
```
</details>
</li>
<li>
<details>
<summary>
<code>BatchCompleted()</code> - 1</summary>
Batch of dispatches completed fully with no error.
```rust
no args
```
</details>
</li>
<li>
<details>
<summary>
<code>BatchCompletedWithErrors()</code> - 2</summary>
Batch of dispatches completed but has errors.
```rust
no args
```
</details>
</li>
<li>
<details>
<summary>
<code>ItemCompleted()</code> - 3</summary>
A single item within a Batch of dispatches has completed with no error.
```rust
no args
```
</details>
</li>
<li>
<details>
<summary>
<code>ItemFailed(error)</code> - 4</summary>
A single item within a Batch of dispatches has completed with error.
```rust
error: DispatchError
```
</details>
</li>
<li>
<details>
<summary>
<code>DispatchedAs(result)</code> - 5</summary>
A call was dispatched.
```rust
result: DispatchResult
```
</details>
</li>
</ul>
</li>
<ul>
<li>
<details>
<summary>
<code>Spending(budget_remaining)</code> - 0</summary>
We have ended a spend period and will now allocate funds.
```rust
budget_remaining: BalanceOf<T, I>
```
</details>
</li>
<li>
<details>
<summary>
<code>Awarded(proposal_index, award, account)</code> - 1</summary>
Some funds have been allocated.
```rust
proposal_index: ProposalIndex
award: BalanceOf<T, I>
account: T::AccountId
```
</details>
</li>
<li>
<details>
<summary>
<code>Burnt(burnt_funds)</code> - 2</summary>
Some of our funds have been burnt.
```rust
burnt_funds: BalanceOf<T, I>
```
</details>
</li>
<li>
<details>
<summary>
<code>Rollover(rollover_balance)</code> - 3</summary>
Spending has finished; this is the amount that rolls over until next spend.
```rust
rollover_balance: BalanceOf<T, I>
```
</details>
</li>
<li>
<details>
<summary>
<code>Deposit(value)</code> - 4</summary>
Some funds have been deposited.
```rust
value: BalanceOf<T, I>
```
</details>
</li>
<li>
<details>
<summary>
<code>SpendApproved(proposal_index, amount, beneficiary)</code> - 5</summary>
A new spend proposal has been approved.
```rust
proposal_index: ProposalIndex
amount: BalanceOf<T, I>
beneficiary: T::AccountId
```
</details>
</li>
<li>
<details>
<summary>
<code>UpdatedInactive(reactivated, deactivated)</code> - 6</summary>
The inactive funds of the pallet have been updated.
```rust
reactivated: BalanceOf<T, I>
deactivated: BalanceOf<T, I>
```
</details>
</li>
<li>
<details>
<summary>
<code>AssetSpendApproved(index, asset_kind, amount, beneficiary, valid_from, expire_at)</code> - 7</summary>
A new asset spend proposal has been approved.
```rust
index: SpendIndex
asset_kind: T::AssetKind
amount: AssetBalanceOf<T, I>
beneficiary: T::Beneficiary
valid_from: BlockNumberFor<T>
expire_at: BlockNumberFor<T>
```
</details>
</li>
<li>
<details>
<summary>
<code>AssetSpendVoided(index)</code> - 8</summary>
An approved spend was voided.
```rust
index: SpendIndex
```
</details>
</li>
<li>
<details>
<summary>
<code>Paid(index, payment_id)</code> - 9</summary>
A payment happened.
```rust
index: SpendIndex
payment_id: <T::Paymaster as Pay>::Id
```
</details>
</li>
<li>
<details>
<summary>
<code>PaymentFailed(index, payment_id)</code> - 10</summary>
A payment failed and can be retried.
```rust
index: SpendIndex
payment_id: <T::Paymaster as Pay>::Id
```
</details>
</li>
<li>
<details>
<summary>
<code>SpendProcessed(index)</code> - 11</summary>
A spend was processed and removed from the storage. It might have been successfully
paid or it may have expired.
```rust
index: SpendIndex
```
</details>
</li>
</ul>
</li>