starknet

package
v0.0.0-...-e2aa0ca Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProxyStorageVars = map[string][]byte{
	"0x3ad34fad732b51fe0d1a1350f149f21a0cf14a9382c9c6e7b262c4e0c8dbf18": encoding.MustDecodeHex("0x3ad34fad732b51fe0d1a1350f149f21a0cf14a9382c9c6e7b262c4e0c8dbf18"),
	"0xf920571b9f85bdd92a867cfdc73319d0f8836f0e69e06e4c5566b6203f75cc":  encoding.MustDecodeHex("0xf920571b9f85bdd92a867cfdc73319d0f8836f0e69e06e4c5566b6203f75cc"),
	"0x5d2e9527cbeb1a51aa084b0de7501f343b7b1bf24a0c427d6204a7b7988970":  encoding.MustDecodeHex("0x5d2e9527cbeb1a51aa084b0de7501f343b7b1bf24a0c427d6204a7b7988970"),
	"0x21001002be3fcf98f1bc5d249803318acc1a9f29c56cfeba1af82abc7157353": encoding.MustDecodeHex("0x21001002be3fcf98f1bc5d249803318acc1a9f29c56cfeba1af82abc7157353"),
	"0x1c76cd4f3f79786d9e5d1298f47170de4bf0222337c680c5377ec772d3ce96b": encoding.MustDecodeHex("0x1c76cd4f3f79786d9e5d1298f47170de4bf0222337c680c5377ec772d3ce96b"),
	"0x3f1abe37754ee6ca6d8dfa1036089f78a07ebe8f3b1e336cdbf3274d25becd0": encoding.MustDecodeHex("0x3f1abe37754ee6ca6d8dfa1036089f78a07ebe8f3b1e336cdbf3274d25becd0"),
	"0x77b85848fc3ed85d77b0419b680865f5ba95ff985876cd1409a87ee8a1c86a":  encoding.MustDecodeHex("0x77b85848fc3ed85d77b0419b680865f5ba95ff985876cd1409a87ee8a1c86a"),
}

ProxyStorageVars -

Functions

func FindInterfaces

func FindInterfaces(a abi.Abi) ([]string, error)

FindInterfaces - returns names of interfaces found in passed abi

func HashValidator

func HashValidator(hash []byte) bool

HashValidator -

func Interfaces

func Interfaces(dir string) (map[string]abi.Abi, error)

Interfaces - receives predefined interfaces

func LoadBridgedTokens

func LoadBridgedTokens(filename string) (retErr error)

LoadBridgedTokens -

Types

type BridgedToken

type BridgedToken struct {
	Name            string    `json:"name"`
	Symbol          string    `json:"symbol"`
	Decimals        uint64    `json:"decimals"`
	L1TokenAddress  string    `json:"l1_token_address"`
	L2TokenAddress  data.Felt `json:"l2_token_address"`
	L1BridgeAddress string    `json:"l1_bridge_address"`
	L2BridgeAddress data.Felt `json:"l2_bridge_address"`
}

BridgedToken -

func BridgedTokens

func BridgedTokens() []BridgedToken

BridgedTokens -

Jump to

Keyboard shortcuts

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