summaryrefslogtreecommitdiffhomepage
path: root/solidity.html.markdown
diff options
context:
space:
mode:
authorBoris Verkhovskiy <boris.verk@gmail.com>2024-05-27 12:15:14 -0600
committerBoris Verkhovskiy <boris.verk@gmail.com>2024-05-27 12:15:14 -0600
commit12ecedd4f51ec9f61b45058755c161d773e1be40 (patch)
tree75d936e5298d5e8e58f7f771808bdb95cf8f833e /solidity.html.markdown
parente1bc8441e80800278f4276906b0c9f6c14b28eee (diff)
Correct highlighted lanugages
Diffstat (limited to 'solidity.html.markdown')
-rw-r--r--solidity.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown
index 094baa13..be0d34e8 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -93,7 +93,7 @@ This will use whatever network is currently selected in your metamask as the net
For now, please continue to use the `Javascript VM` unless instructed otherwise. When you deploy to a testnet, metamask will pop up to ask you to "confirm" the transaction. Hit yes, and after a delay, you'll get the same contract interface at the bottom of your screen.
-```javascript
+```solidity
// First, a simple Bank contract
// Allows deposits, withdrawals, and balance checks
@@ -720,7 +720,7 @@ contract SomeOracle {
Work with the full example below using the [`Javascript VM` in remix here.](https://remix.ethereum.org/#version=soljson-v0.6.6+commit.6c089d02.js&optimize=false&evmVersion=null&gist=3d12cd503dcedfcdd715ef61f786be0b&runs=200)
-```javascript
+```solidity
// *** EXAMPLE: A crowdfunding example (broadly similar to Kickstarter) ***
// ** START EXAMPLE **
@@ -860,7 +860,7 @@ contract CrowdFunder {
Some more functions.
-```javascript
+```solidity
// 10. OTHER NATIVE FUNCTIONS
// Currency units