com.casper.sdk.domain

Type members

Classlikes

case class Account(account_hash: AccountHash, named_keys: Seq[NamedKey], main_purse: URef, associated_keys: Seq[AssociatedKey], action_thresholds: ActionThresholds)

Account Enttiy class : https://docs.rs/casper-types/1.4.4/casper_types/account/struct.Account.html

case class ActionThresholds(deployment: Int, key_management: Int)

ActionThresholds entity class : https://docs.rs/casper-types/1.4.4/casper_types/account/action_thresholds/struct.ActionThresholds.html

case class AssociatedKey(account_hash: AccountHash, weight: Int)

AssociatedKeys entity class : https://docs.rs/casper-types/1.4.4/casper_types/account/associated_keys/struct.AssociatedKeys.html

case class AuctionState(state_root_hash: String, block_height: String, era_validators: Seq[EraValidator], bids: Seq[Bid])

AuctionState entity class

AuctionState entity class

case class Bid(public_key: CLPublicKey, bid: BidInfo)

Bid entity class : https://docs.rs/casper-types/1.4.4/casper_types/system/auction/struct.Bid.html

case class BidInfo(bonding_purse: URef, staked_amount: String, delegation_rate: Int, delegators: Seq[Delegator], inactive: Boolean)

BidInfo entity class

BidInfo entity class

case class Block(hash: String, header: BlockHeader, body: BlockBody, proofs: Seq[BlockProof])

Block entity class

Block entity class

case class BlockBody(proposer: String, deploy_hashes: Seq[String], transfer_hashes: Seq[String])

BlockBody entity class

BlockBody entity class

case class BlockHeader(parent_hash: String, state_root_hash: String, body_hash: String, random_bit: Boolean, accumulated_seed: String, era_end: EraEnd, timestamp: String, era_id: Int, height: Int, protocol_version: String)

BlockHeader entity class

BlockHeader entity class

case class BlockInfo(hash: String, timestamp: String, era_id: BigInt, height: BigInt, state_root_hash: String, creator: String)

BlockInfo entity class

BlockInfo entity class

case class BlockProof(public_key: CLPublicKey, signature: String)

BlockProof entity class

BlockProof entity class

case class Contract(contract_package_hash: String, contract_wasm_hash: String, protocol_version: String, entry_points: Seq[EntryPoint], named_keys: Seq[NamedKey])

Contract entity class

Contract entity class

case class ContractPackage(accessKey: URef, contractVersions: Seq[String], disabledVersions: Seq[String], groups: Seq[Group])

ContractPackage entity class

ContractPackage entity class

case class Delegator(public_key: CLPublicKey, staked_amount: BigInt, bonding_purse: URef, delegatee: String)

Delegator entity class

Delegator entity class

case class DeployHash(hash: Seq[String])

DeployHash entity class

DeployHash entity class

case class EntryPoint(name: String, entry_point_type: String, access: String, ret: CLType, args: Seq[NamedCLTypeArg])

EntryPoint entity class

EntryPoint entity class

case class EraEnd(era_report: EraReport, next_era_validator_weights: Seq[ValidatorWeight])

EraEnd entity class

EraEnd entity class

case class EraInfo(seigniorage_allocations: Set[SeigniorageAllocation])

EraInfa entity class

EraInfa entity class

case class EraReport(equivocators: Seq[String], rewards: Seq[Reward], inactive_validators: Seq[String])

EraReport entity class

EraReport entity class

case class EraSummary(block_hash: String, era_id: Int, stored_value: StoredValue, state_root_hash: String, merkle_proof: String)

EraSummary entity class

EraSummary entity class

case class EraValidator(era_id: Int, validator_weights: Seq[ValidatorWeight])

EraValidator entity class

EraValidator entity class

case class Group(group: String, keys: Seq[URef])

Group

Group

case class NamedCLTypeArg(name: String, cl_type: CLType)

NamedCLTypeArg entity class

NamedCLTypeArg entity class

case class NamedKey(name: String, key: String)

NamedKey entity class

NamedKey entity class

case class NextUpgrade(next_upgrade: String, build_version: String)

NextUpgrade entity class

NextUpgrade entity class

case class NodeStatus(chainspec_name: String, starting_state_root_hash: String, peers: Seq[Peer], last_added_block_info: BlockInfo, our_public_signing_key: CLPublicKey, round_length: String, next_upgrade: NextUpgrade, build_version: String, uptime: String)

NodeStatus entity class

NodeStatus entity class

case class Peer(node_id: String, address: String)

Peer entity class

Peer entity class

case class Reward(validator: CLPublicKey, amount: Int)

Reward entity class

Reward entity class

SeigniorageAllocation entity class

case class SeigniorageAllocationDelegator(delegator_public_key: CLPublicKey, validator_public_key: CLPublicKey, amount: Int)

SeigniorageAllocationDelegator entity class

SeigniorageAllocationDelegator entity class

case class SeigniorageAllocationValidator(validator_public_key: CLPublicKey, amount: Int)

SeigniorageAllocationValidator entity class

SeigniorageAllocationValidator entity class

case class StoredValue(eraInfo: EraInfo, deployInfo: DeployInfo, transfer: Transfer, contractPackage: ContractPackage, Contract: Contract, contractWASM: String, Account: Account, CLValue: CLValue)

StoredValue entity class

StoredValue entity class

case class Transfer(deploy_hash: String, from: AccountHash, to: AccountHash, source: URef, target: URef, amount: BigInt, gas: String, id: BigInt)

Transfer entity class

Transfer entity class

case class ValidatorWeight(public_key: CLPublicKey, weight: String)

ValidatorWeight entity class

ValidatorWeight entity class