Postgres View Function In Solidity Developer