Peep an EIP - Native Sponsored Transactions
slides: https://tinyurl.com/peep-an-eip-3074
Who am I?
Sam Wilson�developer for quilt @ consensys ag
twitter: _SamWilsn_�github: SamWilsn
Who Else?
What are Sponsored Transactions?
the account paying for gas
!=
the account performing the action
Use Cases
Paying for Gas with Tokens
using non-eth assets like dai or weth to pay for gas
Subsidized dApps
dapps paying for transactions on behalf of their users
Off-Chain Fee Payment
paying for transactions in fiat or other cryptocurrencies
Automated Gas Pricing
resubmitting transactions with optimal gas price
Current Situation
EIP-3074: Summary
that’s all!�thanks for coming.
really?
no, but i love cliché jokes
the details are a bit messier
but not by much!
EIP-3074: Definitions
Sponsor
pays for gas & submits transaction
Sponsee
wants to get a transaction on-chain
Invoker
uses the CALLFROM instruction to call the callee
Callee
what the sponsee ultimately wants to interact with
Externally Owned Accounts
Contracts
off to the eip!
EIP-3074: depthLeft
writing an ungriefable invoker has a lot of these edge cases
back to the eip!
EIP-3074: Arguments
CALLFROM
Package�
EIP-3074: Invoker
poorly written or malicious invokers can do pretty much anything with an EOA
back again
EIP-3074: valid vs. success
Valid
sponsor attributable faults
Success
sponsee attributable faults
sponsor is not reimbursed
sponsor is reimbursed
one more time
EIP-3074: Status
Questions?
Relevant Links