package model
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- final case class Amount(value: U256) extends Product with Serializable
- final case class ApiKey extends Product with Serializable
- final case class Balance(balance: Amount, balanceHint: Hint, lockedBalance: Amount, lockedBalanceHint: Hint, utxoNum: Int, warning: Option[String] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- 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], nonce: ByteString, version: Byte, depStateHash: Hash, txsHash: Hash, target: ByteString) 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 BuildContractDeployScriptTx(fromPublicKey: PublicKey, bytecode: ByteString, initialFields: AVector[Val] = AVector.empty, alphAmount: Option[Amount] = None, issueTokenAmount: Option[Amount] = None, gas: Option[GasBox] = None, gasPrice: Option[GasPrice] = None, utxosLimit: Option[Int] = None) extends UtxoBasedModel with Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BuildContractDeployScriptTxResult(group: Int, unsignedTx: String, txId: Hash, contractAddress: Contract) extends Product with Serializable
- final case class BuildMultisig(fromAddress: Asset, fromPublicKeys: AVector[PublicKey], destinations: AVector[Destination], gas: Option[GasBox] = None, gasPrice: Option[GasPrice] = None, utxosLimit: Option[Int] = 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 BuildScriptTx(fromPublicKey: PublicKey, bytecode: ByteString, alphAmount: Option[Amount] = None, tokens: Option[AVector[Token]] = None, gas: Option[GasBox] = None, gasPrice: Option[GasPrice] = None, utxosLimit: Option[Int] = None) extends UtxoBasedModel with Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BuildScriptTxResult(unsignedTx: String, txId: Hash, group: Int) extends Product with Serializable
- final case class BuildSweepAddressTransactions(fromPublicKey: PublicKey, toAddress: Asset, lockTime: Option[TimeStamp] = None, gas: Option[GasBox] = None, gasPrice: Option[GasPrice] = None, utxosLimit: Option[Int] = None) extends UtxoBasedModel with Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BuildSweepAddressTransactionsResult(unsignedTxs: AVector[SweepAddressTransaction], fromGroup: Int, toGroup: Int) extends Product with Serializable
- final case class BuildTransaction(fromPublicKey: PublicKey, destinations: AVector[Destination], utxos: Option[AVector[OutputRef]] = None, gas: Option[GasBox] = None, gasPrice: Option[GasPrice] = None, utxosLimit: Option[Int] = None) extends UtxoBasedModel with Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class BuildTransactionResult(unsignedTx: String, gasAmount: GasBox, gasPrice: GasPrice, txId: Hash, fromGroup: Int, toGroup: Int) extends Product with Serializable
- final case class ChainInfo(currentHeight: Int) extends Product with Serializable
- final case class CompileResult(bytecode: ByteString, codeHash: Hash, fields: Fields, functions: AVector[Function], events: AVector[CompileResult.Event]) 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 ContractState(address: Contract, bytecode: StatefulContract, codeHash: Hash, fields: AVector[Val] = AVector.empty, asset: Asset) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class DecodeTransaction(unsignedTx: String) extends Product with Serializable
- final case class Destination(address: Asset, alphAmount: Amount, tokens: Option[AVector[Token]] = None, lockTime: Option[TimeStamp] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- sealed trait DiscoveryAction extends AnyRef
- final case class Event(blockHash: BlockHash, contractAddress: Contract, txId: Hash, eventIndex: Int, fields: AVector[Val]) extends Product with Serializable
- final case class Events(chainFrom: Int, chainTo: Int, events: AVector[Event]) extends Product with Serializable
- final case class ExportFile(filename: String) extends Product with Serializable
- final case class FetchResponse(blocks: AVector[AVector[BlockEntry]]) extends Product with Serializable
- final case class GetBalance(address: Asset, utxosLimit: Option[Int] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- 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: Address) 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 HashRateResponse(hashrate: String) extends AnyVal with 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, clientVersion: String) 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(version: ReleaseVersion, buildInfo: BuildInfo, upnp: Boolean, externalAddress: Option[InetSocketAddress]) 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 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 SweepAddressTransaction(txId: Hash, unsignedTx: String, gasAmount: GasBox, gasPrice: GasPrice) extends Product with Serializable
- final case class TestContract(group: Option[Int] = None, address: Option[Contract] = None, bytecode: StatefulContract, initialFields: AVector[Val] = TestContract.initialFieldsDefault, initialAsset: Option[Asset] = None, testMethodIndex: Option[Int] = None, testArgs: AVector[Val] = TestContract.testArgsDefault, existingContracts: Option[AVector[ContractState]] = None, inputAssets: Option[AVector[InputAsset]] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class TestContractResult(returns: AVector[Val], gasUsed: Int, contracts: AVector[ContractState], txOutputs: AVector[Output], events: AVector[Event]) extends Product with Serializable
- final case class TimeInterval(from: TimeStamp, toOpt: Option[TimeStamp]) extends Product with Serializable
- final case class TimeSpan(millis: Long) extends AnyVal with 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: Amount, tokens: AVector[Token], lockTime: TimeStamp, additionalData: ByteString) extends Product with Serializable
- final case class UTXOs(utxos: AVector[UTXO], warning: Option[String] = None) extends Product with Serializable
- Annotations
- @SuppressWarnings()
- final case class UnconfirmedTransactions(fromGroup: Int, toGroup: Int, unconfirmedTransactions: AVector[Tx]) extends Product with Serializable
- trait UtxoBasedModel extends AnyRef
- sealed trait Val extends AnyRef
- final case class VerifySignature(data: ByteString, signature: Signature, publicKey: PublicKey) extends Product with Serializable
Value Members
- object Amount extends Serializable
- object ApiKey extends Serializable
- object Balance extends Serializable
- object BlockEntry extends Serializable
- object BlockHeaderEntry extends Serializable
- object BuildContractDeployScriptTxResult extends Serializable
- object BuildMultisigAddress extends Serializable
- object BuildScriptTxResult extends Serializable
- object BuildSweepAddressTransactionsResult extends Serializable
- object BuildTransactionResult extends Serializable
- object Compile
- object CompileResult extends Serializable
- object ContractState extends Serializable
- object DiscoveryAction
- object Events extends Serializable
- object Input
- case object MemPooled extends TxStatus with Product with Serializable
- Annotations
- @key("mem-pooled")
- object MinerAction
- object MisbehaviorAction
- object NodeInfo extends Serializable
- case object NotFound extends TxStatus with Product with Serializable
- Annotations
- @key("not-found")
- object Output
- object OutputRef extends Serializable
- object PeerStatus
- object SweepAddressTransaction extends Serializable
- object TestContract extends Serializable
- object TimeInterval extends Serializable
- object Tx extends Serializable
- object UTXO extends Serializable
- object UTXOs extends Serializable
- object Val