DemocracyEarth / ubi

Universal Basic Income token.
224 stars 39 forks source link

Implement `_msg.sender()` for meta-transaction for the UBI token #76

Closed n1c01a5 closed 3 years ago

n1c01a5 commented 3 years ago

Maybe it can be useful to inherit the UBI smart contract from BaseRelayRecipient.sol https://github.com/opengsn/gsn/blob/master/packages/contracts/src/BaseRelayRecipient.sol to allow metaTx.

Cons: more gas / more complexity

santisiri commented 3 years ago

This is definitely an interesting feature, but right now we are currently aggressively optimizing gas consumption of the contract as we are ready to deploy on mainnet.