git.delta.rocks / unique-network / refs/commits / bdb29fd7c487

difftreelog

source

doc/sponsoring.md620 Bsourcehistory
1# Sponsoring23![Sponsoring flow](./sponsoring-flow.drawio.svg)45## Implementation67If you need to add sponsoring for pallet call, you should implement `SponsorshipHandler<AccountId, Call, ()>`, see `UniqueSponsorshipHandler` for example.89If you need to add sponsoring for EVM contract call, you should implement `SponsorshipHandler<CrossAccountId, (H160, Vec<u8>), CallContext>`, see `UniqueEthSponsorshipHandler` for example.1011## EVM bridging1213In case if Ethereum call is being called using substrate `evm.call` extrinsic, `BridgeSponsorshipHandler` is used to convert between two different `SponsorshipHandler` types