fix(style): indent
This commit is contained in:
parent
bd40ab67d8
commit
c231926431
@ -4,8 +4,8 @@ import "@openzeppelin/contracts/utils/Counters.sol";
|
|||||||
import "./SoulboundToken.sol";
|
import "./SoulboundToken.sol";
|
||||||
|
|
||||||
contract Bank {
|
contract Bank {
|
||||||
using Counters for Counters.Counter;
|
using Counters for Counters.Counter;
|
||||||
Counters.Counter private id_counter;
|
Counters.Counter private id_counter;
|
||||||
|
|
||||||
struct Order {
|
struct Order {
|
||||||
bool isFinished;
|
bool isFinished;
|
||||||
@ -26,10 +26,10 @@ contract Bank {
|
|||||||
owner = msg.sender;
|
owner = msg.sender;
|
||||||
}
|
}
|
||||||
|
|
||||||
modifier onlyBank {
|
modifier onlyBank {
|
||||||
require(msg.sender == owner, "Only the owner can access this function.");
|
require(msg.sender == owner, "Only the owner can access this function.");
|
||||||
_;
|
_;
|
||||||
}
|
}
|
||||||
|
|
||||||
modifier onlyClient {
|
modifier onlyClient {
|
||||||
require(sbt_number[msg.sender] != 0, "You should call register() first.");
|
require(sbt_number[msg.sender] != 0, "You should call register() first.");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user