From 2842dae99c18a57e77b40a6f0efac6cb4547dcf5 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 08 Sep 2022 12:51:08 +0000 Subject: [PATCH] doc: evm config associated type is EvmSponsorshipHandler --- --- /dev/null +++ b/doc/sponsoring-flow.drawio.svg @@ -0,0 +1,297 @@ + + + + + + + +
+
+
+ EVM calls +
+
+
+
+ + EVM calls + +
+
+ + + + +
+
+
+
+ Extrinsics +
+
+
+
+
+ + Extrinsics + +
+
+ + + + + + + + +
+
+
+
+ User +
+
+
+
+
+ + User + +
+
+ + + + + + +
+
+
+
+ Substrate +
+
+
+
+
+ + Substrate + +
+
+ + + + + + +
+
+
+
+ Ethereum +
+
+
+
+
+ + Ethereum + +
+
+ + + + + + +
+
+
+ pallet_evm:: +
+ TransactionValidityHack +
+
+
+
+ + pallet_evm::... + +
+
+ + + + + + +
+
+
+

+ + pallet_charge_evm_transaction:: +
+ Config::EvmSponsorshipHandler +
+
+

+
+
+
+
+ + pallet_charge_evm_tr... + +
+
+ + + + + + +
+
+
+ pallet_charge_evm_transaction:: +
+ BridgeSponsorshipHandler +
+
+
+
+ + pallet_charge_evm_transaction::... + +
+
+ + + + + + +
+
+
+ pallet_sponsoring:: +
+ ChargeTransactionPayment +
+
+
+
+
+ + pallet_sponsoring::... + +
+
+ + + + + +
+
+
+ tx.others +
+
+
+
+ + tx.others + +
+
+ + + + + +
+
+
+
+ tx.evm.call +
+
+
+
+
+ + tx.evm.call + +
+
+ + + + +
+
+
+
+ pallet_sponsoring:: +
+ Config::SponsorshipHandler +
+
+
+
+
+ + pallet_sponsoring::... + +
+
+ + + + +
+
+
+ SponsorshipHandler<H160, (H160, Vec<u8>), CallContext> +
+
+
+
+ + SponsorshipHandler<H160, (H160, Vec<u8>), CallContext> + +
+
+ + + + +
+
+
+ SponsorshipHandler<AccountId, Call, ()> +
+
+
+
+ + SponsorshipHandler<AccountId, Call, ()> + +
+
+
+ + + + + Viewer does not support full SVG 1.1 + + + +
--- a/doc/sponsoring-flow.svg +++ /dev/null @@ -1,3 +0,0 @@ - - -
EVM calls
EVM calls
Extrinsics
Extrinsics
User
User
Substrate
Substrate
Ethereum
Ethereum
pallet_evm::
TransactionValidityHack
pallet_evm::...

pallet_charge_evm_transaction::
Config::SponsorshipHandler

pallet_charge_evm_tr...
pallet_charge_evm_transaction::
BridgeSponsorshipHandler
pallet_charge_evm_transaction::...
pallet_sponsoring::
ChargeTransactionPayment
pallet_sponsoring::...
tx.others
tx.others
tx.evm.call
tx.evm.call
pallet_sponsoring::
Config::SponsorshipHandler
pallet_sponsoring::...
SponsorshipHandler<H160, (H160, Vec<u8>), CallContext>
SponsorshipHandler<H160, (H160, Vec<u8>), CallContext>
SponsorshipHandler<AccountId, Call, ()>
SponsorshipHandler<AccountId, Call, ()>
Viewer does not support full SVG 1.1
\ No newline at end of file --- a/doc/sponsoring.md +++ b/doc/sponsoring.md @@ -1,7 +1,6 @@ # Sponsoring - -![Sponsoring flow](./sponsoring-flow.svg) +![Sponsoring flow](./sponsoring-flow.drawio.svg) ## Implementation -- gitstuff