Commit Graph

47 Commits

Author SHA1 Message Date
Maximilian Schneider 28d35d037c Merge remote-tracking branch 'octopus/master' 2021-03-16 10:45:26 +01:00
De Facto 4f3316e1e4 comments 2021-03-16 13:38:35 +08:00
dd b80d773450 fixed stack size limit error with #[inline(never)]; made min value change for BTC and ETH roughly 0.1% 2021-03-03 20:15:01 -05:00
De Facto a528f29958 prevent overflow 2021-02-23 14:13:26 +08:00
De Facto b482cf00eb fix submission race condition 2021-02-20 19:29:19 +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 ff0033e540 store median in Answer struct 2021-02-18 11:16:51 +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 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 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 89c1e56aa9 refactor 2021-02-03 10:42:53 +08:00
czl1378 995b05fafb remove primitive-types 2021-01-22 07:00:16 +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 1f32a52df7 use 'borsh' for serialization; add some tests 2020-12-18 14:38:28 +08:00
defactojob@tutanota.com 26f529d304 rename to get_median 2020-12-10 09:40:30 +00:00
czl1378 2e00d6e1f9 cli support testToken command 2020-12-10 17:20:07 +08:00
czl1378 f5fa78c95f use index to add/remove an oracle, add intergration example 2020-12-09 23:38:31 +08:00
czl1378 4b320fff2f refactor 2020-12-09 10:39:39 +08:00