Comments (5)
Added it here #542
from solido.
the price in UST will be so off that our program does not allow the sell to go through
In this case, we can simply trigger a new FetchPoolPrice
. But we also shouldn’t be too pessimistic about it, because the transaction can execute against a different state than we observe, and even preflight in the RPC doesn’t execute against the right state. I guess if it often fails, it just means that the admin should relax the min_out_bps
a bit.
from solido.
hum... That's right, but we can't change this right now, should we add this command for the admin?
from solido.
Ah yes, we need to add an instruction for the admin to be able to change it, just like ChangeTerraRewardsDestination
. Because I don’t think we can predict ahead of time what value we are going to need.
from solido.
I'll close this for now, we can investigate it if it turns out to be a problem
from solido.
Related Issues (20)
- Add a service that can return historical APY HOT 1
- Backfilling historical stSOL price information HOT 3
- Limit queries to select `epoch + offset`
- Test deploying Anker program with a pre-existing mint
- [APY daemon] Make /metrics internal
- Add Expires header to APY responses HOT 1
- Add fuzzer for APY daemon HOT 1
- Cannot install Solido JS SDK by npm HOT 2
- Can not confirm tx when i use a keypair instance which import by secret key.
- Cli: solido deposit doesn't work HOT 1
- wrong minimum_balance in get_reserve_available_balance() HOT 2
- open api for rates HOT 2
- Can't build hello world example using solido repo as external repo HOT 2
- `process_withdraw` duplicates `check_mint` check. HOT 1
- Update Solana to a more recent version
- Updating the Anker deployment
- cargo build fail HOT 1
- Why are the structs different in the rust program vs js package? HOT 4
- Deactivating stake is not exposed properly in Prometheus metrics HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solido.