Skip to content

Access Case Variables in custom Display Interface #197

@sneaker1

Description

@sneaker1

Hello,

i have created a custom Display Interface for kleros arbitration with our dApp.
In the custom Display Interface i need to have access to the case Variables like disputeID and arbitrable contract address.

In the evidence Standard (ethereum/EIPs#1497) at the end there is an example for the implementation of the Evidence Display Interface (https://github.com/kleros/kleros-juror-front/blob/cca73c85c8532115d64c8a2cbb2844f1ce4edcc1/src/components/iframes/doges-on-trial-evidence/index.js).
There the variables are retrieved by using onmessage and postMessage.

But this seems to be outdated. I couldn't receive the message like that.

I couldn't find anything with postMessage in the code for the court. So i think this is not implemented. Can you please implement that?

Regards
Sneaker

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions