File tree Expand file tree Collapse file tree 3 files changed +203
-169
lines changed Expand file tree Collapse file tree 3 files changed +203
-169
lines changed Original file line number Diff line number Diff line change 11import { LitContractResolverContext } from '@lit-protocol/types' ;
22import { ethers } from 'ethers' ;
3+ import { PKPPermissions } from '../../dist/packages/contracts-sdk/src/abis/PKPPermissions.sol/PKPPermissions' ;
34import {
45 TestNetCreateRequest ,
56 TestNetInfo ,
@@ -97,6 +98,31 @@ export class TestnetClient {
9798 skipFetchSetup : true ,
9899 } ) ,
99100 environment : 0 , // test deployment uses env value 0 in test common
101+ contractContext : {
102+ Allowlist : { } ,
103+ Multisender : { } ,
104+ Staking : {
105+ abi : JSON . parse ( testNetConfig . contractAbis . staking ) ,
106+ } ,
107+ StakingBalances : {
108+ abi : JSON . parse ( testNetConfig . contractAbis . stakingBalances ) ,
109+ } ,
110+ PKPNFT : {
111+ abi : JSON . parse ( testNetConfig . contractAbis . pkpnft ) ,
112+ } ,
113+ PKPPermissions : {
114+ abi : JSON . parse ( testNetConfig . contractAbis . pkpPermissions ) ,
115+ } ,
116+ PKPHelper : {
117+ abi : JSON . parse ( testNetConfig . contractAbis . pkpHelper ) ,
118+ } ,
119+ LITToken : {
120+ abi : JSON . parse ( testNetConfig . contractAbis . litToken ) ,
121+ } ,
122+ PKPNFTMetadata : { } ,
123+ RateLimitNFT : { } ,
124+ PubkeyRouter : { } ,
125+ } ,
100126 } ;
101127 return networkContext ;
102128 }
You can’t perform that action at this time.
0 commit comments