-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpiggybank.abi.json
89 lines (89 loc) · 2.07 KB
/
piggybank.abi.json
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
{
"buildInfo": {
"rustc": {
"version": "1.78.0",
"commitHash": "9b00956e56009bab2aa15d7bff10916599e3d6d6",
"commitDate": "2024-04-29",
"channel": "Stable",
"short": "rustc 1.78.0 (9b00956e5 2024-04-29)"
},
"contractCrate": {
"name": "piggybank",
"version": "0.7.0"
},
"framework": {
"name": "multiversx-sc",
"version": "0.50.3"
}
},
"name": "PiggyBank",
"constructor": {
"inputs": [],
"outputs": []
},
"upgradeConstructor": {
"inputs": [],
"outputs": []
},
"endpoints": [
{
"name": "createPiggy",
"mutability": "mutable",
"inputs": [
{
"name": "lock_time",
"type": "u64"
}
],
"outputs": []
},
{
"name": "addAmount",
"mutability": "mutable",
"payableInTokens": [
"EGLD"
],
"inputs": [],
"outputs": []
},
{
"name": "payOut",
"mutability": "mutable",
"inputs": [],
"outputs": []
},
{
"name": "getLockedAmount",
"mutability": "readonly",
"inputs": [
{
"name": "piggy_owner",
"type": "Address"
}
],
"outputs": [
{
"type": "BigUint"
}
]
},
{
"name": "getLockTime",
"mutability": "readonly",
"inputs": [
{
"name": "piggy_owner",
"type": "Address"
}
],
"outputs": [
{
"type": "u64"
}
]
}
],
"esdtAttributes": [],
"hasCallback": false,
"types": {}
}