We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
related to KDF PR KomodoPlatform/komodo-defi-framework#2129
In the PR optional swap_v2_contracts field was added in EthActivationV2Request request ("enable_eth_with_tokens" RPC).
swap_v2_contracts
EthActivationV2Request
"enable_eth_with_tokens"
it is a structure with such fields
"swap_v2_contracts":{ "maker_swap_v2_contract": "0x9130b257D37A52E52F21054c4DA3450c72f595CE", "taker_swap_v2_contract": "0x9130b257D37A52E52F21054c4DA3450c72f595CE", "nft_maker_swap_v2_contract": "0x9130b257D37A52E52F21054c4DA3450c72f595CE" },
This field MUST be provided if this flag "use_trading_proto_v2":true was provided in kdf json configuration when you start the program.
"use_trading_proto_v2":true
Req example
curl --url "http://127.0.0.1:7783" --data '{ "userpass": "'$USERPASS'", "method": "enable_eth_with_tokens", "mmrpc": "2.0", "params": { "ticker": "MATIC", "mm2": 1, "swap_contract_address": "0x9130b257D37A52E52F21054c4DA3450c72f595CE", "swap_v2_contracts":{ "maker_swap_v2_contract": "0x9130b257D37A52E52F21054c4DA3450c72f595CE", "taker_swap_v2_contract": "0x9130b257D37A52E52F21054c4DA3450c72f595CE", "nft_maker_swap_v2_contract": "0x9130b257D37A52E52F21054c4DA3450c72f595CE" }, "fallback_swap_contract": "0x9130b257D37A52E52F21054c4DA3450c72f595CE", "nodes": [ { "url": "https://polygon-rpc.com" } ], "erc20_tokens_requests": [], "nft_req": { "provider":{ "type": "Moralis", "info": { "url":"http://localhost:6150/nft-test", "proxy_auth":true } } } } }'
Note: optional "proxy_auth" bool field in "nft_req" was added in this req KomodoPlatform/komodo-defi-framework#2100 it means if "proxy_auth":true then Komodo-Proxy url should be provided (https://github.com/KomodoPlatform/komodo-defi-proxy).
"nft_req"
"proxy_auth":true
The text was updated successfully, but these errors were encountered:
upd I suppose this pr is going to fix the issue #270
Sorry, something went wrong.
Will be resolved with #317
smk762
No branches or pull requests
related to KDF PR KomodoPlatform/komodo-defi-framework#2129
In the PR optional
swap_v2_contracts
field was added inEthActivationV2Request
request ("enable_eth_with_tokens"
RPC).it is a structure with such fields
This field MUST be provided if this flag
"use_trading_proto_v2":true
was provided in kdf json configuration when you start the program.Req example
Note: optional "proxy_auth" bool field in
"nft_req"
was added in this req KomodoPlatform/komodo-defi-framework#2100 it means if"proxy_auth":true
then Komodo-Proxy url should be provided (https://github.com/KomodoPlatform/komodo-defi-proxy).The text was updated successfully, but these errors were encountered: