Documentation ¶
Index ¶
- Constants
- Variables
- func GetCurrentProtocol() string
- func GetProtoSymLink(protocol string) (string, error)
- func IsAddress(str string) bool
- func IsAddressLazy(address string) bool
- func IsBakerHash(str string) bool
- func IsContract(str string) bool
- func IsContractLazy(str string) bool
- func IsLiteral(prim string) bool
- func IsOperationHash(str string) bool
- func IsRollupAddressLazy(address string) bool
- func IsSmartRollupAddressLazy(address string) bool
- func IsSmartRollupHash(str string) bool
- func SymLink() (string, error)
- type RawScript
Constants ¶
View Source
const ( SymLinkAlpha = "alpha" SymLinkBabylon = "babylon" SymLinkJakarta = "jakarta" )
Symbolic links
Variables ¶
View Source
var ChainID = map[string]string{
"NetXdQprcVkpaWU": "mainnet",
"NetXZSsxBpMQeAT": "hangzhou2net",
"NetXnHfVqm9iesp": "ithacanet",
"NetXLH1uAxK7CCh": "jakarta",
"NetXi2ZagzEsXbZ": "kathmandunet",
"NetXizpkH94bocH": "limanet",
"NetXQw6nWSnrJ5t": "mumbainet",
"NetXyuzvDo2Ugzb": "nairobinet",
"NetXxWsskGahzQB": "oxfordnet",
"NetXR64bNAYkP4S": "parisnet",
"NetXuTeGinLEqxp": "quebecnet",
}
Functions ¶
func GetCurrentProtocol ¶
func GetCurrentProtocol() string
GetCurrentProtocol - returns last supported protocol
func IsSmartRollupAddressLazy ¶
IsRollupAddressLazy -
Types ¶
Click to show internal directories.
Click to hide internal directories.