RouterETH.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. [
  2. {
  3. "inputs": [
  4. {
  5. "internalType": "address",
  6. "name": "_stargateEthVault",
  7. "type": "address"
  8. },
  9. {
  10. "internalType": "address",
  11. "name": "_stargateRouter",
  12. "type": "address"
  13. },
  14. {
  15. "internalType": "uint16",
  16. "name": "_poolId",
  17. "type": "uint16"
  18. }
  19. ],
  20. "stateMutability": "nonpayable",
  21. "type": "constructor"
  22. },
  23. {
  24. "inputs": [],
  25. "name": "addLiquidityETH",
  26. "outputs": [],
  27. "stateMutability": "payable",
  28. "type": "function"
  29. },
  30. {
  31. "inputs": [],
  32. "name": "poolId",
  33. "outputs": [
  34. {
  35. "internalType": "uint16",
  36. "name": "",
  37. "type": "uint16"
  38. }
  39. ],
  40. "stateMutability": "view",
  41. "type": "function"
  42. },
  43. {
  44. "inputs": [],
  45. "name": "stargateEthVault",
  46. "outputs": [
  47. {
  48. "internalType": "address",
  49. "name": "",
  50. "type": "address"
  51. }
  52. ],
  53. "stateMutability": "view",
  54. "type": "function"
  55. },
  56. {
  57. "inputs": [],
  58. "name": "stargateRouter",
  59. "outputs": [
  60. {
  61. "internalType": "contract IStargateRouter",
  62. "name": "",
  63. "type": "address"
  64. }
  65. ],
  66. "stateMutability": "view",
  67. "type": "function"
  68. },
  69. {
  70. "inputs": [
  71. {
  72. "internalType": "uint16",
  73. "name": "_dstChainId",
  74. "type": "uint16"
  75. },
  76. {
  77. "internalType": "address payable",
  78. "name": "_refundAddress",
  79. "type": "address"
  80. },
  81. {
  82. "internalType": "bytes",
  83. "name": "_toAddress",
  84. "type": "bytes"
  85. },
  86. {
  87. "internalType": "uint256",
  88. "name": "_amountLD",
  89. "type": "uint256"
  90. },
  91. {
  92. "internalType": "uint256",
  93. "name": "_minAmountLD",
  94. "type": "uint256"
  95. }
  96. ],
  97. "name": "swapETH",
  98. "outputs": [],
  99. "stateMutability": "payable",
  100. "type": "function"
  101. },
  102. {
  103. "stateMutability": "payable",
  104. "type": "receive"
  105. }
  106. ]