SmartTokenLabs / attestation

Paper and implementation of blockchain attestations
MIT License
48 stars 10 forks source link

Create solidity library for pure functions in VerifyTicket.sol #277

Open snowwhitedev opened 2 years ago

snowwhitedev commented 2 years ago

It seems we can make solidity library for pure functions in VerifyTicket.sol to optimize smart contract

oleggrib commented 2 years ago

@snowwhitedev how much gas can it save? how can it optimize contract? can you tell me?

snowwhitedev commented 2 years ago

@snowwhitedev how much gas can it save? how can it optimize contract? can you tell me?

I don't expect to reduce gas fee, but I will check gas differences. But we can reduce contract size at least