mirror of
https://github.com/corda/corda.git
synced 2025-05-31 06:31:08 +00:00
Regen docsite
This commit is contained in:
parent
88da5ba942
commit
3b8712627d
4
docs/build/html/_sources/index.txt
vendored
4
docs/build/html/_sources/index.txt
vendored
@ -1,7 +1,9 @@
|
||||
Welcome to the Corda repository!
|
||||
================================
|
||||
|
||||
This documentation describes the prototype of a proposed architecture for distributed ledgers.
|
||||
This documentation describes Corda, a proposed architecture for distributed ledgers, the vision for which is outlined in the `Corda Introductory Whitepaper`_.
|
||||
|
||||
.. _`Corda Introductory Whitepaper`: _static/corda-introductory-whitepaper.pdf
|
||||
|
||||
The goal of this prototype is to explore fundamentally better designs for distributed ledgers than what presently exists
|
||||
on the market, tailor made for the needs of the financial industry. We are attempting to prove or disprove the
|
||||
|
104
docs/build/html/_sources/protocol-state-machines.txt
vendored
104
docs/build/html/_sources/protocol-state-machines.txt
vendored
@ -559,4 +559,106 @@ the sub-protocol to have the tracker it will use be passed in as a parameter. Th
|
||||
and linked ahead of time.
|
||||
|
||||
In future, the progress tracking framework will become a vital part of how exceptions, errors, and other faults are
|
||||
surfaced to human operators for investigation and resolution.
|
||||
surfaced to human operators for investigation and resolution.
|
||||
|
||||
Unit testing
|
||||
------------
|
||||
|
||||
A protocol can be a fairly complex thing that interacts with many services and other parties over the network. That
|
||||
means unit testing one requires some infrastructure to provide lightweight mock implementations. The MockNetwork
|
||||
provides this testing infrastructure layer; you can find this class in the node module
|
||||
|
||||
A good example to examine for learning how to unit test protocols is the ``ResolveTransactionsProtocol`` tests. This
|
||||
protocol takes care of downloading and verifying transaction graphs, with all the needed dependencies. We start
|
||||
with this basic skeleton:
|
||||
|
||||
.. container:: codeset
|
||||
|
||||
.. sourcecode:: kotlin
|
||||
|
||||
class ResolveTransactionsProtocolTest {
|
||||
lateinit var net: MockNetwork
|
||||
lateinit var a: MockNetwork.MockNode
|
||||
lateinit var b: MockNetwork.MockNode
|
||||
lateinit var notary: Party
|
||||
|
||||
@Before
|
||||
fun setup() {
|
||||
net = MockNetwork()
|
||||
val nodes = net.createSomeNodes()
|
||||
a = nodes.partyNodes[0]
|
||||
b = nodes.partyNodes[1]
|
||||
notary = nodes.notaryNode.info.identity
|
||||
net.runNetwork()
|
||||
}
|
||||
|
||||
@After
|
||||
fun tearDown() {
|
||||
net.stopNodes()
|
||||
}
|
||||
}
|
||||
|
||||
We create a mock network in our ``@Before`` setup method and create a couple of nodes. We also record the identity
|
||||
of the notary in our test network, which will come in handy later. We also tidy up when we're done.
|
||||
|
||||
Next, we write a test case:
|
||||
|
||||
.. container:: codeset
|
||||
|
||||
.. sourcecode:: kotlin
|
||||
|
||||
@Test
|
||||
fun resolveFromTwoHashes() {
|
||||
val (stx1, stx2) = makeTransactions()
|
||||
val p = ResolveTransactionsProtocol(setOf(stx2.id), a.info.identity)
|
||||
val future = b.services.startProtocol("resolve", p)
|
||||
net.runNetwork()
|
||||
val results = future.get()
|
||||
assertEquals(listOf(stx1.id, stx2.id), results.map { it.id })
|
||||
assertEquals(stx1, b.storage.validatedTransactions.getTransaction(stx1.id))
|
||||
assertEquals(stx2, b.storage.validatedTransactions.getTransaction(stx2.id))
|
||||
}
|
||||
|
||||
We'll take a look at the ``makeTransactions`` function in a moment. For now, it's enough to know that it returns two
|
||||
``SignedTransaction`` objects, the second of which spends the first. Both transactions are known by node A
|
||||
but not node B.
|
||||
|
||||
The test logic is simple enough: we create the protocol, giving it node A's identity as the target to talk to.
|
||||
Then we start it on node B and use the ``net.runNetwork()`` method to bounce messages around until things have
|
||||
settled (i.e. there are no more messages waiting to be delivered). All this is done using an in memory message
|
||||
routing implementation that is fast to initialise and use. Finally, we obtain the result of the protocol and do
|
||||
some tests on it. We also check the contents of node B's database to see that the protocol had the intended effect
|
||||
on the node's persistent state.
|
||||
|
||||
Here's what ``makeTransactions`` looks like:
|
||||
|
||||
.. container:: codeset
|
||||
|
||||
.. sourcecode:: kotlin
|
||||
|
||||
private fun makeTransactions(): Pair<SignedTransaction, SignedTransaction> {
|
||||
// Make a chain of custody of dummy states and insert into node A.
|
||||
val dummy1: SignedTransaction = DummyContract.generateInitial(MEGA_CORP.ref(1), 0, notary).let {
|
||||
it.signWith(MEGA_CORP_KEY)
|
||||
it.signWith(DUMMY_NOTARY_KEY)
|
||||
it.toSignedTransaction(false)
|
||||
}
|
||||
val dummy2: SignedTransaction = DummyContract.move(dummy1.tx.outRef(0), MINI_CORP_PUBKEY).let {
|
||||
it.signWith(MEGA_CORP_KEY)
|
||||
it.signWith(DUMMY_NOTARY_KEY)
|
||||
it.toSignedTransaction()
|
||||
}
|
||||
a.services.recordTransactions(dummy1, dummy2)
|
||||
return Pair(dummy1, dummy2)
|
||||
}
|
||||
|
||||
We're using the ``DummyContract``, a simple test smart contract which stores a single number in its states, along
|
||||
with ownership and issuer information. You can issue such states, exit them and re-assign ownership (move them).
|
||||
It doesn't do anything else. This code simply creates a transaction that issues a dummy state (the issuer is
|
||||
``MEGA_CORP``, a pre-defined unit test identity), signs it with the test notary and MegaCorp keys and then
|
||||
converts the builder to the final ``SignedTransaction``. It then does so again, but this time instead of issuing
|
||||
it re-assigns ownership instead. The chain of two transactions is finally committed to node A by sending them
|
||||
directly to the ``a.services.recordTransaction`` method (note that this method doesn't check the transactions are
|
||||
valid).
|
||||
|
||||
And that's it: you can explore the documentation for the `MockNode API <api/com.r3corda.node.internal.testing/-mock-network/index.html>`_ here.
|
||||
|
1
docs/build/html/_sources/release-notes.txt
vendored
1
docs/build/html/_sources/release-notes.txt
vendored
@ -54,6 +54,7 @@ API changes:
|
||||
* The ``arg`` method in the test DSL is now called ``command`` to be consistent with the rest of the data model.
|
||||
* The messaging APIs have changed somewhat to now use a new ``TopicSession`` object. These APIs will continue to change
|
||||
in the upcoming releases.
|
||||
* Clauses now have default values provided for ``ifMatched``, ``ifNotMatched`` and ``requiredCommands``.
|
||||
|
||||
New documentation:
|
||||
|
||||
|
@ -10,42 +10,41 @@ Writing a contract using clauses
|
||||
This tutorial will take you through restructuring the commercial paper contract to use clauses. You should have
|
||||
already completed ":doc:`tutorial-contract`".
|
||||
|
||||
Clauses are essentially "mini-contracts" which contain verification logic, and are composed together to form
|
||||
Clauses are essentially micro-contracts which contain independent verification logic, and are composed together to form
|
||||
a contract. With appropriate design, they can be made to be reusable, for example issuing contract state objects is
|
||||
generally the same for all fungible contracts, so a single issuance clause can be shared. This cuts down on scope for
|
||||
error, and improves consistency of behaviour.
|
||||
|
||||
Clauses can be composed of subclauses, either to combine clauses in different ways, or to apply specialised clauses.
|
||||
In the case of commercial paper, we have a "Grouping" outermost clause, which will contain the "Issue", "Move" and
|
||||
"Redeem" clauses. The result is a contract that looks something like this:
|
||||
In the case of commercial paper, we have a ``Group`` outermost clause, which will contain the ``Issue``, ``Move`` and
|
||||
``Redeem`` clauses. The result is a contract that looks something like this:
|
||||
|
||||
1. Group input and output states together, and then apply the following clauses on each group:
|
||||
a. If an Issue command is present, run appropriate tests and end processing this group.
|
||||
b. If a Move command is present, run appropriate tests and end processing this group.
|
||||
c. If a Redeem command is present, run appropriate tests and end processing this group.
|
||||
a. If an ``Issue`` command is present, run appropriate tests and end processing this group.
|
||||
b. If a ``Move`` command is present, run appropriate tests and end processing this group.
|
||||
c. If a ``Redeem`` command is present, run appropriate tests and end processing this group.
|
||||
|
||||
Commercial paper class
|
||||
----------------------
|
||||
|
||||
First we need to change the class from implementing ``Contract``, to extend ``ClauseVerifier``. This is an abstract
|
||||
class which provides a verify() function for us, and requires we provide a property (``clauses``) for the clauses to test,
|
||||
and a function (``extractCommands``) to extract the applicable commands from the transaction. This is important because
|
||||
``ClauseVerifier`` checks that no commands applicable to the contract are left unprocessed at the end. The following
|
||||
examples are trimmed to the modified class definition and added elements, for brevity:
|
||||
To use the clause verification logic, the contract needs to call the ``verifyClauses()`` function, passing in the transaction,
|
||||
a list of clauses to verify, and a collection of commands the clauses are expected to handle all of. This list of
|
||||
commands is important because ``verifyClauses()`` checks that none of the commands are left unprocessed at the end, and
|
||||
raises an error if they are. The following examples are trimmed to the modified class definition and added elements, for
|
||||
brevity:
|
||||
|
||||
.. container:: codeset
|
||||
|
||||
.. sourcecode:: kotlin
|
||||
|
||||
class CommercialPaper : ClauseVerifier {
|
||||
override val legalContractReference: SecureHash = SecureHash.sha256("https://en.wikipedia.org/wiki/Commercial_paper");
|
||||
class CommercialPaper : Contract {
|
||||
override val legalContractReference: SecureHash = SecureHash.sha256("https://en.wikipedia.org/wiki/Commercial_paper")
|
||||
|
||||
override val clauses: List<SingleClause>
|
||||
get() = throw UnsupportedOperationException("not implemented")
|
||||
|
||||
override fun extractCommands(tx: TransactionForContract): List<AuthenticatedObject<CommandData>>
|
||||
private fun extractCommands(tx: TransactionForContract): List<AuthenticatedObject<CommandData>>
|
||||
= tx.commands.select<Commands>()
|
||||
|
||||
override fun verify(tx: TransactionForContract) = verifyClauses(tx, listOf(Clauses.Group()), extractCommands(tx))
|
||||
|
||||
.. sourcecode:: java
|
||||
|
||||
public class CommercialPaper implements Contract {
|
||||
@ -54,11 +53,6 @@ examples are trimmed to the modified class definition and added elements, for br
|
||||
return SecureHash.Companion.sha256("https://en.wikipedia.org/wiki/Commercial_paper");
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<SingleClause> getClauses() {
|
||||
throw UnsupportedOperationException("not implemented");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<AuthenticatedObject<CommandData>> extractCommands(@NotNull TransactionForContract tx) {
|
||||
return tx.getCommands()
|
||||
@ -67,14 +61,19 @@ examples are trimmed to the modified class definition and added elements, for br
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void verify(@NotNull TransactionForContract tx) throws IllegalArgumentException {
|
||||
ClauseVerifier.verifyClauses(tx, Collections.singletonList(new Clause.Group()), extractCommands(tx));
|
||||
}
|
||||
|
||||
Clauses
|
||||
-------
|
||||
|
||||
We'll tackle the inner clauses that contain the bulk of the verification logic, first, and the clause which handles
|
||||
grouping of input/output states later. The inner clauses need to implement the ``GroupClause`` interface, which defines
|
||||
the verify() function, and properties for key information on how the clause is processed. These properties specify the
|
||||
command(s) which must be present in order for the clause to be matched, and what to do after processing the clause
|
||||
depending on whether it was matched or not.
|
||||
the verify() function, and properties (``ifMatched``, ``ifNotMatched`` and ``requiredCommands``) defining how the clause
|
||||
is processed. These properties specify the command(s) which must be present in order for the clause to be matched,
|
||||
and what to do after processing the clause depending on whether it was matched or not.
|
||||
|
||||
The ``verify()`` functions defined in the ``SingleClause`` and ``GroupClause`` interfaces is similar to the conventional
|
||||
``Contract`` verification function, although it adds new parameters and returns the set of commands which it has processed.
|
||||
@ -158,7 +157,9 @@ The post-processing ``MatchBehaviour`` options are:
|
||||
* ERROR
|
||||
|
||||
In this case we process commands against each group, until the first matching clause is found, so we ``END`` on a match
|
||||
and ``CONTINUE`` otherwise. ``ERROR`` can be used as a part of a clause which must always/never be matched.
|
||||
and ``CONTINUE`` otherwise. ``ERROR`` can be used as a part of a clause which must always/never be matched. By default
|
||||
clauses are always matched (``requiredCommands`` is an empty set), execution continues after a clause is matched, and an
|
||||
error is raised if a clause is not matched.
|
||||
|
||||
Group Clause
|
||||
------------
|
||||
|
BIN
docs/build/html/_static/corda-introductory-whitepaper.pdf
vendored
Normal file
BIN
docs/build/html/_static/corda-introductory-whitepaper.pdf
vendored
Normal file
Binary file not shown.
163
docs/build/html/api/alltypes/index.html
vendored
163
docs/build/html/api/alltypes/index.html
vendored
@ -150,7 +150,8 @@ properties loaded from the attachments. And perhaps the authenticated user for
|
||||
<a href="../com.r3corda.node.services.messaging/-artemis-messaging-client/index.html">com.r3corda.node.services.messaging.ArtemisMessagingClient</a></td>
|
||||
<td>
|
||||
<p>This class implements the <a href="../com.r3corda.core.messaging/-messaging-service/index.html">MessagingService</a> API using Apache Artemis, the successor to their ActiveMQ product.
|
||||
Artemis is a message queue broker and here we run a client connecting to the specified broker instance <a href="../com.r3corda.node.services.messaging/-artemis-messaging-server/index.html">ArtemisMessagingServer</a></p>
|
||||
Artemis is a message queue broker and here we run a client connecting to the specified broker instance
|
||||
<a href="../com.r3corda.node.services.messaging/-artemis-messaging-server/index.html">ArtemisMessagingServer</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -239,13 +240,6 @@ Bilateral states are used in close-out netting.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.utilities/-brief-log-formatter/index.html">com.r3corda.core.utilities.BriefLogFormatter</a></td>
|
||||
<td>
|
||||
<p>A Java logging formatter that writes more compact output than the default.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts/-business-calendar/index.html">com.r3corda.core.contracts.BusinessCalendar</a></td>
|
||||
<td>
|
||||
<p>A business calendar performs date calculations that take into account national holidays and weekends. This is a
|
||||
@ -306,14 +300,7 @@ the same transaction.</p>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts.clauses/-clause/index.html">com.r3corda.core.contracts.clauses.Clause</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts.clauses/-clause-verifier/index.html">com.r3corda.core.contracts.clauses.ClauseVerifier</a></td>
|
||||
<td>
|
||||
<p>Abstract superclass for clause-based contracts to extend, which provides a verify() function
|
||||
that delegates to the supplied list of clauses.</p>
|
||||
<p>A clause that can be matched as part of execution of a contract.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -331,6 +318,19 @@ that delegates to the supplied list of clauses.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-client-to-service-command/index.html">com.r3corda.node.services.monitor.ClientToServiceCommand</a></td>
|
||||
<td>
|
||||
<p>A command from the monitoring client, to the node.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-client-to-service-command-message/index.html">com.r3corda.node.services.monitor.ClientToServiceCommandMessage</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.utilities/java.time.-clock/index.html">java.time.Clock</a> (extensions in package com.r3corda.node.utilities)</td>
|
||||
<td>
|
||||
</td>
|
||||
@ -522,6 +522,18 @@ implementation of general protocols that manipulate many agreement types.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-deregister-request/index.html">com.r3corda.node.services.monitor.DeregisterRequest</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-deregister-response/index.html">com.r3corda.node.services.monitor.DeregisterResponse</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.serialization/-deserialize-as-kotlin-object-def.html">com.r3corda.core.serialization.DeserializeAsKotlinObjectDef</a></td>
|
||||
<td>
|
||||
<p>Marker interface for kotlin object definitions so that they are deserialized as the singleton instance.</p>
|
||||
@ -560,13 +572,32 @@ started on).</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.driver/-driver-d-s-l/index.html">com.r3corda.node.driver.DriverDSL</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.driver/-driver-d-s-l-exposed-interface/index.html">com.r3corda.node.driver.DriverDSLExposedInterface</a></td>
|
||||
<td>
|
||||
<p>This is the interface thats exposed to DSL users.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.driver/-driver-d-s-l-internal-interface/index.html">com.r3corda.node.driver.DriverDSLInternalInterface</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts/-dummy-contract/index.html">com.r3corda.core.contracts.DummyContract</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.testing/-dummy-linear-state/index.html">com.r3corda.core.testing.DummyLinearState</a></td>
|
||||
<a href="../com.r3corda.core.testing/-dummy-linear-contract/index.html">com.r3corda.core.testing.DummyLinearContract</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
@ -1074,13 +1105,7 @@ with the commands from the wire, and verified/looked up.</p>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts/-linear-state/index.html">com.r3corda.core.contracts.LinearState</a></td>
|
||||
<td>
|
||||
<p>A state that evolves by superseding itself, all of which share the common "thread".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts/kotlin.collections.-list/index.html">kotlin.collections.List</a> (extensions in package com.r3corda.core.contracts)</td>
|
||||
<td>
|
||||
<p>A state that evolves by superseding itself, all of which share the common "linearId".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1097,6 +1122,13 @@ with the commands from the wire, and verified/looked up.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.utilities/-log-helper/index.html">com.r3corda.core.utilities.LogHelper</a></td>
|
||||
<td>
|
||||
<p>A configuration helper that allows modifying the log level for specific loggers</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core/kotlin.-long/index.html">kotlin.Long</a> (extensions in package com.r3corda.core)</td>
|
||||
<td>
|
||||
</td>
|
||||
@ -1407,6 +1439,12 @@ rate fix (e.g. LIBOR, EURIBOR ...).</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.driver/-node-runner/index.html">com.r3corda.node.driver.NodeRunner</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.events/-node-scheduler-service/index.html">com.r3corda.node.services.events.NodeSchedulerService</a></td>
|
||||
<td>
|
||||
<p>A first pass of a simple <a href="../com.r3corda.core.node.services/-scheduler-service/index.html">SchedulerService</a> that works with <a href="#">MutableClock</a>s for testing, demonstrations and simulations
|
||||
@ -1417,8 +1455,8 @@ that also encompasses the <a href="#">Wallet</a> observer for processing transac
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.wallet/-node-wallet-service/index.html">com.r3corda.node.services.wallet.NodeWalletService</a></td>
|
||||
<td>
|
||||
<p>Currently, the node wallet service is just the in-memory wallet service until we have finished evaluating and
|
||||
selecting a persistence layer (probably an ORM over a SQL DB).</p>
|
||||
<p>Currently, the node wallet service is a very simple RDBMS backed implementation. It will change significantly when
|
||||
we add further functionality as the design for the wallet and wallet service matures.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1619,6 +1657,12 @@ Labels should not refer to non-landmarks, for example, they should not contain t
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.driver/-port-allocation/index.html">com.r3corda.node.driver.PortAllocation</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.crypto/java.security.-private-key/index.html">java.security.PrivateKey</a> (extensions in package com.r3corda.core.crypto)</td>
|
||||
<td>
|
||||
</td>
|
||||
@ -1761,6 +1805,18 @@ e.g. LIBOR 6M as of 17 March 2016. Hence it requires a source (name) and a value
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-register-request/index.html">com.r3corda.node.services.monitor.RegisterRequest</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-register-response/index.html">com.r3corda.node.services.monitor.RegisterResponse</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.api/-regulator-service/index.html">com.r3corda.node.services.api.RegulatorService</a></td>
|
||||
<td>
|
||||
<p>Placeholder interface for regulator services.</p>
|
||||
@ -1923,6 +1979,13 @@ fields such as replyTo and sessionID.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-service-to-client-event/index.html">com.r3corda.node.services.monitor.ServiceToClientEvent</a></td>
|
||||
<td>
|
||||
<p>Events triggered by changes in the node, and sent to monitoring client(s).</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.node.services/-service-type/index.html">com.r3corda.core.node.services.ServiceType</a></td>
|
||||
<td>
|
||||
<p>Identifier for service types a node can expose over the network to other peers. These types are placed into network
|
||||
@ -1961,8 +2024,10 @@ contained within.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts.clauses/-single-clause.html">com.r3corda.core.contracts.clauses.SingleClause</a></td>
|
||||
<a href="../com.r3corda.core.contracts.clauses/-single-clause/index.html">com.r3corda.core.contracts.clauses.SingleClause</a></td>
|
||||
<td>
|
||||
<p>A single verifiable clause. By default always matches, continues to the next clause when matched and errors
|
||||
if not matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -2046,6 +2111,12 @@ transaction defined the state and where in that transaction it was.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-state-snapshot-message/index.html">com.r3corda.node.services.monitor.StateSnapshotMessage</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.api/-states-query/index.html">com.r3corda.node.api.StatesQuery</a></td>
|
||||
<td>
|
||||
<p>Extremely rudimentary query language which should most likely be replaced with a product.</p>
|
||||
@ -2124,6 +2195,12 @@ way that ensures itll be released if theres an exception.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core/kotlin.-throwable/index.html">kotlin.Throwable</a> (extensions in package com.r3corda.core)</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.utilities/-time-window/index.html">com.r3corda.core.utilities.TimeWindow</a></td>
|
||||
<td>
|
||||
<p>A class representing a window in time from a particular instant, lasting a specified duration.</p>
|
||||
@ -2131,17 +2208,17 @@ way that ensures itll be released if theres an exception.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.node.services/-timestamp-checker/index.html">com.r3corda.core.node.services.TimestampChecker</a></td>
|
||||
<a href="../com.r3corda.core.contracts/-timestamp/index.html">com.r3corda.core.contracts.Timestamp</a></td>
|
||||
<td>
|
||||
<p>Checks if the given timestamp falls within the allowed tolerance interval.</p>
|
||||
<p>If present in a transaction, contains a time that was verified by the uniqueness service. The true time must be
|
||||
between (after, before).</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts/-timestamp-command/index.html">com.r3corda.core.contracts.TimestampCommand</a></td>
|
||||
<a href="../com.r3corda.core.node.services/-timestamp-checker/index.html">com.r3corda.core.node.services.TimestampChecker</a></td>
|
||||
<td>
|
||||
<p>If present in a transaction, contains a time that was verified by the timestamping authority/authorities whose
|
||||
public keys are identified in the containing <a href="../com.r3corda.core.contracts/-command/index.html">Command</a> object. The true time must be between (after, before).</p>
|
||||
<p>Checks if the given timestamp falls within the allowed tolerance interval.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -2168,6 +2245,12 @@ then B and C trade with each other, then C and A etc).</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-transaction-build-result/index.html">com.r3corda.node.services.monitor.TransactionBuildResult</a></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.api/-transaction-build-step/index.html">com.r3corda.node.api.TransactionBuildStep</a></td>
|
||||
<td>
|
||||
<p>Encapsulate a generateXXX method call on a contract.</p>
|
||||
@ -2291,6 +2374,13 @@ and seller) and the following steps:</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.contracts/-unique-identifier/index.html">com.r3corda.core.contracts.UniqueIdentifier</a></td>
|
||||
<td>
|
||||
<p>This class provides a truly unique identifier of a trade, state, or other business object.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.node.services/-uniqueness-exception/index.html">com.r3corda.core.node.services.UniquenessException</a></td>
|
||||
<td>
|
||||
</td>
|
||||
@ -2361,6 +2451,15 @@ about new transactions from our peers and generate new transactions that consume
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.node.services.monitor/-wallet-monitor-service/index.html">com.r3corda.node.services.monitor.WalletMonitorService</a></td>
|
||||
<td>
|
||||
<p>Service which allows external clients to monitor the wallet service and state machine manager, as well as trigger
|
||||
actions within the node. The service also sends requests for user input back to clients, for example to enter
|
||||
additional information while a protocol runs, or confirm an action.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../com.r3corda.core.node.services/-wallet-service/index.html">com.r3corda.core.node.services.WalletService</a></td>
|
||||
<td>
|
||||
<p>A <a href="../com.r3corda.core.node.services/-wallet-service/index.html">WalletService</a> is responsible for securely and safely persisting the current state of a wallet to storage. The
|
||||
|
16
docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/group-states.html
vendored
Normal file
16
docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/group-states.html
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>Cash.Clauses.Group.groupStates - </title>
|
||||
<link rel="stylesheet" href="../../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../../index.html">com.r3corda.contracts.asset</a> / <a href="../../index.html">Cash</a> / <a href="../index.html">Clauses</a> / <a href="index.html">Group</a> / <a href=".">groupStates</a><br/>
|
||||
<br/>
|
||||
<h1>groupStates</h1>
|
||||
<a name="com.r3corda.contracts.asset.Cash.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Cash.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/group-states.html">GroupClauseVerifier.groupStates</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -9,7 +9,7 @@
|
||||
<h1>ifMatched</h1>
|
||||
<a name="com.r3corda.contracts.asset.Cash.Clauses.Group$ifMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-matched.html">SingleClause.ifMatched</a><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>ifNotMatched</h1>
|
||||
<a name="com.r3corda.contracts.asset.Cash.Clauses.Group$ifNotMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html">SingleClause.ifNotMatched</a><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -63,9 +63,9 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-groups.html">extractGroups</a></td>
|
||||
<a href="group-states.html">groupStates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Cash.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Cash.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>clauses</h1>
|
||||
<a name="com.r3corda.contracts.asset.Cash$clauses"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/clauses.html">ClauseVerifier.clauses</a><br/>
|
||||
Overrides <a href="../-on-ledger-asset/clauses.html">OnLedgerAsset.clauses</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>extractCommands</h1>
|
||||
<a name="com.r3corda.contracts.asset.Cash$extractCommands(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Cash$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../-fungible-asset/-commands/index.html"><span class="identifier">Commands</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/extract-commands.html">ClauseVerifier.extractCommands</a><br/>
|
||||
Overrides <a href="../-on-ledger-asset/extract-commands.html">OnLedgerAsset.extractCommands</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -130,5 +130,20 @@ when sending out "change" from spending/exiting.</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inherited Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-on-ledger-asset/verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
@ -0,0 +1,17 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>CommodityContract.Clauses.Group.groupStates - </title>
|
||||
<link rel="stylesheet" href="../../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../../index.html">com.r3corda.contracts.asset</a> / <a href="../../index.html">CommodityContract</a> / <a href="../index.html">Clauses</a> / <a href="index.html">Group</a> / <a href=".">groupStates</a><br/>
|
||||
<br/>
|
||||
<h1>groupStates</h1>
|
||||
<a name="com.r3corda.contracts.asset.CommodityContract.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.CommodityContract.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-commodity/index.html"><span class="identifier">Commodity</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/group-states.html">GroupClauseVerifier.groupStates</a><br/>
|
||||
<p>Group commodity states by issuance definition (issuer and underlying commodity).</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -9,7 +9,7 @@
|
||||
<h1>ifMatched</h1>
|
||||
<a name="com.r3corda.contracts.asset.CommodityContract.Clauses.Group$ifMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-matched.html">SingleClause.ifMatched</a><br/>
|
||||
<p>The group clause is the only top level clause, so end after processing it. If there are any commands left
|
||||
after this clause has run, the clause verifier will trigger an error.</p>
|
||||
<br/>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>ifNotMatched</h1>
|
||||
<a name="com.r3corda.contracts.asset.CommodityContract.Clauses.Group$ifNotMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html">SingleClause.ifNotMatched</a><br/>
|
||||
<p>The group clause does not depend on any commands being present, so something has gone terribly wrong if
|
||||
it doesnt match.</p>
|
||||
<br/>
|
||||
|
@ -69,9 +69,9 @@ it doesnt match.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-groups.html">extractGroups</a></td>
|
||||
<a href="group-states.html">groupStates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.CommodityContract.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-commodity/index.html"><span class="identifier">Commodity</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><p>Group commodity states by issuance definition (issuer and underlying commodity).</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.CommodityContract.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-commodity/index.html"><span class="identifier">Commodity</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><p>Group commodity states by issuance definition (issuer and underlying commodity).</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>clauses</h1>
|
||||
<a name="com.r3corda.contracts.asset.CommodityContract$clauses"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/clauses.html">ClauseVerifier.clauses</a><br/>
|
||||
Overrides <a href="../-on-ledger-asset/clauses.html">OnLedgerAsset.clauses</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>extractCommands</h1>
|
||||
<a name="com.r3corda.contracts.asset.CommodityContract$extractCommands(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.CommodityContract$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../-fungible-asset/-commands/index.html"><span class="identifier">Commands</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/extract-commands.html">ClauseVerifier.extractCommands</a><br/>
|
||||
Overrides <a href="../-on-ledger-asset/extract-commands.html">OnLedgerAsset.extractCommands</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -126,5 +126,20 @@ when sending out "change" from spending/exiting.</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inherited Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-on-ledger-asset/verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
@ -43,5 +43,16 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Extension Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core/kotlin.-throwable/root-cause.html">rootCause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">Throwable</span><span class="symbol">.</span><span class="identifier">rootCause</span><span class="symbol">: </span><span class="identifier">Throwable</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
16
docs/build/html/api/com.r3corda.contracts.asset/-obligation/-clauses/-group/group-states.html
vendored
Normal file
16
docs/build/html/api/com.r3corda.contracts.asset/-obligation/-clauses/-group/group-states.html
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>Obligation.Clauses.Group.groupStates - </title>
|
||||
<link rel="stylesheet" href="../../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../../index.html">com.r3corda.contracts.asset</a> / <a href="../../index.html">Obligation</a> / <a href="../index.html">Clauses</a> / <a href="index.html">Group</a> / <a href=".">groupStates</a><br/>
|
||||
<br/>
|
||||
<h1>groupStates</h1>
|
||||
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/group-states.html">GroupClauseVerifier.groupStates</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -9,7 +9,7 @@
|
||||
<h1>ifMatched</h1>
|
||||
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Group$ifMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-matched.html">SingleClause.ifMatched</a><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>ifNotMatched</h1>
|
||||
<a name="com.r3corda.contracts.asset.Obligation.Clauses.Group$ifNotMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html">SingleClause.ifNotMatched</a><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -65,9 +65,9 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-groups.html">extractGroups</a></td>
|
||||
<a href="group-states.html">groupStates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts.asset</a> / <a href="../../index.html">Obligation</a> / <a href="../index.html">Clauses</a> / <a href=".">VerifyLifecycle</a><br/>
|
||||
<br/>
|
||||
<h1>VerifyLifecycle</h1>
|
||||
<code><span class="keyword">class </span><span class="identifier">VerifyLifecycle</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">, </span><a href="../../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
<code><span class="keyword">class </span><span class="identifier">VerifyLifecycle</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">, </span><a href="../../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
<p>Obligation-specific clause for verifying that all states are in
|
||||
normal lifecycle. In a group clause set, this must be run after
|
||||
any lifecycle change clause, which is the only clause that involve
|
||||
@ -29,28 +29,28 @@ non-standard lifecycle states on input/output.</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Properties</h3>
|
||||
<h3>Inherited Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="if-matched.html">ifMatched</a></td>
|
||||
<a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-matched.html">ifMatched</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="if-not-matched.html">ifNotMatched</a></td>
|
||||
<a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html">ifNotMatched</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="required-commands.html">requiredCommands</a></td>
|
||||
<a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/required-commands.html">requiredCommands</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><span class="keyword">out</span> <a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><span class="keyword">out</span> <a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -60,7 +60,7 @@ change of ownership of other states to fulfil</p>
|
||||
<td>
|
||||
<a href="-verify-lifecycle/index.html">VerifyLifecycle</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">VerifyLifecycle</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">, </span><a href="../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><p>Obligation-specific clause for verifying that all states are in
|
||||
<code><span class="keyword">class </span><span class="identifier">VerifyLifecycle</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts.clauses/-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">, </span><a href="../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><p>Obligation-specific clause for verifying that all states are in
|
||||
normal lifecycle. In a group clause set, this must be run after
|
||||
any lifecycle change clause, which is the only clause that involve
|
||||
non-standard lifecycle states on input/output.</p>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">com.r3corda.contracts.asset</a> / <a href=".">Obligation</a><br/>
|
||||
<br/>
|
||||
<h1>Obligation</h1>
|
||||
<code><span class="keyword">class </span><span class="identifier">Obligation</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/index.html"><span class="identifier">ClauseVerifier</span></a></code><br/>
|
||||
<code><span class="keyword">class </span><span class="identifier">Obligation</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code><br/>
|
||||
<p>An obligation contract commits the obligor to delivering a specified amount of a fungible asset (for example the
|
||||
<a href="../-cash/index.html">Cash</a> contract) at a specified future point in time. Settlement transactions may split and merge contracts across
|
||||
multiple input and output states. The goal of this design is to handle amounts owed, and these contracts are expected
|
||||
@ -79,12 +79,6 @@ to be netted/merged, with settlement only for any remainder amount.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="clauses.html">clauses</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="legal-contract-reference.html">legalContractReference</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="../../com.r3corda.core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></code><p>TODO:</p>
|
||||
@ -97,12 +91,6 @@ to be netted/merged, with settlement only for any remainder amount.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-commands.html">extractCommands</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../-fungible-asset/-commands/index.html"><span class="identifier">Commands</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="generate-close-out-netting.html">generateCloseOutNetting</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateCloseOutNetting</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$generateCloseOutNetting(com.r3corda.core.contracts.TransactionBuilder, java.security.PublicKey, kotlin.Array((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.asset.Obligation.P)))))/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$generateCloseOutNetting(com.r3corda.core.contracts.TransactionBuilder, java.security.PublicKey, kotlin.Array((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.asset.Obligation.P)))))/signer">signer</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">, </span><span class="keyword">vararg</span> <span class="identifier" id="com.r3corda.contracts.asset.Obligation$generateCloseOutNetting(com.r3corda.core.contracts.TransactionBuilder, java.security.PublicKey, kotlin.Array((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.asset.Obligation.P)))))/states">states</span><span class="symbol">:</span> <a href="-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Generate a transaction performing close-out netting of two or more states.</p>
|
||||
@ -141,16 +129,11 @@ to be netted/merged, with settlement only for any remainder amount.</p>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateSettle</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$generateSettle(com.r3corda.core.contracts.TransactionBuilder, kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.asset.Obligation.P)))))), kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.FungibleAsset((com.r3corda.contracts.asset.Obligation.P)))))), com.r3corda.core.contracts.MoveCommand, com.r3corda.core.crypto.Party)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$generateSettle(com.r3corda.core.contracts.TransactionBuilder, kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.asset.Obligation.P)))))), kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.FungibleAsset((com.r3corda.contracts.asset.Obligation.P)))))), com.r3corda.core.contracts.MoveCommand, com.r3corda.core.crypto.Party)/statesAndRefs">statesAndRefs</span><span class="symbol">:</span> <span class="identifier">Iterable</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol"><</span><a href="-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$generateSettle(com.r3corda.core.contracts.TransactionBuilder, kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.asset.Obligation.P)))))), kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.FungibleAsset((com.r3corda.contracts.asset.Obligation.P)))))), com.r3corda.core.contracts.MoveCommand, com.r3corda.core.crypto.Party)/assetStatesAndRefs">assetStatesAndRefs</span><span class="symbol">:</span> <span class="identifier">Iterable</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol"><</span><a href="../-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$generateSettle(com.r3corda.core.contracts.TransactionBuilder, kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.asset.Obligation.P)))))), kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.FungibleAsset((com.r3corda.contracts.asset.Obligation.P)))))), com.r3corda.core.contracts.MoveCommand, com.r3corda.core.crypto.Party)/moveCommand">moveCommand</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-move-command/index.html"><span class="identifier">MoveCommand</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$generateSettle(com.r3corda.core.contracts.TransactionBuilder, kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.Obligation.State((com.r3corda.contracts.asset.Obligation.P)))))), kotlin.collections.Iterable((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.FungibleAsset((com.r3corda.contracts.asset.Obligation.P)))))), com.r3corda.core.contracts.MoveCommand, com.r3corda.core.crypto.Party)/notary">notary</span><span class="symbol">:</span> <a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inherited Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/verify.html">verify</a></td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.ClauseVerifier$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
|
@ -10,7 +10,10 @@
|
||||
<a name="com.r3corda.contracts.asset.Obligation$verify(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.Obligation$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts/-contract/verify.html">Contract.verify</a><br/>
|
||||
<p>This is the function EVERYONE runs</p>
|
||||
<p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
15
docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/clauses.html
vendored
Normal file
15
docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/clauses.html
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>OnLedgerAsset.clauses - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.contracts.asset</a> / <a href="index.html">OnLedgerAsset</a> / <a href=".">clauses</a><br/>
|
||||
<br/>
|
||||
<h1>clauses</h1>
|
||||
<a name="com.r3corda.contracts.asset.OnLedgerAsset$clauses"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts.clauses/-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
15
docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/extract-commands.html
vendored
Normal file
15
docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/extract-commands.html
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>OnLedgerAsset.extractCommands - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.contracts.asset</a> / <a href="index.html">OnLedgerAsset</a> / <a href=".">extractCommands</a><br/>
|
||||
<br/>
|
||||
<h1>extractCommands</h1>
|
||||
<a name="com.r3corda.contracts.asset.OnLedgerAsset$extractCommands(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Collection</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">com.r3corda.contracts.asset</a> / <a href=".">OnLedgerAsset</a><br/>
|
||||
<br/>
|
||||
<h1>OnLedgerAsset</h1>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">OnLedgerAsset</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">, </span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/index.html"><span class="identifier">ClauseVerifier</span></a></code><br/>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">OnLedgerAsset</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">, </span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code><br/>
|
||||
<p>An asset transaction may split and merge assets represented by a set of (issuer, depositRef) pairs, across multiple
|
||||
input and output states. Imagine a Bitcoin transaction but in which all UTXOs had a colour (a blend of
|
||||
issuer+depositRef) and you couldnt merge outputs of two colours together, but you COULD put them in the same
|
||||
@ -41,6 +41,12 @@ transaction.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="clauses.html">clauses</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts.clauses/-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="conserve-clause.html">conserveClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">conserveClause</span><span class="symbol">: </span><a href="../../com.r3corda.contracts.clause/-abstract-conserve-amount/index.html"><span class="identifier">AbstractConserveAmount</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">T</span><span class="symbol">></span></code></td>
|
||||
@ -52,9 +58,11 @@ transaction.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/clauses.html">clauses</a></td>
|
||||
<a href="../../com.r3corda.core.contracts/-contract/legal-contract-reference.html">legalContractReference</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="../../com.r3corda.core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></code><p>Unparsed reference to the natural language contract that this code is supposed to express (usually a hash of
|
||||
the contracts contents).</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -72,6 +80,12 @@ when sending out "change" from spending/exiting.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-commands.html">extractCommands</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Collection</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="generate-exit.html">generateExit</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateExit</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$generateExit(com.r3corda.core.contracts.TransactionBuilder, com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.OnLedgerAsset.T)))), java.security.PublicKey, kotlin.collections.List((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.OnLedgerAsset.S)))))/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$generateExit(com.r3corda.core.contracts.TransactionBuilder, com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.OnLedgerAsset.T)))), java.security.PublicKey, kotlin.collections.List((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.OnLedgerAsset.S)))))/amountIssued">amountIssued</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$generateExit(com.r3corda.core.contracts.TransactionBuilder, com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.OnLedgerAsset.T)))), java.security.PublicKey, kotlin.collections.List((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.OnLedgerAsset.S)))))/changeKey">changeKey</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$generateExit(com.r3corda.core.contracts.TransactionBuilder, com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((com.r3corda.contracts.asset.OnLedgerAsset.T)))), java.security.PublicKey, kotlin.collections.List((com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.asset.OnLedgerAsset.S)))))/assetStates">assetStates</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a></code><p>Generate an transaction exiting assets from the ledger.</p>
|
||||
@ -103,22 +117,11 @@ when sending out "change" from spending/exiting.</p>
|
||||
Note that the wallet list is not updated: its up to you to do that.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inherited Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/extract-commands.html">extractCommands</a></td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.ClauseVerifier$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Collection</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.ClauseVerifier$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
|
20
docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/verify.html
vendored
Normal file
20
docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/verify.html
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>OnLedgerAsset.verify - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.contracts.asset</a> / <a href="index.html">OnLedgerAsset</a> / <a href=".">verify</a><br/>
|
||||
<br/>
|
||||
<h1>verify</h1>
|
||||
<a name="com.r3corda.contracts.asset.OnLedgerAsset$verify(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.asset.OnLedgerAsset$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts/-contract/verify.html">Contract.verify</a><br/>
|
||||
<p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -47,7 +47,7 @@ container), shares of the same class in a specific company are fungible and coun
|
||||
<td>
|
||||
<a href="-obligation/index.html">Obligation</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Obligation</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts.clauses/-clause-verifier/index.html"><span class="identifier">ClauseVerifier</span></a></code><p>An obligation contract commits the obligor to delivering a specified amount of a fungible asset (for example the
|
||||
<code><span class="keyword">class </span><span class="identifier">Obligation</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code><p>An obligation contract commits the obligor to delivering a specified amount of a fungible asset (for example the
|
||||
<a href="-cash/index.html">Cash</a> contract) at a specified future point in time. Settlement transactions may split and merge contracts across
|
||||
multiple input and output states. The goal of this design is to handle amounts owed, and these contracts are expected
|
||||
to be netted/merged, with settlement only for any remainder amount.</p>
|
||||
@ -57,7 +57,7 @@ to be netted/merged, with settlement only for any remainder amount.</p>
|
||||
<td>
|
||||
<a href="-on-ledger-asset/index.html">OnLedgerAsset</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">OnLedgerAsset</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">, </span><span class="identifier">S</span> <span class="symbol">:</span> <a href="-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts.clauses/-clause-verifier/index.html"><span class="identifier">ClauseVerifier</span></a></code><p>An asset transaction may split and merge assets represented by a set of (issuer, depositRef) pairs, across multiple
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">OnLedgerAsset</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">, </span><span class="identifier">S</span> <span class="symbol">:</span> <a href="-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code><p>An asset transaction may split and merge assets represented by a set of (issuer, depositRef) pairs, across multiple
|
||||
input and output states. Imagine a Bitcoin transaction but in which all UTXOs had a colour (a blend of
|
||||
issuer+depositRef) and you couldnt merge outputs of two colours together, but you COULD put them in the same
|
||||
transaction.</p>
|
||||
|
@ -9,11 +9,8 @@
|
||||
<h1>ifMatched</h1>
|
||||
<a name="com.r3corda.contracts.clause.NetClause$ifMatched"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-single-clause/if-matched.html">SingleClause.ifMatched</a><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
<p><strong>Getter</strong><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -9,11 +9,8 @@
|
||||
<h1>ifNotMatched</h1>
|
||||
<a name="com.r3corda.contracts.clause.NetClause$ifNotMatched"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html">SingleClause.ifNotMatched</a><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
<p><strong>Getter</strong><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">com.r3corda.contracts.clause</a> / <a href=".">NetClause</a><br/>
|
||||
<br/>
|
||||
<h1>NetClause</h1>
|
||||
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NetClause</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NetClause</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts.clauses/-single-clause/index.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<p>Clause for netting contract states. Currently only supports obligation contract.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -9,11 +9,8 @@
|
||||
<h1>requiredCommands</h1>
|
||||
<a name="com.r3corda.contracts.clause.NetClause$requiredCommands"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><span class="keyword">out</span> <a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause/required-commands.html">Clause.requiredCommands</a><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-single-clause/required-commands.html">SingleClause.requiredCommands</a><br/>
|
||||
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
<p><strong>Getter</strong><br/>
|
||||
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -51,7 +51,7 @@ Used in cases where all parties (or their proxies) are signing, such as central
|
||||
<td>
|
||||
<a href="-net-clause/index.html">NetClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NetClause</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a></code><p>Clause for netting contract states. Currently only supports obligation contract.</p>
|
||||
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NetClause</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts.clauses/-single-clause/index.html"><span class="identifier">SingleClause</span></a></code><p>Clause for netting contract states. Currently only supports obligation contract.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -8,13 +8,16 @@
|
||||
<br/>
|
||||
<h1>fillWithSomeTestCash</h1>
|
||||
<a name="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)"></a>
|
||||
<code><span class="keyword">fun </span><a href="../com.r3corda.core.node/-service-hub/index.html"><span class="identifier">ServiceHub</span></a><span class="symbol">.</span><span class="identifier">fillWithSomeTestCash</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/howMuch">howMuch</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/notary">notary</span><span class="symbol">:</span> <a href="../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a> <span class="symbol">=</span> DUMMY_NOTARY<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/atLeastThisManyStates">atLeastThisManyStates</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 3<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/atMostThisManyStates">atMostThisManyStates</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 10<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/rng">rng</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Random.html"><span class="identifier">Random</span></a> <span class="symbol">=</span> Random()<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/ref">ref</span><span class="symbol">:</span> <a href="../com.r3corda.core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a> <span class="symbol">=</span> OpaqueBytes(ByteArray(1, { 1 }))<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/ownedBy">ownedBy</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../com.r3corda.core.node.services/-wallet/index.html"><span class="identifier">Wallet</span></a></code><br/>
|
||||
<code><span class="keyword">fun </span><a href="../com.r3corda.core.node/-service-hub/index.html"><span class="identifier">ServiceHub</span></a><span class="symbol">.</span><span class="identifier">fillWithSomeTestCash</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/howMuch">howMuch</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/outputNotary">outputNotary</span><span class="symbol">:</span> <a href="../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a> <span class="symbol">=</span> DUMMY_NOTARY<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/atLeastThisManyStates">atLeastThisManyStates</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 3<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/atMostThisManyStates">atMostThisManyStates</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 10<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/rng">rng</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Random.html"><span class="identifier">Random</span></a> <span class="symbol">=</span> Random()<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/ref">ref</span><span class="symbol">:</span> <a href="../com.r3corda.core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a> <span class="symbol">=</span> OpaqueBytes(ByteArray(1, { 1 }))<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/ownedBy">ownedBy</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../com.r3corda.core.node.services/-wallet/index.html"><span class="identifier">Wallet</span></a></code><br/>
|
||||
<p>Creates a random set of between (by default) 3 and 10 cash states that add up to the given amount and adds them
|
||||
to the wallet. This is intended for unit tests. The cash is issued by <a href="../com.r3corda.contracts.asset/-d-u-m-m-y_-c-a-s-h_-i-s-s-u-e-r.html">DUMMY_CASH_ISSUER</a> and owned by the legal
|
||||
identity key from the storage service.</p>
|
||||
<p>The service hub needs to provide at least a key management service and a storage service.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Parameters</h3>
|
||||
<a name="outputNotary"></a>
|
||||
<code>outputNotary</code> - the notary to use for output states. The transaction is NOT signed by this notary.<br/>
|
||||
<p><strong>Return</strong><br/>
|
||||
a wallet object that represents the generated states (it will NOT be the full wallet from the service hub).</p>
|
||||
<br/>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<td>
|
||||
<a href="fill-with-some-test-cash.html">fillWithSomeTestCash</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><a href="../com.r3corda.core.node/-service-hub/index.html"><span class="identifier">ServiceHub</span></a><span class="symbol">.</span><span class="identifier">fillWithSomeTestCash</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/howMuch">howMuch</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/notary">notary</span><span class="symbol">:</span> <a href="../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a> <span class="symbol">=</span> DUMMY_NOTARY<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/atLeastThisManyStates">atLeastThisManyStates</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 3<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/atMostThisManyStates">atMostThisManyStates</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 10<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/rng">rng</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Random.html"><span class="identifier">Random</span></a> <span class="symbol">=</span> Random()<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/ref">ref</span><span class="symbol">:</span> <a href="../com.r3corda.core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a> <span class="symbol">=</span> OpaqueBytes(ByteArray(1, { 1 }))<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/ownedBy">ownedBy</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../com.r3corda.core.node.services/-wallet/index.html"><span class="identifier">Wallet</span></a></code><p>Creates a random set of between (by default) 3 and 10 cash states that add up to the given amount and adds them
|
||||
<code><span class="keyword">fun </span><a href="../com.r3corda.core.node/-service-hub/index.html"><span class="identifier">ServiceHub</span></a><span class="symbol">.</span><span class="identifier">fillWithSomeTestCash</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/howMuch">howMuch</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/outputNotary">outputNotary</span><span class="symbol">:</span> <a href="../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a> <span class="symbol">=</span> DUMMY_NOTARY<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/atLeastThisManyStates">atLeastThisManyStates</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 3<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/atMostThisManyStates">atMostThisManyStates</span><span class="symbol">:</span> <span class="identifier">Int</span> <span class="symbol">=</span> 10<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/rng">rng</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Random.html"><span class="identifier">Random</span></a> <span class="symbol">=</span> Random()<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/ref">ref</span><span class="symbol">:</span> <a href="../com.r3corda.core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a> <span class="symbol">=</span> OpaqueBytes(ByteArray(1, { 1 }))<span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.testing$fillWithSomeTestCash(com.r3corda.core.node.ServiceHub, com.r3corda.core.contracts.Amount((java.util.Currency)), com.r3corda.core.crypto.Party, kotlin.Int, kotlin.Int, java.util.Random, com.r3corda.core.serialization.OpaqueBytes, java.security.PublicKey)/ownedBy">ownedBy</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../com.r3corda.core.node.services/-wallet/index.html"><span class="identifier">Wallet</span></a></code><p>Creates a random set of between (by default) 3 and 10 cash states that add up to the given amount and adds them
|
||||
to the wallet. This is intended for unit tests. The cash is issued by <a href="../com.r3corda.contracts.asset/-d-u-m-m-y_-c-a-s-h_-i-s-s-u-e-r.html">DUMMY_CASH_ISSUER</a> and owned by the legal
|
||||
identity key from the storage service.</p>
|
||||
</td>
|
||||
|
16
docs/build/html/api/com.r3corda.contracts/-commercial-paper/-clauses/-group/group-states.html
vendored
Normal file
16
docs/build/html/api/com.r3corda.contracts/-commercial-paper/-clauses/-group/group-states.html
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>CommercialPaper.Clauses.Group.groupStates - </title>
|
||||
<link rel="stylesheet" href="../../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">CommercialPaper</a> / <a href="../index.html">Clauses</a> / <a href="index.html">Group</a> / <a href=".">groupStates</a><br/>
|
||||
<br/>
|
||||
<h1>groupStates</h1>
|
||||
<a name="com.r3corda.contracts.CommercialPaper.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.CommercialPaper.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/group-states.html">GroupClauseVerifier.groupStates</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -9,7 +9,7 @@
|
||||
<h1>ifMatched</h1>
|
||||
<a name="com.r3corda.contracts.CommercialPaper.Clauses.Group$ifMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-matched.html">SingleClause.ifMatched</a><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>ifNotMatched</h1>
|
||||
<a name="com.r3corda.contracts.CommercialPaper.Clauses.Group$ifNotMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html">SingleClause.ifNotMatched</a><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -63,9 +63,9 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-groups.html">extractGroups</a></td>
|
||||
<a href="group-states.html">groupStates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.CommercialPaper.Clauses.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.CommercialPaper.Clauses.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">com.r3corda.contracts</a> / <a href=".">CommercialPaper</a><br/>
|
||||
<br/>
|
||||
<h1>CommercialPaper</h1>
|
||||
<code><span class="keyword">class </span><span class="identifier">CommercialPaper</span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/index.html"><span class="identifier">ClauseVerifier</span></a></code><br/>
|
||||
<code><span class="keyword">class </span><span class="identifier">CommercialPaper</span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Types</h3>
|
||||
@ -55,12 +55,6 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="clauses.html">clauses</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="legal-contract-reference.html">legalContractReference</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="../../com.r3corda.core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></code><p>Unparsed reference to the natural language contract that this code is supposed to express (usually a hash of
|
||||
@ -74,12 +68,6 @@ the contracts contents).</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-commands.html">extractCommands</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.CommercialPaper$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="generate-issue.html">generateIssue</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.CommercialPaper$generateIssue(com.r3corda.core.contracts.PartyAndReference, com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((java.util.Currency)))), java.time.Instant, com.r3corda.core.crypto.Party)/issuance">issuance</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.CommercialPaper$generateIssue(com.r3corda.core.contracts.PartyAndReference, com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((java.util.Currency)))), java.time.Instant, com.r3corda.core.crypto.Party)/faceValue">faceValue</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.CommercialPaper$generateIssue(com.r3corda.core.contracts.PartyAndReference, com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((java.util.Currency)))), java.time.Instant, com.r3corda.core.crypto.Party)/maturityDate">maturityDate</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.CommercialPaper$generateIssue(com.r3corda.core.contracts.PartyAndReference, com.r3corda.core.contracts.Amount((com.r3corda.core.contracts.Issued((java.util.Currency)))), java.time.Instant, com.r3corda.core.crypto.Party)/notary">notary</span><span class="symbol">:</span> <a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../com.r3corda.core.contracts/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><p>Returns a transaction that issues commercial paper, owned by the issuing parties key. Does not update
|
||||
@ -103,16 +91,11 @@ to redeem the paper. We must therefore send enough money to the key that owns th
|
||||
value, and then ensure the paper is removed from the ledger.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inherited Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/verify.html">verify</a></td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.ClauseVerifier$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.CommercialPaper$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">AbstractIRSClause</a> / <a href=".">checkLegAmounts</a><br/>
|
||||
<br/>
|
||||
<h1>checkLegAmounts</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">AbstractIRSClause</a> / <a href=".">checkLegDates</a><br/>
|
||||
<br/>
|
||||
<h1>checkLegDates</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">AbstractIRSClause</a> / <a href=".">checkRates</a><br/>
|
||||
<br/>
|
||||
<h1>checkRates</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><br/>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">AbstractIRSClause</a> / <a href=".">checkSchedules</a><br/>
|
||||
<br/>
|
||||
<h1>checkSchedules</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><br/>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href=".">AbstractIRSClause</a><br/>
|
||||
<br/>
|
||||
<h1>AbstractIRSClause</h1>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractIRSClause</span> <span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <span class="identifier">String</span><span class="symbol">></span></code><br/>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractIRSClause</span> <span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">></span></code><br/>
|
||||
<p>Common superclass for IRS contract clauses, which defines behaviour on match/no-match, and provides
|
||||
helper functions for the clauses.</p>
|
||||
<br/>
|
||||
@ -51,25 +51,25 @@ helper functions for the clauses.</p>
|
||||
<td>
|
||||
<a href="check-leg-amounts.html">checkLegAmounts</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="check-leg-dates.html">checkLegDates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="check-rates.html">checkRates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="check-schedules.html">checkSchedules</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -59,7 +59,7 @@
|
||||
<td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/token">token</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/token">token</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -70,25 +70,25 @@
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-leg-amounts.html">checkLegAmounts</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-leg-dates.html">checkLegDates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-rates.html">checkRates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-schedules.html">checkSchedules</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">Agree</a> / <a href=".">verify</a><br/>
|
||||
<br/>
|
||||
<h1>verify</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/token">token</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><br/>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Agree$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/token">token</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><br/>
|
||||
<p><strong>Return</strong><br/>
|
||||
the set of commands that are consumed IF this clause is matched, and cannot be used to match a
|
||||
later clause.</p>
|
||||
|
@ -59,7 +59,7 @@
|
||||
<td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/token">token</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/token">token</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -70,25 +70,25 @@
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-leg-amounts.html">checkLegAmounts</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-leg-dates.html">checkLegDates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-rates.html">checkRates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-schedules.html">checkSchedules</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">Fix</a> / <a href=".">verify</a><br/>
|
||||
<br/>
|
||||
<h1>verify</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/token">token</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><br/>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Fix$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/token">token</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><br/>
|
||||
<p><strong>Return</strong><br/>
|
||||
the set of commands that are consumed IF this clause is matched, and cannot be used to match a
|
||||
later clause.</p>
|
||||
|
16
docs/build/html/api/com.r3corda.contracts/-interest-rate-swap/-clause/-group/group-states.html
vendored
Normal file
16
docs/build/html/api/com.r3corda.contracts/-interest-rate-swap/-clause/-group/group-states.html
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>InterestRateSwap.Clause.Group.groupStates - </title>
|
||||
<link rel="stylesheet" href="../../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">Group</a> / <a href=".">groupStates</a><br/>
|
||||
<br/>
|
||||
<h1>groupStates</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/group-states.html">GroupClauseVerifier.groupStates</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -9,7 +9,7 @@
|
||||
<h1>ifMatched</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Group$ifMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-matched.html">Clause.ifMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-matched.html">SingleClause.ifMatched</a><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>ifNotMatched</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Group$ifNotMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
|
||||
Overrides <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html">SingleClause.ifNotMatched</a><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href=".">Group</a><br/>
|
||||
<br/>
|
||||
<h1>Group</h1>
|
||||
<code><span class="keyword">class </span><span class="identifier">Group</span> <span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/index.html"><span class="identifier">GroupClauseVerifier</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <span class="identifier">String</span><span class="symbol">></span></code><br/>
|
||||
<code><span class="keyword">class </span><span class="identifier">Group</span> <span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/index.html"><span class="identifier">GroupClauseVerifier</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Constructors</h3>
|
||||
@ -63,9 +63,9 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-groups.html">extractGroups</a></td>
|
||||
<a href="group-states.html">groupStates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Group$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <span class="identifier">String</span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Group$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -59,7 +59,7 @@
|
||||
<td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/token">token</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/token">token</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -70,25 +70,25 @@
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-leg-amounts.html">checkLegAmounts</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-leg-dates.html">checkLegDates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-rates.html">checkRates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-schedules.html">checkSchedules</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">Mature</a> / <a href=".">verify</a><br/>
|
||||
<br/>
|
||||
<h1>verify</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/token">token</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><br/>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Mature$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/token">token</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><br/>
|
||||
<p><strong>Return</strong><br/>
|
||||
the set of commands that are consumed IF this clause is matched, and cannot be used to match a
|
||||
later clause.</p>
|
||||
|
@ -59,7 +59,7 @@
|
||||
<td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/token">token</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/token">token</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -70,25 +70,25 @@
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-leg-amounts.html">checkLegAmounts</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegAmounts</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegAmounts(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-leg-dates.html">checkLegDates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkLegDates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkLegDates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-rates.html">checkRates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkRates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkRates(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-abstract-i-r-s-clause/check-schedules.html">checkSchedules</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.Array((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">Array</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">checkSchedules</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.AbstractIRSClause$checkSchedules(kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.CommonLeg)))/legs">legs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-common-leg/index.html"><span class="identifier">CommonLeg</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href="index.html">Pay</a> / <a href=".">verify</a><br/>
|
||||
<br/>
|
||||
<h1>verify</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), kotlin.String)/token">token</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><br/>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/tx">tx</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/inputs">inputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/outputs">outputs</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="../../-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.Clause.Pay$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.List((com.r3corda.contracts.InterestRateSwap.State)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))), com.r3corda.core.contracts.UniqueIdentifier)/token">token</span><span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><br/>
|
||||
<p><strong>Return</strong><br/>
|
||||
the set of commands that are consumed IF this clause is matched, and cannot be used to match a
|
||||
later clause.</p>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../../index.html">com.r3corda.contracts</a> / <a href="../../index.html">InterestRateSwap</a> / <a href="../index.html">Clause</a> / <a href=".">Timestamped</a><br/>
|
||||
<br/>
|
||||
<h1>Timestamped</h1>
|
||||
<code><span class="keyword">class </span><span class="identifier">Timestamped</span> <span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<code><span class="keyword">class </span><span class="identifier">Timestamped</span> <span class="symbol">:</span> <a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/index.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Constructors</h3>
|
||||
@ -21,28 +21,28 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Properties</h3>
|
||||
<h3>Inherited Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="if-matched.html">ifMatched</a></td>
|
||||
<a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-matched.html">ifMatched</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="if-not-matched.html">ifNotMatched</a></td>
|
||||
<a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html">ifNotMatched</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../../../../com.r3corda.core.contracts.clauses/-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="required-commands.html">requiredCommands</a></td>
|
||||
<a href="../../../../com.r3corda.core.contracts.clauses/-single-clause/required-commands.html">requiredCommands</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><span class="keyword">out</span> <a href="../../../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<td>
|
||||
<a href="-abstract-i-r-s-clause/index.html">AbstractIRSClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractIRSClause</span> <span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <span class="identifier">String</span><span class="symbol">></span></code><p>Common superclass for IRS contract clauses, which defines behaviour on match/no-match, and provides
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractIRSClause</span> <span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts.clauses/-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">></span></code><p>Common superclass for IRS contract clauses, which defines behaviour on match/no-match, and provides
|
||||
helper functions for the clauses.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -37,7 +37,7 @@ helper functions for the clauses.</p>
|
||||
<td>
|
||||
<a href="-group/index.html">Group</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Group</span> <span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/index.html"><span class="identifier">GroupClauseVerifier</span></a><span class="symbol"><</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <span class="identifier">String</span><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Group</span> <span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts.clauses/-group-clause-verifier/index.html"><span class="identifier">GroupClauseVerifier</span></a><span class="symbol"><</span><a href="../-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -55,7 +55,7 @@ helper functions for the clauses.</p>
|
||||
<td>
|
||||
<a href="-timestamped/index.html">Timestamped</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Timestamped</span> <span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a></code></td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Timestamped</span> <span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts.clauses/-single-clause/index.html"><span class="identifier">SingleClause</span></a></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../../index.html">com.r3corda.contracts</a> / <a href="../index.html">InterestRateSwap</a> / <a href="index.html">State</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common)/fixedLeg">fixedLeg</span><span class="symbol">:</span> <a href="../-fixed-leg/index.html"><span class="identifier">FixedLeg</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common)/floatingLeg">floatingLeg</span><span class="symbol">:</span> <a href="../-floating-leg/index.html"><span class="identifier">FloatingLeg</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common)/calculation">calculation</span><span class="symbol">:</span> <a href="../-calculation/index.html"><span class="identifier">Calculation</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common)/common">common</span><span class="symbol">:</span> <a href="../-common/index.html"><span class="identifier">Common</span></a><span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/fixedLeg">fixedLeg</span><span class="symbol">:</span> <a href="../-fixed-leg/index.html"><span class="identifier">FixedLeg</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/floatingLeg">floatingLeg</span><span class="symbol">:</span> <a href="../-floating-leg/index.html"><span class="identifier">FloatingLeg</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/calculation">calculation</span><span class="symbol">:</span> <a href="../-calculation/index.html"><span class="identifier">Calculation</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/common">common</span><span class="symbol">:</span> <a href="../-common/index.html"><span class="identifier">Common</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/linearId">linearId</span><span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a> <span class="symbol">=</span> UniqueIdentifier(common.tradeID)<span class="symbol">)</span></code><br/>
|
||||
<p>The state class contains the 4 major data classes.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -18,7 +18,7 @@
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common)/fixedLeg">fixedLeg</span><span class="symbol">:</span> <a href="../-fixed-leg/index.html"><span class="identifier">FixedLeg</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common)/floatingLeg">floatingLeg</span><span class="symbol">:</span> <a href="../-floating-leg/index.html"><span class="identifier">FloatingLeg</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common)/calculation">calculation</span><span class="symbol">:</span> <a href="../-calculation/index.html"><span class="identifier">Calculation</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common)/common">common</span><span class="symbol">:</span> <a href="../-common/index.html"><span class="identifier">Common</span></a><span class="symbol">)</span></code><p>The state class contains the 4 major data classes.</p>
|
||||
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/fixedLeg">fixedLeg</span><span class="symbol">:</span> <a href="../-fixed-leg/index.html"><span class="identifier">FixedLeg</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/floatingLeg">floatingLeg</span><span class="symbol">:</span> <a href="../-floating-leg/index.html"><span class="identifier">FloatingLeg</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/calculation">calculation</span><span class="symbol">:</span> <a href="../-calculation/index.html"><span class="identifier">Calculation</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/common">common</span><span class="symbol">:</span> <a href="../-common/index.html"><span class="identifier">Common</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$<init>(com.r3corda.contracts.InterestRateSwap.FixedLeg, com.r3corda.contracts.InterestRateSwap.FloatingLeg, com.r3corda.contracts.InterestRateSwap.Calculation, com.r3corda.contracts.InterestRateSwap.Common, com.r3corda.core.contracts.UniqueIdentifier)/linearId">linearId</span><span class="symbol">:</span> <a href="../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a> <span class="symbol">=</span> UniqueIdentifier(common.tradeID)<span class="symbol">)</span></code><p>The state class contains the 4 major data classes.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -59,6 +59,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="linear-id.html">linearId</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">linearId</span><span class="symbol">: </span><a href="../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a></code><p>Unique id shared by all LinearState states throughout history within the wallets of all parties.
|
||||
Verify methods should check that one input and one output share the id in a transaction,
|
||||
except at issuance/termination.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="participants.html">participants</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">participants</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">></span></code><p>A <emph>participant</emph> is any party that is able to consume this state in a valid transaction.</p>
|
||||
@ -68,7 +77,7 @@
|
||||
<td>
|
||||
<a href="parties.html">parties</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">Array</span><span class="symbol"><</span><a href="../../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><p>Exposes the Parties involved in a generic way</p>
|
||||
<code><span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><p>Exposes the Parties involved in a generic way</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -78,13 +87,6 @@
|
||||
<code><span class="keyword">val </span><span class="identifier">ref</span><span class="symbol">: </span><span class="identifier">String</span></code><p>Human readable well known reference (e.g. trade reference)</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="thread.html">thread</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">thread</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><p>Unique thread id within the wallets of all parties</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Functions</h3>
|
||||
@ -116,7 +118,7 @@ deal/agreement protocol to generate the necessary transaction for potential impl
|
||||
<td>
|
||||
<a href="is-relevant.html">isRelevant</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">isRelevant</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$isRelevant(kotlin.collections.Set((java.security.PublicKey)))/ourKeys">ourKeys</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><p>true if this should be tracked by our wallet(s)</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">isRelevant</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$isRelevant(kotlin.collections.Set((java.security.PublicKey)))/ourKeys">ourKeys</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><p>True if this should be tracked by our wallet(s).</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.State$isRelevant(kotlin.collections.Set((java.security.PublicKey)))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">isRelevant</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap.State$isRelevant(kotlin.collections.Set((java.security.PublicKey)))/ourKeys">ourKeys</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><br/>
|
||||
Overrides <a href="../../../com.r3corda.core.contracts/-linear-state/is-relevant.html">LinearState.isRelevant</a><br/>
|
||||
<p>true if this should be tracked by our wallet(s)</p>
|
||||
<p>True if this should be tracked by our wallet(s).</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
19
docs/build/html/api/com.r3corda.contracts/-interest-rate-swap/-state/linear-id.html
vendored
Normal file
19
docs/build/html/api/com.r3corda.contracts/-interest-rate-swap/-state/linear-id.html
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>InterestRateSwap.State.linearId - </title>
|
||||
<link rel="stylesheet" href="../../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../../index.html">com.r3corda.contracts</a> / <a href="../index.html">InterestRateSwap</a> / <a href="index.html">State</a> / <a href=".">linearId</a><br/>
|
||||
<br/>
|
||||
<h1>linearId</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.State$linearId"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">linearId</span><span class="symbol">: </span><a href="../../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a></code><br/>
|
||||
Overrides <a href="../../../com.r3corda.core.contracts/-linear-state/linear-id.html">LinearState.linearId</a><br/>
|
||||
<p>Unique id shared by all LinearState states throughout history within the wallets of all parties.
|
||||
Verify methods should check that one input and one output share the id in a transaction,
|
||||
except at issuance/termination.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -8,7 +8,7 @@
|
||||
<br/>
|
||||
<h1>parties</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap.State$parties"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">Array</span><span class="symbol"><</span><a href="../../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><br/>
|
||||
<code><span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../../com.r3corda.core.contracts/-deal-state/parties.html">DealState.parties</a><br/>
|
||||
<p>Exposes the Parties involved in a generic way</p>
|
||||
<p><strong>Getter</strong><br/>
|
||||
|
@ -9,7 +9,6 @@
|
||||
<h1>extractCommands</h1>
|
||||
<a name="com.r3corda.contracts.InterestRateSwap$extractCommands(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">extractCommands</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap$extractCommands(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Collection</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/extract-commands.html">ClauseVerifier.extractCommands</a><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">com.r3corda.contracts</a> / <a href=".">InterestRateSwap</a><br/>
|
||||
<br/>
|
||||
<h1>InterestRateSwap</h1>
|
||||
<code><span class="keyword">class </span><span class="identifier">InterestRateSwap</span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/index.html"><span class="identifier">ClauseVerifier</span></a></code><br/>
|
||||
<code><span class="keyword">class </span><span class="identifier">InterestRateSwap</span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code><br/>
|
||||
<p>The Interest Rate Swap class. For a quick overview of what an IRS is, see here - http://www.pimco.co.uk/EN/Education/Pages/InterestRateSwapsBasics1-08.aspx (no endorsement).
|
||||
This contract has 4 significant data classes within it, the "Common", "Calculation", "FixedLeg" and "FloatingLeg".
|
||||
It also has 4 commands, "Agree", "Fix", "Pay" and "Mature".
|
||||
@ -94,12 +94,6 @@ This is just a representation of a vanilla Fixed vs Floating (same currency) IRS
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="clauses.html">clauses</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">clauses</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts.clauses/-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="legal-contract-reference.html">legalContractReference</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><p>Unparsed reference to the natural language contract that this code is supposed to express (usually a hash of
|
||||
@ -131,16 +125,11 @@ Note: The day count, interest rate calculation etc are not finished yet, but the
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateFix</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap$generateFix(com.r3corda.core.contracts.TransactionBuilder, com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.InterestRateSwap.State)), com.r3corda.core.contracts.Fix)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap$generateFix(com.r3corda.core.contracts.TransactionBuilder, com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.InterestRateSwap.State)), com.r3corda.core.contracts.Fix)/irs">irs</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol"><</span><a href="-state/index.html"><span class="identifier">State</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap$generateFix(com.r3corda.core.contracts.TransactionBuilder, com.r3corda.core.contracts.StateAndRef((com.r3corda.contracts.InterestRateSwap.State)), com.r3corda.core.contracts.Fix)/fixing">fixing</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-fix/index.html"><span class="identifier">Fix</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inherited Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/verify.html">verify</a></td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.ClauseVerifier$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
|
@ -10,7 +10,10 @@
|
||||
<a name="com.r3corda.contracts.InterestRateSwap$verify(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.contracts.InterestRateSwap$verify(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
Overrides <a href="../../com.r3corda.core.contracts/-contract/verify.html">Contract.verify</a><br/>
|
||||
<p>verify() with some examples of what needs to be checked.</p>
|
||||
<p>Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
|
||||
Must throw an exception if theres a problem that should prevent state transition. Takes a single object
|
||||
rather than an argument so that additional data can be added without breaking binary compatibility with
|
||||
existing contract code.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<td>
|
||||
<a href="-commercial-paper/index.html">CommercialPaper</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">CommercialPaper</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts.clauses/-clause-verifier/index.html"><span class="identifier">ClauseVerifier</span></a></code></td>
|
||||
<code><span class="keyword">class </span><span class="identifier">CommercialPaper</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -63,7 +63,7 @@ If the rate is null returns a zero payment. // TODO: Is this the desired behavio
|
||||
<td>
|
||||
<a href="-interest-rate-swap/index.html">InterestRateSwap</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">InterestRateSwap</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts.clauses/-clause-verifier/index.html"><span class="identifier">ClauseVerifier</span></a></code><p>The Interest Rate Swap class. For a quick overview of what an IRS is, see here - http://www.pimco.co.uk/EN/Education/Pages/InterestRateSwapsBasics1-08.aspx (no endorsement).
|
||||
<code><span class="keyword">class </span><span class="identifier">InterestRateSwap</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code><p>The Interest Rate Swap class. For a quick overview of what an IRS is, see here - http://www.pimco.co.uk/EN/Education/Pages/InterestRateSwapsBasics1-08.aspx (no endorsement).
|
||||
This contract has 4 significant data classes within it, the "Common", "Calculation", "FixedLeg" and "FloatingLeg".
|
||||
It also has 4 commands, "Agree", "Fix", "Pay" and "Mature".
|
||||
Currently, we are not interested (excuse pun) in valuing the swap, calculating the PVs, DFs and all that good stuff (soon though).
|
||||
|
@ -8,6 +8,7 @@
|
||||
<br/>
|
||||
<h1>Clause</h1>
|
||||
<code><span class="keyword">interface </span><span class="identifier">Clause</span></code><br/>
|
||||
<p>A clause that can be matched as part of execution of a contract.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Properties</h3>
|
||||
@ -47,9 +48,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-single-clause.html">SingleClause</a></td>
|
||||
<a href="../-single-clause/index.html">SingleClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">SingleClause</span> <span class="symbol">:</span> <span class="identifier">Clause</span><span class="symbol">, </span><a href="../-single-verify/index.html"><span class="identifier">SingleVerify</span></a></code></td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">SingleClause</span> <span class="symbol">:</span> <span class="identifier">Clause</span><span class="symbol">, </span><a href="../-single-verify/index.html"><span class="identifier">SingleVerify</span></a></code><p>A single verifiable clause. By default always matches, continues to the next clause when matched and errors
|
||||
if not matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
15
docs/build/html/api/com.r3corda.core.contracts.clauses/-group-clause-verifier/group-states.html
vendored
Normal file
15
docs/build/html/api/com.r3corda.core.contracts.clauses/-group-clause-verifier/group-states.html
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>GroupClauseVerifier.groupStates - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href="index.html">GroupClauseVerifier</a> / <a href=".">groupStates</a><br/>
|
||||
<br/>
|
||||
<h1>groupStates</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.GroupClauseVerifier$groupStates(com.r3corda.core.contracts.TransactionForContract)"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.GroupClauseVerifier$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href=".">GroupClauseVerifier</a><br/>
|
||||
<br/>
|
||||
<h1>GroupClauseVerifier</h1>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">GroupClauseVerifier</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">, </span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../-single-clause.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">GroupClauseVerifier</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">, </span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../-single-clause/index.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Constructors</h3>
|
||||
@ -39,14 +39,33 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inherited Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-single-clause/if-matched.html">ifMatched</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-single-clause/if-not-matched.html">ifNotMatched</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="extract-groups.html">extractGroups</a></td>
|
||||
<a href="group-states.html">groupStates</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">extractGroups</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.GroupClauseVerifier$extractGroups(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">groupStates</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.GroupClauseVerifier$groupStates(com.r3corda.core.contracts.TransactionForContract)/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-transaction-for-contract/-in-out-group/index.html"><span class="identifier">InOutGroup</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -93,7 +112,7 @@ each group.</p>
|
||||
<td>
|
||||
<a href="../../com.r3corda.contracts/-interest-rate-swap/-clause/-group/index.html">Group</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Group</span> <span class="symbol">:</span> <span class="identifier">GroupClauseVerifier</span><span class="symbol"><</span><a href="../../com.r3corda.contracts/-interest-rate-swap/-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <span class="identifier">String</span><span class="symbol">></span></code></td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Group</span> <span class="symbol">:</span> <span class="identifier">GroupClauseVerifier</span><span class="symbol"><</span><a href="../../com.r3corda.contracts/-interest-rate-swap/-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">></span></code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>requiredCommands</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.GroupClauseVerifier$requiredCommands"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><span class="keyword">out</span> <a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../-clause/required-commands.html">Clause.requiredCommands</a><br/>
|
||||
Overrides <a href="../-single-clause/required-commands.html">SingleClause.requiredCommands</a><br/>
|
||||
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
<p><strong>Getter</strong><br/>
|
||||
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
|
@ -58,7 +58,7 @@ errors on no-match, ends on match.</p>
|
||||
<td>
|
||||
<a href="../com.r3corda.contracts/-interest-rate-swap/-clause/-abstract-i-r-s-clause/index.html">AbstractIRSClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractIRSClause</span> <span class="symbol">:</span> <span class="identifier">GroupClause</span><span class="symbol"><</span><a href="../com.r3corda.contracts/-interest-rate-swap/-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <span class="identifier">String</span><span class="symbol">></span></code><p>Common superclass for IRS contract clauses, which defines behaviour on match/no-match, and provides
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractIRSClause</span> <span class="symbol">:</span> <span class="identifier">GroupClause</span><span class="symbol"><</span><a href="../com.r3corda.contracts/-interest-rate-swap/-state/index.html"><span class="identifier">State</span></a><span class="symbol">,</span> <a href="../com.r3corda.core.contracts/-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a><span class="symbol">></span></code><p>Common superclass for IRS contract clauses, which defines behaviour on match/no-match, and provides
|
||||
helper functions for the clauses.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -96,7 +96,7 @@ change of ownership of other states to fulfil</p>
|
||||
<td>
|
||||
<a href="../com.r3corda.contracts.asset/-obligation/-clauses/-verify-lifecycle/index.html">VerifyLifecycle</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">VerifyLifecycle</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">, </span><span class="identifier">GroupClause</span><span class="symbol"><</span><a href="../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><p>Obligation-specific clause for verifying that all states are in
|
||||
<code><span class="keyword">class </span><span class="identifier">VerifyLifecycle</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <a href="-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">, </span><span class="identifier">GroupClause</span><span class="symbol"><</span><a href="../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><p>Obligation-specific clause for verifying that all states are in
|
||||
normal lifecycle. In a group clause set, this must be run after
|
||||
any lifecycle change clause, which is the only clause that involve
|
||||
non-standard lifecycle states on input/output.</p>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href="index.html">InterceptorClause</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">InterceptorClause</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$<init>(com.r3corda.core.contracts.clauses.SingleVerify, com.r3corda.core.contracts.clauses.SingleClause)/preclause">preclause</span><span class="symbol">:</span> <a href="../-single-verify/index.html"><span class="identifier">SingleVerify</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$<init>(com.r3corda.core.contracts.clauses.SingleVerify, com.r3corda.core.contracts.clauses.SingleClause)/clause">clause</span><span class="symbol">:</span> <a href="../-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">)</span></code><br/>
|
||||
<code><span class="identifier">InterceptorClause</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$<init>(com.r3corda.core.contracts.clauses.SingleVerify, com.r3corda.core.contracts.clauses.SingleClause)/preclause">preclause</span><span class="symbol">:</span> <a href="../-single-verify/index.html"><span class="identifier">SingleVerify</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$<init>(com.r3corda.core.contracts.clauses.SingleVerify, com.r3corda.core.contracts.clauses.SingleClause)/clause">clause</span><span class="symbol">:</span> <a href="../-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">)</span></code><br/>
|
||||
<p>A clause which intercepts calls to a wrapped clause, and passes them through verification
|
||||
only from a pre-clause. This is similar to an inceptor in aspect orientated programming.</p>
|
||||
<br/>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<br/>
|
||||
<h1>clause</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.InterceptorClause$clause"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">clause</span><span class="symbol">: </span><a href="../-single-clause.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<code><span class="keyword">val </span><span class="identifier">clause</span><span class="symbol">: </span><a href="../-single-clause/index.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>ifMatched</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.InterceptorClause$ifMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../-clause/if-matched.html">Clause.ifMatched</a><br/>
|
||||
Overrides <a href="../-single-clause/if-matched.html">SingleClause.ifMatched</a><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
<p><strong>Getter</strong><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>ifNotMatched</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.InterceptorClause$ifNotMatched"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
|
||||
Overrides <a href="../-single-clause/if-not-matched.html">SingleClause.ifNotMatched</a><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
<p><strong>Getter</strong><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href=".">InterceptorClause</a><br/>
|
||||
<br/>
|
||||
<h1>InterceptorClause</h1>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InterceptorClause</span> <span class="symbol">:</span> <a href="../-single-clause.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<code><span class="keyword">class </span><span class="identifier">InterceptorClause</span> <span class="symbol">:</span> <a href="../-single-clause/index.html"><span class="identifier">SingleClause</span></a></code><br/>
|
||||
<p>A clause which intercepts calls to a wrapped clause, and passes them through verification
|
||||
only from a pre-clause. This is similar to an inceptor in aspect orientated programming.</p>
|
||||
<br/>
|
||||
@ -19,7 +19,7 @@ only from a pre-clause. This is similar to an inceptor in aspect orientated prog
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">InterceptorClause</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$<init>(com.r3corda.core.contracts.clauses.SingleVerify, com.r3corda.core.contracts.clauses.SingleClause)/preclause">preclause</span><span class="symbol">:</span> <a href="../-single-verify/index.html"><span class="identifier">SingleVerify</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$<init>(com.r3corda.core.contracts.clauses.SingleVerify, com.r3corda.core.contracts.clauses.SingleClause)/clause">clause</span><span class="symbol">:</span> <a href="../-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">)</span></code><p>A clause which intercepts calls to a wrapped clause, and passes them through verification
|
||||
<code><span class="identifier">InterceptorClause</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$<init>(com.r3corda.core.contracts.clauses.SingleVerify, com.r3corda.core.contracts.clauses.SingleClause)/preclause">preclause</span><span class="symbol">:</span> <a href="../-single-verify/index.html"><span class="identifier">SingleVerify</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$<init>(com.r3corda.core.contracts.clauses.SingleVerify, com.r3corda.core.contracts.clauses.SingleClause)/clause">clause</span><span class="symbol">:</span> <a href="../-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">)</span></code><p>A clause which intercepts calls to a wrapped clause, and passes them through verification
|
||||
only from a pre-clause. This is similar to an inceptor in aspect orientated programming.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -32,7 +32,7 @@ only from a pre-clause. This is similar to an inceptor in aspect orientated prog
|
||||
<td>
|
||||
<a href="clause.html">clause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">val </span><span class="identifier">clause</span><span class="symbol">: </span><a href="../-single-clause.html"><span class="identifier">SingleClause</span></a></code></td>
|
||||
<code><span class="keyword">val </span><span class="identifier">clause</span><span class="symbol">: </span><a href="../-single-clause/index.html"><span class="identifier">SingleClause</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -68,6 +68,12 @@ only from a pre-clause. This is similar to an inceptor in aspect orientated prog
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="to-string.html">toString</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">toString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">String</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses.InterceptorClause$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><p>Verify the transaction matches the conditions from this clause. For example, a "no zero amount output" clause
|
||||
|
@ -9,7 +9,7 @@
|
||||
<h1>requiredCommands</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.InterceptorClause$requiredCommands"></a>
|
||||
<code><span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><span class="keyword">out</span> <a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../-clause/required-commands.html">Clause.requiredCommands</a><br/>
|
||||
Overrides <a href="../-single-clause/required-commands.html">SingleClause.requiredCommands</a><br/>
|
||||
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
<p><strong>Getter</strong><br/>
|
||||
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
|
15
docs/build/html/api/com.r3corda.core.contracts.clauses/-interceptor-clause/to-string.html
vendored
Normal file
15
docs/build/html/api/com.r3corda.core.contracts.clauses/-interceptor-clause/to-string.html
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>InterceptorClause.toString - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href="index.html">InterceptorClause</a> / <a href=".">toString</a><br/>
|
||||
<br/>
|
||||
<h1>toString</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.InterceptorClause$toString()"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">toString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">String</span></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
16
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/-init-.html
vendored
Normal file
16
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/-init-.html
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>SingleClause.<init> - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href="index.html">SingleClause</a> / <a href="."><init></a><br/>
|
||||
<br/>
|
||||
<h1><init></h1>
|
||||
<code><span class="identifier">SingleClause</span><span class="symbol">(</span><span class="symbol">)</span></code><br/>
|
||||
<p>A single verifiable clause. By default always matches, continues to the next clause when matched and errors
|
||||
if not matched.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
17
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/if-matched.html
vendored
Normal file
17
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/if-matched.html
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>SingleClause.ifMatched - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href="index.html">SingleClause</a> / <a href=".">ifMatched</a><br/>
|
||||
<br/>
|
||||
<h1>ifMatched</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.SingleClause$ifMatched"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../-clause/if-matched.html">Clause.ifMatched</a><br/>
|
||||
<p>Behaviour if this clause is not matches</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
17
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html
vendored
Normal file
17
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/if-not-matched.html
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>SingleClause.ifNotMatched - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href="index.html">SingleClause</a> / <a href=".">ifNotMatched</a><br/>
|
||||
<br/>
|
||||
<h1>ifNotMatched</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.SingleClause$ifNotMatched"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><br/>
|
||||
Overrides <a href="../-clause/if-not-matched.html">Clause.ifNotMatched</a><br/>
|
||||
<p>Behaviour if this clause is matched</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
118
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/index.html
vendored
Normal file
118
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/index.html
vendored
Normal file
@ -0,0 +1,118 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>SingleClause - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href=".">SingleClause</a><br/>
|
||||
<br/>
|
||||
<h1>SingleClause</h1>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">SingleClause</span> <span class="symbol">:</span> <a href="../-clause/index.html"><span class="identifier">Clause</span></a><span class="symbol">, </span><a href="../-single-verify/index.html"><span class="identifier">SingleVerify</span></a></code><br/>
|
||||
<p>A single verifiable clause. By default always matches, continues to the next clause when matched and errors
|
||||
if not matched.</p>
|
||||
<br/>
|
||||
<br/>
|
||||
<h3>Constructors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="-init-.html"><init></a></td>
|
||||
<td>
|
||||
<code><span class="identifier">SingleClause</span><span class="symbol">(</span><span class="symbol">)</span></code><p>A single verifiable clause. By default always matches, continues to the next clause when matched and errors
|
||||
if not matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Properties</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="if-matched.html">ifMatched</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifMatched</span><span class="symbol">: </span><a href="../-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is not matches</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="if-not-matched.html">ifNotMatched</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">ifNotMatched</span><span class="symbol">: </span><a href="../-match-behaviour/index.html"><span class="identifier">MatchBehaviour</span></a></code><p>Behaviour if this clause is matched</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="required-commands.html">requiredCommands</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><span class="keyword">out</span> <a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inherited Functions</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-single-verify/verify.html">verify</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses.SingleVerify$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses.SingleVerify$verify(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span></code><p>Verify the transaction matches the conditions from this clause. For example, a "no zero amount output" clause
|
||||
would check each of the output states that it applies to, looking for a zero amount, and throw IllegalStateException
|
||||
if any matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Inheritors</h3>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.contracts/-linear-state/-clause-verifier/index.html">ClauseVerifier</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">ClauseVerifier</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-linear-state/index.html"><span class="identifier">LinearState</span></a><span class="symbol">></span> <span class="symbol">:</span> <span class="identifier">SingleClause</span></code><p>Standard clause to verify the LinearState safety properties.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-group-clause-verifier/index.html">GroupClauseVerifier</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">GroupClauseVerifier</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">, </span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">></span> <span class="symbol">:</span> <span class="identifier">SingleClause</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-interceptor-clause/index.html">InterceptorClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">InterceptorClause</span> <span class="symbol">:</span> <span class="identifier">SingleClause</span></code><p>A clause which intercepts calls to a wrapped clause, and passes them through verification
|
||||
only from a pre-clause. This is similar to an inceptor in aspect orientated programming.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.contracts.clause/-net-clause/index.html">NetClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NetClause</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <span class="identifier">SingleClause</span></code><p>Clause for netting contract states. Currently only supports obligation contract.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.contracts/-interest-rate-swap/-clause/-timestamped/index.html">Timestamped</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Timestamped</span> <span class="symbol">:</span> <span class="identifier">SingleClause</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.contracts.asset/-obligation/-clauses/-verify-lifecycle/index.html">VerifyLifecycle</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">VerifyLifecycle</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <span class="identifier">SingleClause</span><span class="symbol">, </span><a href="../-group-clause.html"><span class="identifier">GroupClause</span></a><span class="symbol"><</span><a href="../../com.r3corda.contracts.asset/-obligation/-state/index.html"><span class="identifier">State</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">,</span> <a href="../../com.r3corda.core.contracts/-issued/index.html"><span class="identifier">Issued</span></a><span class="symbol"><</span><a href="../../com.r3corda.contracts.asset/-obligation/-terms/index.html"><span class="identifier">Terms</span></a><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">></span></code><p>Obligation-specific clause for verifying that all states are in
|
||||
normal lifecycle. In a group clause set, this must be run after
|
||||
any lifecycle change clause, which is the only clause that involve
|
||||
non-standard lifecycle states on input/output.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>
|
17
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/required-commands.html
vendored
Normal file
17
docs/build/html/api/com.r3corda.core.contracts.clauses/-single-clause/required-commands.html
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<title>SingleClause.requiredCommands - </title>
|
||||
<link rel="stylesheet" href="../../style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<a href="../index.html">com.r3corda.core.contracts.clauses</a> / <a href="index.html">SingleClause</a> / <a href=".">requiredCommands</a><br/>
|
||||
<br/>
|
||||
<h1>requiredCommands</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses.SingleClause$requiredCommands"></a>
|
||||
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">requiredCommands</span><span class="symbol">: </span><span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><span class="keyword">out</span> <a href="../../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span></code><br/>
|
||||
Overrides <a href="../-clause/required-commands.html">Clause.requiredCommands</a><br/>
|
||||
<p>Classes for commands which must ALL be present in transaction for this clause to be triggered</p>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
</HTML>
|
@ -29,9 +29,11 @@ if any matched.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-single-clause.html">SingleClause</a></td>
|
||||
<a href="../-single-clause/index.html">SingleClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">SingleClause</span> <span class="symbol">:</span> <a href="../-clause/index.html"><span class="identifier">Clause</span></a><span class="symbol">, </span><span class="identifier">SingleVerify</span></code></td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">SingleClause</span> <span class="symbol">:</span> <a href="../-clause/index.html"><span class="identifier">Clause</span></a><span class="symbol">, </span><span class="identifier">SingleVerify</span></code><p>A single verifiable clause. By default always matches, continues to the next clause when matched and errors
|
||||
if not matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -14,14 +14,7 @@
|
||||
<td>
|
||||
<a href="-clause/index.html">Clause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">Clause</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="-clause-verifier/index.html">ClauseVerifier</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">ClauseVerifier</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-contract/index.html"><span class="identifier">Contract</span></a></code><p>Abstract superclass for clause-based contracts to extend, which provides a verify() function
|
||||
that delegates to the supplied list of clauses.</p>
|
||||
<code><span class="keyword">interface </span><span class="identifier">Clause</span></code><p>A clause that can be matched as part of execution of a contract.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -34,7 +27,7 @@ that delegates to the supplied list of clauses.</p>
|
||||
<td>
|
||||
<a href="-group-clause-verifier/index.html">GroupClauseVerifier</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">GroupClauseVerifier</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">, </span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">></span> <span class="symbol">:</span> <a href="-single-clause.html"><span class="identifier">SingleClause</span></a></code></td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">GroupClauseVerifier</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">, </span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">></span> <span class="symbol">:</span> <a href="-single-clause/index.html"><span class="identifier">SingleClause</span></a></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -46,7 +39,7 @@ that delegates to the supplied list of clauses.</p>
|
||||
<td>
|
||||
<a href="-interceptor-clause/index.html">InterceptorClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">InterceptorClause</span> <span class="symbol">:</span> <a href="-single-clause.html"><span class="identifier">SingleClause</span></a></code><p>A clause which intercepts calls to a wrapped clause, and passes them through verification
|
||||
<code><span class="keyword">class </span><span class="identifier">InterceptorClause</span> <span class="symbol">:</span> <a href="-single-clause/index.html"><span class="identifier">SingleClause</span></a></code><p>A clause which intercepts calls to a wrapped clause, and passes them through verification
|
||||
only from a pre-clause. This is similar to an inceptor in aspect orientated programming.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -58,9 +51,11 @@ only from a pre-clause. This is similar to an inceptor in aspect orientated prog
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="-single-clause.html">SingleClause</a></td>
|
||||
<a href="-single-clause/index.html">SingleClause</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">SingleClause</span> <span class="symbol">:</span> <a href="-clause/index.html"><span class="identifier">Clause</span></a><span class="symbol">, </span><a href="-single-verify/index.html"><span class="identifier">SingleVerify</span></a></code></td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">SingleClause</span> <span class="symbol">:</span> <a href="-clause/index.html"><span class="identifier">Clause</span></a><span class="symbol">, </span><a href="-single-verify/index.html"><span class="identifier">SingleVerify</span></a></code><p>A single verifiable clause. By default always matches, continues to the next clause when matched and errors
|
||||
if not matched.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -77,8 +72,7 @@ only from a pre-clause. This is similar to an inceptor in aspect orientated prog
|
||||
<td>
|
||||
<a href="verify-clauses.html">verifyClauses</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span> <span class="identifier">verifyClauses</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)))/tx">tx</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)))/clauses">clauses</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verifyClauses</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/clauses">clauses</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Verify a transaction against the given list of clauses.</p>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verifyClauses</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/clauses">clauses</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Verify a transaction against the given list of clauses.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -7,22 +7,8 @@
|
||||
<a href="index.html">com.r3corda.core.contracts.clauses</a> / <a href=".">verifyClauses</a><br/>
|
||||
<br/>
|
||||
<h1>verifyClauses</h1>
|
||||
<a name="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)))"></a>
|
||||
<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">T</span> <span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span> <span class="identifier">verifyClauses</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)))/tx">tx</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)))/clauses">clauses</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<p>Verify a transaction against the given list of clauses.</p>
|
||||
<h3>Parameters</h3>
|
||||
<a name="tx"></a>
|
||||
<code>tx</code> - transaction to be verified.<br/>
|
||||
<br/>
|
||||
<a name="clauses"></a>
|
||||
<code>clauses</code> - the clauses to verify.<br/>
|
||||
<br/>
|
||||
<a name="T"></a>
|
||||
<code>T</code> - common supertype of commands to extract from the transaction, which are of relevance to these clauses.<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<a name="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verifyClauses</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/clauses">clauses</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="-single-clause.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<code><span class="keyword">fun </span><span class="identifier">verifyClauses</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/tx">tx</span><span class="symbol">:</span> <a href="../com.r3corda.core.contracts/-transaction-for-contract/index.html"><span class="identifier">TransactionForContract</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/clauses">clauses</span><span class="symbol">:</span> <span class="identifier">List</span><span class="symbol"><</span><a href="-single-clause/index.html"><span class="identifier">SingleClause</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.clauses$verifyClauses(com.r3corda.core.contracts.TransactionForContract, kotlin.collections.List((com.r3corda.core.contracts.clauses.SingleClause)), kotlin.collections.Collection((com.r3corda.core.contracts.AuthenticatedObject((com.r3corda.core.contracts.CommandData)))))/commands">commands</span><span class="symbol">:</span> <span class="identifier">Collection</span><span class="symbol"><</span><a href="../com.r3corda.core.contracts/-authenticated-object/index.html"><span class="identifier">AuthenticatedObject</span></a><span class="symbol"><</span><a href="../com.r3corda.core.contracts/-command-data.html"><span class="identifier">CommandData</span></a><span class="symbol">></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
|
||||
<p>Verify a transaction against the given list of clauses.</p>
|
||||
<h3>Parameters</h3>
|
||||
<a name="tx"></a>
|
||||
|
@ -67,14 +67,6 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="-timestamp-command/index.html">TimestampCommand</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">TimestampCommand</span> <span class="symbol">:</span> <span class="identifier">CommandData</span></code><p>If present in a transaction, contains a time that was verified by the timestamping authority/authorities whose
|
||||
public keys are identified in the containing <a href="-command/index.html">Command</a> object. The true time must be between (after, before).</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="-type-only-command-data/index.html">TypeOnlyCommandData</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">TypeOnlyCommandData</span> <span class="symbol">:</span> <span class="identifier">CommandData</span></code><p>Commands that inherit from this are intended to have no data items: its only their presence that matters.</p>
|
||||
|
@ -73,7 +73,7 @@ are all free.</p>
|
||||
<td>
|
||||
<a href="../-linear-state/index.html">LinearState</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">interface </span><span class="identifier">LinearState</span> <span class="symbol">:</span> <span class="identifier">ContractState</span></code><p>A state that evolves by superseding itself, all of which share the common "thread".</p>
|
||||
<code><span class="keyword">interface </span><span class="identifier">LinearState</span> <span class="symbol">:</span> <span class="identifier">ContractState</span></code><p>A state that evolves by superseding itself, all of which share the common "linearId".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -53,11 +53,9 @@ existing contract code.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.contracts.clauses/-clause-verifier/index.html">ClauseVerifier</a></td>
|
||||
<a href="../../com.r3corda.contracts/-commercial-paper/index.html">CommercialPaper</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">ClauseVerifier</span> <span class="symbol">:</span> <span class="identifier">Contract</span></code><p>Abstract superclass for clause-based contracts to extend, which provides a verify() function
|
||||
that delegates to the supplied list of clauses.</p>
|
||||
</td>
|
||||
<code><span class="keyword">class </span><span class="identifier">CommercialPaper</span> <span class="symbol">:</span> <span class="identifier">Contract</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@ -71,6 +69,43 @@ that delegates to the supplied list of clauses.</p>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">DummyContract</span> <span class="symbol">:</span> <span class="identifier">Contract</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.core.testing/-dummy-linear-contract/index.html">DummyLinearContract</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">DummyLinearContract</span> <span class="symbol">:</span> <span class="identifier">Contract</span></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.contracts/-interest-rate-swap/index.html">InterestRateSwap</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">InterestRateSwap</span> <span class="symbol">:</span> <span class="identifier">Contract</span></code><p>The Interest Rate Swap class. For a quick overview of what an IRS is, see here - http://www.pimco.co.uk/EN/Education/Pages/InterestRateSwapsBasics1-08.aspx (no endorsement).
|
||||
This contract has 4 significant data classes within it, the "Common", "Calculation", "FixedLeg" and "FloatingLeg".
|
||||
It also has 4 commands, "Agree", "Fix", "Pay" and "Mature".
|
||||
Currently, we are not interested (excuse pun) in valuing the swap, calculating the PVs, DFs and all that good stuff (soon though).
|
||||
This is just a representation of a vanilla Fixed vs Floating (same currency) IRS in the R3 prototype model.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.contracts.asset/-obligation/index.html">Obligation</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">class </span><span class="identifier">Obligation</span><span class="symbol"><</span><span class="identifier">P</span><span class="symbol">></span> <span class="symbol">:</span> <span class="identifier">Contract</span></code><p>An obligation contract commits the obligor to delivering a specified amount of a fungible asset (for example the
|
||||
<a href="../../com.r3corda.contracts.asset/-cash/index.html">Cash</a> contract) at a specified future point in time. Settlement transactions may split and merge contracts across
|
||||
multiple input and output states. The goal of this design is to handle amounts owed, and these contracts are expected
|
||||
to be netted/merged, with settlement only for any remainder amount.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../../com.r3corda.contracts.asset/-on-ledger-asset/index.html">OnLedgerAsset</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">OnLedgerAsset</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <span class="identifier">Any</span><span class="symbol">, </span><span class="identifier">S</span> <span class="symbol">:</span> <a href="../../com.r3corda.contracts.asset/-fungible-asset/index.html"><span class="identifier">FungibleAsset</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span> <span class="symbol">:</span> <span class="identifier">Contract</span></code><p>An asset transaction may split and merge assets represented by a set of (issuer, depositRef) pairs, across multiple
|
||||
input and output states. Imagine a Bitcoin transaction but in which all UTXOs had a colour (a blend of
|
||||
issuer+depositRef) and you couldnt merge outputs of two colours together, but you COULD put them in the same
|
||||
transaction.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</BODY>
|
||||
|
@ -19,7 +19,7 @@ implementation of general protocols that manipulate many agreement types.</p>
|
||||
<td>
|
||||
<a href="parties.html">parties</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">Array</span><span class="symbol"><</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><p>Exposes the Parties involved in a generic way</p>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><p>Exposes the Parties involved in a generic way</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -36,9 +36,11 @@ implementation of general protocols that manipulate many agreement types.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../-linear-state/thread.html">thread</a></td>
|
||||
<a href="../-linear-state/linear-id.html">linearId</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">thread</span><span class="symbol">: </span><a href="../../com.r3corda.core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></code><p>Unique thread id within the wallets of all parties</p>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">linearId</span><span class="symbol">: </span><a href="../-unique-identifier/index.html"><span class="identifier">UniqueIdentifier</span></a></code><p>Unique id shared by all LinearState states throughout history within the wallets of all parties.
|
||||
Verify methods should check that one input and one output share the id in a transaction,
|
||||
except at issuance/termination.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -69,7 +71,7 @@ deal/agreement protocol to generate the necessary transaction for potential impl
|
||||
<td>
|
||||
<a href="../-linear-state/is-relevant.html">isRelevant</a></td>
|
||||
<td>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">isRelevant</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.LinearState$isRelevant(kotlin.collections.Set((java.security.PublicKey)))/ourKeys">ourKeys</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><p>true if this should be tracked by our wallet(s)</p>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">isRelevant</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.LinearState$isRelevant(kotlin.collections.Set((java.security.PublicKey)))/ourKeys">ourKeys</span><span class="symbol">:</span> <span class="identifier">Set</span><span class="symbol"><</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><p>True if this should be tracked by our wallet(s).</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<br/>
|
||||
<h1>parties</h1>
|
||||
<a name="com.r3corda.core.contracts.DealState$parties"></a>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">Array</span><span class="symbol"><</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><br/>
|
||||
<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">></span></code><br/>
|
||||
<p>Exposes the Parties involved in a generic way</p>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@ -7,8 +7,8 @@
|
||||
<a href="../index.html">com.r3corda.core.contracts</a> / <a href="index.html">DummyContract</a> / <a href=".">generateInitial</a><br/>
|
||||
<br/>
|
||||
<h1>generateInitial</h1>
|
||||
<a name="com.r3corda.core.contracts.DummyContract$generateInitial(com.r3corda.core.contracts.PartyAndReference, kotlin.Int, com.r3corda.core.crypto.Party)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.DummyContract$generateInitial(com.r3corda.core.contracts.PartyAndReference, kotlin.Int, com.r3corda.core.crypto.Party)/owner">owner</span><span class="symbol">:</span> <a href="../-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.DummyContract$generateInitial(com.r3corda.core.contracts.PartyAndReference, kotlin.Int, com.r3corda.core.crypto.Party)/magicNumber">magicNumber</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.DummyContract$generateInitial(com.r3corda.core.contracts.PartyAndReference, kotlin.Int, com.r3corda.core.crypto.Party)/notary">notary</span><span class="symbol">:</span> <a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><br/>
|
||||
<a name="com.r3corda.core.contracts.DummyContract.Companion$generateInitial(com.r3corda.core.contracts.PartyAndReference, kotlin.Int, com.r3corda.core.crypto.Party)"></a>
|
||||
<code><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core.contracts.DummyContract.Companion$generateInitial(com.r3corda.core.contracts.PartyAndReference, kotlin.Int, com.r3corda.core.crypto.Party)/owner">owner</span><span class="symbol">:</span> <a href="../-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.DummyContract.Companion$generateInitial(com.r3corda.core.contracts.PartyAndReference, kotlin.Int, com.r3corda.core.crypto.Party)/magicNumber">magicNumber</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.core.contracts.DummyContract.Companion$generateInitial(com.r3corda.core.contracts.PartyAndReference, kotlin.Int, com.r3corda.core.crypto.Party)/notary">notary</span><span class="symbol">:</span> <a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><br/>
|
||||
<br/>
|
||||
<br/>
|
||||
</BODY>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user