Say, whenever A is sending B a TX in contract M, C will be sending D a TX in contract N, by listening to events on M.

Jun 5, 2021, 9:44 AM
Yeah quite possible. M should emit an event and a listener listening on this event can initiate a transaction on N
Well that's the basic principle of oracles
Jun 5, 2021, 12:22 PM
Any reference on this specific topic?
Jun 5, 2021, 12:23 PM
I think Julian have a video on it. Not oracles, the event listening and triggering new transaction
Jun 5, 2021, 12:25 PM
check liquity protocol.. they provide loans in LUSD (stable coin) thorugh ETH as collateral (110%).
and uses chainlink oracles, if price of eth decreased suddenly then they liquidate positions automatically.
Jun 5, 2021, 12:27 PM
Thanks, @mark123mark . This is very relevant.
Jun 5, 2021, 12:29 PM
Haven't seen their code yet. But it isn't hard to implement though
You cannot manipulate the ether value while calling function, but if it is via some website, then possible
Jun 5, 2021, 1:01 PM
no they are saying that they charges 2 bnb and take it in a pool they own. something like this
Jun 5, 2021, 1:03 PM
You have a link to their contract?
Jun 5, 2021, 1:04 PM
sure 1 sec
https://bscscan.com/token/0x68590a47578e5060a29fd99654f4556dbfa05d10
Jun 5, 2021, 1:08 PM
Yep they have that check
You cannot transfer amount > maxtxamount without paying 2 BNB
Jun 5, 2021, 1:12 PM
yes but they can't take it
Jun 5, 2021, 1:12 PM
If people want to transfer that much, they have to pay 2 bnb
Using that disruptivetransfer function
Jun 5, 2021, 1:13 PM
right?
Jun 5, 2021, 1:13 PM
Which can easily be bypassed making 2-3 transactions🙃
I'd say that function exists only for the stubborn people
You can simply make some number of transactions to achieve same result by paying only a fraction of that 2 BNB as fee
Jun 5, 2021, 1:15 PM
ahahah yes lol
do you agree?
I mean they can't take those 2 Bnb and put in a "pool" they hold
Jun 5, 2021, 1:16 PM
They cannot force the amount yes, but the thing about pool and claim seems true
Jun 5, 2021, 1:17 PM
nono wait that yes is true
but they say this
Jun 5, 2021, 1:18 PM
That, also is true. Because they haven't mentioned that 0.01% in a single transaction. If you are making a single transaction, you must use disruptivetransfer and send that 2 BNB alongside
Jun 5, 2021, 1:20 PM
What?
this 2 bnb won't go in the pool
just gas fees
Jun 5, 2021, 1:21 PM
Mm no, it is taken as msg.value
Jun 5, 2021, 1:21 PM
then?
Jun 5, 2021, 1:22 PM
Stored in the contract. So the 'pool' here is contract itself. When people call claim, the bnb is being sent from contract itself
Jun 5, 2021, 1:23 PM
Ohh alleluiaa ahahah
this is what I was searching
I will continue to test
thank you
Jun 5, 2021, 1:23 PM
And their claimbnb logic is faulty. Anyone with some good amount of token and skill can easily drain the whole pool🙃
Jun 5, 2021, 1:27 PM
let's try😂😂
Jun 5, 2021, 1:28 PM

© 2024 Draquery.com All rights reserved.