hyperweb-io / hyperweb-io/telescope
add custom method for EIP712
Open
- Dominant language
- TypeScript
- Stars
- 154
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Can I add custom method that return data?
ex `typeStruct` method:
```js
interface MsgFoo {
id: string;
age: number;
}
export const MsgFoo = {
encode: () => {}
decode: () => {}
typeStruct: () => {
return [
{
'name': 'id',
'type': 'string'
},
{
'name': 'age',
'type': 'number'
}
]
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.