Module Contents
alltypes
Module Contents
object ANSIProgressRenderer
interface APIServer
Module Contents
abstract fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
abstract fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
abstract fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
abstract fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
abstract fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
abstract fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
abstract fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
abstract fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
abstract fun queryStates(query: StatesQuery): List<StateRef>
abstract fun serverTime(): LocalDateTime
class APIServerImpl : APIServer
Module Contents
APIServerImpl(node: AbstractNode)
fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
val node: AbstractNode
fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
fun queryStates(query: StatesQuery): List<StateRef>
fun serverTime(): LocalDateTime
abstract class AbstractNode
abstract class AbstractNodeService
abstract class AbstractRequestMessage
interface AcceptsFileUpload
enum class AccrualAdjustment
enum class AddOrRemove
interface AffinityExecutor : Executor
interface AllPossibleRecipients : MessageRecipients
data class Amount : Comparable<Amount>
class ArtemisMessagingService : MessagingService
interface Attachment : NamedByHash
class AttachmentDownloadServlet
interface AttachmentStorage
class AttachmentsClassLoader : SecureClassLoader
data class AuthenticatedObject<out T : Any>
object AutoOfferProtocol
class BriefLogFormatter : Formatter
open class BusinessCalendar
class Cash : Contract
object CityDatabase
data class Command
interface CommandData
class CommercialPaper : Contract
class Config
class ConfigurationException : Exception
interface Contract
data class ContractClassRef : ContractDefRef
interface ContractDefRef
data class ContractLedgerRef : ContractDefRef
interface ContractState
class CrowdFund : Contract
class CubicSplineInterpolator : Interpolator
class DataUploadServlet
class DataVendingService : AbstractNodeService
enum class DateOffset
enum class DateRollConvention
enum class DateRollDirection
enum class DayCountBasisDay
enum class DayCountBasisYear
interface DealState : LinearState
class DemoClock : Clock
open class DigitalSignature : OpaqueBytes
class DummyContract : Contract
class DummyPublicKey : PublicKey, Comparable<PublicKey>
object DummyTimestampingAuthority
class E2ETestKeyManagementService : KeyManagementService
object Emoji
open class Event
object ExitServerProtocol
data class Expression
object ExpressionDeserializer
object ExpressionSerializer
class FetchAttachmentsProtocol : FetchDataProtocol<Attachment, ByteArray>
abstract class FetchDataProtocol<T : NamedByHash, W : Any> : ProtocolLogic<Result<T>>
class FetchTransactionsProtocol : FetchDataProtocol<SignedTransaction, SignedTransaction>
data class Fix : CommandData
data class FixOf
interface FixableDealState : DealState
class FixedRate : Rate
class FixedRatePaymentEvent : RatePaymentEvent
open class FloatingRate : Rate
class FloatingRatePaymentEvent : RatePaymentEvent
enum class Frequency
class IRSSimulation : Simulation
interface IdentityService
class ImmutableClassSerializer<T : Any>
class InMemoryIdentityService : IdentityService
class InMemoryMessagingNetwork
open class InMemoryNetworkMapCache : NetworkMapCache
class InMemoryNetworkMapService : NetworkMapService, AbstractNodeService
class InsufficientBalanceException : Exception
class InterestRateSwap : Contract
Module Contents
InterestRateSwap()
data class Calculation
interface Commands : CommandData
data class Common
Module Contents
Common(baseCurrency: Currency, eligibleCurrency: Currency, eligibleCreditSupport: String, independentAmounts: Amount, threshold: Amount, minimumTransferAmount: Amount, rounding: Amount, valuationDate: String, notificationTime: String, resolutionTime: String, interestRate: ReferenceRate, addressForTransfers: String, exposure: UnknownType, localBusinessDay: BusinessCalendar, dailyInterestAmount: Expression, tradeID: String, hashLegalDocs: String)
val addressForTransfers: String
val baseCurrency: Currency
val dailyInterestAmount: Expression
val eligibleCreditSupport: String
val eligibleCurrency: Currency
val exposure: UnknownType
val hashLegalDocs: String
val independentAmounts: Amount
val interestRate: ReferenceRate
val localBusinessDay: BusinessCalendar
val minimumTransferAmount: Amount
val notificationTime: String
val resolutionTime: String
val rounding: Amount
val threshold: Amount
val tradeID: String
val valuationDate: String
abstract class CommonLeg
Module Contents
CommonLeg(notional: Amount, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment)
var dayCountBasisDay: DayCountBasisDay
var dayCountBasisYear: DayCountBasisYear
var dayInMonth: Int
val effectiveDate: LocalDate
val effectiveDateAdjustment: DateRollConvention?
open fun equals(other: Any?): Boolean
open fun hashCode(): Int
var interestPeriodAdjustment: AccrualAdjustment
val notional: Amount
var paymentCalendar: BusinessCalendar
var paymentDelay: Int
val paymentFrequency: Frequency
var paymentRule: PaymentRule
val terminationDate: LocalDate
val terminationDateAdjustment: DateRollConvention?
open fun toString(): String
class FixedLeg : CommonLeg
Module Contents
FixedLeg(fixedRatePayer: Party, notional: Amount, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment, fixedRate: FixedRate, rollConvention: DateRollConvention)
open fun equals(other: Any?): Boolean
var fixedRate: FixedRate
var fixedRatePayer: Party
open fun hashCode(): Int
var rollConvention: DateRollConvention
open fun toString(): String
class FloatingLeg : CommonLeg
Module Contents
FloatingLeg(floatingRatePayer: Party, notional: Amount, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment, rollConvention: DateRollConvention, fixingRollConvention: DateRollConvention, resetDayInMonth: Int, fixingPeriod: DateOffset, resetRule: PaymentRule, fixingsPerPayment: Frequency, fixingCalendar: BusinessCalendar, index: String, indexSource: String, indexTenor: Tenor)
open fun equals(other: Any?): Boolean
var fixingCalendar: BusinessCalendar
var fixingPeriod: DateOffset
var fixingRollConvention: DateRollConvention
var fixingsPerPayment: Frequency
var floatingRatePayer: Party
open fun hashCode(): Int
var index: String
var indexSource: String
var indexTenor: Tenor
var resetDayInMonth: Int
var resetRule: PaymentRule
var rollConvention: DateRollConvention
open fun toString(): String
data class State : FixableDealState
fun generateAgreement(floatingLeg: FloatingLeg, fixedLeg: FixedLeg, calculation: Calculation, common: Common): TransactionBuilder
fun generateFix(tx: TransactionBuilder, irs: StateAndRef<State>, fixing: <ERROR CLASS><LocalDate, Rate>): Unit
val legalContractReference: SecureHash
fun verify(tx: TransactionForVerification): Unit
class InterestRateSwapAPI
interface Interpolator
interface InterpolatorFactory
object JsonSupport
interface KeyManagementService
data class LedgerTransaction : NamedByHash
class LinearInterpolator : Interpolator
interface LinearState : ContractState
interface Message
interface MessageHandlerRegistration
interface MessageRecipientGroup : MessageRecipients
interface MessageRecipients
interface MessagingService
interface MessagingServiceBuilder<out T : MessagingService>
class MissingAttachmentsException : Exception
class MockIdentityService : IdentityService
class MockNetwork
class MockNetworkMapCache : InMemoryNetworkMapCache
class MonitoringService
interface NamedByHash
sealed class NetworkCacheError : Exception
interface NetworkMapCache
interface NetworkMapService
class Node : AbstractNode
class NodeAttachmentService : AttachmentStorage, AcceptsFileUpload
interface NodeConfiguration
class NodeConfigurationFromConfig : NodeConfiguration
data class NodeInfo
object NodeInterestRates
sealed class NodeMapError : Exception
class NodeRegistration
class NodeTimestamperService : AbstractNodeService
class NodeWalletService : WalletService
object NullPublicKey : PublicKey, Comparable<PublicKey>
open class OpaqueBytes
interface OwnableState : ContractState
data class Party
data class PartyAndReference
abstract class PaymentEvent : Event
enum class PaymentRule
open class PercentageRatioUnit : RatioUnit
data class PhysicalLocation
class Polynomial
class ProgressTracker
data class ProtocolClassRef : ProtocolRef
data class ProtocolInstanceRef
abstract class ProtocolLogic<T>
Module Contents
ProtocolLogic()
abstract fun call(): T
val logger: <ERROR CLASS>
open val progressTracker: ProgressTracker?
lateinit var psm: ProtocolStateMachine<*>
inline fun <reified T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T>
fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T>
fun send(topic: String, destination: MessageRecipients, sessionID: Long, obj: Any): Unit
inline fun <reified T : Any> sendAndReceive(topic: String, destination: MessageRecipients, sessionIDForSend: Long, sessionIDForReceive: Long, obj: Any): UntrustworthyData<T>
val serviceHub: ServiceHub
fun <R> subProtocol(subLogic: ProtocolLogic<R>): R
interface ProtocolRef
data class ProtocolRequiringAttention
class ProtocolStateMachine<R>
Module Contents
ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>, loggerName: String)
val logger: <ERROR CLASS>
val loggerName: String
val logic: ProtocolLogic<R>
fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
fun <T : Any> receive(topic: String, sessionIDForReceive: Long, recvType: Class<T>): UntrustworthyData<T>
val resultFuture: <ERROR CLASS><R>
fun run(): R
fun send(topic: String, destination: MessageRecipients, sessionID: Long, obj: Any): Unit
fun <T : Any> sendAndReceive(topic: String, destination: MessageRecipients, sessionIDForSend: Long, sessionIDForReceive: Long, obj: Any, recvType: Class<T>): UntrustworthyData<T>
lateinit var serviceHub: ServiceHub
open class Rate
abstract class RatePaymentEvent : PaymentEvent
open class RatesFixProtocol : ProtocolLogic<Unit>
open class RatioUnit
class RecordingMap<K, V> : MutableMap<K, V>
class ReferenceRate : FloatingRate
interface RegulatorService
class Requirements
class ResolveTransactionsProtocol : ProtocolLogic<Unit>
class ResponseFilter
sealed class SecureHash : OpaqueBytes
class SerializedBytes<T : Any> : OpaqueBytes
object SerializedBytesSerializer
interface ServiceHub
abstract class ServiceType
open class SignedData<T : Any>
data class SignedTransaction : NamedByHash
abstract class Simulation
interface SingleMessageRecipient : MessageRecipients
class SplineFunction
class StackSnapshot : Throwable
data class StateAndRef<out T : ContractState>
class StateMachineManager
data class StateRef
interface StatesQuery
interface StorageService
open class StorageServiceImpl : StorageService
data class Tenor
class ThreadBox<T>
data class TimestampCommand : CommandData
interface TimestamperService
sealed class TimestampingError : Exception
class TimestampingProtocol : ProtocolLogic<LegallyIdentifiable>
object TopicStringValidator
class TradeSimulation : Simulation
class TraderDemoProtocolBuyer : ProtocolLogic<Unit>
class TraderDemoProtocolSeller : ProtocolLogic<Unit>
data class TransactionBuildStep
class TransactionBuilder
class TransactionConflictException : Exception
data class TransactionForVerification
Module Contents
TransactionForVerification(inStates: List<ContractState>, outStates: List<ContractState>, attachments: List<Attachment>, commands: List<AuthenticatedObject<CommandData>>, origHash: SecureHash)
data class InOutGroup<T : ContractState, K : Any>
val attachments: List<Attachment>
val commands: List<AuthenticatedObject<CommandData>>
fun equals(other: Any?): Boolean
fun getTimestampBy(timestampingAuthority: Party): TimestampCommand?
fun <T : ContractState, K : Any> groupStates(ofType: Class<T>, selector: (T) -> K): List<InOutGroup<T, K>>
inline fun <reified T : ContractState, K : Any> groupStates(selector: (T) -> K): List<InOutGroup<T, K>>
fun <T : ContractState, K : Any> groupStatesInternal(inGroups: Map<K, List<T>>, outGroups: Map<K, List<T>>): List<InOutGroup<T, K>>
fun hashCode(): Int
val inStates: List<ContractState>
val origHash: SecureHash
val outStates: List<ContractState>
fun verify(): Unit
class TransactionGraphSearch : Callable<List<WireTransaction>>
class TransactionGroup
class TransactionResolutionException : Exception
class TransactionVerificationException : Exception
class TransientProperty<T>
object TwoPartyDealProtocol
object TwoPartyTradeProtocol
Module Contents
class AssetMismatchException : Exception
class Buyer : ProtocolLogic<SignedTransaction>
class Seller : ProtocolLogic<SignedTransaction>
class SellerTradeInfo
class SignaturesFromSeller
val TRADE_TOPIC: String
class UnacceptablePriceException : Exception
fun runBuyer(smm: StateMachineManager, timestampingAuthority: NodeInfo, otherSide: SingleMessageRecipient, acceptablePrice: Amount, typeToBuy: Class<out OwnableState>, sessionID: Long): <ERROR CLASS><SignedTransaction>
fun runSeller(smm: StateMachineManager, timestampingAuthority: NodeInfo, otherSide: SingleMessageRecipient, assetToSell: StateAndRef<OwnableState>, price: Amount, myKeyPair: KeyPair, buyerSessionID: Long): <ERROR CLASS><SignedTransaction>
abstract class TypeOnlyCommandData : CommandData
open class UnknownType
class UntrustworthyData<T>
object UpdateBusinessDayProtocol
data class Wallet
interface WalletService
class WireNodeRegistration : SignedData<NodeRegistration>
data class WireTransaction : NamedByHash
object WireTransactionSerializer
data class WorldCoordinate
java.nio.file.Path
java.security.KeyPair
java.security.PrivateKey
java.security.PublicKey
java.time.LocalDate
java.time.temporal.Temporal
kotlin.ByteArray
kotlin.ByteArray
kotlin.Double
kotlin.Int
kotlin.Int
kotlin.Long
kotlin.String
kotlin.String
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.List
package api
Module Contents
interface APIServer
Module Contents
abstract fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
abstract fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
abstract fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
abstract fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
abstract fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
abstract fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
abstract fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
abstract fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
abstract fun queryStates(query: StatesQuery): List<StateRef>
abstract fun serverTime(): LocalDateTime
class APIServerImpl : APIServer
Module Contents
APIServerImpl(node: AbstractNode)
fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
val node: AbstractNode
fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
fun queryStates(query: StatesQuery): List<StateRef>
fun serverTime(): LocalDateTime
class Config
data class ContractClassRef : ContractDefRef
interface ContractDefRef
data class ContractLedgerRef : ContractDefRef
class InterestRateSwapAPI
data class ProtocolClassRef : ProtocolRef
data class ProtocolInstanceRef
interface ProtocolRef
data class ProtocolRequiringAttention
class ResponseFilter
interface StatesQuery
data class TransactionBuildStep
package contracts
Module Contents
val CASH_PROGRAM_ID: Cash
val CP_PROGRAM_ID: CommercialPaper
val CROWDFUND_PROGRAM_ID: CrowdFund
class Cash : Contract
class CommercialPaper : Contract
class CrowdFund : Contract
val DUMMY_PROGRAM_ID: DummyContract
interface DealState : LinearState
class DummyContract : Contract
open class Event
interface FixableDealState : DealState
class FixedRate : Rate
class FixedRatePaymentEvent : RatePaymentEvent
open class FloatingRate : Rate
class FloatingRatePaymentEvent : RatePaymentEvent
val IRS_PROGRAM_ID: InterestRateSwap
class InsufficientBalanceException : Exception
class InterestRateSwap : Contract
Module Contents
InterestRateSwap()
data class Calculation
interface Commands : CommandData
data class Common
Module Contents
Common(baseCurrency: Currency, eligibleCurrency: Currency, eligibleCreditSupport: String, independentAmounts: Amount, threshold: Amount, minimumTransferAmount: Amount, rounding: Amount, valuationDate: String, notificationTime: String, resolutionTime: String, interestRate: ReferenceRate, addressForTransfers: String, exposure: UnknownType, localBusinessDay: BusinessCalendar, dailyInterestAmount: Expression, tradeID: String, hashLegalDocs: String)
val addressForTransfers: String
val baseCurrency: Currency
val dailyInterestAmount: Expression
val eligibleCreditSupport: String
val eligibleCurrency: Currency
val exposure: UnknownType
val hashLegalDocs: String
val independentAmounts: Amount
val interestRate: ReferenceRate
val localBusinessDay: BusinessCalendar
val minimumTransferAmount: Amount
val notificationTime: String
val resolutionTime: String
val rounding: Amount
val threshold: Amount
val tradeID: String
val valuationDate: String
abstract class CommonLeg
Module Contents
CommonLeg(notional: Amount, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment)
var dayCountBasisDay: DayCountBasisDay
var dayCountBasisYear: DayCountBasisYear
var dayInMonth: Int
val effectiveDate: LocalDate
val effectiveDateAdjustment: DateRollConvention?
open fun equals(other: Any?): Boolean
open fun hashCode(): Int
var interestPeriodAdjustment: AccrualAdjustment
val notional: Amount
var paymentCalendar: BusinessCalendar
var paymentDelay: Int
val paymentFrequency: Frequency
var paymentRule: PaymentRule
val terminationDate: LocalDate
val terminationDateAdjustment: DateRollConvention?
open fun toString(): String
class FixedLeg : CommonLeg
Module Contents
FixedLeg(fixedRatePayer: Party, notional: Amount, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment, fixedRate: FixedRate, rollConvention: DateRollConvention)
open fun equals(other: Any?): Boolean
var fixedRate: FixedRate
var fixedRatePayer: Party
open fun hashCode(): Int
var rollConvention: DateRollConvention
open fun toString(): String
class FloatingLeg : CommonLeg
Module Contents
FloatingLeg(floatingRatePayer: Party, notional: Amount, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment, rollConvention: DateRollConvention, fixingRollConvention: DateRollConvention, resetDayInMonth: Int, fixingPeriod: DateOffset, resetRule: PaymentRule, fixingsPerPayment: Frequency, fixingCalendar: BusinessCalendar, index: String, indexSource: String, indexTenor: Tenor)
open fun equals(other: Any?): Boolean
var fixingCalendar: BusinessCalendar
var fixingPeriod: DateOffset
var fixingRollConvention: DateRollConvention
var fixingsPerPayment: Frequency
var floatingRatePayer: Party
open fun hashCode(): Int
var index: String
var indexSource: String
var indexTenor: Tenor
var resetDayInMonth: Int
var resetRule: PaymentRule
var rollConvention: DateRollConvention
open fun toString(): String
data class State : FixableDealState
fun generateAgreement(floatingLeg: FloatingLeg, fixedLeg: FixedLeg, calculation: Calculation, common: Common): TransactionBuilder
fun generateFix(tx: TransactionBuilder, irs: StateAndRef<State>, fixing: <ERROR CLASS><LocalDate, Rate>): Unit
val legalContractReference: SecureHash
fun verify(tx: TransactionForVerification): Unit
abstract class PaymentEvent : Event
open class PercentageRatioUnit : RatioUnit
open class Rate
abstract class RatePaymentEvent : PaymentEvent
open class RatioUnit
class ReferenceRate : FloatingRate
open class UnknownType
fun State.exportIRSToCSV(): String
kotlin.Int
kotlin.String
kotlin.collections.Iterable
operator fun Amount.times(other: RatioUnit): Amount
package core
Module Contents
enum class AccrualAdjustment
data class Amount : Comparable<Amount>
interface Attachment : NamedByHash
data class AuthenticatedObject<out T : Any>
open class BusinessCalendar
val CHF: Currency
data class Command
interface CommandData
interface Contract
interface ContractState
enum class DateOffset
enum class DateRollConvention
enum class DateRollDirection
enum class DayCountBasisDay
enum class DayCountBasisYear
data class Expression
object ExpressionDeserializer
object ExpressionSerializer
data class Fix : CommandData
data class FixOf
enum class Frequency
val GBP: Currency
data class LedgerTransaction : NamedByHash
interface LinearState : ContractState
interface NamedByHash
interface OwnableState : ContractState
data class Party
data class PartyAndReference
enum class PaymentRule
val R: Requirements
class Requirements
val RunOnCallerThread: <ERROR CLASS>
data class SignedTransaction : NamedByHash
data class StateAndRef<out T : ContractState>
data class StateRef
data class Tenor
class ThreadBox<T>
data class TimestampCommand : CommandData
class TransactionBuilder
class TransactionConflictException : Exception
data class TransactionForVerification
Module Contents
TransactionForVerification(inStates: List<ContractState>, outStates: List<ContractState>, attachments: List<Attachment>, commands: List<AuthenticatedObject<CommandData>>, origHash: SecureHash)
data class InOutGroup<T : ContractState, K : Any>
val attachments: List<Attachment>
val commands: List<AuthenticatedObject<CommandData>>
fun equals(other: Any?): Boolean
fun getTimestampBy(timestampingAuthority: Party): TimestampCommand?
fun <T : ContractState, K : Any> groupStates(ofType: Class<T>, selector: (T) -> K): List<InOutGroup<T, K>>
inline fun <reified T : ContractState, K : Any> groupStates(selector: (T) -> K): List<InOutGroup<T, K>>
fun <T : ContractState, K : Any> groupStatesInternal(inGroups: Map<K, List<T>>, outGroups: Map<K, List<T>>): List<InOutGroup<T, K>>
fun hashCode(): Int
val inStates: List<ContractState>
val origHash: SecureHash
val outStates: List<ContractState>
fun verify(): Unit
class TransactionGraphSearch : Callable<List<WireTransaction>>
class TransactionGroup
class TransactionResolutionException : Exception
class TransactionVerificationException : Exception
class TransientProperty<T>
abstract class TypeOnlyCommandData : CommandData
val USD: Currency
data class WireTransaction : NamedByHash
fun calculateDaysBetween(startDate: LocalDate, endDate: LocalDate, dcbYear: DayCountBasisYear, dcbDay: DayCountBasisDay): Int
fun currency(code: String): Currency
fun extractZipFile(: Path, : Path): Unit
fun <T> <ERROR CLASS><T>.failure(executor: Executor, body: (Throwable) -> Unit): <ERROR CLASS>
infix fun <T> <ERROR CLASS><T>.failure(body: (Throwable) -> Unit): <ERROR CLASS><T>
fun ContractState.hash(): SecureHash
java.nio.file.Path
java.time.LocalDate
java.time.temporal.Temporal
kotlin.Double
kotlin.Int
kotlin.Long
kotlin.String
kotlin.collections.Iterable
kotlin.collections.List
inline fun <T> logElapsedTime(label: String, logger: <ERROR CLASS>? = null, body: () -> T): T
fun random63BitValue(): Long
inline fun <R> requireThat(body: Requirements.() -> R): R
fun <T> <ERROR CLASS><T>.setFrom(logger: <ERROR CLASS>? = null, block: () -> T): <ERROR CLASS><T>
fun <T> <ERROR CLASS><T>.success(executor: Executor, body: (T) -> Unit): <ERROR CLASS>
infix fun <T> <ERROR CLASS><T>.success(body: (T) -> Unit): <ERROR CLASS><T>
fun <T> <ERROR CLASS><T>.then(executor: Executor, body: () -> Unit): <ERROR CLASS>
infix fun <T> <ERROR CLASS><T>.then(body: () -> Unit): <ERROR CLASS><T>
fun WireTransaction.toLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransaction
inline fun <reified T : CommandData> verifyMoveCommands(inputs: List<OwnableState>, tx: TransactionForVerification): Unit
fun SignedTransaction.verifyToLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransaction
package core.crypto
package core.math
package core.messaging
package core.node
package core.node.services
package core.node.servlets
package core.node.subsystems
package core.protocols
Module Contents
abstract class ProtocolLogic<T>
Module Contents
ProtocolLogic()
abstract fun call(): T
val logger: <ERROR CLASS>
open val progressTracker: ProgressTracker?
lateinit var psm: ProtocolStateMachine<*>
inline fun <reified T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T>
fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T>
fun send(topic: String, destination: MessageRecipients, sessionID: Long, obj: Any): Unit
inline fun <reified T : Any> sendAndReceive(topic: String, destination: MessageRecipients, sessionIDForSend: Long, sessionIDForReceive: Long, obj: Any): UntrustworthyData<T>
val serviceHub: ServiceHub
fun <R> subProtocol(subLogic: ProtocolLogic<R>): R
class ProtocolStateMachine<R>
Module Contents
ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>, loggerName: String)
val logger: <ERROR CLASS>
val loggerName: String
val logic: ProtocolLogic<R>
fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
fun <T : Any> receive(topic: String, sessionIDForReceive: Long, recvType: Class<T>): UntrustworthyData<T>
val resultFuture: <ERROR CLASS><R>
fun run(): R
fun send(topic: String, destination: MessageRecipients, sessionID: Long, obj: Any): Unit
fun <T : Any> sendAndReceive(topic: String, destination: MessageRecipients, sessionIDForSend: Long, sessionIDForReceive: Long, obj: Any, recvType: Class<T>): UntrustworthyData<T>
lateinit var serviceHub: ServiceHub
package core.serialization
package core.testing
package core.utilities
package demos
package demos.protocols
package protocols
Module Contents
abstract class AbstractRequestMessage
class FetchAttachmentsProtocol : FetchDataProtocol<Attachment, ByteArray>
abstract class FetchDataProtocol<T : NamedByHash, W : Any> : ProtocolLogic<Result<T>>
class FetchTransactionsProtocol : FetchDataProtocol<SignedTransaction, SignedTransaction>
open class RatesFixProtocol : ProtocolLogic<Unit>
class ResolveTransactionsProtocol : ProtocolLogic<Unit>
class TimestampingProtocol : ProtocolLogic<LegallyIdentifiable>
object TwoPartyDealProtocol
object TwoPartyTradeProtocol
Module Contents
class AssetMismatchException : Exception
class Buyer : ProtocolLogic<SignedTransaction>
class Seller : ProtocolLogic<SignedTransaction>
class SellerTradeInfo
class SignaturesFromSeller
val TRADE_TOPIC: String
class UnacceptablePriceException : Exception
fun runBuyer(smm: StateMachineManager, timestampingAuthority: NodeInfo, otherSide: SingleMessageRecipient, acceptablePrice: Amount, typeToBuy: Class<out OwnableState>, sessionID: Long): <ERROR CLASS><SignedTransaction>
fun runSeller(smm: StateMachineManager, timestampingAuthority: NodeInfo, otherSide: SingleMessageRecipient, assetToSell: StateAndRef<OwnableState>, price: Amount, myKeyPair: KeyPair, buyerSessionID: Long): <ERROR CLASS><SignedTransaction>