Module Contents
alltypes
Module Contents
class ANSIProgressObserver
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, TransactionState<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
abstract fun status(): <ERROR CLASS>
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, TransactionState<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
fun status(): <ERROR CLASS>
abstract class AbstractNode
abstract class AbstractNodeService : SingletonSerializeAsToken
abstract class AbstractRequestMessage : ServiceRequestMessage
abstract class AbstractStateReplacementProtocol<T>
abstract class AbstractTransactionForTest
interface AcceptsFileUpload
enum class AccrualAdjustment
object Ack : DeserializeAsKotlinObjectDef
enum class AddOrRemove
interface AffinityExecutor : Executor
interface AllPossibleRecipients : MessageRecipients
class AlwaysSucceedContract : Contract
data class Amount<T> : Comparable<Amount<T>>
data class AppContext
class ArtemisMessagingService : SingletonSerializeAsToken, MessagingService
interface Attachment : NamedByHash
class AttachmentDownloadServlet
interface AttachmentStorage
class AttachmentsClassLoader : SecureClassLoader
data class AuthenticatedObject<out T : Any>
object AutoOfferProtocol
interface BilateralNettableState<T : BilateralNettableState<T>>
class BriefLogFormatter : Formatter
open class BusinessCalendar
Module Contents
val TEST_CALENDAR_DATA: <ERROR CLASS>
class UnknownCalendar : Exception
open fun applyRollConvention(testDate: LocalDate, dateRollConvention: DateRollConvention): LocalDate
val calendars: Array<out String>
val calendars: <ERROR CLASS>
fun createGenericSchedule(startDate: LocalDate, period: Frequency, calendar: BusinessCalendar = getInstance(), dateRollConvention: DateRollConvention = DateRollConvention.Following, noOfAdditionalPeriods: Int = Integer.MAX_VALUE, endDate: LocalDate? = null, periodOffset: Int? = null): List<LocalDate>
open fun equals(other: Any?): Boolean
fun getInstance(vararg calname: String): BusinessCalendar
fun getOffsetDate(startDate: LocalDate, period: Frequency, steps: Int = 1): LocalDate
open fun hashCode(): Int
val holidayDates: List<LocalDate>
open fun isWorkingDay(date: LocalDate): Boolean
fun moveBusinessDays(date: LocalDate, direction: DateRollDirection, i: Int): LocalDate
fun parseDateFromString(it: String): LocalDate
class Cash : FungibleAsset<Currency>
Module Contents
Cash()
interface Commands : CommandData
data class State : State<Currency>
fun generateIssue(tx: TransactionBuilder, tokenDef: Issued<Currency>, pennies: Long, owner: PublicKey, notary: Party): Unit
fun generateIssue(tx: TransactionBuilder, amount: Amount<Issued<Currency>>, owner: PublicKey, notary: Party): Unit
fun generateSpend(tx: TransactionBuilder, amount: Amount<Issued<Currency>>, to: PublicKey, cashStates: List<StateAndRef<State>>): List<PublicKey>
fun generateSpend(tx: TransactionBuilder, amount: Amount<Currency>, to: PublicKey, cashStates: List<StateAndRef<State>>, onlyFromParties: Set<Party>? = null): List<PublicKey>
val legalContractReference: SecureHash
class CashBalanceAsMetricsObserver
data class Checkpoint
interface CheckpointStorage
object CityDatabase
sealed class CliParams
Module Contents
class DateChange : CliParams
class RunNode : CliParams
Module Contents
RunNode(node: IRSDemoNode, dir: Path, networkAddress: <ERROR CLASS>, apiAddress: <ERROR CLASS>, mapAddress: String, identityFile: Path, tradeWithAddrs: List<String>, tradeWithIdentities: List<Path>, uploadRates: Boolean, defaultLegalName: String, autoSetup: Boolean)
val apiAddress: <ERROR CLASS>
val autoSetup: Boolean
val defaultLegalName: String
val dir: Path
val identityFile: Path
val mapAddress: String
val networkAddress: <ERROR CLASS>
val node: IRSDemoNode
val tradeWithAddrs: List<String>
val tradeWithIdentities: List<Path>
val uploadRates: Boolean
class SetupNode : CliParams
class Trade : CliParams
val defaultBaseDirectory: String
fun legalName(node: IRSDemoNode): String
fun parse(options: <ERROR CLASS>): CliParams
object CliParamsSpec
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 CubicSplineInterpolator : Interpolator
class DataUploadServlet
class DataVendingService : AbstractNodeService
enum class DateRollConvention
enum class DateRollDirection
enum class DayCountBasisDay
enum class DayCountBasisYear
interface DealState : LinearState
class DemoClock : MutableClock, SerializeAsToken
interface DeserializeAsKotlinObjectDef
open class DigitalSignature : OpaqueBytes
class DummyContract : Contract
class DummyLinearState : LinearState
class DummyPublicKey : PublicKey, Comparable<PublicKey>
data class DummyState : ContractState
class E2ETestKeyManagementService : SingletonSerializeAsToken, KeyManagementService
object Ed25519PrivateKeySerializer
object Ed25519PublicKeySerializer
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>
class FiberBox<T>
data class Fix : CommandData
data class FixOf
interface FixableDealState : DealState
class FixedRate : Rate
class FixedRatePaymentEvent : RatePaymentEvent
object FixingSessionInitiationHandler
open class FloatingRate : Rate
class FloatingRatePaymentEvent : RatePaymentEvent
Module Contents
FloatingRatePaymentEvent(date: LocalDate, accrualStartDate: LocalDate, accrualEndDate: LocalDate, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, fixingDate: LocalDate, notional: Amount<Currency>, rate: Rate)
val CSVHeader: String
fun asCSV(): String
fun copy(date: LocalDate = this.date, accrualStartDate: LocalDate = this.accrualStartDate, accrualEndDate: LocalDate = this.accrualEndDate, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, fixingDate: LocalDate = this.fixingDate, notional: Amount<Currency> = this.notional, rate: Rate = this.rate): FloatingRatePaymentEvent
fun equals(other: Any?): Boolean
val fixingDate: LocalDate
val flow: Amount<Currency>
fun hashCode(): Int
fun toString(): String
fun withNewRate(newRate: Rate): FloatingRatePaymentEvent
enum class Frequency
abstract class FungibleAsset<T> : Contract
interface FungibleAssetState<T, I> : OwnableState
enum class IRSDemoNode
enum class IRSDemoRole
class IRSSimulation : Simulation
interface IdentityService
class IllegalProtocolLogicException : IllegalArgumentException
class ImmutableClassSerializer<T : Any>
class InMemoryIdentityService : SingletonSerializeAsToken, IdentityService
class InMemoryMessagingNetwork : SingletonSerializeAsToken
open class InMemoryNetworkMapCache : SingletonSerializeAsToken, NetworkMapCache
class InMemoryNetworkMapService : NetworkMapService, AbstractNodeService
class InMemoryUniquenessProvider : UniquenessProvider
open class InMemoryWalletService : SingletonSerializeAsToken, WalletService
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<Currency>, threshold: Amount<Currency>, minimumTransferAmount: Amount<Currency>, rounding: Amount<Currency>, 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<Currency>
val interestRate: ReferenceRate
val localBusinessDay: BusinessCalendar
val minimumTransferAmount: Amount<Currency>
val notificationTime: String
val resolutionTime: String
val rounding: Amount<Currency>
val threshold: Amount<Currency>
val tradeID: String
val valuationDate: String
abstract class CommonLeg
Module Contents
CommonLeg(notional: Amount<Currency>, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment)
val dayCountBasisDay: DayCountBasisDay
val dayCountBasisYear: DayCountBasisYear
val dayInMonth: Int
val effectiveDate: LocalDate
val effectiveDateAdjustment: DateRollConvention?
open fun equals(other: Any?): Boolean
open fun hashCode(): Int
val interestPeriodAdjustment: AccrualAdjustment
val notional: Amount<Currency>
val paymentCalendar: BusinessCalendar
val paymentDelay: Int
val paymentFrequency: Frequency
val paymentRule: PaymentRule
val terminationDate: LocalDate
val terminationDateAdjustment: DateRollConvention?
open fun toString(): String
class FixedLeg : CommonLeg
Module Contents
FixedLeg(fixedRatePayer: Party, notional: Amount<Currency>, 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)
fun copy(fixedRatePayer: Party = this.fixedRatePayer, notional: Amount<Currency> = this.notional, paymentFrequency: Frequency = this.paymentFrequency, effectiveDate: LocalDate = this.effectiveDate, effectiveDateAdjustment: DateRollConvention? = this.effectiveDateAdjustment, terminationDate: LocalDate = this.terminationDate, terminationDateAdjustment: DateRollConvention? = this.terminationDateAdjustment, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, dayInMonth: Int = this.dayInMonth, paymentRule: PaymentRule = this.paymentRule, paymentDelay: Int = this.paymentDelay, paymentCalendar: BusinessCalendar = this.paymentCalendar, interestPeriodAdjustment: AccrualAdjustment = this.interestPeriodAdjustment, fixedRate: FixedRate = this.fixedRate): FixedLeg
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<Currency>, 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, fixingPeriodOffset: Int, resetRule: PaymentRule, fixingsPerPayment: Frequency, fixingCalendar: BusinessCalendar, index: String, indexSource: String, indexTenor: Tenor)
fun copy(floatingRatePayer: Party = this.floatingRatePayer, notional: Amount<Currency> = this.notional, paymentFrequency: Frequency = this.paymentFrequency, effectiveDate: LocalDate = this.effectiveDate, effectiveDateAdjustment: DateRollConvention? = this.effectiveDateAdjustment, terminationDate: LocalDate = this.terminationDate, terminationDateAdjustment: DateRollConvention? = this.terminationDateAdjustment, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, dayInMonth: Int = this.dayInMonth, paymentRule: PaymentRule = this.paymentRule, paymentDelay: Int = this.paymentDelay, paymentCalendar: BusinessCalendar = this.paymentCalendar, interestPeriodAdjustment: AccrualAdjustment = this.interestPeriodAdjustment, rollConvention: DateRollConvention = this.rollConvention, fixingRollConvention: DateRollConvention = this.fixingRollConvention, resetDayInMonth: Int = this.resetDayInMonth, fixingPeriod: Int = this.fixingPeriodOffset, resetRule: PaymentRule = this.resetRule, fixingsPerPayment: Frequency = this.fixingsPerPayment, fixingCalendar: BusinessCalendar = this.fixingCalendar, index: String = this.index, indexSource: String = this.indexSource, indexTenor: Tenor = this.indexTenor): FloatingLeg
open fun equals(other: Any?): Boolean
var fixingCalendar: BusinessCalendar
var fixingPeriodOffset: Int
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, SchedulableState
fun checkLegAmounts(legs: Array<CommonLeg>): Unit
fun checkLegDates(legs: Array<CommonLeg>): Unit
fun checkRates(legs: Array<CommonLeg>): Boolean
fun checkSchedules(legs: Array<CommonLeg>): Boolean
fun generateAgreement(floatingLeg: FloatingLeg, fixedLeg: FixedLeg, calculation: Calculation, common: Common, notary: Party): TransactionBuilder
fun generateFix(tx: TransactionBuilder, irs: StateAndRef<State>, fixing: <ERROR CLASS><LocalDate, Rate>): Unit
fun getFloatingLegPaymentsDifferences(payments1: Map<LocalDate, Event>, payments2: Map<LocalDate, Event>): List<<ERROR CLASS><LocalDate, <ERROR CLASS><FloatingRatePaymentEvent, FloatingRatePaymentEvent>>>
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
class InterestRateSwapAPI
interface Interpolator
interface InterpolatorFactory
interface IssuanceDefinition
interface IssueCommand : CommandData
data class Issued<P>
object JavaTestHelpers
object JavaTestHelpers
object JavaTestHelpers
Module Contents
fun CASH(amount: Amount<Currency>): State
fun OBLIGATION(amount: Amount<Issued<Currency>>): State<Currency>
fun OBLIGATION_DEF(issued: Issued<Currency>): StateTemplate<Currency>
fun STATE(amount: Amount<Issued<Currency>>): State
fun <T> at(state: State<T>, dueBefore: Instant): State<T>
fun <T> at(issuanceDef: IssuanceDefinition<T>, dueBefore: Instant): IssuanceDefinition<T>
fun <T> between(state: State<T>, parties: <ERROR CLASS><Party, PublicKey>): State<T>
fun issuedBy(state: State, party: Party): State
fun issuedBy(state: State, deposit: PartyAndReference): State
fun <T> issuedBy(state: State<T>, party: Party): State<T>
fun ownedBy(state: State, owner: PublicKey): State
fun <T> ownedBy(state: State<T>, owner: PublicKey): State<T>
fun ownedBy(state: State, owner: PublicKey): State
fun ownedBy(state: <ERROR CLASS>, new_owner: PublicKey): <ERROR CLASS>
fun withDeposit(state: State, deposit: PartyAndReference): State
fun withNotary(state: State, notary: Party): TransactionState<State>
fun withNotary(state: State, notary: Party): TransactionState<State>
fun withNotary(state: ContractState, notary: Party): TransactionState<ContractState>
object JsonSupport
interface KeyManagementService
object KotlinObjectSerializer
class LabeledOutput
sealed class LastLineShouldTestForAcceptOrFailure
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 MockAttachmentStorage : AttachmentStorage
class MockIdentityService : IdentityService, SingletonSerializeAsToken
class MockKeyManagementService : SingletonSerializeAsToken, KeyManagementService
class MockNetwork
Module Contents
MockNetwork(networkSendManuallyPumped: Boolean = false, threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)
object DefaultFactory : Factory
interface Factory
class MockNode : AbstractNode
fun addressToNode(address: SingleMessageRecipient): MockNode
fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, start: Boolean = true, legalName: String? = null, keyPair: KeyPair? = null, vararg advertisedServices: ServiceType): MockNode
fun createNotaryNode(legalName: String? = null, keyPair: KeyPair? = null): MockNode
fun createPartyNode(networkMapAddr: NodeInfo, legalName: String? = null, keyPair: KeyPair? = null): MockNode
fun createTwoNodes(nodeFactory: Factory = defaultFactory, notaryKeyPair: KeyPair? = null): <ERROR CLASS><MockNode, MockNode>
val filesystem: <ERROR CLASS>
val identities: ArrayList<Party>
val messagingNetwork: InMemoryMessagingNetwork
val nodes: List<MockNode>
fun runNetwork(rounds: Int = -1): Unit
fun startNodes(): Unit
fun stopNodes(): Unit
class MockNetworkMapCache : InMemoryNetworkMapCache
class MockStorageService : SingletonSerializeAsToken, TxWritableStorageService
open class MockTransactionStorage : TransactionStorage
class MonitoringService : SingletonSerializeAsToken
interface MoveCommand : CommandData
abstract class MutableClock : Clock
interface NamedByHash
enum class NetType
sealed class NetworkCacheError : Exception
interface NetworkMapCache
interface NetworkMapService
class NoReferencesSerializer<T>
class Node : AbstractNode
class NodeAttachmentService : AttachmentStorage, AcceptsFileUpload
class NodeClock : Clock, SerializeAsToken
interface NodeConfiguration
class NodeConfigurationFromConfig : NodeConfiguration
data class NodeInfo
object NodeInterestRates
sealed class NodeMapError : Exception
class NodeRegistration
class NodeSchedulerService : SchedulerService, SingletonSerializeAsToken
class NodeWalletService : InMemoryWalletService
class NonEmptySet<T> : MutableSet<T>
object NonEmptySetSerializer
object NotaryChangeProtocol : AbstractStateReplacementProtocol<Party>
class NotaryChangeService : AbstractNodeService
sealed class NotaryError
class NotaryException : Exception
object NotaryProtocol
abstract class NotaryService : AbstractNodeService
object NullPublicKey : PublicKey, Comparable<PublicKey>
class Obligation<P> : Contract
Module Contents
Obligation()
data class BilateralNetState<P> : NetState<P>
interface Commands : CommandData
interface IssuanceCommands<P> : CommandData
data class IssuanceDefinition<P>
enum class Lifecycle
data class MultilateralNetState<P> : NetState<P>
interface NetState<P>
data class State<P> : FungibleAssetState<P, IssuanceDefinition<P>>, BilateralNettableState<State<P>>
data class StateTemplate<P>
fun generateCloseOutNetting(tx: TransactionBuilder, signer: PublicKey, vararg states: State<P>): Unit
fun generateIssue(tx: TransactionBuilder, obligor: Party, issuanceDef: StateTemplate<P>, pennies: Long, beneficiary: PublicKey, notary: Party): Unit
fun generatePaymentNetting(tx: TransactionBuilder, issued: Issued<P>, notary: Party, vararg states: State<P>): Unit
fun generateSetLifecycle(tx: TransactionBuilder, statesAndRefs: List<StateAndRef<State<P>>>, lifecycle: Lifecycle, notary: Party): Unit
fun generateSettle(tx: TransactionBuilder, statesAndRefs: Iterable<StateAndRef<State<P>>>, assetStatesAndRefs: Iterable<StateAndRef<FungibleAssetState<P, *>>>, moveCommand: MoveCommand, notary: Party): Unit
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
protected fun verifyIssueCommand(inputs: List<State<P>>, outputs: List<State<P>>, issueCommand: AuthenticatedObject<Issue<P>>, issued: Issued<P>, obligor: Party): Unit
protected fun verifyNetCommand(inputs: Iterable<State<P>>, outputs: Iterable<State<P>>, command: AuthenticatedObject<Net>, netState: NetState<P>): Unit
protected fun verifySetLifecycleCommand(inputs: List<State<P>>, outputs: List<State<P>>, tx: TransactionForContract, setLifecycleCommand: AuthenticatedObject<SetLifecycle<P>>): Unit
open class OpaqueBytes
interface OwnableState : ContractState
data class Party
data class PartyAndReference
abstract class PaymentEvent : Event
enum class PaymentRule
class PerFileCheckpointStorage : CheckpointStorage
class PerFileTransactionStorage : TransactionStorage
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: Party, sessionID: Long, payload: Any): Unit
inline fun <reified T : Any> sendAndReceive(topic: String, destination: Party, sessionIDForSend: Long, sessionIDForReceive: Long, payload: Any): UntrustworthyData<T>
val serviceHub: ServiceHub
fun <R> subProtocol(subLogic: ProtocolLogic<R>): R
data class ProtocolLogicRef
class ProtocolLogicRefFactory : SingletonSerializeAsToken
interface ProtocolRef
data class ProtocolRequiringAttention
interface ProtocolStateMachine<R>
Module Contents
abstract val logger: <ERROR CLASS>
abstract fun <T : Any> receive(topic: String, sessionIDForReceive: Long, recvType: Class<T>): UntrustworthyData<T>
abstract fun send(topic: String, destination: Party, sessionID: Long, payload: Any): Unit
abstract fun <T : Any> sendAndReceive(topic: String, destination: Party, sessionIDForSend: Long, sessionIDForReceive: Long, payload: Any, recvType: Class<T>): UntrustworthyData<T>
abstract val serviceHub: ServiceHub
class ProtocolStateMachineImpl<R> : ProtocolStateMachine<R>
Module Contents
ProtocolStateMachineImpl(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>, loggerName: String)
val logger: <ERROR CLASS>
val logic: ProtocolLogic<R>
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: Party, sessionID: Long, payload: Any): Unit
fun <T : Any> sendAndReceive(topic: String, destination: Party, sessionIDForSend: Long, sessionIDForReceive: Long, payload: Any, recvType: Class<T>): UntrustworthyData<T>
lateinit var serviceHub: ServiceHubInternal
open class Rate
abstract class RatePaymentEvent : PaymentEvent
open class RatesFixProtocol : ProtocolLogic<Unit>
open class RatioUnit
interface ReadOnlyTransactionStorage
class RecordingMap<K, V> : MutableMap<K, V>
class ReferenceRate : FloatingRate
object ReferencesAwareJavaSerializer
interface RegulatorService
class Requirements
class ResolveTransactionsProtocol : ProtocolLogic<Unit>
class ResponseFilter
abstract class RetryableException : Exception
enum class Role
interface SchedulableState : ContractState
interface Scheduled
data class ScheduledActivity : Scheduled
class ScheduledActivityObserver
data class ScheduledStateRef : Scheduled
interface SchedulerService
sealed class SecureHash : OpaqueBytes
interface SerializationToken
interface SerializeAsToken
class SerializeAsTokenContext
class SerializeAsTokenSerializer<T : SerializeAsToken>
class SerializedBytes<T : Any> : OpaqueBytes
object SerializedBytesSerializer
interface ServiceHub
abstract class ServiceHubInternal : ServiceHub
interface ServiceRequestMessage
abstract class ServiceType
open class SignedData<T : Any>
data class SignedTransaction : NamedByHash
class SimpleNotaryService : NotaryService
abstract class Simulation
interface SingleMessageRecipient : MessageRecipients
data class SingletonSerializationToken : SerializationToken
abstract class SingletonSerializeAsToken : SerializeAsToken
class SplineFunction
class StackSnapshot : Throwable
data class StateAndRef<out T : ContractState>
class StateMachineManager
data class StateRef
class StateReplacementException : Exception
class StateReplacementRefused
interface StatesQuery
interface StorageService
open class StorageServiceImpl : SingletonSerializeAsToken, TxWritableStorageService
data class Tenor
class TestClock : MutableClock, SerializeAsToken
object TestUtils
class ThreadBox<T>
data class TimeWindow
class TimestampChecker
data class TimestampCommand : CommandData
object TopicStringValidator
class TradeSimulation : Simulation
data class TransactionBuildStep
abstract class TransactionBuilder
class TransactionConflictException : Exception
data class TransactionForContract
Module Contents
TransactionForContract(inputs: List<ContractState>, outputs: 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 getTimestampByName(vararg authorityName: String): TimestampCommand?
inline fun <reified T : CommandData, K> groupCommands(keySelector: (AuthenticatedObject<T>) -> K): Map<K, List<AuthenticatedObject<T>>>
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 inputs: List<ContractState>
val origHash: SecureHash
val outStates: List<ContractState>
val outputs: List<ContractState>
open class TransactionForTest : AbstractTransactionForTest
data class TransactionForVerification
class TransactionGraphSearch : Callable<List<WireTransaction>>
class TransactionGroup
class TransactionGroupDSL<T : ContractState>
class TransactionResolutionException : Exception
data class TransactionState<out T : ContractState>
interface TransactionStorage : ReadOnlyTransactionStorage
sealed class TransactionType
sealed class TransactionVerificationException : Exception
class TransientProperty<T>
object TwoPartyDealProtocol
object TwoPartyTradeProtocol
interface TxWritableStorageService : StorageService
abstract class TypeOnlyCommandData : CommandData
class UniquenessException : Exception
interface UniquenessProvider
open class UnknownType
class UntrustworthyData<T>
object UpdateBusinessDayProtocol
class ValidatingNotaryProtocol : Service
class ValidatingNotaryService : NotaryService
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.Clock
Module Contents
fun Clock.awaitWithDeadline(deadline: Instant, future: Future<*> = SettableFuture<Any>()): Boolean
java.time.LocalDate
java.time.temporal.Temporal
java.util.Currency
kotlin.ByteArray
kotlin.ByteArray
kotlin.Double
kotlin.Double
kotlin.Int
kotlin.Int
kotlin.Int
kotlin.Long
kotlin.String
kotlin.String
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.List
kotlin.collections.List
package com.r3corda.contracts
Module Contents
val CP_PROGRAM_ID: CommercialPaper
class CommercialPaper : Contract
open class Event
class FixedRate : Rate
class FixedRatePaymentEvent : RatePaymentEvent
open class FloatingRate : Rate
class FloatingRatePaymentEvent : RatePaymentEvent
Module Contents
FloatingRatePaymentEvent(date: LocalDate, accrualStartDate: LocalDate, accrualEndDate: LocalDate, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, fixingDate: LocalDate, notional: Amount<Currency>, rate: Rate)
val CSVHeader: String
fun asCSV(): String
fun copy(date: LocalDate = this.date, accrualStartDate: LocalDate = this.accrualStartDate, accrualEndDate: LocalDate = this.accrualEndDate, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, fixingDate: LocalDate = this.fixingDate, notional: Amount<Currency> = this.notional, rate: Rate = this.rate): FloatingRatePaymentEvent
fun equals(other: Any?): Boolean
val fixingDate: LocalDate
val flow: Amount<Currency>
fun hashCode(): Int
fun toString(): String
fun withNewRate(newRate: Rate): FloatingRatePaymentEvent
val IRS_PROGRAM_ID: InterestRateSwap
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<Currency>, threshold: Amount<Currency>, minimumTransferAmount: Amount<Currency>, rounding: Amount<Currency>, 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<Currency>
val interestRate: ReferenceRate
val localBusinessDay: BusinessCalendar
val minimumTransferAmount: Amount<Currency>
val notificationTime: String
val resolutionTime: String
val rounding: Amount<Currency>
val threshold: Amount<Currency>
val tradeID: String
val valuationDate: String
abstract class CommonLeg
Module Contents
CommonLeg(notional: Amount<Currency>, paymentFrequency: Frequency, effectiveDate: LocalDate, effectiveDateAdjustment: DateRollConvention?, terminationDate: LocalDate, terminationDateAdjustment: DateRollConvention?, dayCountBasisDay: DayCountBasisDay, dayCountBasisYear: DayCountBasisYear, dayInMonth: Int, paymentRule: PaymentRule, paymentDelay: Int, paymentCalendar: BusinessCalendar, interestPeriodAdjustment: AccrualAdjustment)
val dayCountBasisDay: DayCountBasisDay
val dayCountBasisYear: DayCountBasisYear
val dayInMonth: Int
val effectiveDate: LocalDate
val effectiveDateAdjustment: DateRollConvention?
open fun equals(other: Any?): Boolean
open fun hashCode(): Int
val interestPeriodAdjustment: AccrualAdjustment
val notional: Amount<Currency>
val paymentCalendar: BusinessCalendar
val paymentDelay: Int
val paymentFrequency: Frequency
val paymentRule: PaymentRule
val terminationDate: LocalDate
val terminationDateAdjustment: DateRollConvention?
open fun toString(): String
class FixedLeg : CommonLeg
Module Contents
FixedLeg(fixedRatePayer: Party, notional: Amount<Currency>, 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)
fun copy(fixedRatePayer: Party = this.fixedRatePayer, notional: Amount<Currency> = this.notional, paymentFrequency: Frequency = this.paymentFrequency, effectiveDate: LocalDate = this.effectiveDate, effectiveDateAdjustment: DateRollConvention? = this.effectiveDateAdjustment, terminationDate: LocalDate = this.terminationDate, terminationDateAdjustment: DateRollConvention? = this.terminationDateAdjustment, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, dayInMonth: Int = this.dayInMonth, paymentRule: PaymentRule = this.paymentRule, paymentDelay: Int = this.paymentDelay, paymentCalendar: BusinessCalendar = this.paymentCalendar, interestPeriodAdjustment: AccrualAdjustment = this.interestPeriodAdjustment, fixedRate: FixedRate = this.fixedRate): FixedLeg
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<Currency>, 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, fixingPeriodOffset: Int, resetRule: PaymentRule, fixingsPerPayment: Frequency, fixingCalendar: BusinessCalendar, index: String, indexSource: String, indexTenor: Tenor)
fun copy(floatingRatePayer: Party = this.floatingRatePayer, notional: Amount<Currency> = this.notional, paymentFrequency: Frequency = this.paymentFrequency, effectiveDate: LocalDate = this.effectiveDate, effectiveDateAdjustment: DateRollConvention? = this.effectiveDateAdjustment, terminationDate: LocalDate = this.terminationDate, terminationDateAdjustment: DateRollConvention? = this.terminationDateAdjustment, dayCountBasisDay: DayCountBasisDay = this.dayCountBasisDay, dayCountBasisYear: DayCountBasisYear = this.dayCountBasisYear, dayInMonth: Int = this.dayInMonth, paymentRule: PaymentRule = this.paymentRule, paymentDelay: Int = this.paymentDelay, paymentCalendar: BusinessCalendar = this.paymentCalendar, interestPeriodAdjustment: AccrualAdjustment = this.interestPeriodAdjustment, rollConvention: DateRollConvention = this.rollConvention, fixingRollConvention: DateRollConvention = this.fixingRollConvention, resetDayInMonth: Int = this.resetDayInMonth, fixingPeriod: Int = this.fixingPeriodOffset, resetRule: PaymentRule = this.resetRule, fixingsPerPayment: Frequency = this.fixingsPerPayment, fixingCalendar: BusinessCalendar = this.fixingCalendar, index: String = this.index, indexSource: String = this.indexSource, indexTenor: Tenor = this.indexTenor): FloatingLeg
open fun equals(other: Any?): Boolean
var fixingCalendar: BusinessCalendar
var fixingPeriodOffset: Int
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, SchedulableState
fun checkLegAmounts(legs: Array<CommonLeg>): Unit
fun checkLegDates(legs: Array<CommonLeg>): Unit
fun checkRates(legs: Array<CommonLeg>): Boolean
fun checkSchedules(legs: Array<CommonLeg>): Boolean
fun generateAgreement(floatingLeg: FloatingLeg, fixedLeg: FixedLeg, calculation: Calculation, common: Common, notary: Party): TransactionBuilder
fun generateFix(tx: TransactionBuilder, irs: StateAndRef<State>, fixing: <ERROR CLASS><LocalDate, Rate>): Unit
fun getFloatingLegPaymentsDifferences(payments1: Map<LocalDate, Event>, payments2: Map<LocalDate, Event>): List<<ERROR CLASS><LocalDate, <ERROR CLASS><FloatingRatePaymentEvent, FloatingRatePaymentEvent>>>
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): 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
operator fun Amount<Currency>.times(other: RatioUnit): Amount<Currency>
package com.r3corda.contracts.asset
Module Contents
val CASH_PROGRAM_ID: Cash
class Cash : FungibleAsset<Currency>
Module Contents
Cash()
interface Commands : CommandData
data class State : State<Currency>
fun generateIssue(tx: TransactionBuilder, tokenDef: Issued<Currency>, pennies: Long, owner: PublicKey, notary: Party): Unit
fun generateIssue(tx: TransactionBuilder, amount: Amount<Issued<Currency>>, owner: PublicKey, notary: Party): Unit
fun generateSpend(tx: TransactionBuilder, amount: Amount<Issued<Currency>>, to: PublicKey, cashStates: List<StateAndRef<State>>): List<PublicKey>
fun generateSpend(tx: TransactionBuilder, amount: Amount<Currency>, to: PublicKey, cashStates: List<StateAndRef<State>>, onlyFromParties: Set<Party>? = null): List<PublicKey>
val legalContractReference: SecureHash
abstract class FungibleAsset<T> : Contract
interface FungibleAssetState<T, I> : OwnableState
class InsufficientBalanceException : Exception
val OBLIGATION_PROGRAM_ID: Obligation<Currency>
class Obligation<P> : Contract
Module Contents
Obligation()
data class BilateralNetState<P> : NetState<P>
interface Commands : CommandData
interface IssuanceCommands<P> : CommandData
data class IssuanceDefinition<P>
enum class Lifecycle
data class MultilateralNetState<P> : NetState<P>
interface NetState<P>
data class State<P> : FungibleAssetState<P, IssuanceDefinition<P>>, BilateralNettableState<State<P>>
data class StateTemplate<P>
fun generateCloseOutNetting(tx: TransactionBuilder, signer: PublicKey, vararg states: State<P>): Unit
fun generateIssue(tx: TransactionBuilder, obligor: Party, issuanceDef: StateTemplate<P>, pennies: Long, beneficiary: PublicKey, notary: Party): Unit
fun generatePaymentNetting(tx: TransactionBuilder, issued: Issued<P>, notary: Party, vararg states: State<P>): Unit
fun generateSetLifecycle(tx: TransactionBuilder, statesAndRefs: List<StateAndRef<State<P>>>, lifecycle: Lifecycle, notary: Party): Unit
fun generateSettle(tx: TransactionBuilder, statesAndRefs: Iterable<StateAndRef<State<P>>>, assetStatesAndRefs: Iterable<StateAndRef<FungibleAssetState<P, *>>>, moveCommand: MoveCommand, notary: Party): Unit
val legalContractReference: SecureHash
fun verify(tx: TransactionForContract): Unit
protected fun verifyIssueCommand(inputs: List<State<P>>, outputs: List<State<P>>, issueCommand: AuthenticatedObject<Issue<P>>, issued: Issued<P>, obligor: Party): Unit
protected fun verifyNetCommand(inputs: Iterable<State<P>>, outputs: Iterable<State<P>>, command: AuthenticatedObject<Net>, netState: NetState<P>): Unit
protected fun verifySetLifecycleCommand(inputs: List<State<P>>, outputs: List<State<P>>, tx: TransactionForContract, setLifecycleCommand: AuthenticatedObject<SetLifecycle<P>>): Unit
val Wallet.cashBalances: Map<Currency, Amount<Currency>>
fun <P> extractAmountsDue(: P, : Iterable<State<P>>): Map<<ERROR CLASS><PublicKey, PublicKey>, Amount<P>>
kotlin.collections.Iterable
fun <P> netAmountsDue(balances: Map<<ERROR CLASS><PublicKey, PublicKey>, Amount<P>>): Map<<ERROR CLASS><PublicKey, PublicKey>, Amount<P>>
fun <P> sumAmountsDue(balances: Map<<ERROR CLASS><PublicKey, PublicKey>, Amount<P>>): Map<PublicKey, Long>
package com.r3corda.contracts.testing
Module Contents
val Amount<Currency>.CASH: State
val DUMMY_CASH_ISSUER: PartyAndReference
val DUMMY_CASH_ISSUER_KEY: <ERROR CLASS>
object JavaTestHelpers
Module Contents
fun CASH(amount: Amount<Currency>): State
fun OBLIGATION(amount: Amount<Issued<Currency>>): State<Currency>
fun OBLIGATION_DEF(issued: Issued<Currency>): StateTemplate<Currency>
fun STATE(amount: Amount<Issued<Currency>>): State
fun <T> at(state: State<T>, dueBefore: Instant): State<T>
fun <T> at(issuanceDef: IssuanceDefinition<T>, dueBefore: Instant): IssuanceDefinition<T>
fun <T> between(state: State<T>, parties: <ERROR CLASS><Party, PublicKey>): State<T>
fun issuedBy(state: State, party: Party): State
fun issuedBy(state: State, deposit: PartyAndReference): State
fun <T> issuedBy(state: State<T>, party: Party): State<T>
fun ownedBy(state: State, owner: PublicKey): State
fun <T> ownedBy(state: State<T>, owner: PublicKey): State<T>
fun ownedBy(state: State, owner: PublicKey): State
fun ownedBy(state: <ERROR CLASS>, new_owner: PublicKey): <ERROR CLASS>
fun withDeposit(state: State, deposit: PartyAndReference): State
fun withNotary(state: State, notary: Party): TransactionState<State>
fun withNotary(state: State, notary: Party): TransactionState<State>
fun withNotary(state: ContractState, notary: Party): TransactionState<ContractState>
val Amount<Issued<Currency>>.OBLIGATION: State<Currency>
val Issued<Currency>.OBLIGATION_DEF: StateTemplate<Currency>
val Amount<Issued<Currency>>.STATE: State
val TEST_PROGRAM_MAP: Map<Contract, Class<out Contract>>
infix fun <T> State<T>.at(dueBefore: Instant): State<T>
infix fun <T> IssuanceDefinition<T>.at(dueBefore: Instant): IssuanceDefinition<T>
infix fun <T> State<T>.between(parties: <ERROR CLASS><Party, PublicKey>): State<T>
fun ServiceHub.fillWithSomeTestCash(howMuch: Amount<Currency>, notary: Party = DUMMY_NOTARY, atLeastThisManyStates: Int = 3, atMostThisManyStates: Int = 10, rng: Random = Random(), ref: OpaqueBytes = OpaqueBytes(ByteArray(1, { 0 }))): Wallet
fun generateState(): DummyState
infix fun State.issued by(party: Party): State
infix fun State.issued by(deposit: PartyAndReference): State
infix fun <T> State<T>.issued by(party: Party): State<T>
infix fun State.owned by(owner: PublicKey): <ERROR CLASS>
infix fun <T> State<T>.owned by(owner: PublicKey): <ERROR CLASS>
infix fun State.owned by(owner: PublicKey): <ERROR CLASS>
infix fun <ERROR CLASS>.owned by(new_owner: PublicKey): <ERROR CLASS>
infix fun State.with deposit(deposit: PartyAndReference): State
infix fun State.with notary(notary: Party): TransactionState<State>
infix fun State.with notary(notary: Party): TransactionState<State>
infix fun ContractState.with notary(notary: Party): TransactionState<ContractState>
package com.r3corda.core
package com.r3corda.core.contracts
Module Contents
enum class AccrualAdjustment
data class Amount<T> : Comparable<Amount<T>>
interface Attachment : NamedByHash
data class AuthenticatedObject<out T : Any>
interface BilateralNettableState<T : BilateralNettableState<T>>
open class BusinessCalendar
Module Contents
val TEST_CALENDAR_DATA: <ERROR CLASS>
class UnknownCalendar : Exception
open fun applyRollConvention(testDate: LocalDate, dateRollConvention: DateRollConvention): LocalDate
val calendars: Array<out String>
val calendars: <ERROR CLASS>
fun createGenericSchedule(startDate: LocalDate, period: Frequency, calendar: BusinessCalendar = getInstance(), dateRollConvention: DateRollConvention = DateRollConvention.Following, noOfAdditionalPeriods: Int = Integer.MAX_VALUE, endDate: LocalDate? = null, periodOffset: Int? = null): List<LocalDate>
open fun equals(other: Any?): Boolean
fun getInstance(vararg calname: String): BusinessCalendar
fun getOffsetDate(startDate: LocalDate, period: Frequency, steps: Int = 1): LocalDate
open fun hashCode(): Int
val holidayDates: List<LocalDate>
open fun isWorkingDay(date: LocalDate): Boolean
fun moveBusinessDays(date: LocalDate, direction: DateRollDirection, i: Int): LocalDate
fun parseDateFromString(it: String): LocalDate
val CHF: Currency
data class Command
interface CommandData
interface Contract
interface ContractState
val DUMMY_PROGRAM_ID: DummyContract
enum class DateRollConvention
enum class DateRollDirection
enum class DayCountBasisDay
enum class DayCountBasisYear
interface DealState : LinearState
class DummyContract : Contract
data class DummyState : ContractState
data class Expression
object ExpressionDeserializer
object ExpressionSerializer
data class Fix : CommandData
data class FixOf
interface FixableDealState : DealState
enum class Frequency
val GBP: Currency
interface IssuanceDefinition
interface IssueCommand : CommandData
data class Issued<P>
object JavaTestHelpers
data class LedgerTransaction : NamedByHash
interface LinearState : ContractState
interface MoveCommand : CommandData
interface NamedByHash
enum class NetType
interface OwnableState : ContractState
data class PartyAndReference
enum class PaymentRule
val R: Requirements
class Requirements
interface SchedulableState : ContractState
interface Scheduled
data class ScheduledActivity : Scheduled
data class ScheduledStateRef : Scheduled
data class SignedTransaction : NamedByHash
data class StateAndRef<out T : ContractState>
data class StateRef
data class Tenor
data class TimestampCommand : CommandData
abstract class TransactionBuilder
class TransactionConflictException : Exception
data class TransactionForContract
Module Contents
TransactionForContract(inputs: List<ContractState>, outputs: 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 getTimestampByName(vararg authorityName: String): TimestampCommand?
inline fun <reified T : CommandData, K> groupCommands(keySelector: (AuthenticatedObject<T>) -> K): Map<K, List<AuthenticatedObject<T>>>
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 inputs: List<ContractState>
val origHash: SecureHash
val outStates: List<ContractState>
val outputs: List<ContractState>
data class TransactionForVerification
class TransactionGraphSearch : Callable<List<WireTransaction>>
class TransactionGroup
class TransactionResolutionException : Exception
data class TransactionState<out T : ContractState>
sealed class TransactionType
sealed class TransactionVerificationException : Exception
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 ContractState.hash(): SecureHash
infix fun Amount<Currency>.issued by(deposit: PartyAndReference): Amount<Issued<Currency>>
java.time.LocalDate
java.util.Currency
kotlin.Double
kotlin.Int
kotlin.collections.Iterable
kotlin.collections.List
inline fun <R> requireThat(body: Requirements.() -> R): R
fun WireTransaction.toLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransaction
inline fun <reified T : CommandData> verifyMoveCommand(inputs: List<OwnableState>, tx: TransactionForContract): Unit
inline fun <reified T : CommandData> verifyMoveCommand(inputs: List<OwnableState>, commands: List<AuthenticatedObject<CommandData>>): Unit
fun SignedTransaction.verifyToLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransaction
package com.r3corda.core.crypto
package com.r3corda.core.math
package com.r3corda.core.messaging
package com.r3corda.core.node
package com.r3corda.core.node.services
package com.r3corda.core.node.services.testing
package com.r3corda.core.protocols
Module Contents
data class AppContext
class IllegalProtocolLogicException : IllegalArgumentException
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: Party, sessionID: Long, payload: Any): Unit
inline fun <reified T : Any> sendAndReceive(topic: String, destination: Party, sessionIDForSend: Long, sessionIDForReceive: Long, payload: Any): UntrustworthyData<T>
val serviceHub: ServiceHub
fun <R> subProtocol(subLogic: ProtocolLogic<R>): R
data class ProtocolLogicRef
class ProtocolLogicRefFactory : SingletonSerializeAsToken
interface ProtocolStateMachine<R>
Module Contents
abstract val logger: <ERROR CLASS>
abstract fun <T : Any> receive(topic: String, sessionIDForReceive: Long, recvType: Class<T>): UntrustworthyData<T>
abstract fun send(topic: String, destination: Party, sessionID: Long, payload: Any): Unit
abstract fun <T : Any> sendAndReceive(topic: String, destination: Party, sessionIDForSend: Long, sessionIDForReceive: Long, payload: Any, recvType: Class<T>): UntrustworthyData<T>
abstract val serviceHub: ServiceHub
package com.r3corda.core.serialization
package com.r3corda.core.testing
package com.r3corda.core.utilities
package com.r3corda.demos
Module Contents
sealed class CliParams
Module Contents
class DateChange : CliParams
class RunNode : CliParams
Module Contents
RunNode(node: IRSDemoNode, dir: Path, networkAddress: <ERROR CLASS>, apiAddress: <ERROR CLASS>, mapAddress: String, identityFile: Path, tradeWithAddrs: List<String>, tradeWithIdentities: List<Path>, uploadRates: Boolean, defaultLegalName: String, autoSetup: Boolean)
val apiAddress: <ERROR CLASS>
val autoSetup: Boolean
val defaultLegalName: String
val dir: Path
val identityFile: Path
val mapAddress: String
val networkAddress: <ERROR CLASS>
val node: IRSDemoNode
val tradeWithAddrs: List<String>
val tradeWithIdentities: List<Path>
val uploadRates: Boolean
class SetupNode : CliParams
class Trade : CliParams
val defaultBaseDirectory: String
fun legalName(node: IRSDemoNode): String
fun parse(options: <ERROR CLASS>): CliParams
object CliParamsSpec
val DEFAULT_BASE_DIRECTORY: String
val DEMO_TOPIC: String
class DemoClock : MutableClock, SerializeAsToken
enum class IRSDemoNode
enum class IRSDemoRole
enum class Role
fun main(args: Array<String>): Unit
fun main(args: Array<String>): Unit
fun main(args: Array<String>): Unit
fun runIRSDemo(args: Array<String>): Int
fun runTraderDemo(args: Array<String>): Int
package com.r3corda.demos.api
package com.r3corda.demos.protocols
package com.r3corda.node.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, TransactionState<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
abstract fun status(): <ERROR CLASS>
data class ContractClassRef : ContractDefRef
interface ContractDefRef
data class ContractLedgerRef : ContractDefRef
data class ProtocolClassRef : ProtocolRef
data class ProtocolInstanceRef
interface ProtocolRef
data class ProtocolRequiringAttention
interface StatesQuery
data class TransactionBuildStep
package com.r3corda.node.internal
Module Contents
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, TransactionState<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
fun status(): <ERROR CLASS>
abstract class AbstractNode
class ConfigurationException : Exception
class Node : AbstractNode
package com.r3corda.node.internal.testing
Module Contents
class IRSSimulation : Simulation
class MockNetwork
Module Contents
MockNetwork(networkSendManuallyPumped: Boolean = false, threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)
object DefaultFactory : Factory
interface Factory
class MockNode : AbstractNode
fun addressToNode(address: SingleMessageRecipient): MockNode
fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, start: Boolean = true, legalName: String? = null, keyPair: KeyPair? = null, vararg advertisedServices: ServiceType): MockNode
fun createNotaryNode(legalName: String? = null, keyPair: KeyPair? = null): MockNode
fun createPartyNode(networkMapAddr: NodeInfo, legalName: String? = null, keyPair: KeyPair? = null): MockNode
fun createTwoNodes(nodeFactory: Factory = defaultFactory, notaryKeyPair: KeyPair? = null): <ERROR CLASS><MockNode, MockNode>
val filesystem: <ERROR CLASS>
val identities: ArrayList<Party>
val messagingNetwork: InMemoryMessagingNetwork
val nodes: List<MockNode>
fun runNetwork(rounds: Int = -1): Unit
fun startNodes(): Unit
fun stopNodes(): Unit
abstract class Simulation
class TestClock : MutableClock, SerializeAsToken
class TradeSimulation : Simulation
fun issueInvalidState(node: AbstractNode, notary: Party = DUMMY_NOTARY): StateAndRef<*>
fun issueMultiPartyState(nodeA: AbstractNode, nodeB: AbstractNode): StateAndRef<MultiOwnerState>
fun issueState(node: AbstractNode): StateAndRef<*>
kotlin.collections.Iterable
package com.r3corda.node.serialization
package com.r3corda.node.services
package com.r3corda.node.services.api
package com.r3corda.node.services.clientapi
package com.r3corda.node.services.config
package com.r3corda.node.services.events
package com.r3corda.node.services.identity
package com.r3corda.node.services.keys
package com.r3corda.node.services.messaging
package com.r3corda.node.services.network
package com.r3corda.node.services.persistence
package com.r3corda.node.services.statemachine
Module Contents
class ProtocolStateMachineImpl<R> : ProtocolStateMachine<R>
Module Contents
ProtocolStateMachineImpl(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>, loggerName: String)
val logger: <ERROR CLASS>
val logic: ProtocolLogic<R>
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: Party, sessionID: Long, payload: Any): Unit
fun <T : Any> sendAndReceive(topic: String, destination: Party, sessionIDForSend: Long, sessionIDForReceive: Long, payload: Any, recvType: Class<T>): UntrustworthyData<T>
lateinit var serviceHub: ServiceHubInternal
class StackSnapshot : Throwable
class StateMachineManager
package com.r3corda.node.services.transactions
package com.r3corda.node.services.wallet
package com.r3corda.node.servlets
package com.r3corda.node.utilities
package com.r3corda.protocols
package protocols