TwoPaws

Verified contract

Active on Ethereum with 221 txns
Deployed by via 0x891c318b at 16518105
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,072.3
ERC-20
Value $617.42
ERC-20
Value $579.62
ERC-20
Value $166.75
ERC-20
Value $90.19
ERC-20
Value $33.7
ERC-20
Value $16.25
ERC-20
Value $12.42
ERC-20
Value $2.17
ERC-20
--
0x88d6d9bc0537c412194dbc6fd660062b867c98d264aaa9d371f432ed7b726038
0x0ddc7b9acf404ebb891281c989a648e2202d7eaaebd79cef925e0d206384f6db
0x702f4a1e01ed86576ccfa07eeee4d381807375e98c4a54917b5b735b442ac16f
0xff1880facc18e06a3af593b9c3e56771b50b6b4f37ee4c4c50e40ad71c207ea5
0x3529e58f8e214997bc57944fcc2851f353be6de3400d9522da67e1de2e756097
0x4f832b4b1d445fb6413e84c6c4ef19a8a8d0c3dfc493ff737e7a7c0fcd65fd42
0x58acb341408b99ad396b1af7305a5ec278a80efa909dfab3ed55db968d17a59d
0xfab2084b2951c7b72e19a614999e158302535a55ac0010269af5cfdd3808d082
0xfee6de7d5831501800efe055937a949613069d7ccdf83baf5df0240b53caeaad
0x42ec59fd83c712832061f768eb6ef499c435c53bd204063e6107e24a7965aac2

Functions
Getter at block 21258025
DAOFeePercent(view returns (uint256)
30
exchangeFeePercent(view returns (uint256)
20
 
getAllOrders(view returns (struct TwoPawsOrder[] allOrders)
 
getSupportedTokens(view returns (address[] allTokens)
governanceContract(view returns (address)
0xcf0ce0fb7f4a4f05e197f058d2e79c1aa060e7e9
ordersCount(view returns (uint256)
79
owner(view returns (address)
0x82aa489cd055e88ee85b310d8ec21d7d8741353e
protocolNFT(view returns (address)
0xe19cfd416bdb40125e9bae583fb9dd5d0bfc0fb8
protocolNFTBuyPrice(view returns (uint256)
40000000000000000000000
protocolNFTSellPrice(view returns (uint256)
30000000000000000000000
protocolToken(view returns (address)
0xddffdcd816771278635a62cde6b4d274f6e59f36
protocolTokenDecimals(view returns (uint256)
18
Read-only
lockedProtocolNFTs(uint256view returns (bool)
orders(uint256view returns (uint256 idaddress lenderaddress borroweraddress loanTokenuint256 loanAmountaddress collateralTokenuint256 collateralAmountuint256 lenderFeeAmountuint256 rewardAmountuint256 NFTIduint8 statusuint8 role)
supportedTokens(uint256view returns (address)
supportedTokensSettings(addressview returns (bool isRewardeduint256 denominator)
State-modifying
_transferToProtocol(address _tokenaddress _senderuint256 _amountreturns (uint256 amount)
addSupportedToken(address _tokenAddressuint256 _denominator
buyNFTForTokens(uint256[] _tokensIds
cancelOrder(uint256 _orderId
changeDAOFeePercent(uint256 _DAOFeePercent
changeFeePercent(uint256 _exchangeFeePercent
changeProtocolNFTSellPrice(uint256 _protocolNFTSellPrice
getOrder(uint256 _orderId
init(address _protocolTokenaddress _protocolNFTaddress _governanceContract
liquidateOrder(uint256 _orderId
newOrder(address _loanTokenuint256 _loanAmountaddress _collateralTokenuint256 _collateralAmountuint256 _lenderFeeAmountuint256[] _timestampsuint8 _roleuint256 NFTIdreturns (uint256 orderId)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceOwnership(
repayOrder(uint256 _orderId
sellNFT(uint256[] _tokensIds
setTokenReward(address _tokenAddressbool _flaguint256 _denominator
transferOwnership(address newOwner
transferOwnershipToDAO(
withdraw(returns (bytes)
Events
NewOrder(uint256 indexed orderIdstruct TwoPawsOrder order
OrderStatusChange(uint256 indexed orderIduint8 status
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.