fix(android): send and bridge ERC-20 tokens (#20924)
This commit adds the missing "encodeFunctionCall" method in Android Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
29203e57ec
commit
7c6f2bf878
|
@ -62,6 +62,11 @@ public class EncryptionUtils extends ReactContextBaseJavaModule {
|
||||||
return Statusgo.encodeTransfer(to, value);
|
return Statusgo.encodeTransfer(to, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ReactMethod(isBlockingSynchronousMethod = true)
|
||||||
|
public String encodeFunctionCall(final String method, final String paramsJSON) {
|
||||||
|
return Statusgo.encodeFunctionCall(method, paramsJSON);
|
||||||
|
}
|
||||||
|
|
||||||
@ReactMethod(isBlockingSynchronousMethod = true)
|
@ReactMethod(isBlockingSynchronousMethod = true)
|
||||||
public String decodeParameters(final String decodeParamJSON) {
|
public String decodeParameters(final String decodeParamJSON) {
|
||||||
return Statusgo.decodeParameters(decodeParamJSON);
|
return Statusgo.decodeParameters(decodeParamJSON);
|
||||||
|
|
Loading…
Reference in New Issue