-
Notifications
You must be signed in to change notification settings - Fork 6
RMM Property Retrieval Proposal #22
base: master
Are you sure you want to change the base?
Conversation
12e77ce to
68770b4
Compare
|
Hi, Thanks in participating on this project! elif re.match(r"^armmREALT", str(item.get("symbol"))):
time.sleep(0.2)
original_contract_address = requests.get(
GNOSIS_API_TOKENLIST_URI + item["contractAddress"]
).json()
original_contract_address = list(
filter(
lambda x: re.match("^REALTOKEN", x["symbol"]),
original_contract_address["result"],
)
)
original_contract_address = str(
original_contract_address[0]["contractAddress"]
)
logging.debug("Updating armm RealT Token to Finary: " + item["symbol"])
myRealT_rentals.update(
{
original_contract_address.lower(): {
"name": item["symbol"],
"balance": float(item["balance"])
/ pow(10, int(item["decimals"])),
"contractAddress": original_contract_address.lower(),
}
}
)I'm basically for each armmREALT token found in a wallet, I looked for its property token counterpart via its associated smartcontract, and rename it as a "normal" property token for display. Now I think RMM v3 changed the way to handle properties but my portfolio still looks good on Finary so far, not yours? |
|
Hi ! From what I've seen on some wallets, deposits on RMM are now managed differently, with a collective approach rather than by individual tokens. Here's an example of deposit properties "Total": And an example of a borrow on RMM: There are multiple properties deposited on this wallet but not armmVx token. EDIT: Checking in more detail the transaction, there must be different functions available now in RMM V3 and our issue is probably linked to the multi-property providing / multi-withdraw which is batching the properties. Requesting the graph makes eventually more sense after this finding ? Let's try to find the right approach here |
|
Yes I need to see how the machinery works but I think it is the way to do Token Contract: 0xf3220cd8f66aeb86fc2a82502977eab4bfd2f647 But I don't understand yet where/how to find the reverse information of the underlying properties behind such armmv3RTW-USD-01 tokens on the blockchain |

Integrating tokens stored on the RMM but belonging to the user wallet https://rmm.realtoken.network/
Any wallet having properties on RMM can be used for testing purpose,
Eg:
"MYREALT_WALLET_ADDRESS": "0x3a662f787168e8d856e801c75449876f4da9208a"