add more proto for gate
add more proto for gate
finish first version for gate