2023-08-09 16:16:14 +00:00
|
|
|
contract Bank {
|
|
|
|
struct Coin {
|
|
|
|
string observeGraphicURL;
|
|
|
|
string reverseGraphicURL;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// @notice Get the n-th coin I own
|
|
|
|
/// @return observeGraphicURL Front pic
|
|
|
|
/// @return reverseGraphicURL Back pic
|
|
|
|
Coin[] public coinStack;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----
|
|
|
|
// ----
|
|
|
|
// :Bank devdoc
|
|
|
|
// {
|
2023-08-09 17:33:35 +00:00
|
|
|
// "kind": "dev",
|
2023-08-09 16:16:14 +00:00
|
|
|
// "methods": {},
|
|
|
|
// "stateVariables":
|
|
|
|
// {
|
|
|
|
// "coinStack":
|
|
|
|
// {
|
|
|
|
// "returns":
|
|
|
|
// {
|
|
|
|
// "observeGraphicURL": "Front pic",
|
|
|
|
// "reverseGraphicURL": "Back pic"
|
|
|
|
// }
|
|
|
|
// }
|
2023-08-09 17:33:35 +00:00
|
|
|
// },
|
|
|
|
// "version": 1
|
2023-08-09 16:16:14 +00:00
|
|
|
// }
|
|
|
|
//
|
|
|
|
// :Bank userdoc
|
|
|
|
// {
|
2023-08-09 17:33:35 +00:00
|
|
|
// "kind": "user",
|
2023-08-09 16:16:14 +00:00
|
|
|
// "methods":
|
|
|
|
// {
|
|
|
|
// "coinStack(uint256)":
|
|
|
|
// {
|
|
|
|
// "notice": "Get the n-th coin I own"
|
|
|
|
// }
|
2023-08-09 17:33:35 +00:00
|
|
|
// },
|
|
|
|
// "version": 1
|
2023-08-09 16:16:14 +00:00
|
|
|
// }
|