Any sale, mortgage, transfer, or conveyance of any estate, real or personal, to any person or to another for his use or benefit, or in any manner to satisfy or secure money or other thing won, or any part thereof, or to secure or satisfy any money or other thing lent or advanced on any consideration, foundation, or purpose mentioned in Section 87-1-1, or any part thereof, shall inure to and vest in the wife and children of said mortgagor, seller, vendor, bargainor, or lessor, the whole estate, title, and interest of such person sold, mortgaged, bargained, transferred, or conveyed, as though such person had died intestate. And the parties to any action founded on any contract or transaction within this chapter, shall be compelled to answer any bill of discovery touching the same.