Merged in rnicoll-party-and-reference (pull request #87)

Rename PartyReference to PartyAndReference
This commit is contained in:
Ross Nicoll 2016-05-09 17:56:38 +01:00
commit 2e680a5eee
39 changed files with 222 additions and 82 deletions

View File

@ -34,7 +34,7 @@ class AnotherDummyContract : Contract, core.node.DummyContractBackdoor {
// The "empty contract"
override val legalContractReference: SecureHash = SecureHash.sha256("https://anotherdummy.org")
override fun generateInitial(owner: PartyReference, magicNumber: Int) : TransactionBuilder {
override fun generateInitial(owner: PartyAndReference, magicNumber: Int) : TransactionBuilder {
val state = State(magicNumber)
return TransactionBuilder().withItems( state, Command(Commands.Create(), owner.party.owningKey) )
}

View File

@ -1,7 +1,7 @@
package core.node
interface DummyContractBackdoor {
fun generateInitial(owner: core.PartyReference, magicNumber: Int) : core.TransactionBuilder
fun generateInitial(owner: core.PartyAndReference, magicNumber: Int) : core.TransactionBuilder
fun inspectState(state: core.ContractState) : Int
}

View File

@ -13,7 +13,7 @@ import java.time.*;
public interface ICommercialPaperState extends ContractState {
ICommercialPaperState withOwner(PublicKey newOwner);
ICommercialPaperState withIssuance(PartyReference newIssuance);
ICommercialPaperState withIssuance(PartyAndReference newIssuance);
ICommercialPaperState withFaceValue(Amount newFaceValue);

View File

@ -23,7 +23,7 @@ public class JavaCommercialPaper implements Contract {
public static Contract JCP_PROGRAM_ID = new JavaCommercialPaper();
public static class State implements ContractState, ICommercialPaperState {
private PartyReference issuance;
private PartyAndReference issuance;
private PublicKey owner;
private Amount faceValue;
private Instant maturityDate;
@ -31,7 +31,7 @@ public class JavaCommercialPaper implements Contract {
public State() {
} // For serialization
public State(PartyReference issuance, PublicKey owner, Amount faceValue, Instant maturityDate) {
public State(PartyAndReference issuance, PublicKey owner, Amount faceValue, Instant maturityDate) {
this.issuance = issuance;
this.owner = owner;
this.faceValue = faceValue;
@ -46,7 +46,7 @@ public class JavaCommercialPaper implements Contract {
return new State(this.issuance, newOwner, this.faceValue, this.maturityDate);
}
public ICommercialPaperState withIssuance(PartyReference newIssuance) {
public ICommercialPaperState withIssuance(PartyAndReference newIssuance) {
return new State(newIssuance, this.owner, this.faceValue, this.maturityDate);
}
@ -58,7 +58,7 @@ public class JavaCommercialPaper implements Contract {
return new State(this.issuance, this.owner, this.faceValue, newMaturityDate);
}
public PartyReference getIssuance() {
public PartyAndReference getIssuance() {
return issuance;
}
@ -215,7 +215,7 @@ public class JavaCommercialPaper implements Contract {
return SecureHash.sha256("https://en.wikipedia.org/wiki/Commercial_paper");
}
public TransactionBuilder generateIssue(@NotNull PartyReference issuance, @NotNull Amount faceValue, @Nullable Instant maturityDate) {
public TransactionBuilder generateIssue(@NotNull PartyAndReference issuance, @NotNull Amount faceValue, @Nullable Instant maturityDate) {
State state = new State(issuance, issuance.getParty().getOwningKey(), faceValue, maturityDate);
return new TransactionBuilder().withItems(state, new Command(new Commands.Issue(), issuance.getParty().getOwningKey()));
}

View File

@ -48,7 +48,7 @@ class Cash : Contract {
/** A state representing a cash claim against some party */
data class State(
/** Where the underlying currency backing this ledger entry can be found (propagated) */
val deposit: PartyReference,
val deposit: PartyAndReference,
val amount: Amount,
@ -147,7 +147,7 @@ class Cash : Contract {
/**
* Puts together an issuance transaction for the specified amount that starts out being owned by the given pubkey.
*/
fun generateIssue(tx: TransactionBuilder, amount: Amount, at: PartyReference, owner: PublicKey) {
fun generateIssue(tx: TransactionBuilder, amount: Amount, at: PartyAndReference, owner: PublicKey) {
check(tx.inputStates().isEmpty())
check(tx.outputStates().sumCashOrNull() == null)
tx.addOutputState(Cash.State(at, amount, owner))

View File

@ -38,7 +38,7 @@ class CommercialPaper : Contract {
override val legalContractReference: SecureHash = SecureHash.sha256("https://en.wikipedia.org/wiki/Commercial_paper")
data class State(
val issuance: PartyReference,
val issuance: PartyAndReference,
override val owner: PublicKey,
val faceValue: Amount,
val maturityDate: Instant
@ -52,7 +52,7 @@ class CommercialPaper : Contract {
// Although kotlin is smart enough not to need these, as we are using the ICommercialPaperState, we need to declare them explicitly for use later,
override fun withOwner(newOwner: PublicKey): ICommercialPaperState = copy(owner = newOwner)
override fun withIssuance(newIssuance: PartyReference): ICommercialPaperState = copy(issuance = newIssuance)
override fun withIssuance(newIssuance: PartyAndReference): ICommercialPaperState = copy(issuance = newIssuance)
override fun withFaceValue(newFaceValue: Amount): ICommercialPaperState = copy(faceValue = newFaceValue)
override fun withMaturityDate(newMaturityDate: Instant): ICommercialPaperState = copy(maturityDate = newMaturityDate)
}
@ -129,7 +129,7 @@ class CommercialPaper : Contract {
* an existing transaction because you aren't able to issue multiple pieces of CP in a single transaction
* at the moment: this restriction is not fundamental and may be lifted later.
*/
fun generateIssue(issuance: PartyReference, faceValue: Amount, maturityDate: Instant): TransactionBuilder {
fun generateIssue(issuance: PartyAndReference, faceValue: Amount, maturityDate: Instant): TransactionBuilder {
val state = State(issuance, issuance.party.owningKey, faceValue, maturityDate)
return TransactionBuilder().withItems(state, Command(Commands.Issue(), issuance.party.owningKey))
}

View File

@ -136,7 +136,7 @@ class CrowdFund : Contract {
* Returns a transaction that registers a crowd-funding campaing, owned by the issuing institution's key. Does not update
* an existing transaction because it's not possible to register multiple campaigns in a single transaction
*/
fun generateRegister(owner: PartyReference, fundingTarget: Amount, fundingName: String, closingTime: Instant): TransactionBuilder {
fun generateRegister(owner: PartyAndReference, fundingTarget: Amount, fundingName: String, closingTime: Instant): TransactionBuilder {
val campaign = Campaign(owner = owner.party.owningKey, name = fundingName, target = fundingTarget, closingTime = closingTime)
val state = State(campaign)
return TransactionBuilder().withItems(state, Command(Commands.Register(), owner.party.owningKey))

View File

@ -23,7 +23,7 @@ class DummyContract : Contract {
// The "empty contract"
override val legalContractReference: SecureHash = SecureHash.sha256("")
fun generateInitial(owner: PartyReference, magicNumber: Int) : TransactionBuilder {
fun generateInitial(owner: PartyAndReference, magicNumber: Int) : TransactionBuilder {
val state = State(magicNumber)
return TransactionBuilder().withItems( state, Command(Commands.Create(), owner.party.owningKey) )
}

View File

@ -73,7 +73,7 @@ inline fun <reified T : ContractState> List<StateAndRef<ContractState>>.filterSt
data class Party(val name: String, val owningKey: PublicKey) {
override fun toString() = name
fun ref(bytes: OpaqueBytes) = PartyReference(this, bytes)
fun ref(bytes: OpaqueBytes) = PartyAndReference(this, bytes)
fun ref(vararg bytes: Byte) = ref(OpaqueBytes.of(*bytes))
}
@ -81,7 +81,7 @@ data class Party(val name: String, val owningKey: PublicKey) {
* Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal
* ledger. The reference is intended to be encrypted so it's meaningless to anyone other than the party.
*/
data class PartyReference(val party: Party, val reference: OpaqueBytes) {
data class PartyAndReference(val party: Party, val reference: OpaqueBytes) {
override fun toString() = "${party.name}$reference"
}

View File

@ -52,6 +52,14 @@ Code is vertically dense, blank lines in methods are used sparingly. This is so
We use spaces and not tabs.
1.2 Naming
----------
Naming generally follows Java standard style (pascal case for class names, camel case for methods, properties and
variables). Where a class name describes a tuple, "And" should be included in order to clearly indicate the elements are
individual parts, for example ``PartyAndReference``, not ``PartyReference`` (which sounds like a reference to a
``Party``).
2. Comments
###########
@ -177,4 +185,3 @@ instead do this
The latter is easier to catch and handle if later necessary, and the type name should explain what went wrong.
Note that Kotlin does not require exception types to be declared in method prototypes like Java does.

View File

@ -918,7 +918,7 @@ functionality to Java, but it wont arrive for a few years yet</p>
</tr>
<tr>
<td>
<a href="../core/-party-reference/index.html">core.PartyReference</a></td>
<a href="../core/-party-and-reference/index.html">core.PartyAndReference</a></td>
<td>
<p>Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal
ledger. The reference is intended to be encrypted so its meaningless to anyone other than the party.</p>

View File

@ -7,7 +7,7 @@
<a href="../../index.html">contracts</a>&nbsp;/&nbsp;<a href="../index.html">Cash</a>&nbsp;/&nbsp;<a href="index.html">State</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/deposit">deposit</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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><br/>
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/deposit">deposit</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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><br/>
<p>A state representing a cash claim against some party</p>
<br/>
<br/>

View File

@ -8,7 +8,7 @@
<br/>
<h1>deposit</h1>
<a name="contracts.Cash.State$deposit"></a>
<code><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></code><br/>
<code><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code><br/>
<p>Where the underlying currency backing this ledger entry can be found (propagated)</p>
<br/>
<br/>

View File

@ -18,7 +18,7 @@
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/deposit">deposit</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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 state representing a cash claim against some party</p>
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/deposit">deposit</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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 state representing a cash claim against some party</p>
</td>
</tr>
</tbody>
@ -43,7 +43,7 @@
<td>
<a href="deposit.html">deposit</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></code><p>Where the underlying currency backing this ledger entry can be found (propagated)</p>
<code><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code><p>Where the underlying currency backing this ledger entry can be found (propagated)</p>
</td>
</tr>
<tr>

View File

@ -7,8 +7,8 @@
<a href="../index.html">contracts</a>&nbsp;/&nbsp;<a href="index.html">Cash</a>&nbsp;/&nbsp;<a href=".">generateIssue</a><br/>
<br/>
<h1>generateIssue</h1>
<a name="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)"></a>
<code><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/at">at</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></code><br/>
<a name="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)"></a>
<code><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/at">at</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></code><br/>
<p>Puts together an issuance transaction for the specified amount that starts out being owned by the given pubkey.</p>
<br/>
<br/>

View File

@ -73,7 +73,7 @@ the same transaction.</p>
<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="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/at">at</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></code><p>Puts together an issuance transaction for the specified amount that starts out being owned by the given pubkey.</p>
<code><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/at">at</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></code><p>Puts together an issuance transaction for the specified amount that starts out being owned by the given pubkey.</p>
</td>
</tr>
<tr>

View File

@ -7,7 +7,7 @@
<a href="../../index.html">contracts</a>&nbsp;/&nbsp;<a href="../index.html">CommercialPaper</a>&nbsp;/&nbsp;<a href="index.html">State</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">)</span></code><br/>
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">)</span></code><br/>
<br/>
<br/>
</BODY>

View File

@ -17,7 +17,7 @@
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">)</span></code></td>
<code><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
@ -41,7 +41,7 @@
<td>
<a href="issuance.html">issuance</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">issuance</span><span class="symbol">: </span><a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></code></td>
<code><span class="keyword">val </span><span class="identifier">issuance</span><span class="symbol">: </span><a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code></td>
</tr>
<tr>
<td>
@ -77,7 +77,7 @@
<td>
<a href="with-issuance.html">withIssuance</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">withIssuance</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withIssuance(core.PartyReference)/newIssuance">newIssuance</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
<code><span class="keyword">fun </span><span class="identifier">withIssuance</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withIssuance(core.PartyAndReference)/newIssuance">newIssuance</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>

View File

@ -8,7 +8,7 @@
<br/>
<h1>issuance</h1>
<a name="contracts.CommercialPaper.State$issuance"></a>
<code><span class="keyword">val </span><span class="identifier">issuance</span><span class="symbol">: </span><a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></code><br/>
<code><span class="keyword">val </span><span class="identifier">issuance</span><span class="symbol">: </span><a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code><br/>
<br/>
<br/>
</BODY>

View File

@ -7,8 +7,8 @@
<a href="../../index.html">contracts</a>&nbsp;/&nbsp;<a href="../index.html">CommercialPaper</a>&nbsp;/&nbsp;<a href="index.html">State</a>&nbsp;/&nbsp;<a href=".">withIssuance</a><br/>
<br/>
<h1>withIssuance</h1>
<a name="contracts.CommercialPaper.State$withIssuance(core.PartyReference)"></a>
<code><span class="keyword">fun </span><span class="identifier">withIssuance</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withIssuance(core.PartyReference)/newIssuance">newIssuance</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<a name="contracts.CommercialPaper.State$withIssuance(core.PartyAndReference)"></a>
<code><span class="keyword">fun </span><span class="identifier">withIssuance</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withIssuance(core.PartyAndReference)/newIssuance">newIssuance</span><span class="symbol">:</span>&nbsp;<a href="../../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>

View File

@ -7,8 +7,8 @@
<a href="../index.html">contracts</a>&nbsp;/&nbsp;<a href="index.html">CommercialPaper</a>&nbsp;/&nbsp;<a href=".">generateIssue</a><br/>
<br/>
<h1>generateIssue</h1>
<a name="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)"></a>
<code><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><br/>
<a name="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)"></a>
<code><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><br/>
<p>Returns a transaction that issues commercial paper, owned by the issuing parties key. Does not update
an existing transaction because you arent able to issue multiple pieces of CP in a single transaction
at the moment: this restriction is not fundamental and may be lifted later.</p>

View File

@ -58,7 +58,7 @@ the contracts contents).</p>
<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="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="../../core/-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
<code><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="../../core/-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
an existing transaction because you arent able to issue multiple pieces of CP in a single transaction
at the moment: this restriction is not fundamental and may be lifted later.</p>
</td>

View File

@ -7,8 +7,8 @@
<a href="../index.html">contracts</a>&nbsp;/&nbsp;<a href="index.html">CrowdFund</a>&nbsp;/&nbsp;<a href=".">generateRegister</a><br/>
<br/>
<h1>generateRegister</h1>
<a name="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)"></a>
<code><span class="keyword">fun </span><span class="identifier">generateRegister</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/fundingTarget">fundingTarget</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/fundingName">fundingName</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/closingTime">closingTime</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><br/>
<a name="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)"></a>
<code><span class="keyword">fun </span><span class="identifier">generateRegister</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/fundingTarget">fundingTarget</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/fundingName">fundingName</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/closingTime">closingTime</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><br/>
<p>Returns a transaction that registers a crowd-funding campaing, owned by the issuing institutions key. Does not update
an existing transaction because its not possible to register multiple campaigns in a single transaction</p>
<br/>

View File

@ -104,7 +104,7 @@ the contracts contents).</p>
<td>
<a href="generate-register.html">generateRegister</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">generateRegister</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/fundingTarget">fundingTarget</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/fundingName">fundingName</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/closingTime">closingTime</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><p>Returns a transaction that registers a crowd-funding campaing, owned by the issuing institutions key. Does not update
<code><span class="keyword">fun </span><span class="identifier">generateRegister</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/fundingTarget">fundingTarget</span><span class="symbol">:</span>&nbsp;<a href="../../core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/fundingName">fundingName</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/closingTime">closingTime</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><p>Returns a transaction that registers a crowd-funding campaing, owned by the issuing institutions key. Does not update
an existing transaction because its not possible to register multiple campaigns in a single transaction</p>
</td>
</tr>

View File

@ -7,8 +7,8 @@
<a href="../index.html">contracts</a>&nbsp;/&nbsp;<a href="index.html">DummyContract</a>&nbsp;/&nbsp;<a href=".">generateInitial</a><br/>
<br/>
<h1>generateInitial</h1>
<a name="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)"></a>
<code><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)/magicNumber">magicNumber</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><br/>
<a name="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)"></a>
<code><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)/magicNumber">magicNumber</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code><br/>
<br/>
<br/>
</BODY>

View File

@ -58,7 +58,7 @@ the contracts contents).</p>
<td>
<a href="generate-initial.html">generateInitial</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)/magicNumber">magicNumber</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code></td>
<code><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="../../core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)/magicNumber">magicNumber</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></code></td>
</tr>
<tr>
<td>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>PartyAndReference.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">core</a>&nbsp;/&nbsp;<a href="index.html">PartyAndReference</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">PartyAndReference</span><span class="symbol">(</span><span class="identifier" id="core.PartyAndReference$<init>(core.Party, core.serialization.OpaqueBytes)/party">party</span><span class="symbol">:</span>&nbsp;<a href="../-party/index.html"><span class="identifier">Party</span></a><span class="symbol">, </span><span class="identifier" id="core.PartyAndReference$<init>(core.Party, core.serialization.OpaqueBytes)/reference">reference</span><span class="symbol">:</span>&nbsp;<a href="../../core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span></code><br/>
<p>Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal
ledger. The reference is intended to be encrypted so its meaningless to anyone other than the party.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,57 @@
<HTML>
<HEAD>
<title>PartyAndReference - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">core</a>&nbsp;/&nbsp;<a href=".">PartyAndReference</a><br/>
<br/>
<h1>PartyAndReference</h1>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PartyAndReference</span></code><br/>
<p>Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal
ledger. The reference is intended to be encrypted so its meaningless to anyone other than the party.</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">PartyAndReference</span><span class="symbol">(</span><span class="identifier" id="core.PartyAndReference$<init>(core.Party, core.serialization.OpaqueBytes)/party">party</span><span class="symbol">:</span>&nbsp;<a href="../-party/index.html"><span class="identifier">Party</span></a><span class="symbol">, </span><span class="identifier" id="core.PartyAndReference$<init>(core.Party, core.serialization.OpaqueBytes)/reference">reference</span><span class="symbol">:</span>&nbsp;<a href="../../core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span></code><p>Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal
ledger. The reference is intended to be encrypted so its meaningless to anyone other than the party.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="party.html">party</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">party</span><span class="symbol">: </span><a href="../-party/index.html"><span class="identifier">Party</span></a></code></td>
</tr>
<tr>
<td>
<a href="reference.html">reference</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">reference</span><span class="symbol">: </span><a href="../../core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<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>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>PartyAndReference.party - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">core</a>&nbsp;/&nbsp;<a href="index.html">PartyAndReference</a>&nbsp;/&nbsp;<a href=".">party</a><br/>
<br/>
<h1>party</h1>
<a name="core.PartyAndReference$party"></a>
<code><span class="keyword">val </span><span class="identifier">party</span><span class="symbol">: </span><a href="../-party/index.html"><span class="identifier">Party</span></a></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>PartyAndReference.reference - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">core</a>&nbsp;/&nbsp;<a href="index.html">PartyAndReference</a>&nbsp;/&nbsp;<a href=".">reference</a><br/>
<br/>
<h1>reference</h1>
<a name="core.PartyAndReference$reference"></a>
<code><span class="keyword">val </span><span class="identifier">reference</span><span class="symbol">: </span><a href="../../core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>PartyAndReference.toString - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">core</a>&nbsp;/&nbsp;<a href="index.html">PartyAndReference</a>&nbsp;/&nbsp;<a href=".">toString</a><br/>
<br/>
<h1>toString</h1>
<a name="core.PartyAndReference$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>

View File

@ -47,8 +47,8 @@
<td>
<a href="ref.html">ref</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="identifier" id="core.Party$ref(core.serialization.OpaqueBytes)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<a href="../../core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-party-reference/index.html"><span class="identifier">PartyReference</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="core.Party$ref(kotlin.ByteArray)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<span class="identifier">Byte</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-party-reference/index.html"><span class="identifier">PartyReference</span></a></code></td>
<code><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="identifier" id="core.Party$ref(core.serialization.OpaqueBytes)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<a href="../../core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="core.Party$ref(kotlin.ByteArray)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<span class="identifier">Byte</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code></td>
</tr>
<tr>
<td>

View File

@ -8,9 +8,9 @@
<br/>
<h1>ref</h1>
<a name="core.Party$ref(core.serialization.OpaqueBytes)"></a>
<code><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="identifier" id="core.Party$ref(core.serialization.OpaqueBytes)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<a href="../../core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-party-reference/index.html"><span class="identifier">PartyReference</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="identifier" id="core.Party$ref(core.serialization.OpaqueBytes)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<a href="../../core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code><br/>
<a name="core.Party$ref(kotlin.ByteArray)"></a>
<code><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="core.Party$ref(kotlin.ByteArray)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<span class="identifier">Byte</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-party-reference/index.html"><span class="identifier">PartyReference</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="core.Party$ref(kotlin.ByteArray)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<span class="identifier">Byte</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></code><br/>
<br/>
<br/>
</BODY>

View File

@ -203,9 +203,9 @@ with the commands from the wire, and verified/looked up.</p>
</tr>
<tr>
<td>
<a href="-party-reference/index.html">PartyReference</a></td>
<a href="-party-and-reference/index.html">PartyAndReference</a></td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PartyReference</span></code><p>Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PartyAndReference</span></code><p>Reference to something being stored or issued by a party e.g. in a vault or (more likely) on their normal
ledger. The reference is intended to be encrypted so its meaningless to anyone other than the party.</p>
</td>
</tr>

View File

@ -589,17 +589,17 @@
<link rel="stylesheet" href="style.css">
</HEAD>
<BODY>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/-init-.html"><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/deposit">deposit</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/-init-.html"><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/deposit">deposit</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/amount.html"><span class="keyword">val </span><span class="identifier">amount</span><span class="symbol">: </span><a href="core/-amount/index.html"><span class="identifier">Amount</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/contract.html"><span class="keyword">val </span><span class="identifier">contract</span><span class="symbol">: </span><a href="contracts/-cash/index.html"><span class="identifier">Cash</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/deposit.html"><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/deposit.html"><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/owner.html"><span class="keyword">val </span><span class="identifier">owner</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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/to-string.html"><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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/with-new-owner.html"><span class="keyword">fun </span><span class="identifier">withNewOwner</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$withNewOwner(java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<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="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
</BODY>
</HTML>
</ul>
<a href="docs/build/html/api/index"><a href="contracts/-cash/generate-issue.html"><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/at">at</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/generate-issue.html"><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/at">at</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/generate-spend.html"><span class="keyword">fun </span><span class="identifier">generateSpend</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/to">to</span><span class="symbol">:</span>&nbsp;<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="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/cashStates">cashStates</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-cash/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/onlyFromParties">onlyFromParties</span><span class="symbol">:</span>&nbsp;<span class="identifier">Set</span><span class="symbol">&lt;</span><a href="core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/legal-contract-reference.html"><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/verify.html"><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$verify(core.TransactionForVerification)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-for-verification/index.html"><span class="identifier">TransactionForVerification</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
@ -699,15 +699,15 @@
<link rel="stylesheet" href="style.css">
</HEAD>
<BODY>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/-init-.html"><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/-init-.html"><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/contract.html"><span class="keyword">val </span><span class="identifier">contract</span><span class="symbol">: </span><a href="contracts/-commercial-paper/index.html"><span class="identifier">CommercialPaper</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/face-value.html"><span class="keyword">val </span><span class="identifier">faceValue</span><span class="symbol">: </span><a href="core/-amount/index.html"><span class="identifier">Amount</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/issuance.html"><span class="keyword">val </span><span class="identifier">issuance</span><span class="symbol">: </span><a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/issuance.html"><span class="keyword">val </span><span class="identifier">issuance</span><span class="symbol">: </span><a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/maturity-date.html"><span class="keyword">val </span><span class="identifier">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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/owner.html"><span class="keyword">val </span><span class="identifier">owner</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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/to-string.html"><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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-face-value.html"><span class="keyword">fun </span><span class="identifier">withFaceValue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withFaceValue(core.Amount)/newFaceValue">newFaceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-issuance.html"><span class="keyword">fun </span><span class="identifier">withIssuance</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withIssuance(core.PartyReference)/newIssuance">newIssuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-issuance.html"><span class="keyword">fun </span><span class="identifier">withIssuance</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withIssuance(core.PartyAndReference)/newIssuance">newIssuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-maturity-date.html"><span class="keyword">fun </span><span class="identifier">withMaturityDate</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withMaturityDate(java.time.Instant)/newMaturityDate">newMaturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-new-owner.html"><span class="keyword">fun </span><span class="identifier">withNewOwner</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withNewOwner(java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<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="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-owner.html"><span class="keyword">fun </span><span class="identifier">withOwner</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withOwner(java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<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="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
@ -715,7 +715,7 @@
</BODY>
</HTML>
</ul>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/generate-issue.html"><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/generate-issue.html"><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/generate-move.html"><span class="keyword">fun </span><span class="identifier">generateMove</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateMove(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateMove(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), java.security.PublicKey)/paper">paper</span><span class="symbol">:</span>&nbsp;<a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-commercial-paper/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateMove(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/generate-redeem.html"><span class="keyword">fun </span><span class="identifier">generateRedeem</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateRedeem(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateRedeem(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/paper">paper</span><span class="symbol">:</span>&nbsp;<a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-commercial-paper/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateRedeem(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/wallet">wallet</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-cash/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/legal-contract-reference.html"><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></a></a><br/>
@ -908,7 +908,7 @@
</ul>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/generate-close.html"><span class="keyword">fun </span><span class="identifier">generateClose</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateClose(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateClose(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/campaign">campaign</span><span class="symbol">:</span>&nbsp;<a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-crowd-fund/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateClose(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/wallet">wallet</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-cash/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/generate-pledge.html"><span class="keyword">fun </span><span class="identifier">generatePledge</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generatePledge(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generatePledge(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), java.security.PublicKey)/campaign">campaign</span><span class="symbol">:</span>&nbsp;<a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-crowd-fund/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generatePledge(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), java.security.PublicKey)/subscriber">subscriber</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/generate-register.html"><span class="keyword">fun </span><span class="identifier">generateRegister</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/fundingTarget">fundingTarget</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/fundingName">fundingName</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/closingTime">closingTime</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/generate-register.html"><span class="keyword">fun </span><span class="identifier">generateRegister</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/fundingTarget">fundingTarget</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/fundingName">fundingName</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/closingTime">closingTime</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/legal-contract-reference.html"><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/verify.html"><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$verify(core.TransactionForVerification)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-for-verification/index.html"><span class="identifier">TransactionForVerification</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
</BODY>
@ -1236,7 +1236,7 @@
</BODY>
</HTML>
</ul>
<a href="docs/build/html/api/index"><a href="contracts/-dummy-contract/generate-initial.html"><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)/magicNumber">magicNumber</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-dummy-contract/generate-initial.html"><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)/magicNumber">magicNumber</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-dummy-contract/legal-contract-reference.html"><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-dummy-contract/verify.html"><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$verify(core.TransactionForVerification)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-for-verification/index.html"><span class="identifier">TransactionForVerification</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
</BODY>
@ -3144,13 +3144,13 @@
<a href="docs/build/html/api/index"><a href="core/-party/-init-.html"><span class="identifier">Party</span><span class="symbol">(</span><span class="identifier" id="core.Party$<init>(kotlin.String, java.security.PublicKey)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="core.Party$<init>(kotlin.String, java.security.PublicKey)/owningKey">owningKey</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/name.html"><span class="keyword">val </span><span class="identifier">name</span><span class="symbol">: </span><span class="identifier">String</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/owning-key.html"><span class="keyword">val </span><span class="identifier">owningKey</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></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/ref.html"><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="identifier" id="core.Party$ref(core.serialization.OpaqueBytes)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/ref.html"><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="core.Party$ref(kotlin.ByteArray)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<span class="identifier">Byte</span><span class="symbol">)</span><span class="symbol">: </span><a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/ref.html"><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="identifier" id="core.Party$ref(core.serialization.OpaqueBytes)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/ref.html"><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="core.Party$ref(kotlin.ByteArray)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<span class="identifier">Byte</span><span class="symbol">)</span><span class="symbol">: </span><a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/to-string.html"><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></a></a><br/>
</BODY>
</HTML>
</ul>
<a href="docs/build/html/api/index"><a href="core/-party-reference/index.html"><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PartyReference</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/index.html"><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PartyAndReference</span></a></a><br/>
<ul>
<HTML>
<HEAD>
@ -3158,10 +3158,10 @@
<link rel="stylesheet" href="style.css">
</HEAD>
<BODY>
<a href="docs/build/html/api/index"><a href="core/-party-reference/-init-.html"><span class="identifier">PartyReference</span><span class="symbol">(</span><span class="identifier" id="core.PartyReference$<init>(core.Party, core.serialization.OpaqueBytes)/party">party</span><span class="symbol">:</span>&nbsp;<a href="core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">, </span><span class="identifier" id="core.PartyReference$<init>(core.Party, core.serialization.OpaqueBytes)/reference">reference</span><span class="symbol">:</span>&nbsp;<a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-reference/party.html"><span class="keyword">val </span><span class="identifier">party</span><span class="symbol">: </span><a href="core/-party/index.html"><span class="identifier">Party</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-reference/reference.html"><span class="keyword">val </span><span class="identifier">reference</span><span class="symbol">: </span><a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-reference/to-string.html"><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></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/-init-.html"><span class="identifier">PartyAndReference</span><span class="symbol">(</span><span class="identifier" id="core.PartyAndReference$<init>(core.Party, core.serialization.OpaqueBytes)/party">party</span><span class="symbol">:</span>&nbsp;<a href="core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">, </span><span class="identifier" id="core.PartyAndReference$<init>(core.Party, core.serialization.OpaqueBytes)/reference">reference</span><span class="symbol">:</span>&nbsp;<a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/party.html"><span class="keyword">val </span><span class="identifier">party</span><span class="symbol">: </span><a href="core/-party/index.html"><span class="identifier">Party</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/reference.html"><span class="keyword">val </span><span class="identifier">reference</span><span class="symbol">: </span><a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/to-string.html"><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></a></a><br/>
</BODY>
</HTML>
</ul>
@ -5658,17 +5658,17 @@
<link rel="stylesheet" href="style.css">
</HEAD>
<BODY>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/-init-.html"><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/deposit">deposit</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyReference, core.Amount, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/-init-.html"><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/deposit">deposit</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash.State$<init>(core.PartyAndReference, core.Amount, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/amount.html"><span class="keyword">val </span><span class="identifier">amount</span><span class="symbol">: </span><a href="core/-amount/index.html"><span class="identifier">Amount</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/contract.html"><span class="keyword">val </span><span class="identifier">contract</span><span class="symbol">: </span><a href="contracts/-cash/index.html"><span class="identifier">Cash</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/deposit.html"><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/deposit.html"><span class="keyword">val </span><span class="identifier">deposit</span><span class="symbol">: </span><a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/owner.html"><span class="keyword">val </span><span class="identifier">owner</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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/to-string.html"><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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/-state/with-new-owner.html"><span class="keyword">fun </span><span class="identifier">withNewOwner</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash.State$withNewOwner(java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<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="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
</BODY>
</HTML>
</ul>
<a href="docs/build/html/api/index"><a href="contracts/-cash/generate-issue.html"><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/at">at</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyReference, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/generate-issue.html"><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/at">at</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateIssue(core.TransactionBuilder, core.Amount, core.PartyAndReference, java.security.PublicKey)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/generate-spend.html"><span class="keyword">fun </span><span class="identifier">generateSpend</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/amount">amount</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/to">to</span><span class="symbol">:</span>&nbsp;<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="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/cashStates">cashStates</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-cash/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.Cash$generateSpend(core.TransactionBuilder, core.Amount, java.security.PublicKey, kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))), kotlin.collections.Set((core.Party)))/onlyFromParties">onlyFromParties</span><span class="symbol">:</span>&nbsp;<span class="identifier">Set</span><span class="symbol">&lt;</span><a href="core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/legal-contract-reference.html"><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-cash/verify.html"><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="contracts.Cash$verify(core.TransactionForVerification)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-for-verification/index.html"><span class="identifier">TransactionForVerification</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
@ -5739,15 +5739,15 @@
<link rel="stylesheet" href="style.css">
</HEAD>
<BODY>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/-init-.html"><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyReference, java.security.PublicKey, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/-init-.html"><span class="identifier">State</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<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="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper.State$<init>(core.PartyAndReference, java.security.PublicKey, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/time/Instant.html"><span class="identifier">Instant</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/contract.html"><span class="keyword">val </span><span class="identifier">contract</span><span class="symbol">: </span><a href="contracts/-commercial-paper/index.html"><span class="identifier">CommercialPaper</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/face-value.html"><span class="keyword">val </span><span class="identifier">faceValue</span><span class="symbol">: </span><a href="core/-amount/index.html"><span class="identifier">Amount</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/issuance.html"><span class="keyword">val </span><span class="identifier">issuance</span><span class="symbol">: </span><a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/issuance.html"><span class="keyword">val </span><span class="identifier">issuance</span><span class="symbol">: </span><a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/maturity-date.html"><span class="keyword">val </span><span class="identifier">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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/owner.html"><span class="keyword">val </span><span class="identifier">owner</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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/to-string.html"><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></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-face-value.html"><span class="keyword">fun </span><span class="identifier">withFaceValue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withFaceValue(core.Amount)/newFaceValue">newFaceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-issuance.html"><span class="keyword">fun </span><span class="identifier">withIssuance</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withIssuance(core.PartyReference)/newIssuance">newIssuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-issuance.html"><span class="keyword">fun </span><span class="identifier">withIssuance</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withIssuance(core.PartyAndReference)/newIssuance">newIssuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-maturity-date.html"><span class="keyword">fun </span><span class="identifier">withMaturityDate</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withMaturityDate(java.time.Instant)/newMaturityDate">newMaturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-new-owner.html"><span class="keyword">fun </span><span class="identifier">withNewOwner</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withNewOwner(java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<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="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/-state/with-owner.html"><span class="keyword">fun </span><span class="identifier">withOwner</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper.State$withOwner(java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<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="identifier">&lt;ERROR CLASS&gt;</span></a></a><br/>
@ -5755,7 +5755,7 @@
</BODY>
</HTML>
</ul>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/generate-issue.html"><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyReference, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/generate-issue.html"><span class="keyword">fun </span><span class="identifier">generateIssue</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/issuance">issuance</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/faceValue">faceValue</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateIssue(core.PartyAndReference, core.Amount, java.time.Instant)/maturityDate">maturityDate</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/generate-move.html"><span class="keyword">fun </span><span class="identifier">generateMove</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateMove(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateMove(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), java.security.PublicKey)/paper">paper</span><span class="symbol">:</span>&nbsp;<a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-commercial-paper/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateMove(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), java.security.PublicKey)/newOwner">newOwner</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/generate-redeem.html"><span class="keyword">fun </span><span class="identifier">generateRedeem</span><span class="symbol">(</span><span class="identifier" id="contracts.CommercialPaper$generateRedeem(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateRedeem(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/paper">paper</span><span class="symbol">:</span>&nbsp;<a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-commercial-paper/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.CommercialPaper$generateRedeem(core.TransactionBuilder, core.StateAndRef((contracts.CommercialPaper.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/wallet">wallet</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-cash/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-commercial-paper/legal-contract-reference.html"><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></a></a><br/>
@ -5869,7 +5869,7 @@
</ul>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/generate-close.html"><span class="keyword">fun </span><span class="identifier">generateClose</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateClose(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateClose(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/campaign">campaign</span><span class="symbol">:</span>&nbsp;<a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-crowd-fund/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateClose(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), kotlin.collections.List((core.StateAndRef((contracts.Cash.State)))))/wallet">wallet</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-cash/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/generate-pledge.html"><span class="keyword">fun </span><span class="identifier">generatePledge</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generatePledge(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), java.security.PublicKey)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generatePledge(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), java.security.PublicKey)/campaign">campaign</span><span class="symbol">:</span>&nbsp;<a href="core/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="contracts/-crowd-fund/-state/index.html"><span class="identifier">State</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generatePledge(core.TransactionBuilder, core.StateAndRef((contracts.CrowdFund.State)), java.security.PublicKey)/subscriber">subscriber</span><span class="symbol">:</span>&nbsp;<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="identifier">Unit</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/generate-register.html"><span class="keyword">fun </span><span class="identifier">generateRegister</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/fundingTarget">fundingTarget</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/fundingName">fundingName</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyReference, core.Amount, kotlin.String, java.time.Instant)/closingTime">closingTime</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/generate-register.html"><span class="keyword">fun </span><span class="identifier">generateRegister</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/fundingTarget">fundingTarget</span><span class="symbol">:</span>&nbsp;<a href="core/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/fundingName">fundingName</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="contracts.CrowdFund$generateRegister(core.PartyAndReference, core.Amount, kotlin.String, java.time.Instant)/closingTime">closingTime</span><span class="symbol">:</span>&nbsp;<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="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/legal-contract-reference.html"><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-crowd-fund/verify.html"><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="contracts.CrowdFund$verify(core.TransactionForVerification)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-for-verification/index.html"><span class="identifier">TransactionForVerification</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
</BODY>
@ -5937,7 +5937,7 @@
</BODY>
</HTML>
</ul>
<a href="docs/build/html/api/index"><a href="contracts/-dummy-contract/generate-initial.html"><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyReference, kotlin.Int)/magicNumber">magicNumber</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-dummy-contract/generate-initial.html"><span class="keyword">fun </span><span class="identifier">generateInitial</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)/owner">owner</span><span class="symbol">:</span>&nbsp;<a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">, </span><span class="identifier" id="contracts.DummyContract$generateInitial(core.PartyAndReference, kotlin.Int)/magicNumber">magicNumber</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="core/-transaction-builder/index.html"><span class="identifier">TransactionBuilder</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-dummy-contract/legal-contract-reference.html"><span class="keyword">val </span><span class="identifier">legalContractReference</span><span class="symbol">: </span><a href="core.crypto/-secure-hash/index.html"><span class="identifier">SecureHash</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="contracts/-dummy-contract/verify.html"><span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="identifier" id="contracts.DummyContract$verify(core.TransactionForVerification)/tx">tx</span><span class="symbol">:</span>&nbsp;<a href="core/-transaction-for-verification/index.html"><span class="identifier">TransactionForVerification</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></a></a><br/>
</BODY>
@ -6940,13 +6940,13 @@
<a href="docs/build/html/api/index"><a href="core/-party/-init-.html"><span class="identifier">Party</span><span class="symbol">(</span><span class="identifier" id="core.Party$<init>(kotlin.String, java.security.PublicKey)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="core.Party$<init>(kotlin.String, java.security.PublicKey)/owningKey">owningKey</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/security/PublicKey.html"><span class="identifier">PublicKey</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/name.html"><span class="keyword">val </span><span class="identifier">name</span><span class="symbol">: </span><span class="identifier">String</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/owning-key.html"><span class="keyword">val </span><span class="identifier">owningKey</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></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/ref.html"><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="identifier" id="core.Party$ref(core.serialization.OpaqueBytes)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/ref.html"><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="core.Party$ref(kotlin.ByteArray)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<span class="identifier">Byte</span><span class="symbol">)</span><span class="symbol">: </span><a href="core/-party-reference/index.html"><span class="identifier">PartyReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/ref.html"><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="identifier" id="core.Party$ref(core.serialization.OpaqueBytes)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/ref.html"><span class="keyword">fun </span><span class="identifier">ref</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="core.Party$ref(kotlin.ByteArray)/bytes">bytes</span><span class="symbol">:</span>&nbsp;<span class="identifier">Byte</span><span class="symbol">)</span><span class="symbol">: </span><a href="core/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party/to-string.html"><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></a></a><br/>
</BODY>
</HTML>
</ul>
<a href="docs/build/html/api/index"><a href="core/-party-reference/index.html"><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PartyReference</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/index.html"><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PartyAndReference</span></a></a><br/>
<ul>
<HTML>
<HEAD>
@ -6954,10 +6954,10 @@
<link rel="stylesheet" href="style.css">
</HEAD>
<BODY>
<a href="docs/build/html/api/index"><a href="core/-party-reference/-init-.html"><span class="identifier">PartyReference</span><span class="symbol">(</span><span class="identifier" id="core.PartyReference$<init>(core.Party, core.serialization.OpaqueBytes)/party">party</span><span class="symbol">:</span>&nbsp;<a href="core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">, </span><span class="identifier" id="core.PartyReference$<init>(core.Party, core.serialization.OpaqueBytes)/reference">reference</span><span class="symbol">:</span>&nbsp;<a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-reference/party.html"><span class="keyword">val </span><span class="identifier">party</span><span class="symbol">: </span><a href="core/-party/index.html"><span class="identifier">Party</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-reference/reference.html"><span class="keyword">val </span><span class="identifier">reference</span><span class="symbol">: </span><a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-reference/to-string.html"><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></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/-init-.html"><span class="identifier">PartyAndReference</span><span class="symbol">(</span><span class="identifier" id="core.PartyAndReference$<init>(core.Party, core.serialization.OpaqueBytes)/party">party</span><span class="symbol">:</span>&nbsp;<a href="core/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">, </span><span class="identifier" id="core.PartyAndReference$<init>(core.Party, core.serialization.OpaqueBytes)/reference">reference</span><span class="symbol">:</span>&nbsp;<a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">)</span></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/party.html"><span class="keyword">val </span><span class="identifier">party</span><span class="symbol">: </span><a href="core/-party/index.html"><span class="identifier">Party</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/reference.html"><span class="keyword">val </span><span class="identifier">reference</span><span class="symbol">: </span><a href="core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a></a></a><br/>
<a href="docs/build/html/api/index"><a href="core/-party-and-reference/to-string.html"><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></a></a><br/>
</BODY>
</HTML>
</ul>

View File

@ -107,6 +107,7 @@
<li class="toctree-l1 current"><a class="current reference internal" href="#">Code style guide</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#general-style">1. General style</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#line-length-and-spacing">1.1 Line Length and Spacing</a></li>
<li class="toctree-l3"><a class="reference internal" href="#naming">1.2 Naming</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#comments">2. Comments</a></li>
@ -203,6 +204,13 @@ be structured one parameter per line.</p>
<p>Code is vertically dense, blank lines in methods are used sparingly. This is so more code can fit on screen at once.</p>
<p>We use spaces and not tabs.</p>
</div>
<div class="section" id="naming">
<h3>1.2 Naming<a class="headerlink" href="#naming" title="Permalink to this headline"></a></h3>
<p>Naming generally follows Java standard style (pascal case for class names, camel case for methods, properties and
variables). Where a class name describes a tuple, &#8220;And&#8221; should be included in order to clearly indicate the elements are
individual parts, for example <code class="docutils literal"><span class="pre">PartyAndReference</span></code>, not <code class="docutils literal"><span class="pre">PartyReference</span></code> (which sounds like a reference to a
<code class="docutils literal"><span class="pre">Party</span></code>).</p>
</div>
</div>
<div class="section" id="comments">
<h2>2. Comments<a class="headerlink" href="#comments" title="Permalink to this headline"></a></h2>

View File

@ -52,6 +52,14 @@ Code is vertically dense, blank lines in methods are used sparingly. This is so
We use spaces and not tabs.
1.2 Naming
----------
Naming generally follows Java standard style (pascal case for class names, camel case for methods, properties and
variables). Where a class name describes a tuple, "And" should be included in order to clearly indicate the elements are
individual parts, for example ``PartyAndReference``, not ``PartyReference`` (which sounds like a reference to a
``Party``).
2. Comments
###########
@ -177,4 +185,3 @@ instead do this
The latter is easier to catch and handle if later necessary, and the type name should explain what went wrong.
Note that Kotlin does not require exception types to be declared in method prototypes like Java does.

View File

@ -19,7 +19,7 @@ import kotlin.test.assertFailsWith
import kotlin.test.assertNotNull
interface DummyContractBackdoor {
fun generateInitial(owner: PartyReference, magicNumber: Int): TransactionBuilder
fun generateInitial(owner: PartyAndReference, magicNumber: Int): TransactionBuilder
fun inspectState(state: ContractState): Int
}