You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Advanced/auction-cordapp/README.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,17 +23,17 @@ ownership. Left black for simplicity. Has two commands, `CreateAsset` and `Trans
23
23
24
24
-`AuctionContract`: It governs the evolution of the auction. The has the following commands:
25
25
26
-
-`CreateAuction`: Validation rules governing the creation of the auction.
26
+
-`CreateAuction`: Validation rules governing the creation of the auction.
27
27
28
-
-`Bid`: Validation rules governing the bidding process of the auction.
28
+
-`Bid`: Validation rules governing the bidding process of the auction.
29
29
30
-
-`EndAuction`: Validation rules governing end of the auction i.e making the auction inactive
30
+
-`EndAuction`: Validation rules governing end of the auction i.e making the auction inactive
31
31
once the auction bidding deadline has been reached.
32
32
33
-
-`Settlement`: Validation rules for settlement of the auction i.e. transfer of asset to the
33
+
-`Settlement`: Validation rules for settlement of the auction i.e. transfer of asset to the
34
34
highest bidder and the highest bid amount transfer to the auctioneer.
35
35
36
-
-`Exit`: Rules governing the exit (consumption/deletion) of the auction state.
36
+
-`Exit`: Rules governing the exit (consumption/deletion) of the auction state.
37
37
38
38
### Flows:
39
39
@@ -51,15 +51,13 @@ deadline defined in the `AuctionState`. Implemented in [BidFlow.java](./workflow
51
51
-`EndAuctionFlow`: This is a scheduled flow, which run automatically on auction deadline to mark
52
52
the corresponding auction as inactive, so that it stop receiving bids.The auction flow can be found [here](./workflows/src/main/java/net/corda/samples/flows/EndAuctionFlow.java#L39-L83)
53
53
54
-
-`AuctionSettlementFlow`:
54
+
-`AuctionSettlementFlow`: It is used to settle an auction once the bidding deadline has passed. It internally triggers two flows:
55
55
56
-
It is used to settle an auction once the bidding deadline has passed. It internally triggers two flows:
57
-
58
-
-`AuctionDvPFlow`: This flow takes care of the dvp operation for settlement of the auction. It
56
+
-`AuctionDvPFlow`: This flow takes care of the dvp operation for settlement of the auction. It
59
57
transfers the asset on auction to the highest bidder and the highest bid amount is transferred to
60
58
the auctioneer. It happens as an atomic transaction.
61
59
62
-
-`AuctionExitFlow`: Once the auction us settled, this flow is used to exit the auction state. This
60
+
-`AuctionExitFlow`: Once the auction us settled, this flow is used to exit the auction state. This
63
61
flow can also be triggered to exit an auction which did not receive any bid till its deadline.
This CorDapp provides a simple example of how the node database can be accessed in flows using a [JDBC Connection](https://docs.corda.net/docs/corda-os/api-persistence.html#jdbc-session). In this case, the flows
4
-
maintain a table of cryptocurrency values in the node's database. There are three flows:
4
+
maintain a table of cryptocurrency values in the node's database.
# Spring webserver [<imgsrc="../../webIDE.png"height=25 />](https://ide.corda.net/?folder=/home/coder/samples-java/Basic/spring-webserver)
6
2
7
3
This project defines a simple [Spring webserver](https://spring.io/projects/spring-boot#overview) that connects to a Corda node via [RPC](https://docs.corda.net/docs/corda-os/api-rpc.html#api-rpc-operations).
Copy file name to clipboardExpand all lines: Basic/yo-cordapp/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ We define a [Yo as a state](./contracts/src/main/java/net/corda/examples/yo/stat
25
25
26
26
27
27
### Contracts
28
-
We define [the "Yo Social Contract"](./contracts/src/main/java/net/corda/examples/yo/contracts/YoContract.java#L21-L32), which, in this case, verifies some basic assumptions about a Yo.
28
+
We define the ["Yo Social Contract"](./contracts/src/main/java/net/corda/examples/yo/contracts/YoContract.java#L21-L32), which, in this case, verifies some basic assumptions about a Yo.
0 commit comments