断路器

时间:2021-02-13 16:04:32
【文件属性】:
文件名称:断路器
文件大小:453KB
文件格式:ZIP
更新时间:2021-02-13 16:04:32
Go 断路器 circuit-breaker是用于Indexed Finance的断路器bot,它可以基于作为池一部分的代币的总供应量增加/减少(即CRV总供应量增加/减少)或由于价格过度波动(尤其是价格下降)。 建筑学 有关如何设计circuit-breaker信息,请阅读 用法 要在生产环境中运行circuit-breaker ,您将需要安装docker和docker-compose 。 这可以在sudo apt install docker docker-compose Ubuntu主机上完成。 您还将希望从获取docker映像的最新。 尽管该服务可以在任何Linux发行版上运行,但是出于安全性考虑,您应该使用Ubuntu,最好使用LTS版本,例如Ubuntu 20.04 LTS 。 有关在生产中运行circuit-breaker时的最佳做法的信息,请参阅 安装 此处的安装示例假定最新
【文件预览】:
circuit-breaker-master
----.travis.yml(5KB)
----config_sample.png(85KB)
----ARCHITECTURE.md(4KB)
----profiler()
--------profiler.go(1KB)
--------profiler_test.go(251B)
--------doc.go(81B)
----bin()
--------SimpleMultiCall.bin(6KB)
--------ERC20I.bin(0B)
--------SimpleMultiCall.abi(2KB)
--------IndexPoolI.bin(0B)
--------BConst.abi(3KB)
--------ERC20I.abi(145B)
--------IndexPoolI.abi(886B)
--------LogSwapTest.abi(2KB)
--------BNum.bin(9KB)
--------BNum.abi(6KB)
--------BConst.bin(3KB)
--------LogSwapTest.bin(5KB)
----multicall()
--------multicall_test.go(8KB)
--------doc.go(101B)
--------multicall.go(4KB)
----config()
--------doc.go(109B)
--------config_test.go(1KB)
--------config.go(5KB)
----cmd()
--------main.go(4KB)
--------run.go(4KB)
----database()
--------db.go(2KB)
--------pool_test.go(5KB)
--------Makefile(96B)
--------pool.go(6KB)
--------db_test.go(2KB)
----Dockerfile(472B)
----SECURITY.md(2KB)
----bindings()
--------multicall()
--------bmath()
--------logswap()
----.scripts()
--------release.sh(496B)
--------db_backup.sh(723B)
----LICENSE(1KB)
----eventwatcher()
--------event_watacher_test.go(722B)
--------event_watcher.go(1KB)
--------doc.go(92B)
--------watched_contracts.go(10KB)
--------watched_contract_test.go(5KB)
--------Makefile(96B)
--------types.go(724B)
----CONFIG_DOC.md(5KB)
----docker-compose.yml(1KB)
----contracts()
--------BMath.sol(6KB)
--------LogSwapTest.sol(3KB)
--------SimpleMultiCall.sol(3KB)
----.gitignore(80B)
----startup.png(277KB)
----my-postgres.conf(22KB)
----Makefile(1KB)
----service()
--------service_test.go(7KB)
--------doc.go(83B)
--------service.go(13KB)
--------Makefile(96B)
--------utils.go(5KB)
----go.sum(47KB)
----.dockerignore(195B)
----README.md(9KB)
----utils()
--------math.go(516B)
--------pools_test.go(2KB)
--------pools.go(2KB)
--------bmath.go(3KB)
--------goethereum.go(3KB)
--------price.go(492B)
--------price_test.go(1KB)
--------auth_test.go(387B)
--------auth.go(1KB)
--------math_test.go(729B)
--------bmath_test.go(7KB)
----alerts()
--------doc.go(96B)
--------alerts_test.go(967B)
--------alerts.go(1KB)
----go.mod(1KB)

网友评论