Merge pull request #2026 from ethereum/yann300-patch-39

add etherscan plugin
pull/1/head
yann300 6 years ago committed by GitHub
commit 0bb6126dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      src/remixAppManager.js

@ -84,9 +84,23 @@ export class RemixAppManager extends AppManagerApi {
icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAAAAACIM/FCAAAJU0lEQVR42u3ce1QUVRgA8EEemgoWvjkltIZlIJhCmmTmqVBJJSofaaWpYUUn08wHmkfR6GFWqKh51CDzLZkPKs2MNAkFVAgxw007WZklaWqsLutt0b13LusM7LDfN+x07vcXe3dmvvkxszN35rszEvmfhCQgAiIgAiIgAiIgAiIgAiIgAiIgAiIgAiIgAiIgAiIgAiIgHgspXbcsdVoybKQsXrPfqivk0qoBJqSImV+uG6Tyq34mxOi+7oI+EMt4E3L0P60H5PRjJvSIOYwPsejgsO9ev6FDXjXpEgMvIUM2mXSKibgQWz+9IJ3OoEJWcbtx+t4yM2gcK8jk/k9TUSHyefClUjNClM0NpQnCLiJCfmCOJDNSLGQpNiJCVgQ1b+YfcFPrdt1KsSDmwSFtAgP8AwLbjMeCVGYOu1FyRPvEfBzG4WlRXo4cfvGv/4sByYmQ+Gg8/hiC4/1W1ZIEZbgNWb62+ueKV/0kp+i2FZqR19/LOcnQ392EJEpdc7iP1u7S9XHDZlhH4a0KSW7+xV2IJD28hW2PxyWlaLEF0pEbrpgk6qTbEEnq8uW1TyMl5QiE/MmHqyTpesl9iH2rVB3NCyS1GAHnmKua5C0IiH2rZFdGqOaQ1kM58puo5vA/DQKxb1v5zzZPb8zb+XpnuSEGCjJWXqZpXPa+7EkmuWEyEESO4Y4z1AYf1vQpEOQGtsQZtmsd7VT5nHW+zpATCUqO/uxnt9qXts2EcexiSeRe71TWllU3iC2zZwMlxy1cjyGZNibAQF6jy+vDrUgf2jivTpC9d6n86DrlyROdpo0dYSCD6PKWc2vyFW0cXQdI5cvqhygp7JMrdLrmjq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xYTRPCXjmJIGH1MNNbE2PI2oqK6TQssKDR7Eg+ayssI4QNIhHFHogINZoJkk8iOHYI5feniaIEI8ohoJAKmL0Kk8PJ6gQ/QYMFCJDPGAIBxDk4mg9HBMJOqT+hzlBQcjl97AHnq0hRA9IfQ8FBIQQ29fJWIMzZxcRoh+kKuptuCw0xNNCQAREQAREQAREQAREQAREQAREQAREQAREQAREQAREQATEY+M/DV/rjLxphEwAAAAASUVORK5CYII=',
location: 'mainPanel' location: 'mainPanel'
} }
var etherscan = {
name: 'etherscan',
displayName: 'Etherscan - Contract verification',
events: [],
methods: [],
notifications: {
'solidity': ['compilationFinished']
},
url: 'https://remix-etherscan-plugin.surge.sh',
description: 'Verify Solidity contract code using Etherscan API',
icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHwAAAB7CAIAAAA5eXNRAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABtFJREFUeNrsnetZ6kAQhtc8FmAHagViBWgFRysQKxAqACsIVoAdYAeGCpQKxAq0A84HqzGEXDbZ22SZ71eOHkzyMpmdmZ3sHq3Xa0FP39/f71vhYLFY4CfyuOIjJycnvV4PB/1+Xx5DOCB4d0d0oANrkiRAjIPVamXkb56dnQE9voarqyv5lZDQ2qu+vr7m8/lgMHBgkjgFToTT4aR+79obdNz8zc2NL1OT9A8F+sfHx3g8JuJqcRm4GFxSsNBfX19hX4KkcGFvb29BQQdujGOCvHCRuNTOQ8eTS9a6K6zetsOxBR0RAtyl6Kxw8faCHGHJnyBAFh0XbsGStxHGDbxz/qTW2xg3ecEGrmLyZmMbY9DjOBZBCzdICDqePo+5pUvhNo24Gl3oiK4IFZLsCzerz10LOjwdzdqp7eKBposXTNw9d8HE3XMXTNw9d8HE3XMXTNw9d9EoHg8y4XQfRzaAflDxeAvu5qEPh0MmWy0gMgl9NpsxUxUpTnYLlUSfB0/1QVVl1qkeeiemN+kIuHShd3rKrdAS4QEaTYHiP+MjjZ712iKw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2jpNnbgK1uXMSoLtijEfM6mtGDg5+fnrROfMpXuG29jrd3Wlo6TwtziOHa2t7lZD17rzS2uKt3u5m1vp134Tdsr87VZVVpn/fQ1edneJLjl+uk6OwVQxo2bsl3tqN0p4LjaK81ms6enJ/mHCpsGslN9Z1tRLsxOp9PHx0fbJ0I2VMNhfRiy6r7VHUubDQO7KP0qo0HHEj50l7il9heQPiDo7nEL43vXdUXIuZ357v36bYNZrTBww5MOBgNfDQ14qmztR0rWk/jtY7C78y4104YP9d6r42KPaQpeO45jInOK7nZT98UaboRUs0Jr4tShw4fArgm2nukQpwgdRj2fz+GvyZZxNIlTgZ6Cpt8AIt+Y1rzfo7WPxTDlOtbQcrlMkqQrS6BiUMHQoh8yuYC+2kqueLlYLOQ/O9cogNEFz6KRP2UYerKV+F0Vv6N8C+cVTI7nxr2zKXMgosFg0CjF9zaQ2p6BdGbgjbZY8h+9yIJfd4nLNmtLcOyGjLL41zl/YrsZxEWcjlSiEy80ycX+HABxlxxRtnpcmLOeMg8ZKdDDXRIZZmXXpvvOMm9lAOT9Hg0fuWVF21uw0HP0HUxH4BQ4EU5nLywhXXsp1Pv7O7JZuUWGqTwWfqzX6/X7fQySdKpphKAXVsRkuUZ+JdUvFaYNfkAsj9NVJ6jpvwADAII5b9rmxUzSAAAAAElFTkSuQmCC',
location: 'sidePanel'
}
return [ return [
new Plugin(pipeline), new Plugin(pipeline),
new Plugin(vyper) new Plugin(vyper),
new Plugin(etherscan)
] ]
} }
} }

Loading…
Cancel
Save