✧ ISwap

Interface for the Swap Struct, used in the {Swaplace} implementation.

Asset{ }

struct Asset {
  address addr;
  uint256 amountOrId;
}

Swap{ }

struct Swap {
  address owner;
  uint256 config;
  struct ISwap.Asset[] biding;
  struct ISwap.Asset[] asking;
}

Last updated