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: Tokens/stockpaydividend/README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,27 +54,27 @@ We'll list the flows here in the order that they execute in our example.
54
54
55
55
##### Pre-requisite. IssueMoney - Bank
56
56
57
-
First, the bank issues money to WayneCo using [IssueMoney.java](https://github.com/corda/samples-java/blob/master/token-cordapps/stockpaydividend/workflows/src/main/java/net/corda/examples/stockpaydividend/flows/IssueMoney.java#L37-L2)
57
+
First, the bank issues money to WayneCo using [IssueMoney.java](./workflows/src/main/java/net/corda/examples/stockpaydividend/flows/IssueMoney.java#L37-L2)
58
58
59
59
60
60
##### 1. IssueStock - Stock Issuer
61
61
WayneCo creates a StockState and issues some stock tokens associated to the created StockState.
62
62
63
-
That stock is issused in [IssueStock.java](https://github.com/corda/samples-java/blob/master/token-cordapps/stockpaydividend/workflows/src/main/java/net/corda/examples/stockpaydividend/flows/IssueStock.java#L57-L97).
63
+
That stock is issused in [IssueStock.java](./workflows/src/main/java/net/corda/examples/stockpaydividend/flows/IssueStock.java#L57-L97).
64
64
65
65
66
66
##### 2. MoveStock - Stock Issuer
67
67
68
68
WayneCo transfers some stock tokens to the Shareholder.
69
69
70
70
71
-
This flow is in [MoveStock.java](https://github.com/corda/samples-java/blob/master/token-cordapps/stockpaydividend/workflows/src/main/java/net/corda/examples/stockpaydividend/flows/MoveStock.java#L40-L53)
71
+
This flow is in [MoveStock.java](./workflows/src/main/java/net/corda/examples/stockpaydividend/flows/MoveStock.java#L40-L53)
72
72
73
73
74
74
##### 3. AnnounceDividend - Stock Issuer
75
75
WayneCo announces the dividends that will be paid on the payday.
76
76
77
-
This happens through [AnnounceDividend.java](https://github.com/corda/samples-java/blob/master/token-cordapps/stockpaydividend/workflows/src/main/java/net/corda/examples/stockpaydividend/flows/AnnounceDividend.java#L48-L77)
77
+
This happens through [AnnounceDividend.java](./workflows/src/main/java/net/corda/examples/stockpaydividend/flows/AnnounceDividend.java#L48-L77)
78
78
79
79
80
80
@@ -83,28 +83,28 @@ This happens through [AnnounceDividend.java](https://github.com/corda/samples-ja
83
83
Shareholders retrieves the newest stock state from the company.
84
84
85
85
86
-
We see this happen in [GetStockUpdate.java](https://github.com/corda/samples-java/blob/master/token-cordapps/stockpaydividend/workflows/src/main/java/net/corda/examples/stockpaydividend/flows/GetStockUpdate.java#L33-L52)
86
+
We see this happen in [GetStockUpdate.java](./workflows/src/main/java/net/corda/examples/stockpaydividend/flows/GetStockUpdate.java#L33-L52)
87
87
88
88
89
89
90
90
##### 5. ClaimDividendReceivable - Shareholder
91
91
92
92
Shareholders finds the dividend is announced and claims the dividends base on the owning stock.
93
93
94
-
Implemented in [ClaimDividendReceivable.java](https://github.com/corda/samples-java/blob/master/token-cordapps/stockpaydividend/workflows/src/main/java/net/corda/examples/stockpaydividend/flows/ClaimDividendReceivable.java#L51-L96)
94
+
Implemented in [ClaimDividendReceivable.java](./workflows/src/main/java/net/corda/examples/stockpaydividend/flows/ClaimDividendReceivable.java#L51-L96)
95
95
96
96
97
97
98
98
##### 6. PayDividend - Company
99
99
On the payday, the company pay off the stock with fiat currencies.
100
100
101
101
102
-
This is implemented in [PayDividend.java](https://github.com/corda/samples-java/blob/master/token-cordapps/stockpaydividend/workflows/src/main/java/net/corda/examples/stockpaydividend/flows/PayDividend.java#L46-L108).
102
+
This is implemented in [PayDividend.java](./workflows/src/main/java/net/corda/examples/stockpaydividend/flows/PayDividend.java#L46-L108).
103
103
104
104
##### 7. Get token balances - Any node
105
105
Query the balances of different nodes. This can be executed at anytime.
106
106
107
-
This is found in two different flows, where we make requests using `GetStockBalances` or `GetFiatBalances` for stock or fiat with [QueryStock.java](https://github.com/corda/samples-java/blob/5c0155784e8ca9df27dd5d4f9eca65e4cce4b11a/token-cordapps/stockpaydividend/workflows/src/main/java/net/corda/examples/stockpaydividend/flows/QueryStock.java)
107
+
This is found in two different flows, where we make requests using `GetStockBalances` or `GetFiatBalances` for stock or fiat with [QueryStock.java](./workflows/src/main/java/net/corda/examples/stockpaydividend/flows/QueryStock.java)
0 commit comments