+
{chain.name}
+
+ {(() => {
+ switch (isSOREnabled(chain.id)) {
+ case 'available': return Available;
+ case 'deprecated': return Deprecated;
+ case 'unavailable': return Unavailable;
+ }
+ })()}
+
+
}))}
onChange={(event) => {
switchChain({
@@ -203,9 +180,13 @@ export const DeployResolverCard: FC = () => {
chainId,
functionName: 'createOffchainResolver',
args: [gatewayUrl, signersToArray(signers)],
+ }, {
+ onSuccess(data, variables, context) {
+ logTransaction(data, chainId.toString());;
+ }
})
}}>
- { isLoading ? 'Estimating Fees...' : isSuccess ? 'Deploy ' + EstimateData?.request.gas + ' gas' : 'Deploy'}
+ {isLoading ? 'Estimating Fees...' : isSuccess ? 'Deploy ' + EstimateData?.request.gas + ' gas' : 'Deploy'}
);
})()
diff --git a/web/components/organisms/deployed_resolvers/DeployedResolvers.tsx b/web/components/organisms/deployed_resolvers/DeployedResolvers.tsx
index 76fcb3e..8a63c97 100644
--- a/web/components/organisms/deployed_resolvers/DeployedResolvers.tsx
+++ b/web/components/organisms/deployed_resolvers/DeployedResolvers.tsx
@@ -22,7 +22,7 @@ export const DeployedResolvers = () => {
{
- transactionForChain.map((transaction) => )
+ transactionForChain.map((transaction) => ).reverse()
}