-
Notifications
You must be signed in to change notification settings - Fork 63
contract.ExchangeDomainV1
Aleksey Bykhun edited this page Jan 18, 2023
·
1 revision
struct Asset {
address token;
uint256 tokenId;
AssetType assetType;
}
struct OrderKey {
address owner;
uint256 salt;
Asset sellAsset;
Asset buyAsset;
}
struct Order {
OrderKey key;
uint256 selling;
uint256 buying;
uint256 sellerFee;
}
struct Sig {
uint8 v;
bytes32 r;
bytes32 s;
}
enum AssetType {
ETH,
ERC20,
ERC1155,
ERC721,
ERC721Deprecated
}