Skip to content

Latest commit

 

History

History
69 lines (62 loc) · 2.4 KB

InfoList.md

File metadata and controls

69 lines (62 loc) · 2.4 KB

相关信息列表

演示环境

  • rinkeby 测试网络
  • V2Router地址 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
  • 测试网 DAI 0xc7AD46e0b8a400Bb3C915120d284AafbA8fc4735
  • 自定义 token HEHE(HH) 0x6583989a0b7b86b026e50C4D0fa0FE1C5e3e8f85
  • LPtoken 0x25c1CF39598DdD67bD68cA9e52f0c861D9Bf4c70

相关合约的 Methodid

ERC20

method name method id
DEFAULT_ADMIN_ROLE 0xa217fddf
INITIAL_SUPPLY 0x2ff2e9dc
MINTER_ROLE 0xd5391393
PAUSER_ROLE 0xe63ab1e9
allowance 0xdd62ed3e
approve 0x095ea7b3
balanceOf 0x70a08231
burn 0x42966c68
burnFrom 0x79cc6790
decimals 0x313ce567
decreaseAllowance 0xa457c2d7
getRoleAdmin 0x248a9ca3
getRoleMember 0x9010d07c
getRoleMemberCount 0xca15c873
grantRole 0x2f2ff15d
hasRole 0x91d14854
increaseAllowance 0x39509351
mint 0x40c10f19
name 0x06fdde03
pause 0x8456cb59
paused 0x5c975abb
renounceRole 0x36568abe
revokeRole 0xd547741f
supportsInterface 0x01ffc9a7
symbol 0x95d89b41
totalSupply 0x18160ddd
transfer 0xa9059cbb
transferFrom 0x23b872dd
unpause 0x3f4ba83a

UniswapV2Router

method name method id
WETH 0xad5c4648
addLiquidity 0xe8e33700
addLiquidityETH 0xf305d719
factory 0xc45a0155
getAmountIn 0x85f8c259
getAmountOut 0x054d50d4
getAmountsIn 0x1f00ca74
getAmountsOut 0xd06ca61f
quote 0xad615dec
removeLiquidity 0xbaa2abde
removeLiquidityETH 0x02751cec
removeLiquidityETHWithPermit 0xded9382a
removeLiquidityWithPermit 0x2195995c
swapETHForExactTokens 0xfb3bdb41
swapExactETHForTokens 0x7ff36ab5
swapExactTokensForETH 0x18cbafe5
swapExactTokensForTokens 0x38ed1739
swapTokensForExactETH 0x4a25d94a
swapTokensForExactTokens 0x8803dbee