./deploy.sh
- Deploy stack using docker-compose.yaml
- Upload .env.prod to telebot_data volume
- Restart container
rpc, contractAddr, method, params<;>, valueIdx, marginStr, precisionStr
// Track SOLID price against oxSOLID
add callContract-solid https://rpc.ftm.tools/ 0xa38cd27185a464914d3046f0ab9d43356b34829d getAmountOut(uint256,address,address)(uint256,bool) 1000000000000000000000;0x888ef71766ca594ded1f0fa3ae64ed2941740a20;0xda0053f0befcbcac208a3f867bb243716734d809 0 1 18
// On ETH mainnet
add callContract-solid https://eth-mainnet.g.alchemy.com/v2/mMYHej_ARM0DtyDn2nE8DaT7nwysNqkg 0x77784f96C936042A3ADB1dD29C91a55EB2A4219f getAmountOut(uint256,address,address)(uint256,bool) 1000000000000000000000;0x777172D858dC1599914a1C4c6c9fC48c99a60990;0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 0 2 6
// Track Geist health
add callContract-geist https://rpc.ankr.com/fantom 0x9FAD24f572045c7869117160A571B2e50b10d068 getUserAccountData(address)(uint256,uint256,uint256,uint256,uint256,uint256) 0x9BD3e72f2F1CA05Ad8D4489ec870Bf2478b10397 5 10 18