Skip to content

Commit

Permalink
feat: remove unused gsn contracts (#126)
Browse files Browse the repository at this point in the history
* feat: remove unused gsn contracts

* refactor: gsn related functions
  • Loading branch information
superical authored Dec 30, 2022
1 parent 99db55e commit 5632fc2
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 372 deletions.
34 changes: 0 additions & 34 deletions contracts/GsnCapable.sol

This file was deleted.

33 changes: 0 additions & 33 deletions contracts/GsnCapableDocumentStore.sol

This file was deleted.

88 changes: 0 additions & 88 deletions contracts/NaivePaymaster.sol

This file was deleted.

15 changes: 0 additions & 15 deletions contracts/test/ConfigurableTrustForwarder.sol

This file was deleted.

7 changes: 0 additions & 7 deletions src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ export const DOCUMENT_STORE_CREATOR_ROPSTEN = "0x4077534e82C97Be03A07FB10f5c853d
export const DOCUMENT_STORE_CREATOR_MAINNET = "0x0";
export const PROXY_FACTORY_ROPSTEN = "0xba2501bf20593f156879c17d38b6c245ca65de80";
export const PROXY_FACTORY_MAINNET = "0x0";
export const TRUST_FORWARDER_ROPSTEN = "0x25CEd1955423BA34332Ec1B60154967750a0297D";
export const TRUST_FORWARDER_MAINNET = "0xa530F85085C6FE2f866E7FdB716849714a89f4CD";

export const getDocumentStoreCreatorAddress = (networkId?: number) => {
if (networkId === 3) return DOCUMENT_STORE_CREATOR_ROPSTEN;
Expand All @@ -14,8 +12,3 @@ export const getProxyFactoryAddress = (networkId?: number) => {
if (networkId === 3) return PROXY_FACTORY_ROPSTEN;
return PROXY_FACTORY_MAINNET;
};

export const getTrustForwarderAddress = (networkId?: number) => {
if (networkId === 3) return TRUST_FORWARDER_ROPSTEN;
return TRUST_FORWARDER_MAINNET;
};
116 changes: 0 additions & 116 deletions test/GsnCapableDocumentStore.js

This file was deleted.

79 changes: 0 additions & 79 deletions test/NaivePaymaster.js

This file was deleted.

0 comments on commit 5632fc2

Please sign in to comment.