Jelajahi Sumber

whitepapers: Add FromAddress and remove Fee

Csongor Kiss 3 tahun lalu
induk
melakukan
fe687783c0
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      whitepapers/0003_token_bridge.md

+ 3 - 3
whitepapers/0003_token_bridge.md

@@ -128,7 +128,7 @@ Proposed bridge interface:
 `transfer(address token, uint64-uint256 amount (size depending on chains standards), uint16 recipient_chain, bytes32 recipient, uint256 fee)` - Initiate
 a `Transfer`. Amount in the tokens native decimals.
 
-`transferWithPayload(address token, uint64-uint256 amount (size depending on chains standards), uint16 recipient_chain, bytes32 recipient, uint256 fee, bytes payload)` - Initiate
+`transferWithPayload(address token, uint64-uint256 amount (size depending on chains standards), uint16 recipient_chain, bytes32 recipient, bytes payload)` - Initiate
 a `TransferWithPayload`. Amount in the tokens native decimals. `payload` is an arbitrary binary blob.
 
 `createWrapped(Message assetMeta)` - Creates a wrapped asset using `AssetMeta`
@@ -176,8 +176,8 @@ TokenChain uint16
 To bytes32
 // Chain ID of the recipient
 ToChain uint16
-// Amount of tokens (big-endian uint256) that the user is willing to pay as relayer fee. Must be <= Amount.
-Fee uint256
+// The address of the message sender on the source chain
+FromAddress bytes32
 // Arbitrary payload
 Payload bytes
 ```