Document Instructions and various network's integrations

Tracking issue: https://github.com/serai-dex/serai/issues/57
This commit is contained in:
Luke Parker
2022-07-21 03:14:29 -04:00
parent 194c5acebb
commit ae3525ca2c
4 changed files with 216 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# Ethereum
### Addresses
Ethereum addresses are 20-byte hashes.
### In Instructions
Ethereum In Instructions are present via being appended to the calldata
transferring funds to Serai. `origin` is automatically set to the party from
which funds are being transferred. For an ERC20, this is `from`. For ETH, this
is the caller. `data` is limited to 255 bytes.
### Out Instructions
`data` is limited to 255 bytes.