Class ContractsSecurity


  • public class ContractsSecurity
    extends Object
    ContractsSecurity
    • Field Detail

      • chainId

        @SerializedName("chain_id")
        private String chainId
      • contracts

        @SerializedName("contracts")
        private List<Contracts> contracts
    • Constructor Detail

      • ContractsSecurity

        public ContractsSecurity()
    • Method Detail

      • getChainId

        public String getChainId()
        It describes the chains that contracts are deployed on;\"1\" means Ethereum; \"25\" means Cronos; \"56\" means BSC; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"42161\" means Arbitrum; \"43114\" means Avalanche.
        Returns:
        chainId
      • setChainId

        public void setChainId​(String chainId)
      • getContracts

        public List<Contracts> getContracts()
        contract info
        Returns:
        contracts
      • setContracts

        public void setContracts​(List<Contracts> contracts)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toIndentedString

        private String toIndentedString​(Object o)
        Convert the given object to string with each line indented by 4 spaces (except the first line).