pub type PolymeshContractsEvent = PolymeshContractsEvent<H256, AccountId>;
Aliased Type§
enum PolymeshContractsEvent {
ApiHashUpdated(Api, ChainVersion, H256),
SCRuntimeCall(AccountId, ExtrinsicId),
}
Variants§
ApiHashUpdated(Api, ChainVersion, H256)
Emitted when a contract starts supporting a new API upgrade.
Contains the [Api
], [ChainVersion
], and the bytes for the code hash.
SCRuntimeCall(AccountId, ExtrinsicId)
Emitted when a contract calls into the runtime.
Contains the account id set by the contract owner and the [ExtrinsicId
].