mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* Show conflicting proxy implementations warning Resolves #2884 * fix: add conflicting_implementations field to contract mocks * fix tests * proxy info tweaks * fix ts
20 lines
650 B
TypeScript
20 lines
650 B
TypeScript
import React from 'react';
|
||
|
||
import { Alert } from 'toolkit/chakra/alert';
|
||
|
||
interface Props {
|
||
isLoading?: boolean;
|
||
}
|
||
|
||
const ContractCustomAbiAlert = ({ isLoading }: Props) => {
|
||
return (
|
||
<Alert status="warning" loading={ isLoading }>
|
||
Note: Contract with custom ABI is only meant for debugging purpose and it is the user’s responsibility to ensure that the provided ABI
|
||
matches the contract, otherwise errors may occur or results returned may be incorrect.
|
||
Blockscout is not responsible for any losses that arise from the use of Read & Write contract.
|
||
</Alert>
|
||
);
|
||
};
|
||
|
||
export default React.memo(ContractCustomAbiAlert);
|