not really, but I have tried all the smart contract addresses that come out of the graphql api that maiar uses. and nothing
guest8151262857 activity
guest8151262857 commented on What does it return, what did you expect? What was your input?
Hi Martin here is the data I am using.... funcName: "calculateRewardsForGivenPosition" scAddress: "erd1qqqqqqqqqqqqpgqrc4pg2xarca9z34njcxeur622qmfjp8w2jps89fxnl" input : args: [ new BigUIntValue(new BigNumber(balance)), new BytesValue(Buffer.from(attributes, "base64")), ], This "balance" and this "attributes" come from the api for example : assets: {...} attributes: "AAAAD01FWEZBUk1MLTI4ZDY0NgAAAAAAFUvwAAAACsC42JxlK8ZAAAAAAAAMTEtNRVgtYWFiOTEwAAAAAAAxiRwAAAAKwLjYnGUrxkAAAA==" balance: "910104174082181681905664" collection: "LKFARM-9d1ea8" creator: "erd1qqqqqqqqqqqqqpgqrc4pg2xarca9z34njcxeur622qmfjp8w2jps89fxnl" decimals: 18 identifier: "LKFARM-9d1ea8-6daad0" isWhitelistedStorage: false name: "LockedLPStaked" nonce: 7187152 ticker: "LKFARM" type: "MetaESDT" This token corresponds to the one for staking lkmex and reward on lkmex. return : "invalid function (not found)"
guest8151262857 commented on what you mean by lkmex -> lkmex?
Lp token of lkmex and rewards in lkmex
guest8151262857 commented on What does it return, what did you expect? What was your input?
Sorry I didn't expect you answer me that fast I'm not in from of the computer, when I get home if you are available I will tag you with the details
guest8151262857 commented on Can you be more specific? What are you trying to do, in what context? Sc, Erdjs, Erdpy, etc?
Sorry for the little context but I am looking for some way to reproduce how maiar shows the farming rewards to show it in my dapp , and I guess with that information I can also know how to find the rewards for a sc that does lkmex farming. I am using erdjs and dapp-core with react