This repository was archived by the owner on Aug 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ Object {
3939exports [` transformFill should transform V1 fill 1` ] = `
4040Object {
4141 " affiliate" : null ,
42+ " apps" : Array [],
4243 " assets" : Array [
4344 Object {
4445 " amount" : " 7.1373405" ,
@@ -108,11 +109,7 @@ Object {
108109 " orderHash" : " 0xd7cbdddb68cfa6216e867227a4cb8ca281e0d82921000b4b977d6038535482f5" ,
109110 " protocolFee" : undefined ,
110111 " protocolVersion" : 1 ,
111- " relayer" : Object {
112- " imageUrl" : " https://resources.0xtracker.com/logos/ethfinex.png" ,
113- " name" : " Ethfinex" ,
114- " slug" : " ethfinex" ,
115- },
112+ " relayer" : null ,
116113 " senderAddress" : undefined ,
117114 " status" : " successful" ,
118115 " takerAddress" : " 0xe269e891a2ec8585a378882ffa531141205e92e9" ,
@@ -162,6 +159,7 @@ Object {
162159exports [` transformFill should transform V2 fill 1` ] = `
163160Object {
164161 " affiliate" : null ,
162+ " apps" : Array [],
165163 " assets" : Array [
166164 Object {
167165 " amount" : " 1" ,
@@ -231,11 +229,7 @@ Object {
231229 " orderHash" : " 0xd7cbdddb68cfa6216e867227a4cb8ca281e0d82921000b4b977d6038535482f5" ,
232230 " protocolFee" : undefined ,
233231 " protocolVersion" : 2 ,
234- " relayer" : Object {
235- " imageUrl" : " https://resources.0xtracker.com/logos/ethfinex.png" ,
236- " name" : " Ethfinex" ,
237- " slug" : " ethfinex" ,
238- },
232+ " relayer" : null ,
239233 " senderAddress" : undefined ,
240234 " status" : " successful" ,
241235 " takerAddress" : " 0xe269e891a2ec8585a378882ffa531141205e92e9" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ const { BigNumber } = require('@0xproject/utils');
44const { FILL_ACTOR } = require ( '../../../../constants' ) ;
55const AXIE_FIXTURE = require ( '../../../../fixtures/tokens/axie' ) ;
66const BRAHMA_FIXTURE = require ( '../../../../fixtures/tokens/brahma' ) ;
7- const ETHFINEX_FIXTURE = require ( '../../../../fixtures/relayers/ethfinex' ) ;
87const WETH_FIXTURE = require ( '../../../../fixtures/tokens/weth' ) ;
98
109const transformFill = require ( './transform-fill' ) ;
@@ -50,6 +49,7 @@ const wethMaker = {
5049
5150const simpleFill = {
5251 assets : [ axieMaker , wethTaker ] ,
52+ attributions : [ ] ,
5353 id : '5b9107e00d05f400042e3494' ,
5454 conversions : {
5555 USD : {
@@ -66,8 +66,6 @@ const simpleFill = {
6666 orderHash :
6767 '0xd7cbdddb68cfa6216e867227a4cb8ca281e0d82921000b4b977d6038535482f5' ,
6868 protocolVersion : 2 ,
69- relayerId : 21 ,
70- relayer : ETHFINEX_FIXTURE ,
7169 status : 1 ,
7270 taker : '0xe269e891a2ec8585a378882ffa531141205e92e9' ,
7371 takerFee : 5000000000000000000 ,
You can’t perform that action at this time.
0 commit comments