Skip to content

GasToken Integration #170

@gakonst

Description

@gakonst

Use https://github.com/projectchicago/gastoken/tree/master/contract mint/burn to mint gastoken during low periods, store it in the contract, and allow the operator to make cheap (free) submitBlock calls

https://github.com/projectchicago/gastoken/blob/master/contract/GST1.sol#L97

https://blog.polymath.network/turning-smart-contracts-into-gastoken-factories-3e947f664e8b

Add mint, freeStorage function. freeStorage will be called in SubmitBlock to pay for gas. Add test which shows that the gas cost of SubmitBlock was 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions