Commit Graph

47 Commits

Author SHA1 Message Date
a93e6633ef
Update parsing.py
Made the functions more modular
2024-11-27 08:47:57 +05:30
Vivek Teega
19198ddc82
Merge pull request #44 from ranchimall/upgrade/blockbook-decimalmod
Converting calculations to Decimal calculations
2023-11-20 11:00:15 +05:30
c6cd23fc9d Making sure Oracle address cannot be contract address 2023-11-18 16:16:01 +00:00
e9bc8546c2 Converting calculations to Decimal calculations 2023-11-11 05:00:22 +00:00
dfc2a85da4 Added a check to make sure payeeAddress is not contractAddress 2023-10-05 20:36:46 +00:00
Vivek Teega
4a254336b8 Added subtype and unix_expiryTime
* Added subtype and unix_expiryTime to the contractStructure
* Fixed the automated tests for parsing with subtype and unix_expiryTime information
2023-05-10 11:26:37 +00:00
Vivek Teega
993bf6e1b8 Storing unix expiryTime as part of contract structure 2023-05-07 22:12:48 +00:00
Vivek Teega
ba80ae4e6a Bug fix swap participation + added automated test for deposit parsing
* Added a parsing test got Deposit
* Bug Fix with Swap's participant address
2023-04-17 10:13:42 +00:00
Vivek Teega
7abafd2c2c Fixed bug : parsing and storing of oracle address 2023-03-27 13:53:20 +00:00
Vivek Teega
7cf7883b59 Updated regex and tests for tokenamount parsing 2023-03-22 11:19:57 +00:00
Vivek Teega
c4be19058f Updated regex and tests for tokenamount parsing 2023-03-22 11:19:32 +00:00
Vivek Teega
342ded906e Setting up automated testing for parsing.py 2023-03-19 13:49:37 +00:00
Vivek Teega
41753a03c3 Fix for infiniteToken parsing bug which was introduced with -ve and 0 number checks for token system 2023-03-09 16:31:37 +00:00
Vivek Teega
02de71e618 Cleanup and updating of flosight link 2023-03-01 11:56:36 +00:00
Vivek Teega
a173cf6ac3 Changes: NFT, Token Swap, Rollback script
* Fixed bugs in NFT creation and transfer
* Added functionality to Token swap contract: It can have dynamic pricing which can be picked up from a blockchain address
* Rollback script was ignoring nft tokens, now its included
2023-02-27 12:32:08 +00:00
Vivek Teega
901026ccdd Added checks to categorize negative contract and token amounts as noise 2023-02-12 11:49:36 +00:00
Vivek Teega
a26223f8e1 Accepting both camel case and snake case for the accepting token & selling token in Token Swap contract 2023-02-08 13:01:22 +00:00
Vivek Teega
b30e8fd875 Storing contract history in multiline to accomodate rollback 2022-11-27 06:07:53 +00:00
Vivek Teega
9dd69065c8 Merged local trigger contracts 2022-11-23 16:11:16 +00:00
Vivek Teega
87fe48358e 1.1.2 Added new table ContractWinners for SmartContracts to accomodate rollback 2022-11-17 11:46:28 +00:00
Vivek Teega
18384e8eef 1.1.1 Addition of multiple payouts in internal trigger contract 2022-11-13 12:04:08 +00:00
Vivek Teega
b327ca5d58 Changes fotokenswap & stateF addition to contracts 2022-10-29 10:51:57 +00:00
Vivek Teega
170a48f40d
Update parsing.py 2022-07-17 17:33:41 +05:30
Vivek Teega
15dba443b2 1.0.14 Important bug fixes
- One time event userchoice contract was not being recognised by the scanner | fixed
- contractAmount specified as part of contract structure was not being recognised | fixed
- Added check in rollback script to make sure the rollback block is smaller than current block
2022-04-03 08:39:22 +00:00
Vivek Teega
acc3858b27 1.0.13 Removal of bug in special character word parsing 2022-03-24 07:37:12 +00:00
Vivek Teega
cf70cfd066 Changes in parsing to add tokenswap price type predetermined|determined & continuos|continuous event 2022-02-02 12:38:49 +00:00
Vivek Teega
29c6019c15 Test rebuild along with database changes 2022-01-14 17:36:59 +05:30
Vivek Teega
f9e4b5115b Commenting test code in parsing.py 2022-01-13 16:43:18 +05:30
Vivek Teega
c111b73c82 Added parsing for NFTs and Infinite tokens 2022-01-12 20:27:12 +05:30
Vivek Teega
23db3656aa Further refactoring of code functions 2022-01-11 16:42:34 +05:30
Vivek Teega
a61d21817d 1.0.5 Added renamed the older parser and added the new parser 2022-01-11 13:04:52 +05:30
Vivek Teega
1b27d0b31a 1.0.1 Token Swap Contract 2021-11-19 15:26:51 +05:30
Vivek Teega
76a032977c Check to prevent multiple amounts in token transfer 2021-06-05 04:29:33 +00:00
Vivek Teega
ea5010fc4e latest changes 2020-01-29 23:19:20 +00:00
Vivek Teega
be0d2fec4f Checkpoint while working on flosight change - lots of changes in this commit - currently right before changing how the system handles smart contract transactions 2019-12-13 14:42:18 +05:30
Vivek Teega
bb04439733 Fix token tx repeatability problem and contract participation logic when no maximum specified amount 2019-05-20 13:38:14 +05:30
Vivek Teega
6f95ad889e Updating reject cases, checks for userchoice during participation, Blockchain triggers when committee triggers aren't required 2019-05-20 09:27:12 +05:30
Vivek Teega
6aa7a67b7d Adding more reject conditions in parsing logic 2019-05-14 15:49:47 +05:30
Vivek Teega
f50f463620 Change in parsing logic for contract condition 2019-05-11 15:35:43 +05:30
Vivek Teega
e80f5923b3 Renaming of Smart Contract Incorporation variables 2019-04-29 11:04:11 +05:30
Vivek Teega
f9f1525291 Fixing parsing of initTokens 2019-04-22 14:44:19 +05:30
Vivek Teega
d27090c9f4 Change block explorer 2019-04-19 09:50:36 +00:00
Vivek Teega
0d93d0b5fe Changes in db name 2019-04-13 09:25:39 +00:00
Vivek Teega
e88ec4f727 Complete Token tracking system 2019-04-08 10:39:28 +00:00
Vivek Teega
f49693d71b Spine of betting smart contract
This commit introduces the betting smart contract on FLO blockchain
2019-03-23 20:49:53 +00:00
Vivek Teega
11a4aa09c6 Smart contract integration - Half Done 2019-03-18 14:44:24 +05:30
Vivek Teega
38a00c9f2e Testing with Flask API 2019-03-05 15:44:11 +05:30