VulpeFI Docs
  • Whitepaper
  • VulpeFI Overview
  • Wallet VulpeFI
    • Wallet auto-connect
  • Aggregation Protocol
    • Introduction
    • Guide
      • Quick start
    • API
      • Swagger
        • Binance Smart Chain
        • Ethereum Network
        • BASE
        • Arbitrum
        • Polygon
      • Swap params
      • Quote params
    • Smart contracts
      • Aggregation VulpeFI
      • ClipperRouter
      • LimitOrderProtocol
      • UnoswapRouter
    • Limit order protocol
      • Introduction
      • Limit vs. RFQ Orders
      • Smart contracts
        • LimitOrderProtocol
        • LimitOrderProtocolPro
        • OrderLib
        • OrderMixin
        • OrderRFQMixin
        • helpers
          • AmountCalculator
          • ChainlinkCalculator
          • ERC1155Proxy
          • ERC721Proxy
          • ERC721ProxySafe
          • ImmutableOwner
          • NonceManager
          • PredicateHelper
          • SeriesNonceManager
          • WethUnwrapper
        • Interfaces
          • IDaiLikePermit
          • IWithdrawable
          • Interaction
          • PostInteraction
          • PreInteraction
      • Liquidity Source and API
        • Ethereum Network
        • Binance Smart Chain
        • Polygon
        • Avalanche
        • Gnosis Chain
    • Spot Price aggregator
      • Examples
      • Spot Price Aggregator
Powered by GitBook
On this page
  • Functions​
  • makerAssetData​
  • takerAssetData​
  • getMakingAmount​
  • getTakingAmount​
  • predicate​
  • permit​
  • preInteraction​
  • postInteraction​
  • hash​
  1. Aggregation Protocol
  2. Limit order protocol
  3. Smart contracts

OrderLib

PreviousLimitOrderProtocolProNextOrderMixin

Last updated 4 months ago

Functions

makerAssetData

function makerAssetData(
  struct OrderLib.Order order
) internal returns (bytes)

Parameters:

Name
Type
Description

order

struct OrderLib.Order

takerAssetData

function takerAssetData(
  struct OrderLib.Order order
) internal returns (bytes)

Parameters:

Name
Type
Description

order

struct OrderLib.Order

getMakingAmount

function getMakingAmount(
  struct OrderLib.Order order
) internal returns (bytes)
Name
Type
Description

order

struct OrderLib.Order

function getTakingAmount(
  struct OrderLib.Order order
) internal returns (bytes)
Name
Type
Description

order

struct OrderLib.Order

function predicate(
  struct OrderLib.Order order
) internal returns (bytes)
Name
Type
Description

order

struct OrderLib.Order

function permit(
  struct OrderLib.Order order
) internal returns (bytes)
Name
Type
Description

order

struct OrderLib.Order

function preInteraction(
  struct OrderLib.Order order
) internal returns (bytes)
Name
Type
Description

order

struct OrderLib.Order

function postInteraction(
  struct OrderLib.Order order
) internal returns (bytes)
Name
Type
Description

order

struct OrderLib.Order

function hash(
  struct OrderLib.Order order
) internal returns (bytes32 result)
Name
Type
Description

order

struct OrderLib.Order

Parameters:

getTakingAmount

Parameters:

predicate

Parameters:

permit

Parameters:

preInteraction

Parameters:

postInteraction

Parameters:

hash

Parameters:

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​