# Packages
Package bitutil implements fast bitwise operations.
Package compiler wraps the Solidity and Vyper compiler executables (solc; vyper).
No description provided by the author
Package hexutil implements hex encoding with 0x prefix.
Package math provides integer math utilities.
Package mclock is a wrapper for a monotonic clock source.
Package prque implements a priority queue data structure supporting arbitrary value types and int64 priorities.
# Functions
AbsolutePath returns datadir + filename, or filename if it is absolute.
BigToAddress returns Address with byte values of b.
BigToHash sets byte representation of b to hash.
No description provided by the author
Bytes2Hex returns the hexadecimal encoding of d.
BytesToAddress returns Address with value b.
BytesToHash sets b to hash.
BytesToInt wacom.
BytesToUint32 wacom.
BytesToUint64 wacom.
No description provided by the author
CopyBytes returns an exact copy of the provided bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FileExist checks if a file exists at filePath.
FromHex returns the bytes represented by the hexadecimal string s.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Hex2Bytes returns the bytes represented by the hexadecimal string str.
Hex2BytesFixed returns bytes of a specified fixed length flen.
HexToAddress returns Address with byte values of s.
HexToHash sets byte representation of s to hash.
No description provided by the author
No description provided by the author
IntToBytes wacom.
No description provided by the author
No description provided by the author
No description provided by the author
IsHexAddress verifies whether a string can represent a valid hex-encoded Ethereum address or not.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LeftPadBytes zero-pads slice to the left up to length l.
LoadJSON reads the given file and unmarshals its content.
MakeName creates a node name that follows the ethereum convention for such names.
No description provided by the author
No description provided by the author
NewKeyValue wacom.
NewMixedcaseAddress constructor (mainly for testing).
NewMixedcaseAddressFromString is mainly meant for unit-testing.
NewTimeLock wacom.
No description provided by the author
PrintDepricationWarning prinst the given string in a box using fmt.Println.
Report gives off a warning requesting the user to submit an issue to the github tracker.
RightPadBytes zero-pads slice to the right up to length l.
TicketPrice place holder for ticket price.
ToHex returns the hex representation of b, prefixed with '0x'.
ToHexArray creates a array of hex-string based on []byte.
TrimLeftZeroes returns a subslice of s without leading zeroes.
Uint32ToBytes wacom.
Uint64ToBytes wacom.
# Constants
AddressLength is the expected length of the address.
TimeLockTypes wacom.
AssetValueChangeFunc wacom.
BuyTicketFunc wacom.
EmptyFunc wacom.
No description provided by the author
0.
1.
4.
5.
2.
3.
GenAssetFunc wacom.
GenNotationFunc wacom.
HashLength is the expected length of the hash.
MakeMultiSwapFunc wacom.
MakeSwapFunc wacom.
MakeSwapFuncExt wacom.
OldAssetValueChangeFunc wacom (deprecated).
No description provided by the author
No description provided by the author
No description provided by the author
RecallMultiSwapFunc wacom.
RecallSwapFunc wacom.
ReportIllegalFunc wacom.
SendAssetFunc wacom.
TimeLockTypes wacom.
No description provided by the author
No description provided by the author
No description provided by the author
TakeMultiSwapFunc wacom.
TakeSwapFunc wacom.
TakeSwapFuncExt wacom.
TimeLockForever wacom.
TimeLockFunc wacom.
TimeLockNow wacom.
TimeLockTypes wacom.
TimeLockTypes wacom.
UnknownFunc.
# Variables
AssetKeyAddress wacom.
AutoBuyTicket wacom.
AutoBuyTicketChan wacom.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FSNCallAddress wacom.
= 0x8a9c8666f57c1ade38343d03dc1d891f209af2efb28c551a4a2c96160e7a2a6b.
= 0xf9c07f165baf6a7868a16aa9de8b6f41fe0849ba33af6ece038847047c6606e7.
mainnet fork heights.
No description provided by the author
MultiSwapKeyAddress wacom.
NotationKeyAddress wacom.
OwnerUSANAssetID wacom.
= 0xda28283ac3f28139b37690353d09e3b910702b960661a29c039ad0e5b6460329.
ReportIllegal wacom.
ReportIllegalAddress wacom.
SwapKeyAddress wacom.
SystemAsset wacom.
SystemAssetID wacom.
testnet fork heights.
No description provided by the author
TicketKeyAddress wacom.
TicketLogAddress wacom (deprecated).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Asset wacom.
No description provided by the author
AssetValueChangeExParam wacom.
BuyTicketArgs wacom.
BuyTicketParam wacom.
No description provided by the author
param type /////////////////////// FSNCallParam wacom.
FusionBaseArgs wacom.
GenAssetArgs wacom.
GenAssetParam wacom.
KeyValue wacom.
MakeMultiSwapArgs wacom.
MakeMultiSwapParam wacom.
MakeSwapArgs wacom.
MakeSwapParam wacom.
MixedcaseAddress retains the original string, which may or may not be correctly checksummed.
MultiSwap wacom.
RecallMultiSwapArgs wacom.
RecallMultiSwapParam wacom.
RecallSwapArgs wacom.
RecallSwapParam wacom.
SendAssetArgs wacom.
SendAssetParam wacom.
Swap wacom.
TakeSwapArgs wacom.
TakeMultiSwapParam wacom.
TakeSwapArgs wacom.
TakeSwapParam wacom.
No description provided by the author
Ticket wacom.
No description provided by the author
No description provided by the author
TimeLock /////////////////////////// TimeLock wacom.
TimeLockArgs wacom.
TimeLockItem wacom.
TimeLockParam wacom.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
Address represents the 20 byte address of an Ethereum account.
No description provided by the author
FSNCallFunc wacom.
Hash represents the 32 byte Keccak256 hash of arbitrary data.
PrettyAge is a pretty printed version of a time.Duration value that rounds the values up to a single most significant unit, days/weeks/years included.
PrettyDuration is a pretty printed version of a time.Duration value that cuts the unnecessary precision off from the formatted textual representation.
StorageSize is a wrapper around a float value that supports user friendly formatting.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TimeLockType wacom.
UnprefixedAddress allows marshaling an Address without 0x prefix.
UnprefixedHash allows marshaling a Hash without 0x prefix.