Skip to content

Commit

Permalink
export the LPTracker abi
Browse files Browse the repository at this point in the history
  • Loading branch information
YuniqueUnic committed Aug 12, 2024
1 parent 708f4a0 commit a3fc2b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions abi/LPTracker_abi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"LPTracker_UserNotFound","type":"error"},{"inputs":[{"internalType":"uint16","name":"_wordNum","type":"uint16"}],"name":"LPTracker_WordNumInvalid","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"wordNum","type":"uint256"},{"internalType":"uint256","name":"ctime","type":"uint256"},{"internalType":"uint256","name":"uptime","type":"uint256"}],"indexed":true,"internalType":"struct LearningProgress","name":"_lp","type":"tuple"}],"name":"LPTracker_LearningProgressCorrected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":true,"internalType":"uint16","name":"_wordNum","type":"uint16"}],"name":"LPTracker_WordNumAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint32","name":"wordNum","type":"uint32"},{"internalType":"uint256","name":"uptime","type":"uint256"}],"name":"correctLearningProgress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getProgressByUser","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"wordNum","type":"uint256"},{"internalType":"uint256","name":"ctime","type":"uint256"},{"internalType":"uint256","name":"uptime","type":"uint256"}],"internalType":"struct LearningProgress","name":"learningProgress","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"wordNum","type":"uint16"}],"name":"updateProgress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0 comments on commit a3fc2b6

Please sign in to comment.