Versions in this module Expand all Collapse all v3 v3.0.0 Jan 20, 2023 Changes in this version + const ScillaIndexSeparator + var PendingTxnError = map[int]string + func ByteArrayToUint(src []byte, offset uint, numericTypeLen uint) *big.Int + func GenerateStorageKey(addr, vname string, indices []string) []byte + func IP2Long(ip string) uint32 + func SkipIfCI(t *testing.T) + func UintToByteArray(dst []byte, offset uint, num *big.Int, numericTypeLen uint) []byte + type AccountBase struct + Balance uint64 + CodeHash []byte + Nonce uint64 + StorageRoot []byte + Version uint32 + func AccountBaseFromBytes(bytes []byte) (*AccountBase, error) + type BIGNumSerialize struct + func (bn *BIGNumSerialize) SetNumber(dst []byte, offset uint, size uint, value *big.Int) []byte + type BalanceAndNonce struct + Balance string + Nonce int64 + type BitVector struct + func (b *BitVector) GetBitVectorLengthInBytes(lengthInBits uint) uint + func (b *BitVector) GetBitVectorSerializedSize(lengthInBits uint) uint + func (b *BitVector) SetBitVector(dst []byte, offset uint, value []bool) []byte + type BlockBase struct + BlockHash [32]byte + Cosigs CoSignatures + Timestamp uint64 + func (b *BlockBase) ToProtobuf() *protobuf.ProtoBlockBase + type BlockHeaderBase struct + CommitteeHash [32]byte + PrevHash [32]byte + Version uint32 + func (b *BlockHeaderBase) ToProtobuf() *protobuf.ProtoBlockHeaderBase + type BlockList struct + Data []HashAndNum + MaxPages int + type BlockchainInfo struct + CurrentDSEpoch string + CurrentMiniEpoch string + DSBlockRate float64 + NumDSBlocks string + NumPeers int + NumTransactions string + NumTxBlocks string + NumTxnsDSEpoch string + NumTxnsTxEpoch string + ShardingStructure ShardingStructure + TransactionRate float64 + TxBlockRate float64 + type CoSignatures struct + B1 []bool + B2 []bool + CS1 *Signature + CS2 *Signature + type ContractValue struct + Type string + VName string + Value interface{} + type DSBlock struct + Header DsHeader + Signature string + type DSBlockHashSet struct + ReservedField [128]byte + ShardingHash []byte + type DSComm struct + CurrentDSEpoch string + CurrentTxEpoch string + DSComm []string + NumOfDSGuard int + type DsBlock struct + BlockHeader *DsBlockHeader + PrevDSHash string + func NewDsBlockFromDsBlockT(dst *DsBlockT) *DsBlock + func (dst *DsBlock) GetRandS() ([]byte, []byte) + func (dst *DsBlock) Serialize() []byte + func (dst *DsBlock) ToProtobuf() []byte + type DsBlockHeader struct + BlockHeaderBase BlockHeaderBase + BlockNum uint64 + DSBlockHashSet DSBlockHashSet + Difficulty uint32 + DsDifficulty uint32 + EpochNum uint64 + GasPrice string + GovDSShardVotesMap map[uint32]Pair + LeaderPubKey string + PoWDSWinners map[string]Peer + PowDSWinnersList []string + ProposalIds []uint32 + RemoveDSNodePubKeys []string + SwInfo SWInfo + func NewDsBlockHeaderFromDsBlockT(dst *DsBlockT) *DsBlockHeader + func (d *DsBlockHeader) Serialize() []byte + func (d *DsBlockHeader) ToProtobuf(concreteVarsOnly bool) *protobuf.ProtoDSBlock_DSBlockHeader + type DsBlockHeaderT struct + BlockNum string + CommitteeHash string + Difficulty uint32 + DifficultyDS uint32 + EpochNum string + GasPrice string + Governance []GovernanceElementT + LeaderPubKey string + MembersEjected []string + PoWWinners []string + PoWWinnersIP []IPAndPort + PrevHash string + ReservedField string + SWInfo *SWInfoT + ShardingHash string + Timestamp string + Version uint32 + type DsBlockT struct + B1 []bool + B2 []bool + CS1 string + Header DsBlockHeaderT + PrevDSHash string + Serialized SerializedT + Signatures string + type DsHeader struct + BlockNum string + Difficulty int + DifficultyDS int + GasPrice string + LeaderPubKey string + PoWWinners []interface{} + PrevHash string + Timestamp string + type ECPointSerialize struct + func (ec *ECPointSerialize) SetNumber(dst []byte, offset uint, size uint, x, y *big.Int) + type EventLog struct + Address string + EventName string + Params []ContractValue + type GovernanceElementT struct + DSVotes []VoteT + ProposalId uint32 + ShardVotes []VoteT + type HashAndNum struct + BlockNum int64 + Hash string + type IPAndPort struct + IP string + Port uint32 + type MicroBlockInfo struct + MicroBlockHash string + MicroBlockShardId int + MicroBlockTxnRootHash string + type MinerInfo struct + DsCommittee []string + Shards []ShardInfo + type MinerInfoDSComm struct + DSNodes *list.List + DSNodesEjected []string + type Pair struct + First map[uint32]uint32 + FirstList []uint32 + Second map[uint32]uint32 + SecondList []uint32 + type PairOfNode struct + PubKey string + type ParamConstructor struct + ArgTypes []interface{} + Arguments []interface{} + Constructor string + type Peer struct + HostName string + IpAddress *big.Int + ListenPortHost uint32 + func (p *Peer) Serialize() []byte + type PendingStatus struct + Code int + Info string + TxnHash string + type PendingTxnResult struct + Code int + Confirmed bool + Info string + type PendingTxns struct + Txns []*PendingStatus + type SWInfo struct + ScillaCommit uint32 + ScillaFixVersion uint32 + ScillaMajorVersion uint32 + ScillaMinorVersion uint32 + ScillaUpgradeDS uint64 + ZilliqaCommit uint32 + ZilliqaFixVersion uint32 + ZilliqaMajorVersion uint32 + ZilliqaMinorVersion uint32 + ZilliqaUpgradeDS uint64 + func (sw *SWInfo) Serialize() []byte + type SWInfoT struct + Scilla []interface{} + Zilliqa []interface{} + type SerializedT struct + Data string + Header string + type ShardInfo struct + Nodes []string + Size int + type ShardingStructure struct + NumPeers []int + type Signature struct + R *big.Int + S *big.Int + func NewFromByteArray(bytes []byte) *Signature + func (s *Signature) Serialize(data []byte, offset uint) []byte + type State int + const Confirmed + const Initialised + const Pending + const Rejected + type StateProof struct + AccountProof []string + StateProof []string + type Transaction struct + Amount string + Code string + ContractAddress string + Data interface{} + GasLimit string + GasPrice string + ID string + Nonce string + Priority bool + Receipt TransactionReceipt + SenderPubKey string + Signature string + Status State + ToAddr string + Version string + type TransactionException struct + Line int + Message string + type TransactionMessage struct + Amount string + Params []ContractValue + Recipient string + Tag string + type TransactionReceipt struct + Accept bool + CumulativeGas string + EpochNum string + Errors interface{} + EventLogs []EventLog + Exceptions []TransactionException + Success bool + Transitions []Transition + type TransactionStatus struct + Amount string + Data string + EpochInserted string + EpochUpdated string + GasLimit string + GasPrice string + ID string + LastModified string + ModificationState int + Nonce string + SenderAddr string + Signature string + Status int + Success bool + ToAddr string + Version string + type TransactionStatusId struct + type Transactions struct + TxnHashes []string + type Transition struct + Accept bool + Addr string + Depth int + Msg TransactionMessage + type TxBlock struct + BlockHeader *TxBlockHeader + func NewTxBlockFromTxBlockT(txt *TxBlockT) *TxBlock + func (t *TxBlock) GetRandS() ([]byte, []byte) + func (t *TxBlock) Hash() []byte + func (t *TxBlock) Serialize() []byte + type TxBlockBodyT struct + B1 []bool + B2 []bool + BlockHash string + CS1 string + HeaderSign string + MicroBlockInfos []MicroBlockInfo + type TxBlockHashSet struct + DeltaHash [32]byte + MbInfoHash [32]byte + StateRootHash [32]byte + type TxBlockHeader struct + BlockHeaderBase BlockHeaderBase + BlockNum uint64 + DSBlockNum uint64 + GasLimit uint64 + GasUsed uint64 + HashSet TxBlockHashSet + MinerPubKey string + NumTxs uint32 + Rewards *big.Int + func NewTxBlockHeaderFromTxBlockT(txt *TxBlockT) *TxBlockHeader + func (t *TxBlockHeader) Serialize() []byte + func (t *TxBlockHeader) ToProtoBuf() *protobuf.ProtoTxBlock_TxBlockHeader + type TxBlockHeaderT struct + BlockNum string + CommitteeHash string + DSBlockNum string + GasLimit string + GasUsed string + MbInfoHash string + MinerPubKey string + NumMicroBlocks int + NumTxns uint32 + PrevBlockHash string + Rewards string + StateDeltaHash string + StateRootHash string + Timestamp string + TxnFees string + Version int + type TxBlockOrDsBlock struct + DsBlock *DsBlock + TxBlock *TxBlock + type TxBlockT struct + Body TxBlockBodyT + Header TxBlockHeaderT + type VoteT struct + VoteCount uint32 + VoteValue uint32 Other modules containing this package github.com/Zilliqa/gozilliqa-sdk