Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Default ¶
type Default struct { }
Default returns hard coded gas usage for all slots. In theory can use the eth client to esimtate it, but this requires a valid nonce and a staked addr so not that easy. Also the client estimation doesn't account for refunds due to freeing up storage slots so this needs to be tracked separately and further complicates the logic.
func NewDefault ¶
func NewDefault() *Default
Click to show internal directories.
Click to hide internal directories.