Skip to content

Commit

Permalink
Merge pull request #179 from valory-xyz/feat/swapping
Browse files Browse the repository at this point in the history
feat: rewards distribution rounds and contracts
  • Loading branch information
0xArdi authored Jun 2, 2023
2 parents cd0e8ef + 1ce60f3 commit 44b7701
Show file tree
Hide file tree
Showing 19 changed files with 2,580 additions and 32 deletions.
15 changes: 8 additions & 7 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"contract/valory/keep3r_v1_library/0.1.0": "bafybeiguyavczsaebbh5docth3o6e36b24s46jynhvysewnk3hqim3a4qe",
"contract/valory/keep3r_test_job/0.1.0": "bafybeigmugia7f4rkeyvaoagbwo5i5nboqxkogyirzayj6wynmm5yp4t7a",
"contract/valory/keep3r_v1/0.1.0": "bafybeibtmwyixk5h6ochkeuvecazzyj7qznoe3yoqwazypqdxovey2ar2e",
"skill/valory/keep3r_job_abci/0.1.0": "bafybeid6jnfjq4qnw4tf2dqymtoibaml27r66w3svsve6u3fovuap2u6ju",
"skill/valory/keep3r_abci/0.1.0": "bafybeienl2gseiubqwqz57jb2qb7knr4elwq3tqvaaypc3k6w7yok4yo3i",
"agent/valory/keep3r_bot/0.1.0": "bafybeib76phj7aue3uwimbqejfp372vbq7cvyibuhnk5zqthbokjuv74ba",
"skill/valory/keep3r_job_abci/0.1.0": "bafybeieyztb2uyl4igmtbegkrizcnyxhnfweuygd2tdlkqr6mq5r7sji5e",
"skill/valory/keep3r_abci/0.1.0": "bafybeihm6enxuojuqjf2mdw7xqnyjgupi6mwtsapa4ry4khvc4vci7zoxi",
"agent/valory/keep3r_bot/0.1.0": "bafybeid7zpebkekceqjl6ofse5tot3tpp3lw4zl3tqvjjy3754hf474jlm",
"contract/valory/keep3r_job/0.1.0": "bafybeiajy32pvqdzbecg2obmlnzdg756srtsmfzn4ujl5ybclx4hfvceli",
"contract/valory/keep3r_v2/0.1.0": "bafybeifllwgx5mmh4qjnviex2hmgznxzde4vlm7bw5fgnwl3z2cgbgdot4",
"contract/valory/keep3r_v2/0.1.0": "bafybeicqvpeo7czhkf5m3qstzdqnxhhht6dko5yjjuzf2dt2fie2lzjzii",
"contract/valory/deposit_manager_job/0.1.0": "bafybeigiqzpzmxmaq5qf64smhhqabrg2txhq23gnha6bi4fe2gurisjduy",
"contract/valory/phuture_harvesting_job/0.1.0": "bafybeidmd36fvitwuy7khfbtpvckopu4moldxntgnsmwxelegoyv3v4rr4",
"contract/valory/keep3r_my_job/0.1.0": "bafybeicxuf5l5qgzdzoqf3jo7pkwlfnw33guad26lkmx3splgeavto5zj4",
"service/valory/keep3r_bot/0.1.0": "bafybeif63656jsjcj3yd4yheufbvh4d45ux7d2f7lornxy4otj7msmgoyy",
"service/valory/keep3r_bot_goerli/0.1.0": "bafybeib6u6cstqacruo2cf32tiztf2qvzjcclfaatvnoqouo3jjbnnmhxi",
"service/valory/keep3r_bot/0.1.0": "bafybeibbqvijadlls4y35wow2qnkkom5vf4fs427d2624kx3glum7nfa6u",
"service/valory/keep3r_bot_goerli/0.1.0": "bafybeidodcrbduryopdw533g2xglo7jn4gsm4dpkji44jnlxv5lxfp4qg4",
"contract/valory/yearn_factory_harvest_job/0.1.0": "bafybeietc56fkz4frnblanaeejm24ctsu3w6ojz56cyeqlktsh57hv3fqm",
"protocol/valory/ledger_api/1.0.0": "bafybeigpn6ysm53qkcllkzgdwc5xxpxz32xn2zoux3phdm2i3yty2i3thu",
"connection/valory/ledger/0.19.0": "bafybeigvml36q4ic2tstc25xli5qw7hacykyudkuywfmc7qjb5kwfzhkka",
Expand All @@ -21,7 +21,8 @@
"skill/valory/reset_pause_abci/0.1.0": "bafybeifgatypd7xp7ng3zcszpintfxaqgf6blapgsjejy42nr5u4dfseg4",
"skill/valory/transaction_settlement_abci/0.1.0": "bafybeie3pn44j5mqg6r4zxdsr3fhxsy2imk64nxhnsw33ac6wyg2g2f2sy",
"skill/valory/termination_abci/0.1.0": "bafybeiasehtl7rj62trkulyxtqna37nrrwvhwhthdkri2dihw53lky2txi",
"contract/valory/connext_propagate_job/0.1.0": "bafybeigmdxw6jiizdemubntcs6bgqtt6mmdljb2d2bc3cyaggmqexz4m5u"
"contract/valory/connext_propagate_job/0.1.0": "bafybeigmdxw6jiizdemubntcs6bgqtt6mmdljb2d2bc3cyaggmqexz4m5u",
"contract/valory/curve_pool/0.1.0": "bafybeia6e44qj5xmqdgewsnpa3k24ov25qf4rnvmbxpuukn2dbrbqv73ma"
},
"third_party": {
"protocol/valory/abci/0.1.0": "bafybeig3dj5jhsowlvg3t73kgobf6xn4nka7rkttakdb2gwsg5bp7rt7q4",
Expand Down
8 changes: 5 additions & 3 deletions packages/valory/agents/keep3r_bot/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,12 @@ connections:
- valory/ledger:0.19.0:bafybeigvml36q4ic2tstc25xli5qw7hacykyudkuywfmc7qjb5kwfzhkka
- valory/p2p_libp2p_client:0.1.0:bafybeidwcobzb7ut3efegoedad7jfckvt2n6prcmd4g7xnkm6hp6aafrva
contracts:
- valory/curve_pool:0.1.0:bafybeia6e44qj5xmqdgewsnpa3k24ov25qf4rnvmbxpuukn2dbrbqv73ma
- valory/gnosis_safe:0.1.0:bafybeig2dobzlupi4twn3lv2avfajslgjukkmkdd4qzf37cbfv7ojupv54
- valory/gnosis_safe_proxy_factory:0.1.0:bafybeifydgooxpzav7b7blpxj4p5arytmjqphdcyl46egs3htnj2fszora
- valory/keep3r_v1:0.1.0:bafybeibtmwyixk5h6ochkeuvecazzyj7qznoe3yoqwazypqdxovey2ar2e
- valory/keep3r_v1_library:0.1.0:bafybeiguyavczsaebbh5docth3o6e36b24s46jynhvysewnk3hqim3a4qe
- valory/keep3r_v2:0.1.0:bafybeifllwgx5mmh4qjnviex2hmgznxzde4vlm7bw5fgnwl3z2cgbgdot4
- valory/keep3r_v2:0.1.0:bafybeicqvpeo7czhkf5m3qstzdqnxhhht6dko5yjjuzf2dt2fie2lzjzii
- valory/multisend:0.1.0:bafybeigjywkl7hydjsrkogob3xebj2ifhqwmfhhxoeyrndzhhxi5u6amey
- valory/service_registry:0.1.0:bafybeics2gdksww76emw5b7hyph75t7l72dpnls6qua5yfzwpeeezolnhq
protocols:
Expand All @@ -153,8 +154,8 @@ protocols:
skills:
- valory/abstract_abci:0.1.0:bafybeigqr6dzr23r6oxbnpxqyae7g5ndjy75oatjk6liyrvmpb2jxehirq
- valory/abstract_round_abci:0.1.0:bafybeiaf3twqpqguqmqmqhl4sjd2i2nh5jspzghs3cmhp2co7lb5hkr5yy
- valory/keep3r_abci:0.1.0:bafybeienl2gseiubqwqz57jb2qb7knr4elwq3tqvaaypc3k6w7yok4yo3i
- valory/keep3r_job_abci:0.1.0:bafybeid6jnfjq4qnw4tf2dqymtoibaml27r66w3svsve6u3fovuap2u6ju
- valory/keep3r_abci:0.1.0:bafybeihm6enxuojuqjf2mdw7xqnyjgupi6mwtsapa4ry4khvc4vci7zoxi
- valory/keep3r_job_abci:0.1.0:bafybeieyztb2uyl4igmtbegkrizcnyxhnfweuygd2tdlkqr6mq5r7sji5e
- valory/registration_abci:0.1.0:bafybeic5uibumxihx7qvx2457sqo6d2dzj6u73tywffgamrb54dzvpzraq
- valory/reset_pause_abci:0.1.0:bafybeifgatypd7xp7ng3zcszpintfxaqgf6blapgsjejy42nr5u4dfseg4
- valory/termination_abci:0.1.0:bafybeiasehtl7rj62trkulyxtqna37nrrwvhwhthdkri2dihw53lky2txi
Expand Down Expand Up @@ -239,6 +240,7 @@ models:
manual_gas_limit: ${int:5000000}
multisend_address: ${str:0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761}
raise_on_failed_simulation: ${bool:false}
curve_pool_contract_address: ${str:0x21410232B484136404911780bC32756D5d1a9Fa9}
use_flashbots: ${bool:false}
termination_sleep: 900
k3pr_address: ${str:0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44}
Expand Down
24 changes: 24 additions & 0 deletions packages/valory/contracts/curve_pool/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2022-2023 Valory AG
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ------------------------------------------------------------------------------

"""This module contains the support resources for the Keep3r V1 library contract."""
from pathlib import Path


PACKAGE_DIR = Path(__file__).parent
Loading

0 comments on commit 44b7701

Please sign in to comment.