mev-inspect
Version:
A JS port of 'mev-inspect-py' optimised for ease of use.
982 lines • 27.7 kB
JavaScript
const abi = [
{
inputs: [
{
internalType: 'address',
name: '_currencyManager',
type: 'address',
},
{
internalType: 'address',
name: '_executionManager',
type: 'address',
},
{
internalType: 'address',
name: '_royaltyFeeManager',
type: 'address',
},
{
internalType: 'address',
name: '_WETH',
type: 'address',
},
{
internalType: 'address',
name: '_protocolFeeRecipient',
type: 'address',
},
],
stateMutability: 'nonpayable',
type: 'constructor',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'user',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'newMinNonce',
type: 'uint256',
},
],
name: 'CancelAllOrders',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'user',
type: 'address',
},
{
indexed: false,
internalType: 'uint256[]',
name: 'orderNonces',
type: 'uint256[]',
},
],
name: 'CancelMultipleOrders',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'currencyManager',
type: 'address',
},
],
name: 'NewCurrencyManager',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'executionManager',
type: 'address',
},
],
name: 'NewExecutionManager',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'protocolFeeRecipient',
type: 'address',
},
],
name: 'NewProtocolFeeRecipient',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'royaltyFeeManager',
type: 'address',
},
],
name: 'NewRoyaltyFeeManager',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'transferSelectorNFT',
type: 'address',
},
],
name: 'NewTransferSelectorNFT',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'previousOwner',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'newOwner',
type: 'address',
},
],
name: 'OwnershipTransferred',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'collection',
type: 'address',
},
{
indexed: true,
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
indexed: true,
internalType: 'address',
name: 'royaltyRecipient',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'currency',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
],
name: 'RoyaltyPayment',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'bytes32',
name: 'orderHash',
type: 'bytes32',
},
{
indexed: false,
internalType: 'uint256',
name: 'orderNonce',
type: 'uint256',
},
{
indexed: true,
internalType: 'address',
name: 'taker',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'maker',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'strategy',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'currency',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'collection',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'price',
type: 'uint256',
},
],
name: 'TakerAsk',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'bytes32',
name: 'orderHash',
type: 'bytes32',
},
{
indexed: false,
internalType: 'uint256',
name: 'orderNonce',
type: 'uint256',
},
{
indexed: true,
internalType: 'address',
name: 'taker',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'maker',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'strategy',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'currency',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'collection',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'price',
type: 'uint256',
},
],
name: 'TakerBid',
type: 'event',
},
{
inputs: [],
name: 'DOMAIN_SEPARATOR',
outputs: [
{
internalType: 'bytes32',
name: '',
type: 'bytes32',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'WETH',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: 'minNonce',
type: 'uint256',
},
],
name: 'cancelAllOrdersForSender',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256[]',
name: 'orderNonces',
type: 'uint256[]',
},
],
name: 'cancelMultipleMakerOrders',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'currencyManager',
outputs: [
{
internalType: 'contract ICurrencyManager',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'executionManager',
outputs: [
{
internalType: 'contract IExecutionManager',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'user',
type: 'address',
},
{
internalType: 'uint256',
name: 'orderNonce',
type: 'uint256',
},
],
name: 'isUserOrderNonceExecutedOrCancelled',
outputs: [
{
internalType: 'bool',
name: '',
type: 'bool',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
components: [
{
internalType: 'bool',
name: 'isOrderAsk',
type: 'bool',
},
{
internalType: 'address',
name: 'taker',
type: 'address',
},
{
internalType: 'uint256',
name: 'price',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'minPercentageToAsk',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'params',
type: 'bytes',
},
],
internalType: 'struct OrderTypes.TakerOrder',
name: 'takerBid',
type: 'tuple',
},
{
components: [
{
internalType: 'bool',
name: 'isOrderAsk',
type: 'bool',
},
{
internalType: 'address',
name: 'signer',
type: 'address',
},
{
internalType: 'address',
name: 'collection',
type: 'address',
},
{
internalType: 'uint256',
name: 'price',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'address',
name: 'strategy',
type: 'address',
},
{
internalType: 'address',
name: 'currency',
type: 'address',
},
{
internalType: 'uint256',
name: 'nonce',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'startTime',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'endTime',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'minPercentageToAsk',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'params',
type: 'bytes',
},
{
internalType: 'uint8',
name: 'v',
type: 'uint8',
},
{
internalType: 'bytes32',
name: 'r',
type: 'bytes32',
},
{
internalType: 'bytes32',
name: 's',
type: 'bytes32',
},
],
internalType: 'struct OrderTypes.MakerOrder',
name: 'makerAsk',
type: 'tuple',
},
],
name: 'matchAskWithTakerBid',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
components: [
{
internalType: 'bool',
name: 'isOrderAsk',
type: 'bool',
},
{
internalType: 'address',
name: 'taker',
type: 'address',
},
{
internalType: 'uint256',
name: 'price',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'minPercentageToAsk',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'params',
type: 'bytes',
},
],
internalType: 'struct OrderTypes.TakerOrder',
name: 'takerBid',
type: 'tuple',
},
{
components: [
{
internalType: 'bool',
name: 'isOrderAsk',
type: 'bool',
},
{
internalType: 'address',
name: 'signer',
type: 'address',
},
{
internalType: 'address',
name: 'collection',
type: 'address',
},
{
internalType: 'uint256',
name: 'price',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'address',
name: 'strategy',
type: 'address',
},
{
internalType: 'address',
name: 'currency',
type: 'address',
},
{
internalType: 'uint256',
name: 'nonce',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'startTime',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'endTime',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'minPercentageToAsk',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'params',
type: 'bytes',
},
{
internalType: 'uint8',
name: 'v',
type: 'uint8',
},
{
internalType: 'bytes32',
name: 'r',
type: 'bytes32',
},
{
internalType: 'bytes32',
name: 's',
type: 'bytes32',
},
],
internalType: 'struct OrderTypes.MakerOrder',
name: 'makerAsk',
type: 'tuple',
},
],
name: 'matchAskWithTakerBidUsingETHAndWETH',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
inputs: [
{
components: [
{
internalType: 'bool',
name: 'isOrderAsk',
type: 'bool',
},
{
internalType: 'address',
name: 'taker',
type: 'address',
},
{
internalType: 'uint256',
name: 'price',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'minPercentageToAsk',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'params',
type: 'bytes',
},
],
internalType: 'struct OrderTypes.TakerOrder',
name: 'takerAsk',
type: 'tuple',
},
{
components: [
{
internalType: 'bool',
name: 'isOrderAsk',
type: 'bool',
},
{
internalType: 'address',
name: 'signer',
type: 'address',
},
{
internalType: 'address',
name: 'collection',
type: 'address',
},
{
internalType: 'uint256',
name: 'price',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'tokenId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'address',
name: 'strategy',
type: 'address',
},
{
internalType: 'address',
name: 'currency',
type: 'address',
},
{
internalType: 'uint256',
name: 'nonce',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'startTime',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'endTime',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'minPercentageToAsk',
type: 'uint256',
},
{
internalType: 'bytes',
name: 'params',
type: 'bytes',
},
{
internalType: 'uint8',
name: 'v',
type: 'uint8',
},
{
internalType: 'bytes32',
name: 'r',
type: 'bytes32',
},
{
internalType: 'bytes32',
name: 's',
type: 'bytes32',
},
],
internalType: 'struct OrderTypes.MakerOrder',
name: 'makerBid',
type: 'tuple',
},
],
name: 'matchBidWithTakerAsk',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'owner',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'protocolFeeRecipient',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'renounceOwnership',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'royaltyFeeManager',
outputs: [
{
internalType: 'contract IRoyaltyFeeManager',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: 'newOwner',
type: 'address',
},
],
name: 'transferOwnership',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'transferSelectorNFT',
outputs: [
{
internalType: 'contract ITransferSelectorNFT',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_currencyManager',
type: 'address',
},
],
name: 'updateCurrencyManager',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_executionManager',
type: 'address',
},
],
name: 'updateExecutionManager',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_protocolFeeRecipient',
type: 'address',
},
],
name: 'updateProtocolFeeRecipient',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_royaltyFeeManager',
type: 'address',
},
],
name: 'updateRoyaltyFeeManager',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_transferSelectorNFT',
type: 'address',
},
],
name: 'updateTransferSelectorNFT',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
name: 'userMinOrderNonce',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
];
export default abi;
//# sourceMappingURL=looksRareV1.js.map