Skip to content

Commit 5632fc2

Browse files
authored
feat: remove unused gsn contracts (#126)
* feat: remove unused gsn contracts * refactor: gsn related functions
1 parent 99db55e commit 5632fc2

File tree

7 files changed

+0
-372
lines changed

7 files changed

+0
-372
lines changed

contracts/GsnCapable.sol

Lines changed: 0 additions & 34 deletions
This file was deleted.

contracts/GsnCapableDocumentStore.sol

Lines changed: 0 additions & 33 deletions
This file was deleted.

contracts/NaivePaymaster.sol

Lines changed: 0 additions & 88 deletions
This file was deleted.

contracts/test/ConfigurableTrustForwarder.sol

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/config/config.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ export const DOCUMENT_STORE_CREATOR_ROPSTEN = "0x4077534e82C97Be03A07FB10f5c853d
22
export const DOCUMENT_STORE_CREATOR_MAINNET = "0x0";
33
export const PROXY_FACTORY_ROPSTEN = "0xba2501bf20593f156879c17d38b6c245ca65de80";
44
export const PROXY_FACTORY_MAINNET = "0x0";
5-
export const TRUST_FORWARDER_ROPSTEN = "0x25CEd1955423BA34332Ec1B60154967750a0297D";
6-
export const TRUST_FORWARDER_MAINNET = "0xa530F85085C6FE2f866E7FdB716849714a89f4CD";
75

86
export const getDocumentStoreCreatorAddress = (networkId?: number) => {
97
if (networkId === 3) return DOCUMENT_STORE_CREATOR_ROPSTEN;
@@ -14,8 +12,3 @@ export const getProxyFactoryAddress = (networkId?: number) => {
1412
if (networkId === 3) return PROXY_FACTORY_ROPSTEN;
1513
return PROXY_FACTORY_MAINNET;
1614
};
17-
18-
export const getTrustForwarderAddress = (networkId?: number) => {
19-
if (networkId === 3) return TRUST_FORWARDER_ROPSTEN;
20-
return TRUST_FORWARDER_MAINNET;
21-
};

test/GsnCapableDocumentStore.js

Lines changed: 0 additions & 116 deletions
This file was deleted.

test/NaivePaymaster.js

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)