Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Commit

Permalink
Update addresses (5afe#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmeissner authored Jul 18, 2023
1 parent 83c312b commit d00720b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ This web app demonstrates how to interact with the Registry, the Manager and the

- [Relay Plugin](../src/routes/samples/relay) - A plugin that allows to relay Safe transactions and pay a fee for it which is capped by the user.

Note: If more examples are added or the code is updated to a new plugin, make sure to replace all hardcoded addresses (i.e. in the `sample.ts` file)

## Available Scripts

In the project directory, you can run:
Expand Down
4 changes: 1 addition & 3 deletions web/src/logic/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getCurrentNonce } from "./safe";
import { getSafeMultisigTxs, SafeMultisigTransaction } from "./services";

const SAMPLE_PLUGIN_CHAIN_ID = 5
const SAMPLE_PLUGIN_ADDRESS = getAddress("0xA68799b8f1F2535ba88530FeD2300cFC69D4ABd1")
const SAMPLE_PLUGIN_ADDRESS = getAddress("0x60D996eF6F281eD4f562537fab84CFE192FF0206")
export const NATIVE_TOKEN = getAddress("0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE");
const SAMPLE_PLUGIN_ABI = [
"function maxFeePerToken(address account, address token) public view returns (uint256 maxFee)",
Expand Down Expand Up @@ -40,8 +40,6 @@ const getRelayPlugin = async() => {
)
}

//0x6a7612020000000000000000000000007fae68e71edfd9af429f3c01e75bb905c79e10b70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000001083a997a822fed50aaaf785f95e2726440069e400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000415c98c6a811a20f7b34a48b43cdad9d9901443de42e92f736abcc8a7f9e2ee7560550844cdf6e548a9a8b7ee7a0851d7cdc9356545ba345a3231ec5eb564cb7311b00000000000000000000000000000000000000000000000000000000000000

const getToken = async(address: string) => {
const provider = await getProvider()
return new ethers.Contract(
Expand Down

0 comments on commit d00720b

Please sign in to comment.