Commit Graph

85 Commits

Author SHA1 Message Date
De Facto e223511bc3 implement deployer class 2021-02-19 18:42:21 +08:00
De Facto 9c6199e270 split out match branches to get around stack limit 2021-02-18 23:38:14 +08:00
De Facto 89d4d6fbd3 associate an aggregator with a particular reward faucet 2021-02-18 16:37:23 +08:00
De Facto 8cb797235b don't submit value if price did not change enough 2021-02-18 15:14:13 +08:00
De Facto 4560dc0784 test script with 4 oracles 2021-02-18 12:15:50 +08:00
De Facto ff0033e540 store median in Answer struct 2021-02-18 11:16:51 +08:00
De Facto 96a701663e cosmetics 2021-02-17 21:46:39 +08:00
De Facto a8573ba6c5 gitignore 2021-02-17 21:40:09 +08:00
De Facto b76aef53ce flux submitter 2021-02-17 21:39:03 +08:00
De Facto a1a7656cd7 use slot instead of unix_timestamp 2021-02-17 21:38:29 +08:00
De Facto f61bb51d5a oops uncomment 2021-02-17 21:38:19 +08:00
De Facto 39476b0aec can submit value 2021-02-15 16:17:45 +08:00
De Facto d445491cb3 fix init 2021-02-06 16:13:12 +08:00
De Facto 3b1db75da4 print packed sizes 2021-02-06 16:12:40 +08:00
De Facto 95e03e682a bump max oracles to 13 2021-02-06 10:51:14 +08:00
De Facto 7402e0f15d format 2021-02-06 10:47:42 +08:00
De Facto 718c72955c remove workspace. causes problem with solray 2021-02-06 10:44:05 +08:00
De Facto 01a910e7aa move submissions out of Aggregator struct 2021-02-05 16:33:48 +08:00
De Facto 8b95bfa4f7 tweak field names and types 2021-02-05 11:00:19 +08:00
De Facto b05b069e48 function to read resolved median 2021-02-04 18:24:24 +08:00
De Facto 25ccb03cac spec 2021-02-04 18:13:14 +08:00
De Facto fcf2596669 fuss 2021-02-04 18:10:54 +08:00
De Facto c5cec097af remove unused imports 2021-02-04 18:00:43 +08:00
De Facto 521b89c6fc allow aggregator to be reconfigured 2021-02-04 17:56:09 +08:00
De Facto 67f15852be fix submission rewards accumulation 2021-02-04 17:43:00 +08:00
De Facto 88303c8545 implement withdraw without test 2021-02-04 17:35:34 +08:00
De Facto 7eca995088 tmp 2021-02-04 16:43:14 +08:00
De Facto c9fddd52f3 clean up error module 2021-02-04 16:30:19 +08:00
De Facto 124e0ab7ae cargo fix 2021-02-04 16:26:40 +08:00
De Facto bea78fc897 cargo fmt 2021-02-04 16:17:08 +08:00
De Facto 71f2dd40fc tests for submit 2021-02-04 14:50:12 +08:00
De Facto 99343ec45f oracle submit prelim test 2021-02-04 12:12:17 +08:00
De Facto 41d19e86b0 format 2021-02-04 09:50:04 +08:00
De Facto ebdeff24e6 prelim implementation of oracle submit 2021-02-03 19:51:03 +08:00
De Facto c3c5028ff1 refactor init/add oracle/remove oracle 2021-02-03 18:02:01 +08:00
De Facto d45b362dc6 borsh serialization 2021-02-03 13:00:04 +08:00
De Facto 89c1e56aa9 refactor 2021-02-03 10:42:53 +08:00
czl1378 995b05fafb remove primitive-types 2021-01-22 07:00:16 +08:00
czl1378 5b837201af update example 2021-01-20 19:47:12 +08:00
Zhang Long e875a10185
Update deploy.json.example 2021-01-20 19:34:53 +08:00
Zhang Long f2f22570e0
Merge pull request #13 from czl1378/fix-tests
fix test compile
2021-01-20 12:07:37 +08:00
De Facto 00fc0b24ec fix tests 2021-01-20 11:45:54 +08:00
De Facto f7f38a090a fix test compile 2021-01-20 11:17:47 +08:00
czl1378 280dfef7b3 fixes #12 2021-01-19 21:15:34 +08:00
czl1378 9bf4f7fba7 update README. fixes #10 2021-01-14 20:17:25 +08:00
czl1378 15700a3acf add 'decimals' to aggregator 2021-01-12 18:26:59 +08:00
czl1378 a227400a16 add/remove oracle no need index 2021-01-11 10:02:48 +08:00
czl1378 8111377333 update 2021-01-09 01:39:16 +08:00
czl1378 e6393ffbc3 Update README 2021-01-04 19:57:32 +08:00
Zhang Long 063a017213
Merge pull request #4 from dafyddd/dd/fixes
fixed layout of Aggregator to match layout in program; added pairSymb…
2020-12-29 08:25:54 +08:00