package model
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- final case class ApiKey extends Product with Serializable
- final case class Balance(balance: U256, lockedBalance: U256, utxoNum: Int) extends Product with Serializable
- final case class BlockCandidate(fromGroup: Int, toGroup: Int, headerBlob: ByteString, target: BigInteger, txsBlob: ByteString) extends Product with Serializable
- final case class BlockEntry(hash: BlockHash, timestamp: TimeStamp, chainFrom: Int, chainTo: Int, height: Int, deps: AVector[BlockHash], transactions: AVector[Tx]) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BlockHeaderEntry(hash: BlockHash, timestamp: TimeStamp, chainFrom: Int, chainTo: Int, height: Int, deps: AVector[BlockHash]) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BlockSolution(blockBlob: ByteString, miningCount: U256) extends Product with Serializable
- final case class BuildContract(fromPublicKey: PublicKey, code: String) extends Product with Serializable
- final case class BuildContractResult(unsignedTx: String, hash: Hash, fromGroup: Int, toGroup: Int) extends Product with Serializable
- final case class BuildMultisig(fromAddress: Asset, fromPublicKeys: AVector[PublicKey], destinations: AVector[Destination], gas: Option[GasBox] = None, gasPrice: Option[GasPrice] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BuildMultisigAddress(keys: AVector[PublicKey], mrequired: Int) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BuildSweepAllTransaction(fromPublicKey: PublicKey, toAddress: Asset, lockTime: Option[TimeStamp] = None, gas: Option[GasBox] = None, gasPrice: Option[GasPrice] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BuildTransaction(fromPublicKey: PublicKey, destinations: AVector[Destination], utxos: Option[AVector[OutputRef]] = None, gas: Option[GasBox] = None, gasPrice: Option[GasPrice] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BuildTransactionResult(unsignedTx: String, txId: Hash, fromGroup: Int, toGroup: Int) extends Product with Serializable
- final case class ChainInfo(currentHeight: Int) extends Product with Serializable
- final case class Compile(address: Address, type: String, code: String, state: Option[String] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class CompileResult(code: String) extends Product with Serializable
- final case class Confirmed(blockHash: BlockHash, txIndex: Int, chainConfirmations: Int, fromGroupConfirmations: Int, toGroupConfirmations: Int) extends TxStatus with Product with Serializable
- Annotations
- @key("confirmed")
- final case class DecodeTransaction(unsignedTx: String) extends Product with Serializable
- final case class Destination(address: Asset, amount: U256, tokens: Option[AVector[Token]] = None, lockTime: Option[TimeStamp] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class ExportFile(filename: String) extends Product with Serializable
- final case class FetchRequest(fromTs: TimeStamp, toTs: TimeStamp) extends Product with Serializable
- final case class FetchResponse(blocks: AVector[AVector[BlockEntry]]) extends Product with Serializable
- final case class GetBalance(address: Asset) extends Product with Serializable
- final case class GetBlock(hash: BlockHash) extends Product with Serializable
- final case class GetChainInfo(fromGroup: Int, toGroup: Int) extends Product with Serializable
- final case class GetGroup(address: Asset) extends Product with Serializable
- final case class GetHashesAtHeight(fromGroup: Int, toGroup: Int, height: Int) extends PerChain with Product with Serializable
- final case class Group(group: Int) extends Product with Serializable
- final case class HashesAtHeight(headers: AVector[BlockHash]) extends Product with Serializable
- sealed trait Input extends AnyRef
- final case class InterCliquePeerInfo(cliqueId: CliqueId, brokerId: Int, groupNumPerBroker: Int, address: InetSocketAddress, isSynced: Boolean) extends Product with Serializable
- trait MinerAction extends AnyRef
- final case class MinerAddresses(addresses: AVector[Asset]) extends Product with Serializable
- sealed trait MisbehaviorAction extends AnyRef
- final case class NeighborPeers(peers: AVector[BrokerInfo]) extends Product with Serializable
- final case class NodeInfo(isMining: Boolean) extends Product with Serializable
- sealed trait Output extends AnyRef
- final case class OutputRef(hint: Int, key: Hash) extends Product with Serializable
- final case class PeerAddress(address: InetAddress, restPort: Int, wsPort: Int, minerApiPort: Int) extends Product with Serializable
- final case class PeerMisbehavior(peer: InetAddress, status: PeerStatus) extends Product with Serializable
- sealed trait PeerStatus extends AnyRef
- final case class SelfClique(cliqueId: CliqueId, networkId: NetworkId, numZerosAtLeastInHash: Int, nodes: AVector[PeerAddress], selfReady: Boolean, synced: Boolean, groupNumPerBroker: Int, groups: Int) extends Product with Serializable
- final case class SubmitContract(code: String, tx: String, signature: Signature, fromGroup: Int) extends Product with Serializable
- final case class SubmitMultisig(unsignedTx: String, signatures: AVector[Signature]) extends Product with Serializable
- final case class SubmitTransaction(unsignedTx: String, signature: Signature) extends Product with Serializable
- final case class TimeInterval(from: TimeStamp, to: TimeStamp) extends Product with Serializable
- final case class Token(id: Hash, amount: U256) extends Product with Serializable
- final case class Tx(id: Hash, inputs: AVector[Input], outputs: AVector[Output], gasAmount: Int, gasPrice: U256) extends Product with Serializable
- final case class TxResult(txId: Hash, fromGroup: Int, toGroup: Int) extends Product with Serializable
- sealed trait TxStatus extends AnyRef
- final case class UTXO(ref: OutputRef, amount: U256, tokens: AVector[Token], lockTime: TimeStamp, additionalData: ByteString) extends Product with Serializable
- final case class UnconfirmedTransactions(fromGroup: Int, toGroup: Int, unconfirmedTransactions: AVector[Tx]) extends Product with Serializable
Value Members
- object ApiKey extends Serializable
- object Balance extends Serializable
- object BlockEntry extends Serializable
- object BlockHeaderEntry extends Serializable
- object BuildContractResult extends Serializable
- object BuildMultisigAddress extends Serializable
- object BuildTransactionResult extends Serializable
- object Input
- case object MemPooled extends TxStatus with Product with Serializable
- Annotations
- @key("mem-pooled")
- object MinerAction
- object MisbehaviorAction
- case object NotFound extends TxStatus with Product with Serializable
- Annotations
- @key("not-found")
- object Output
- object OutputRef extends Serializable
- object PeerStatus
- object Tx extends Serializable
- object UTXO extends Serializable