--- /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 callsEVM callsExtrinsicsExtrinsicsUserUserSubstrateSubstrateEthereumEthereumpallet_evm::TransactionValidityHackpallet_evm::...pallet_charge_evm_transaction::Config::SponsorshipHandlerpallet_charge_evm_tr...pallet_charge_evm_transaction::BridgeSponsorshipHandlerpallet_charge_evm_transaction::...pallet_sponsoring::ChargeTransactionPaymentpallet_sponsoring::...tx.otherstx.otherstx.evm.calltx.evm.callpallet_sponsoring::Config::SponsorshipHandlerpallet_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 - - + ## Implementation
+ + pallet_charge_evm_transaction:: + + Config::EvmSponsorshipHandler + + +
pallet_charge_evm_transaction::Config::SponsorshipHandler