Skip to content

Commit

Permalink
fixed broken links x2
Browse files Browse the repository at this point in the history
  • Loading branch information
web3js-org committed Jan 2, 2024
1 parent 3c63118 commit 5259eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/guides/smart_contracts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ console.log('Contract deployed at address: ' + tx.options.address);
```

:::tip
If you do not know how to get the contract bytecode, we recommend you to check the Step 4 at the [Deploying and Interacting with Smart Contracts](./deploying_and_interacting_with_smart_contracts#step-4-compile-the-solidity-code-using-the-solidity-compiler-and-get-its-abi-and-bytecode) tutorial.
If you do not know how to get the contract bytecode, we recommend you to check the Step 4 at the [Deploying and Interacting with Smart Contracts](./smart_contracts_guide#step-4-compile-the-solidity-code-using-the-solidity-compiler-and-get-its-abi-and-bytecode) tutorial.
:::

- **getPastEvents**: Gets past events for this contract. It differs from `events` properties that it returns the past events as an array, rather than allowing to subscribe to them like when using `events` properties. More on the [API documentation](/api/web3-eth-contract/class/Contract#getPastEvents)
Expand Down Expand Up @@ -326,7 +326,7 @@ const bytecode = '0x60806040523480156100115760006000fd5b506040516102243803806102

:::info
And as mentioned in the tips inside previous sections:
If you do not know how to get the contract ABI and bytecode, we recommend you to check the Step 4 at the [Deploying and Interacting with Smart Contracts](./deploying_and_interacting_with_smart_contracts#step-4-compile-the-solidity-code-using-the-solidity-compiler-and-get-its-abi-and-bytecode) tutorial.
If you do not know how to get the contract ABI and bytecode, we recommend you to check the Step 4 at the [Deploying and Interacting with Smart Contracts](./smart_contracts_guide#step-4-compile-the-solidity-code-using-the-solidity-compiler-and-get-its-abi-and-bytecode) tutorial.
:::

### Do I always need the contract ByteCode?
Expand Down

0 comments on commit 5259eff

Please sign in to comment.