Hello,

Sign up to join our community!

Welcome Back,

Please login to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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)"