graphprotocol / contracts

Contracts repository for The Graph protocol

Home Page:https://thegraph.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

staking: allow staking and delegating using a signed message

tmigone opened this issue · comments

Instead of the usual approve + delegate/stage workflow we could make use of GRT's permit feature and combine both actions in a single transaction. User would call stakeSig/delegateSig with a signed message that would approve token usage via an internal call to permit function.