solidity

package
v0.4.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2022 License: Apache-2.0, BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StorageEncodeShortString

func StorageEncodeShortString(s string) (ret common.Hash)

StorageEncodeShortString encodes a short string according to the storage spec.

func StorageEncodeUint8

func StorageEncodeUint8(n uint8) (ret common.Hash)

StorageEncodeUint8 encodes an uint8 according to the storage spec.

func StorageSlot

func StorageSlot(n uint8) common.Hash

StorageSlot returns the key for the given storage slot #. See https://docs.soliditylang.org/en/v0.8.16/internals/layout_in_storage.html

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL