@Override public void deserialize(Binder data, BiDeserializer deserializer) { super.deserialize(data, deserializer); deserializeForSlot(); }
/** * Slot contract is one of several types of smarts contracts that can be run on the node. Slot contract provides * paid storing of other contracts at the special storage, control storing time and control storing revisions of * tracking contract. * <br><br> * Extract contract from v2 or v3 sealed form, getting revoking and new items from the transaction pack supplied. If * the transaction pack fails to resolve a link, no error will be reported - not sure it's a good idea. If need, the * exception could be generated with the transaction pack. * <p> * It is recommended to call {@link #check()} after construction to see the errors. * * @param sealed binary sealed contract. * @param pack the transaction pack to resolve dependencies again. * * @throws IOException on the various format errors */ public SlotContract(byte[] sealed, @NonNull TransactionPack pack) throws IOException { super(sealed, pack); deserializeForSlot(); }