lib/universa/contract.rb in universa-3.13.2.2 vs lib/universa/contract.rb in universa-3.14.2.1
- old
+ new
@@ -56,10 +56,15 @@
# Adapter for Universa ChangeOwnerPermission
class ChangeOwnerPermission < RemoteAdapter
remote_class "com.icodici.universa.contract.permissions.ChangeOwnerPermission"
end
+ # Adapter for Universa ChangeRolePermission
+ class ChangeRolePermission < RemoteAdapter
+ remote_class "com.icodici.universa.contract.permissions.ChangeRolePermission"
+ end
+
# Adapter for Universa RevokePermission
class RevokePermission < RemoteAdapter
remote_class "com.icodici.universa.contract.permissions.RevokePermission"
end
@@ -89,17 +94,25 @@
end
# adapter for a role that is a list of roles
class ListRole < RemoteAdapter
remote_class "com.icodici.universa.contract.roles.ListRole"
+
+ class Mode
+ ANY = 'ANY'
+ end
end
# Adapter for permission to modify data
class ModifyDataPermission < RemoteAdapter
remote_class "com.icodici.universa.contract.permissions.ModifyDataPermission"
end
+ # Adapter for Universa QuorumVoteRole
+ class QuorumVoteRole < RemoteAdapter
+ remote_class "com.icodici.universa.contract.roles.QuorumVoteRole"
+ end
# Wrapper for Java API Reference class
class Reference < RemoteAdapter
remote_class "com.icodici.universa.contract.Reference"
@@ -406,6 +419,10 @@
return false if !other || !other.is_a?(Contract)
hash_id == other.hash_id
end
end
-end
\ No newline at end of file
+ class ExtendedSignature < RemoteAdapter
+ remote_class "com.icodici.universa.contract.ExtendedSignature"
+ end
+
+end