-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathC4_NFT_Loan_SC
96 lines (96 loc) · 5.52 KB
/
C4_NFT_Loan_SC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
When
[Case
(Deposit
(Role "Lender")
(Role "Borrower")
(Token "0889a2d542897f0c7eefed47d2d809bd8d8ec78881bd4ff9464f683a" "BadgeOfHonor")
(Constant 1)
)
(When
[Case
(Deposit
(Role "Borrower")
(Role "Lender")
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 10000)
)
(Pay
(Role "Borrower")
(Party (Role "Borrower"))
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 10000)
(When
[Case
(Deposit
(Role "Lender")
(Role "Borrower")
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 150)
)
(Pay
(Role "Lender")
(Party (Role "Lender"))
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 150)
(When
[Case
(Deposit
(Role "Lender")
(Role "Borrower")
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 150)
)
(Pay
(Role "Lender")
(Party (Role "Lender"))
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 150)
(When
[Case
(Deposit
(Role "Lender")
(Role "Borrower")
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 150)
)
(Pay
(Role "Lender")
(Party (Role "Lender"))
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 150)
(When
[Case
(Deposit
(Role "Lender")
(Role "Borrower")
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 10000)
)
(Pay
(Role "Lender")
(Party (Role "Borrower"))
(Token "0889a2d542897f0c7eefed47d2d809bd8d8ec78881bd4ff9464f683a" "BadgeOfHonor")
(Constant 1)
(Pay
(Role "Lender")
(Party (Role "Lender"))
(Token "a00fdf4fb9ab6c8c2bd1533a2f14855edf12aed5ecbf96d4b5f5b939" "C4")
(Constant 10000)
Close
)
)]
1720630560000 Close
)
)]
1720630500000 Close
)
)]
1720630440000 Close
)
)]
1720630380000 Close
)
)]
1720630320000 Close
)]
1720630260000 Close